On Thu, 05 Dec 2002 17:45:37 -0500
"Bruce Park" <[EMAIL PROTECTED]> wrote:

> Dear Debian users,
> 
> I just wanted to make sure that my menu.lst looks good for grub. I wouldn't 
> want it to fail and not be able to load any operating system. I have two 
> questions in the comments so please be sure to read them.
> 
> I've got four partitions on my primary IDE hard drive
> hd0,0  - Windows
> hd0,1  - Boot
> hd0,2  - Swap
> hd0,3  - root
> 
> My /boot/grub/menu.lst looks like this:
> ==============================
> default 0
> timeout 5
> # Windows OS
> title Windows 2000
> # Can I skip the next two lines if I use this?  [ rootnoverify (hd0,0) ]
> root (hd0,0)
> makeactive
> chainloader +1
> 
> # Linux OS
> title Linux
> root (hd0,1)
> kernel /vmlinuz root=/dev/hda1 ro
> ===============================
I thought root was (0,3); wouldnt that be "root=/dev/hda4" ?
> 
> So that's my initial step to boot windows and debian. When this file was 
> generated, this is the last thing on the file
> ==============================
> title Debian GNU/Linux, kernel 2.4.18-bf2.4
> # Shouldn't this be hd0,1 ?
> root (hd0,0)
> kernel /vmlinuz root=/dev/hda1 ro
> ===============================
> Why is the second line(root) designated to hd0,0? Shouldn't it be hd0,1 
> since /boot resides in that partition?
That enty may just be a "guess" to serve as an example.
> 
> Finally, what safety cautions can I take if this fails?
> As always, any help or suggestion is greatly appreciated.
I would make a grub boot floppy and make sure you can boot from it first.  
> bp
I included my own menu.lst below  -- the one with "new" at the end is the one i use - 
and sorry for any line wrap problems :)

Shawn
#
# /boot/grub/menu.lst
#
#options
timeout=10
#splashscreen = (hd1,1)/boot/message
default = 0
fallback = 1

#
# test kernel
#
title = Debian/GNU Linux 2.4.19-new
root = (hd0,11)
kernel = /boot/vmlinuz-2.4.19-new noapic nosmp root=/dev/hda12 hdc=ide-scsi pci=biosirq


#
# windows 2000
#
title = Microsoft Windows 2000 Professional
rootnoverify (hd0,0)
makeactive
chainloader = (hd0,0)+1

#
# old debian kernel
#
title = Debian/Gnu Linux kernel 2.2.19 on hdb2
root = (hd1,1)
kernel = /vmlinuz noapic nosmp root=/dev/hdb2 ide-scsi=hdc 

############end


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to