Mailinglist Archive: opensuse (4656 mails)

< Previous Next >
Re: [opensuse] menu.lst and fstab text - Carl
  • From: David Bolt <bcrafhfr@xxxxxxxxxx>
  • Date: Mon, 29 Jan 2007 20:15:24 +0000
  • Message-id: <C6Ry1kkcXlvFFwlr@xxxxxxxxxxxxxxxxxxx>
On Sun, 28 Jan 2007, charles@xxxxxxxxxxxxxx wrote:-

<snip>

If the following is truly the entire contents of /boot/grub/menu.lst,
it's no wonder you can't get openSUSE to boot. Apart from having several
bits missing, it's "nicely" corrupted.

># Modified by YaST2. Last modification on Sun Jan 28 20:13:54 PST 2007
>default 0
>timeout 8
>gfxmenu (/dev/sda,7)/boot/message
^^^^^^^^^
This is wrong. It should be (hd0,7)

>###Don't change this comment - YaST2 identifier: Original name:
>linux###
>title openSUSE 10.2

There's not kernel image or initrd specified, so nothing to boot.

>###Don't change this comment - YaST2 identifier: Original name: windows 1###
>title windows 1
> rootnoverify (hd0,0)
> chainloader (hd0,0)+1

That's fine, assuming that Windows is installed on /dev/sda1.

>###Don't change this comment - YaST2 identifier: Original name: windows 2###
>title windows 2
> rootnoverify (hd0,0)
> chainloader (/dev/sda,0)+1
^^^^^^^^
As with the Windows selection above, this should be (hd0,0)+1

>###Don't change this comment - YaST2 identifier: Original name: failsafe###
>title Failsafe -- openSUSE 10.2

Here's the fail-safe boot option. As with the openSUSE 10.2 option
above, there's no kernel or initrd specified, so nothing to boot.

>###Don't change this comment - YaST2 identifier: Original name:
>2.6.18.2-34-default###
>title 2.6.18.2-34-default
> initrd (/dev/sda,7)/boot/initrd-2.6.18.2-34-default
^^^^^^^^
Apart from this being wrong, as it should be (hd0,7), this option does
have an initrd. However, there's still no kernel so nothing to boot.

As an example, this is how /boot/grub/menu.lst should look:

# Modified by YaST2. Last modification on Mon Jan 29 20:07:35 GMT 2007
default 0
timeout 8
##YaST - generic_mbr
gfxmenu (hd0,2)/boot/message
##YaST - activate

### Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 10.2
root (hd0,2)
kernel /boot/vmlinuz root=/dev/hda3 vga=0x317 splash=native resume=/dev/hda2 showopts
initrd /boot/initrd

### Don't change this comment - YaST2 identifier: Original name: linux###
title Failsafe -- openSUSE 10.2
root (hd0,2)
kernel /boot/vmlinuz root=/dev/hda3 vga=normal showopts ide=nodma apm=off acpi=off noresume maxcpus=0 edd=off 3
initrd /boot/initrd

title Windows
rootnoverify (hd0,0)
chainloader (hd0,0)+1

In this case, (hd0,0) is /dev/hda1 and contains a Windows install.
(hd0,2) is /dev/hda3 and is / while swap is /dev/hda2


Regards,
David Bolt

--
Member of Team Acorn checking nodes at 50 Mnodes/s: http://www.distributed.net/
AMD1800 1GB WinXP/SUSE 9.3 | AMD2400 256MB SuSE 9.3 | A3010 4MB RISCOS 3.11
AMD2600(64) 512MB SUSE 10.0 | AMD2400 768MB SUSE 10.0 | A4000 4MB RISCOS 3.11
AMD2800(64) 512MB SUSE 10.1 | RPC600 129MB RISCOS 3.6 | Falcon 14MB TOS 4.02
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
References