gemmint10 n00b
Joined: 01 Oct 2002 Posts: 11
|
Posted: Mon Oct 07, 2002 10:42 pm Post subject: Dual boot without touching the c: drive (boot floppy) |
|
|
I boot off a floppy simply because when I first experimented with Gentoo, I was unfamilliar with Grub, and I wanted to be absolutely sure that I didn't blow away my win98se (funny that I haven't booted into windows in over a week anyway =).
my (relavent) system details:
/dev/hda = win98se
/dev/hdb = Gentoo
Now correct me if I am wrong please, but you shouldn't have any problems using Grub or LILO to boot off a second HD as long as they are installed in the MBR on /dev/hda... This info is really only for the paranoid =)
To make a Gentoo boot floppy, su, mount your /boot partition and proceed:
Code: | #fdformat /dev/fd0
#cp /boot/bzImage /dev/fd0 |
Now that you have your kernel image on the floppy, unmount /root, and find the kernels root device with the following command:
Code: | #rdev
/dev/ide/host0/bus0/target1/lun0/part3 /
|
We are only after the first value listed ('/dev/ide/host0/bus0/target1/lun0/part3' rather than '/', duh!) The values returned may look more like /dev/hda3 / (probably not if you followed directions when you compiled your kernel , but in any case then continue:
Code: | #rdev /dev/fd0 /dev/ide/host0/bus0/target1/lun0/part3
|
Now that our floppy knows what the root device is, lets make it read only:
Code: | #rdev -R /dev/fd0 1 |
There, all finished. You can now boot off the floppy when you want to run Linux.
Repeat this process anytime you recompile your kernel
Andy |
|