From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10051 invoked by alias); 9 Aug 2005 14:57:56 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 10032 invoked by uid 22791); 9 Aug 2005 14:57:52 -0000 Received: from anchor-post-30.mail.demon.net (HELO anchor-post-30.mail.demon.net) (194.217.242.88) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 09 Aug 2005 14:57:52 +0000 Received: from calivar.demon.co.uk ([83.104.54.243] helo=xl5.calivar.com) by anchor-post-30.mail.demon.net with esmtp (Exim 4.42) id 1E2VY6-000H3H-0r; Tue, 09 Aug 2005 14:57:50 +0000 Received: from xl5.calivar.com (localhost [127.0.0.1]) by xl5.calivar.com (Postfix) with ESMTP id 9A2033C100; Tue, 9 Aug 2005 15:57:49 +0100 (BST) To: Ian Campbell Cc: raghavendra pai g , ecos-discuss@ecos.sourceware.org References: <20050809102804.17214.qmail@webmail28.rediffmail.com> <1123598203.13258.2.camel@icampbell-debian> From: Nick Garnett Original-Sender: nickg@ecoscentric.com Date: Tue, 09 Aug 2005 14:57:00 -0000 In-Reply-To: <1123598203.13258.2.camel@icampbell-debian> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [ECOS] Re: eCos Grub Problem X-SW-Source: 2005-08/txt/msg00097.txt.bz2 Ian Campbell 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