LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 11-22-2007, 11:38 AM   #1
dough
LQ Newbie
 
Registered: Oct 2006
Posts: 18

Rep: Reputation: 0
Whats wrong with this grub menu item?


openSUSE is located at sda7, home at sda8.
The vmlinuz in /boot reads: 2.6.22.12-0.1-default and /lib/modules contains that same directory.
Here is the /boot/grub/menu.lst (I changed the title line, nothing else):

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE-32 10.3 (at sda7 & /home at sda8)
rootnoverify (hd0,6)
kernel /boot/vmlinuz-2.6.22.12-0.1-default
root=/dev/disk/by-id/scsi-SATA_WDC_WD1600AAJS-_WD-WCAP91531165-part7
vga=0x31a resume=/dev/sda3 splash=silent showopts
initrd /boot/initrd-2.6.22.12-0.1-default

but when I select this from the grub menu when booting, I get this error:

Quote:
rootnoverify (hd0,6)
kernel /boot/vmlinuz-2.6.22.12-0.1-default
[Linux-bzImage, setup=0x1e00, size=0x183270]
root=/dev/by-id/scsi-SATA_WDC_WD1600AAJS-_WD-WCAP91531165-part7

Error 11: Unrecognized device string
I had changed the title line because I have both 32-bit and 64-bit installed.

What is Error 11? And, why won't it boot? Neither the 32-bit or the 64-bit will boot.
 
Old 11-22-2007, 01:12 PM   #2
armandrix
Member
 
Registered: Nov 2005
Location: Brazil
Distribution: slackware64 -current
Posts: 46

Rep: Reputation: 18
Really strange...

1st, I think you must say us what kind of disks you have there.. IDE type, SCSI ?? or at least to post here one grub entry with a partition booting correctly.. At a glance I can say the problem is with:

root=/dev/by-id/scsi-SATA_WDC_WD1600AAJS-_WD-WCAP91531165-part7

It seems like opensuse writes fstab entries, don't know if it works with grub. Try change it to the default root (hd0,6).

Other thing is the line "rootnoverify (hd0,6)", I think you would delete this line, once this causes grub don't check the partition to boot and may cause troubles if your sistem turns off incorrectly.

I.E. for ide disks this entry must work well:

title whatever-you-want
root (hd0,6)
kernel /boot/vmlinuz-2.6.22.12-0.1-default root=/dev/sda7 vga=0x31a resume=/dev/sda3 splash=silent showopts elevator=as
initrd /boot/initrd-2.6.22.12-0.1-default

If your grub is installed well, just change /boot/grub/menu.lst

but if it is other type please check.
 
Old 11-22-2007, 02:16 PM   #3
dough
LQ Newbie
 
Registered: Oct 2006
Posts: 18

Original Poster
Rep: Reputation: 0
Amazing, thank you. I tweaked it a bit to add an entry for 64-bit Suse and it worked as well.

On both installations the grub entries were .../by-id/WD<long string>... that is, apparently, useless. Mepis is my main distro so adding your entry to its grub makes all work perfectly.

Thanks again.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub question, wrong menu.lst on boot Armane Debian 7 03-27-2007 06:36 AM
New Terminal menu item does nothing flgal3 Red Hat 11 02-05-2006 09:27 PM
whats wrong with this code in grub? HmmLinux Linux - General 2 11-12-2004 03:50 AM
Menu item in Madrake 9.2 Veli Mandriva 2 07-11-2004 06:24 AM
Whats wrong with my GRUB config? Memzback Linux - Newbie 1 04-25-2004 11:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 06:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration