Hello Ron,

Thursday, March 01, 2001, 3:39:00 AM, you wrote:


RS> Sorry, but it won't work like that.

RS> You must have a running Linux (partition or on a floppy like tomsrtbt
RS> 205).  With that, as superuser, you must mount the target Linux
RS> partition then, for a lilo-booted system:

I didn't mention that because it's obvious

RS> chroot <mount point> pico /etc/fstab

RS> edit the device name changes, save and exit.

RS> chroot <mount point> pico /etc/lilo.conf

RS> edit the changed device names into the global stanza and all other
RS> stanzas, save and exit.

RS> chroot <mount point> /sbin/lilo

RS> chroot <mount point> uname -r

RS> to get the target linux kernel version.

RS> chroot <mount point> mkbootdisk <kernel version>

RS> to make a boot floppy for the target Linux.

RS> The moved Linux partition is now bootable from that floppy.

RS> Finally, change your boot manager to match.

I looks like a hell of a job. Any bootdisk, specially if it is the
bootdisk of the Linux you are moving, would boot perfectly if you
issue at the boot prompt root=/dev/hdxx. And that if you changed the
root partition.

As I have a DOS partition also, I boot dos and run a bach file with:

loadlin vmlinuz root=/dev/hdxx

and then run lilo. This is faster than booting from a bootdisk.
I have moved many times complete running linux with this method.


-- 
Best regards,
 Gabriel                            mailto:[EMAIL PROTECTED]



Reply via email to