LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 06-20-2005, 07:45 PM   #1
rblythe
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
SCSI)

3) How do I fix this?

Thanks
 
Old 06-21-2005, 12:01 PM   #2
kjordan
Member
 
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, 08:43 PM   #3
rblythe
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.
 
  


Reply



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 11:09 AM
Mozilla crashes with XML Parsing error jtdwyer Linux - Software 1 09-25-2006 04:39 AM
Error Parsing Config file for X chiefreborn SUSE / openSUSE 5 08-31-2005 06:30 PM
Xml Parsing Eror:syntax error Black.UCoD Linux - Newbie 6 08-30-2005 04:23 PM
conftest.c Parsing Error ThunderPuppy Linux - Newbie 0 05-08-2004 05:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 11:03 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