LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-29-2007, 12:38 AM   #1
aleksanteri
LQ Newbie
 
Registered: Jun 2007
Location: Finland
Distribution: Debian Lenny (Testing)
Posts: 14

Rep: Reputation: 0
VFS: Cannot open root device "<NULL>" or unknown-block(8.22)


I have a problem with the boot of LFS 6.3. I keep getting
Code:
VFS: Cannot open root device "<NULL>" or unknown-block(8.22)
Please append a correct "root=" boot option , herea re the avaivable partitions:
0300    4194302 hda driver: ide-cdrom
Kernel panic - not synching: VFS: Unable to mount root fs on unknown-block(8,22)
on boot, no matter what I try.

lspci:
Code:
00:00.0 Memory controller: nVidia Corporation CK804 Memory Controller (rev a3)
00:01.0 ISA bridge: nVidia Corporation CK804 ISA Bridge (rev a3)
00:01.1 SMBus: nVidia Corporation CK804 SMBus (rev a2)
00:02.0 USB Controller: nVidia Corporation CK804 USB Controller (rev a2)
00:02.1 USB Controller: nVidia Corporation CK804 USB Controller (rev a3)
00:04.0 Multimedia audio controller: nVidia Corporation CK804 AC'97 Audio Controller (rev a2)
00:06.0 IDE interface: nVidia Corporation CK804 IDE (rev f2)
00:07.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev f3)
00:08.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev f3)
00:09.0 PCI bridge: nVidia Corporation CK804 PCI Bridge (rev a2)
00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev a3)
00:0b.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0c.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0d.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0e.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
05:00.0 VGA compatible controller: nVidia Corporation NV44 [GeForce 6200 SE TurboCache (TM)] (rev a1)
/boot/grub/menu.lst:
Code:
title		LFS 6.3
root		(hd1,5)
kernel		/boot/lfskernel-2.6.22.5 root=/dev/sdb6
savedefault
/etc/fstab:
Code:
# Begin /etc/fstab

# file system   mount-point     type    options                 dump  fsck order
/dev/sdb6       /               ext3    defaults                1       1
proc            /proc           proc    defaults                0       0
sysfs           /sys            sysfs   defaults                0       0
devpts          /dev/pts                devpts  gid=4,mode=620  0       0
shm             /dev/shm                tmpfs   defaults        0       0
# End /etc/fstab
 
Old 10-30-2007, 04:02 AM   #2
gerald_M2B
Member
 
Registered: Oct 2007
Posts: 34

Rep: Reputation: 15
LFS simplest boot

With the simplest booting method, you have these obligations:
The EXT3 filesystem is compiled into the kernel that you created.
CONFIG_EXT3_FS=y in the .config file (Command: grep "EXT3" .config)
The disk access is also.
If either are not, redo the kernel build.

If you created the 2 sector floppy in the grub package, it comes in handy now.

grub>root (hd<TAB>

This should respond with all available hard disks. For me, it only works on the
first entry (AND then only on about every other attempt, so try a few times if needed)
Complete the root line, and then the kernel line as shown in grub's menu.lst

<ENTER> and enjoy.

Gerald
 
  


Reply

Tags
kernel, lfs, panic


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
VFS: cannot open root device "sda3" or unknown-block (0,0) snakeo2 Linux - Newbie 10 07-05-2012 08:23 PM
2.6.19: VFS: Cannot Open root device "sda1" or unknown-block(0,0) havok1977 Linux - Kernel 18 05-03-2007 04:25 PM
VFS: Cannot open root device "805" or unknown-block(8,5) chameleonic Linux - Newbie 0 09-24-2006 03:34 PM
New kernel - VFS: Cannot open root device "301" or unknown block(3,1) j0y Debian 2 04-30-2005 09:14 PM
VFS: Cannot open root device "1601" or unknown-block(22,1) takehora Slackware 3 06-11-2004 08:34 PM


All times are GMT -5. The time now is 04:24 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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration