[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: grub & dual boot with 2 hd



>>>>> "Anthony" == Anthony Fox <ant@lonelyroad.org> writes:

>>>>> "Guy" == Guy Geens <ggeens@iname.com> writes:
Guy> following in /boot/grub/menu.lst:

Guy> title Debian GNU/Linux
Guy> root (hd1,1)
Guy> kernel /vmlinuz
Guy> 
Guy> title Windows 2000
Guy> rootnoverify (hd0,0)
Guy> chainloader +1

Anthony> Does this make /dev/hdb (Linux) the default partition to boot
Anthony> from? I want Linux to boot by default.

Grub boots the first menu entry by default (except when you specify
otherwise). Use `info grub' for a complete explanation of the menu
file.

Anthony> How do I make a boot floppy for my particular configuration?

dd if=/vmlinuz of=/dev/fd0
rdev /dev/fd0 /dev/hdb2

Anthony> How do I copy the MBR?

dd if=/dev/hda of=mbr bs=512 count=1

To copy it back:
dd if=mbr of=/dev/hda

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <ggeens@iname.com> - Work: <ggeens@capgemini.be>
WWW: http://users.pandora.be/guy.geens/
  ``I was thinking about how everyone was dying
    and maybe it's time to live.''              - Eels



Reply to: