GRUB
Jamon Camisso
jamon.camisso-H217xnMUJC0sA/PxXw9srA at public.gmane.org
Sat Nov 4 15:32:07 UTC 2006
jim wrote:
> I fouled up my bootloader and can't see one of the Operating Systems.
> I reinstalled Linux and the boot loader, I think I erased something.
> GRUB was`setup using the MBR.
>
> Here is menu.lst
>
> timeout 15
> color cyan/blue white/blue
> foreground ffffff
> background 0639a1
>
> gfxmenu /boot/grub/message
>
> title MEPIS at sda3, kernel 2.6.15-1-586tsc
> kernel /boot/vmlinuz-2.6.15-1-586tsc root=/dev/sda3 nomce quiet vga=791
> title MEMTEST
> kernel /boot/memtest86.bin
>
> my disk is partitioned into
> sda1 fat 16 Windows XP
> sda2 formated as fat16
> sda3 linux ext3 Mepis
> sda4 swap
>
> If some could tell me where I went wrong and point
> me in the right direction I would appreciate it.
> Thanks
>
Try adding this on the line after your title, it tells grub where to look for
said kernel (and initrd if you had one):
root (hd0,2)
So you would have this for Linux
title MEPIS at sda3, kernel 2.6.15-1-586tsc
root (hd0,2)
kernel /boot/vmlinuz-2.6.15-1-586tsc root=/dev/sda3 nomce quiet vga=791
boot
And likely this for Windows
root (hd0,0)
chainloader +1
boot
Not sure if the "boot" lines are necessary, but I've got them and I don't think
they hurt.
--
The Toronto Linux Users Group. Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
More information about the Legacy
mailing list