This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Re: eCos Grub Problem


Ian Campbell <ijc@hellion.org.uk> writes:

> On Tue, 2005-08-09 at 15:24 +0100, Nick Garnett wrote:
> 
> > My understanding of GRUB is that it uses a menu.lst file in /boot/grub
> > to supply the boot options. That is certainly what my SuSE
> > installation does. I'm not sure what role /etc/grub.conf plays, but it
> > is not the right place to put new boot options.
> 
> On all the systems I've seen which use grub (primarily Debian systems)
> menu.lst is a symlink to grub.conf. I don't know for sure which one grub
> actually looks for (the manpage suggests menu.lst) but if you modify the
> other one and they aren't linked you'll run into trouble...

Here, on SuSE 9.1, they are definitely different files. The contents
of /etc/grub.conf seems designed for host tools to locate the
bootloader.

Of course SuSE may be doing their own thing here.



/etc/grub.conf:

root (hd0,1)
install --stage2=/boot/grub/stage2 /grub/stage1 d (hd0) /grub/stage2 0x8000 (hd0,1)/grub/menu.lst
quit


/boot/grub/menu.lst:

# Modified by YaST2. Last modification on Fri May 28 15:56:01 2004


color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd0,1)/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title Linux
    kernel (hd0,1)/vmlinuz root=/dev/hda1 vga=0x31a splash=silent desktop resume=/dev/hda6 showopts
    initrd (hd0,1)/initrd

###Don't change this comment - YaST2 identifier: Original name: floppy###
title Floppy
    root (fd0)
    chainloader +1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe
    kernel (hd0,1)/vmlinuz root=/dev/hda1 showopts ide=nodma apm=off acpi=off vga=normal noresume nosmp noapic maxcpus=0  3
    initrd (hd0,1)/initrd





-- 
Nick Garnett                                     eCos Kernel Architect
http://www.ecoscentric.com                The eCos and RedBoot experts


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]