LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-13-2007, 04:55 PM   #1
drmjh
Member
 
Registered: Mar 2005
Location: North Carolina, USA
Distribution: Ubuntu
Posts: 308

Rep: Reputation: 31
bootloader parsing number error


Hi,
I upgraded Suse 10.2 to 10.3 and all went well. At least so I thought.
I keep a Windows partition to do my taxes on, since there is no equivalent I've found in the Linux world.
When I try to boot Windows I receive the following error:

Root no verify (hd0,5)
Chainloader (dev/sdc1) + 1
Err 23: Err while parsing number

My guess is that the Grub is seeing something or not seeing something that it doesn't recognize and is balking.
How do I find out what Grub needs and How do I fix it ?
Thank you in advance for your help.
 
Old 11-13-2007, 05:07 PM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
unless you have made syntax errors yourself, the first thing is noverfiy is the correct syntax.

suse seems to have got excited with its chainloader command as well.

so far I translate your commands as

target is hd0,5 = partition 6......for windows I doubt it very much, normally C is on the first partition hd0,0

the chainloader command then attempts to get fancy, and name your device as sdc.

1) when grub first appears press C for commands
type root (hd0....and press tab to see what is available...likely fat to be on hd0,0
if it it choose it

command 2....assuming you have no other windows installed, your post lacks detail, is
chainloader +1


2) read my trouble shooter to get a feel for what to expect.

3) if you have extra ms systems you need to detail them in your post and explain how each hard drive is connected and your partitions as you remember them. Also I assume you can get into Linux so post your /boot/grub/menu.lst or /etc/grub (something)

4) my signature explains how grub works. if the commands

root (hd0,)
chainloader +1

works first time, then that is what you edit with root powers into your grub menu.

however, unlikely has it sounds you may need a extra command so that
root (hd0,0)
makeactive
chainloader +1
may be the actual commands you need?



good luck

Last edited by aus9; 11-13-2007 at 05:11 PM.
 
Old 11-14-2007, 01:53 AM   #3
drmjh
Member
 
Registered: Mar 2005
Location: North Carolina, USA
Distribution: Ubuntu
Posts: 308

Original Poster
Rep: Reputation: 31
Thumbs up

Thats great advice!
I've got guests now but will get to the tutorial very soon and let you know how I made out.
 
Old 11-14-2007, 07:54 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
If you use "rootnoverify" it is one word--no caps.

GRUB always uses hdx,y or simply hdx---where x and y are always numbers and start from zero:

hda1 = hd0,0
sda1 = hd0,0
etc.

If you have mixed ide and SATA, it gets more confusing

the "booting' link below might help also
 
Old 11-15-2007, 12:25 PM   #5
drmjh
Member
 
Registered: Mar 2005
Location: North Carolina, USA
Distribution: Ubuntu
Posts: 308

Original Poster
Rep: Reputation: 31
Things have been hectic here lately. I read some of the Grub trouble shooter and then decided to look at my fstab file.
It seems that Suse 10.3 decided to go off on trip of its own. This is nothing like my older fstab file.
e.g.

/dev/sda6 / ext3 acl,user_xattr 1 1
/dev/sda7 /home ext3 acl,user_xattr 1 2
/dev/sda1 /windows/C ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/sda5 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
~
~
I have a single disk and I believe (not 100% sure) that /windows/C was vfat not ntfs. The hard drive is not a scuzzi drive but an IDE. There should be only one installed Suse 10.3 and one installed Windows Xp. Nothing fancy.
An aside, I can't seem to get the expected results when I:

su
grub> root (hd0, {pressed Tab} get only a tab spaceing ?

Is that because there is no hdo ?
I don't think that can be the only reason though because when I just {tab} at the "grub>", instead of getting a list of the commands, I still get a TabSpaceing ?
Thank you in advance for you input.
Matthew
 
Old 11-15-2007, 12:47 PM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
When I do that trick (tab completion), the first tab adds a comma, and the second tab shows me the partitions.

Or, enter "root (hd0," and then the tab

If I try "root (hd1, <tab>", I get a message that the device does not exist.

You might try hitting the tab key until you get some kind of feedback. You can also find things using the grub "find" command. I was just playing with this and discovered it is pretty primitive---ie you have specify the full path, and it doesn't take wildcards.
 
Old 11-16-2007, 07:34 AM   #7
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
You can not being using my troubleshooter if you were able to get a su command to work. You must have booted into linux.

lets start again, when your bios gives you a grub menu, you press C for commands then.

if you can not see a menu, its hidden normally press the 'escape" key.

from my t/shooter at M@
grub> root (hd0, PRESS TAB means hd zero not hdO for orange ok?
 
Old 11-21-2007, 02:05 PM   #8
drmjh
Member
 
Registered: Mar 2005
Location: North Carolina, USA
Distribution: Ubuntu
Posts: 308

Original Poster
Rep: Reputation: 31
My guests left and I have a few minutes to collect my thoughts and read the tutorial.
This is what I think I should do and would greatly appreciate a critical overlook and correction/warning etc. Please do not assume that my Linux knowledge depth is anything but scared and shallow.
If I can't boot up Linux to get on line, I'm really screwed!
This is a copy of my menu.lst file:

# Modified by YaST2. Last modification on Fri Nov 9 21:06:15 GMT 2007
default 0 between 5 and 72 between 5 and 72
timeout 8
gfxmenu (hd0,5)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 10.3 - 2.6.22.12-0.1
root (hd0,5)
kernel /boot/vmlinuz-2.6.22.12-0.1-default root=/dev/sda6 vga=0x31a resume=/dev/sda5 splash=silent showopts
initrd /boot/initrd-2.6.22.12-0.1-default

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 10.3 - 2.6.22.12-0.1
root (hd0,5)
kernel /boot/vmlinuz-2.6.22.12-0.1-default root=/dev/sda6 vga=normal showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off 3
initrd /boot/initrd-2.6.22.12-0.1-default

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
rootnoverify (hd0,5)
chainloader (/dev/sdc1)+1
**********************************
MY Proposed CHANGES TO THE MENU.LST FILE:



• title windows
• root (hd0,0)
• makeactive
• chainloader + 1
• ***********************
Will I need to edit my fstab file?

Many thanks for your patience and advice.
Matthew
 
Old 11-21-2007, 03:44 PM   #9
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
don't touch your linux menu.

I think your suggested menu for windows will work, try it please.

we already know from the fstab file that sda1 = c = windows so its on the first partition, which is where it normally is.
 
Old 11-22-2007, 07:00 AM   #10
drmjh
Member
 
Registered: Mar 2005
Location: North Carolina, USA
Distribution: Ubuntu
Posts: 308

Original Poster
Rep: Reputation: 31
Thumbs up

AUS9,
Worked like a charm!!
Sometimes hand holding is the reassurance that gives courage.
Thank you everybody for your help.
Is this a great site or what?
Matthew
 
  


Reply

Tags
boot loader, error, parsing


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
what does error while parsing number mean? Bob Pearson Linux - Newbie 4 11-22-2007 05:34 AM
Error while parsing chunk header. Mplayer error only under Slack vdemuth Linux - Software 5 02-19-2007 11:09 AM
Error Parsing Config file for X chiefreborn SUSE / openSUSE 5 08-31-2005 06:30 PM
Fwd: Error 23: Error while parsing number rblythe Linux From Scratch 2 06-22-2005 08:43 PM
conftest.c Parsing Error ThunderPuppy Linux - Newbie 0 05-08-2004 05:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:02 AM.

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