LinuxQuestions.org
Social Bookmarking all things Linux and Open Source

Welcome to LinuxQuestions.org, a friendly and active Linux Community.

You are currently viewing LQ as a guest. By joining our community you will have access to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!

Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.

Are you new to LinuxQuestions.org? Visit the following links:
Site Howto | Site FAQ | Sitemap | Register Now

If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.

Go Back   LinuxQuestions.org > Forums > Linux > 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.

Reply
 
Thread Tools
Old 06-20-2005, 07:45 PM   #1
rblythe
Newbie
 
Registered: May 2005
Posts: 14
Fwd: Error 23: Error while parsing number


[Log in to get rid of this advertisement]
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
rblythe is offline     Reply With Quote
Old 06-21-2005, 12:01 PM   #2
kjordan
Member
 
Registered: Jul 2004
Distribution: LFS, I felt the itch and scratched it
Posts: 226
I believe it would just be
root (sd0,0) since 0 is a in grub talk.
kjordan is offline     Reply With Quote
Old 06-22-2005, 08:43 PM   #3
rblythe
Newbie
 
Registered: May 2005
Posts: 14
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.
rblythe is offline     Reply With Quote

Reply

Submit thread to Digg | Submit thread to del.icio.us | Submit to LQ Bookmarks

« Back to Top »

Thread Tools

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

vB 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/Novell 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



Add LQ To Your Yahoo Add LQ To Your Google Add LQ To Your MSN Add LQ To Your Blog
All times are GMT -5. The time now is 12:21 AM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Open Source Consulting | Domain Registration