Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.


  Search this Thread
Old 06-20-2005, 08:45 PM   #1
LQ Newbie
Registered: May 2005
Posts: 14

Rep: Reputation: 0
Fwd: Error 23: Error while parsing number

I am trying to set up grub to boot from /dev/sda1

After copying LFS from /dev/hda4 to /dev/sda1 I realized I need to compile
SCSI support into the kernel. After successfully (no errors) doing that, I
wanted to set up grub to allow me to boot from /dev/hda1 (Mepis), /dev/hda4
(first LFS build) or /dev/sda1 (copy of 1st LFS build).

I chrooted into the environment before compiling the kernel
compiled the new kernel on /dev/sda1
followed all the steps in LFS 6.0 (make menuconfig, make, make
modules_install) then moved on to the grub setup. After typing grub I did
the following at the grub> prompt:
root (sda0,0)

and the system returned:

Error 23: Error while parsing number. My questions are:

1) Is there a place that I can find out what this error code (and others)
mean so I can try to figure things out before asking everyone?

2) Is there something special about SCSI hard drives I should know in order
to boot from them? (I did compile everything into the kernel that mentioned

3) How do I fix this?

Old 06-21-2005, 01:01 PM   #2
Registered: Jul 2004
Distribution: LFS, I felt the itch and scratched it
Posts: 227

Rep: Reputation: 31
I believe it would just be
root (sd0,0) since 0 is a in grub talk.
Old 06-22-2005, 09:43 PM   #3
LQ Newbie
Registered: May 2005
Posts: 14

Original Poster
Rep: Reputation: 0
grub does not speak 'sd0, sd1', etc.

Instead it sees hard drives as hd0, hd1, etc.

In my case, my SCSI hard drive is hd1 because my machine has 1 IDE drive (primary) and 1 SCSI drive (secondary).

If the SCSI drive was the only drive, grub would treat it as hd0.

Just thought anyone who boots from a SCSI would like to know.


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
Error while parsing chunk header. Mplayer error only under Slack vdemuth Linux - Software 5 02-19-2007 12:09 PM
Mozilla crashes with XML Parsing error jtdwyer Linux - Software 1 09-25-2006 05:39 AM
Error Parsing Config file for X chiefreborn SUSE / openSUSE 5 08-31-2005 07:30 PM
Xml Parsing Eror:syntax error Black.UCoD Linux - Newbie 6 08-30-2005 05:23 PM
conftest.c Parsing Error ThunderPuppy Linux - Newbie 0 05-08-2004 06:05 AM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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

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