Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Dual boot without touching the c: drive (boot floppy)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
gemmint10
n00b
n00b


Joined: 01 Oct 2002
Posts: 11

PostPosted: Mon Oct 07, 2002 10:42 pm    Post subject: Dual boot without touching the c: drive (boot floppy) Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum