openSUSE Forums > Archives > Novell Archives » Need Help With My Suse Grub Menu.lst

Go Back   openSUSE Forums > Archives > Novell Archives
Forums FAQ Members List Search Today's Posts Mark Forums Read


Novell Archives Archived content from Novell openSUSE support forums

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-Jan-2007, 11:59
jerryo@chibardun.coop
Guest
 
Posts: n/a
Default Need Help With My Suse Grub Menu.lst

I just install Open Suse 10.2, but I need help with editing the menu.lst

I have Freespire on hdb1, Suse on hdb2, Kubuntu on hdb3, swap hdb4. I have
already edited it adding Kubuntu, Kubuntu boots part way and then stops. I
will post the error message but I am not prepared right now to do so. I
will post my Suse Grub menu.lst now, maybe someone can look at it and right
away see what is wrong with it. I just copied and pasted my Kubuntu entry
into this one:

# Modified by YaST2. Last modification on Wed Jan 10 04:35:52 UTC 2007
default 1
timeout 10
gfxmenu (hd1,1)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 10.2
root (hd1,1)
kernel /boot/vmlinuz-2.6.18.2-34-default root=/dev/hdb2 vga=0x31a
resume=/dev/hdb4 splash=silent showopts
initrd /boot/initrd-2.6.18.2-34-default

###Don't change this comment - YaST2 identifier: Original name: hidden
(alt1) (/dev/hdb1)###
title hidden (alt1) (/dev/hdb1)

title Kubuntu, kernel 2.6.15-23-386
root (hd1,2)
kernel /boot/vmlinuz-2.6.15-23-386 root=/dev/hdb3 ro quiet splash
initrd /boot/initrd.img-2.6.15-23-386

###Don't change this comment - YaST2 identifier: Original name: Freespire
Ver. 1.0.13 (/dev/hdb3)###
title Freespire Ver. 1.0.13 (/dev/hdb3)
kernel (hd1,0)/boot/vmlinuz-2.6.14-gratis
root=/dev/ide/host0/bus0/target1/lun0/part1 vga=0x311 rootdev=0x0341
ramdisk=35392 video=vesafb:nomtrr jiffymount=noatime
resume2=swap:/dev/hdb1:0x44000 splash=silent
initrd (hd1,0)/boot/initrd-2.6.14-gratis.gz

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 10.2
root (hd1,1)
kernel /boot/vmlinuz-2.6.18.2-34-default root=/dev/hdb2 vga=normal
showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off 3
initrd /boot/initrd-2.6.18.2-34-default

The other distros boot up just fine.....thanks
  #2 (permalink)  
Old 11-Jan-2007, 21:20
Rajko M
Guest
 
Posts: n/a
Default Re: Need Help With My Suse Grub Menu.lst

jerryo@chibardun.coop wrote:

> I just install Open Suse 10.2, but I need help with editing the menu.lst
>
> I have Freespire on hdb1, Suse on hdb2, Kubuntu on hdb3, swap hdb4. I have
> already edited it adding Kubuntu, Kubuntu boots part way and then stops. I
> will post the error message but I am not prepared right now to do so. I
> will post my Suse Grub menu.lst now, maybe someone can look at it and
> right away see what is wrong with it. I just copied and pasted my Kubuntu
> entry into this one:


Try this:
-------------------------------------------------------------
# Modified by YaST2. Last modification on Wed Jan 10 04:35:52 UTC 2007
default 0
timeout 30
gfxmenu (hd1,1)/boot/message

###YaST2 identifier: Original name: linux###
title openSUSE 10.2
root (hd1,1)
kernel /boot/vmlinuz-2.6.18.2-34-default root=/dev/hdb2 vga=0x31a
noresume splash=silent showopts
initrd /boot/initrd-2.6.18.2-34-default

###YaST2 identifier: Kubuntu (/dev/hdb3)###
title Kubuntu (/dev/hdb3)
root (hd1,2)
kernel /boot/vmlinuz-2.6.15-23-386 root=/dev/hdb3 vga=0x31a noresume
quiet splash
initrd /boot/initrd.img-2.6.15-23-386

###YaST2 identifier:Freespire Ver. 1.0.13 (/dev/hdb1)###
title Freespire Ver. 1.0.13 (/dev/hdb1)
root (hd1,0)
kernel /boot/vmlinuz-2.6.14-gratis root=/dev/hdb1 vga=0x311
video=vesafb:nomtrr noresume
initrd /boot/initrd-2.6.14-gratis.gz

###YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 10.2
root (hd1,1)
kernel /boot/vmlinuz-2.6.18.2-34-default root=/dev/hdb2 vga=normal
showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off
3
initrd /boot/initrd-2.6.18.2-34-default
-------------------------------------------------------------
When you copy and paste above menu.lst please make sure that each line that
is starting with word kernel is one line, ie. not split in two with newline
character.

There was ro after root=/dev/hdb3 in Kubuntu section, that made partition
read only which is impossible to use. Default is rw (read write) and it is
not necessary to put anything in boot options.
Additionally vga=0x31a and noresume.

Freespire should boot with change in its section too.
I don't see what means the following:
root=/dev/ide/host0/bus0/target1/lun0/part1
rootdev=0x0341
ramdisk=35392
jiffymount=noatime
resume2=swap:/dev/hdb1:0x44000
Above was maybe needed with Freespire boot loader, but not with openSUSE
one.

Additionally I changed default boot option to openSUSE and timeout to 30
seconds, resume is changed to noresume, as you have one swap and resume
from suspend in wrong distro can make mess. If you want to have resume than
you need one swap for each distro, ie. total 3 swap partitions.

The lines like
###Don't change this comment - YaST2 identifier: Original name: failsafe###
can be changed once you start to manually edit menu.lst. They are not
important for grub loader, but only for YaST.

--
Regards, Rajko.
http://en.opensuse.org/Portal
 

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2