On Sat, 3 Nov 2001, Mikkel L. Ellertson wrote:
> Moving the drives should work fine. If you are using partition labels, > then the only change you will have to make in /etc/fstab is for the swap > partition. For /etc/lilo.conf, you will have to change the root > directory. You will need a special boot floppy, as your current one > will try and mount the root partition off of /dev/hdd. I don't have my > 7.1 boot disk with me right now, but you can mount the disk, and edit > the config file on it to change the root device entry. The syslinux > config file can be edited in DOS or Linux, as it is actualy a FAT format > disk. DOS? why would I want to use DOS? ;) I suppose if it decided not to boot, I could check it out in DOS. That's handy. It worked great, all I had to do was edit syslinux.cfg: [meetsma@NIS-968447514 floppy]$ diff syslinux.cfg~ syslinux.cfg 7c7 < append initrd=initrd.img root=/dev/hdd1 --- > append initrd=initrd.img root=/dev/hdb1 [meetsma@NIS-968447514 floppy]$ and /etc/fstab: ( I didn't want it to use swap from guinness either) [meetsma@NIS-968447514 /etc]$ diff fstab~ fstab 8,9c8 < /dev/hdb5 swap swap defaults 0 0 < /dev/hdd3 swap swap defaults 0 0 --- > /dev/hdb3 swap swap defaults 0 0 [meetsma@NIS-968447514 /etc]$ And then shutdown. Swap disks, boot from editted bootdisk, edit lilo.conf, reboot!! (sounds like windows) Works perfect. (unlike windows) Thanks Mikkel, I can now put my bootdisk in the drawer where it belongs. Arend > Lilo will have problem with the relocated drive until you run it in the > new location. It will work fine after you run it the first time with > the drive in the new location. The problem is that lilo store the disk > location for the second stage loader, and includes the BIOS number for > the drive, so it fails to load the second stage loader after you move > the drive. Running it after the drive has been moved fixes this. > > Mikkel _______________________________________________ Seawolf-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/seawolf-list
