LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-16-2005, 02:51 PM   #1
abhishekgedam
LQ Newbie
 
Registered: Nov 2005
Posts: 14

Rep: Reputation: 0
SATA and Grub problem


hi
I am using LFS live cd.
I am using SATA Drive and the partion on which i am working is /dev/sda5.

but when i give command grub command in chapter 8.4
and try to give following command on grub prompt

root (sd0,4)

there was following error
Error 23 : Error while parsing number

Thank u
 
Old 12-17-2005, 11:29 AM   #2
madluther
Member
 
Registered: Aug 2004
Distribution: LFS
Posts: 350

Rep: Reputation: 31
Grub uses its own drive designations, drive 0 = hd0, drive 1 = hd1 , so in this instance the correct command would be root (hd0,4)

HTH

Mad.
 
Old 12-17-2005, 11:38 AM   #3
abhishekgedam
LQ Newbie
 
Registered: Nov 2005
Posts: 14

Original Poster
Rep: Reputation: 0
hi ,
madluther thanks for reply
ur right, the correct command should be root (hd0,4)
but when try to reboot my new build system using this command the kernel go panic and unable to find file system

waiting for ur reply
 
Old 12-18-2005, 05:57 AM   #4
Jacky Quah
LQ Newbie
 
Registered: May 2005
Posts: 28

Rep: Reputation: 15
what's on your hda4 ?
you root should be LFS system root or other linux system root I think.
 
Old 12-18-2005, 09:07 AM   #5
madluther
Member
 
Registered: Aug 2004
Distribution: LFS
Posts: 350

Rep: Reputation: 31
The kernel panic is caused by the kernel not being able to mount a root filesystem.

The following are the likely causes

The fstab entry for the root filesystem is incorrect, ie, wrong fs type or wrong partition.
The kernel doesn't have builtin support for the root filesystem type.
The kernel doesn't have builtin support for the hardware the root filesystem resides on.

Mad.
 
Old 12-18-2005, 04:13 PM   #6
dennisfen
Member
 
Registered: Dec 2005
Location: Moscow, Russia
Distribution: LFS 6.3
Posts: 32

Rep: Reputation: 15
did you enable sata support in kernel?
 
  


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
GRUB problem - error 21 + SATA controller (Promise PDC20376) klorko Linux - Software 2 12-11-2005 05:06 AM
GRUB problem - Error 21 + SATA controller (Promise PDC20376) klorko Linux - Software 1 12-09-2005 09:56 AM
GRUB problem with SATA adamski2000 Linux - Software 2 07-06-2005 04:52 AM
Problem with Grub SATA and WinXP Slalomsk8er Linux - General 2 01-14-2005 05:00 AM
grub tutorials and grub with sata dARkHunTEr Linux - Software 0 07-16-2004 12:07 PM

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

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