|
|
Parent Directory
| Wanna bring up a linux clone
Brett Lee
=============================================================================
1. get the clone cd
2. get the boot disk
3. get the root disk
insert the boot disk and type "rescue" at the LILO: prompt
replace the boot disk with the root disk when prompted.
at the root prompt (#) you may remove the floppy and insert a utility floppy
then:
make a partition with `/bin/fdisk`
create a swap partition of 128M on /dev/hda1
create a primary partition of xxxG on /dev/hda2
make a filesystem with `/bin/mke2fs -c /dev/hda2`
make some stuff
mkdir /new
mkdir /cdrom
mount some stuff
mount /dev/hd? /cdrom
mount /dev/hda2 /new
get ready
cd /new
get set
ls /cdrom
go
gzip -d < /cdrom/THE_IMAGE.TGZ | tar xvf -
work on the filesystem
mkdir /new/proc
mkdir /new/var
mkdir /new/var/run
mkdir /new/var/log
mkdir /new/var/adm (suse only)
edit the fstab with pico or elvis
set the swap partition to /dev/hda1
set the root partition to /dev/hda1
insert the appropriate boot floppy (suse or red hat)
type exit and power cycle this bad boy
at the LILO: prompt, type `linux root=/dev/hda2` (or whatever)
if you booted this far, you just need to install Lilo
edit /etc/lilo.conf and confirm the correct location of the root drive, etc.
run `lilo` or `lilo -b /etc/lilo_alt.conf`
ta daa ~
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
In an effort to provide a service of value to the open source community, I've put together this website that containing many of my notes and references.
This website is not authoritative and it is certainly not without errors; it is a work in progress.
In addition to my contributions you will also find the work of others. Where the work is not mine, I have tried to indicate that, and to reference the source of the work: by citing the original author, retaining the authors' name and license wherever present, or by placing the work in a suitably named URL containg /external/ in the path. If you find any work here that should not be publically available, please send me a note and it will be removed.
As for my contributions, you are free to use any of *MY* notes or code from this website unless specifically instructed otherwise.
Brett Lee, Ph.D., President & CEO
Everything Penguin, Inc.
|
|
|