LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-15-2012, 05:15 PM   #1
Garrett85
Member
 
Registered: Jan 2011
Posts: 332

Rep: Reputation: 6
booting LFS


I just completed the LFS project but I'M having trouble loading up.

autorun DONE

[ 1.9945e0] CFS: Cannot open root device "hda1" or unknown-block(0,0): error -6

[ 1.994633] Pleaes append a correct "root=" boot option; here are the available partitions:

[1.994732] Kernel panic - not syncing: CFS: Unable to mount root ffs on unknown-block(0,0)

pid: 1, comm: swapper/0 Not tainted 3.5.2

Any ideas?
 
Old 10-15-2012, 07:12 PM   #2
stoat
Member
 
Registered: May 2007
Distribution: LFS
Posts: 628

Rep: Reputation: 185Reputation: 185
First check the obvious thing: the GRUB config file.

After that is confirmed to be right, it is my belief that things like this are caused by one or more kernel modules not being set, or being set as modules and not available at boot time. Some things to consider in the kernel configuration that might apply to the current problem...

Generic Driver Options --->
[*] Maintain a devtmpfs filesystem to mount at /dev (CONFIG_DEVTMPFS=y)
SCSI device support --->
-*- SCSI device support (CONFIG_SCSI=y)
<*> SCSI disk support (CONFIG_BLK_DEV_SD=y)
<*> SCSI CDROM support (CONFIG_BLK_DEV_SR=y)
<*> SCSI generic support (CONFIG_CHR_DEV_SG=y)
<*> Serial ATA and Parallel ATA drivers ---> (CONFIG_ATA=y)
[*] ATA ACPI Support (CONFIG_ATA_ACPI=y)
<*> AHCI SATA support (CONFIG_SATA_AHCI=y)
[*] ATA SFF support (CONFIG_ATA_SFF=y)
[*] ATA BMDMA support (CONFIG_ATA_BMDMA=y)
<*> Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support (CONFIG_ATA_PIIX=y)
<*> Marvell PATA support via legacy mode (CONFIG_PATA_MARVELL=y)
<*> Intel PATA old PIIX support (CONFIG_PATA_OLDPIIX=y)
<*> Intel SCH PATA support (CONFIG_PATA_SCH=y)
<*> Intel PATA MPIIX support (CONFIG_PATA_MPIIX=y)
<*> Generic ATA support (CONFIG_ATA_GENERIC=y)
...and/or others you may need.
File systems --->
<*> Ext3 journalling file system support (CONFIG_EXT3_FS=y)
<*> The Extended 4 (ext4) filesystem (CONFIG_EXT4_FS=y)
...and/or others you may need.
...and or others you may need.

P.S.: Remember, we're not using an initial ram disk, so lots of things required at boot time have to be compiled as built-in, not as modules. In other words, as[*] in menuconfig or as =y in the config file, and not as [M] in menuconfig or as =m in the config file.

Last edited by stoat; 10-17-2012 at 11:05 AM.
 
  


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
[SOLVED] Booting LFS 7.0 with grub2 ubuntudude12 Linux From Scratch 11 09-12-2016 07:14 PM
Issues Booting LFS xerofoify Linux From Scratch 2 08-31-2012 07:45 AM
[SOLVED] error while booting lfs 7.1 ankit0301 Linux From Scratch 2 04-24-2012 01:37 PM
[SOLVED] Error booting LFS 7.1 CincinnatiKid Linux From Scratch 17 04-22-2012 08:39 PM
LFS Booting problem jgmyshko Linux - Laptop and Netbook 1 09-02-2006 07:07 PM

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

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