[techtalk] swtiching rhat drives . . .
jdike at karaya.com
Mon Nov 8 14:29:35 EST 1999
> You should be able to create the linux partitions on the 4.5 gig
> drive, copy the FS from the 9 to the 4.5 (assuming of course, your not
> using all 9 gig for linux ;), swap drives, boot from floppy (not
> nescessary?) and run lilo. You should be set.
Right. The copy is a little bit tricky. Mount the newly-formatted 4.5G drive
at /blah or something then try:
tar xpf - `echo * .??* | sed 's/blah//'` | (cd /blah ; tar cpf -)
This is a standard tar-to-tar copy, except for that sed trickery which
prevents tar from grabbing the destination fs and tarring it up.
Then go into /blah/etc and edit lilo.conf, and rerun lilo with the switch that
tells it that /blah should be considered root.
Then reboot, and you should be all set, except that you might need to tell you
BIOS to boot off a different disk.
techtalk at linuxchix.org http://www.linuxchix.org
More information about the Techtalk