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 09-13-2016, 09:49 PM   #1
zoelee4
Member
 
Registered: Aug 2016
Distribution: Debian, Ubuntu, BLFS
Posts: 116

Rep: Reputation: Disabled
Talking unable to mount root fs on unknown-block(0,0)


I try to boot and...

Click image for larger version

Name:	Screen Shot 2016-09-13 at 4.47.36 PM.png
Views:	134
Size:	71.0 KB
ID:	23006

this is in a VM. the host is ubuntu 14 64bit.

thanks in advance!
 
Old 09-14-2016, 05:10 AM   #2
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Have a look at this kernel config, check that the vm settings are set built in not modules
 
Old 09-14-2016, 07:22 AM   #3
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,665

Rep: Reputation: Disabled
The error (0,0) indicates kernel has no driver for HDD controller.
 
Old 09-14-2016, 09:03 AM   #4
zoelee4
Member
 
Registered: Aug 2016
Distribution: Debian, Ubuntu, BLFS
Posts: 116

Original Poster
Rep: Reputation: Disabled
Could you explain more? I am a noob so I am not exactly sure what that means? thank!
 
Old 09-14-2016, 09:05 AM   #5
zoelee4
Member
 
Registered: Aug 2016
Distribution: Debian, Ubuntu, BLFS
Posts: 116

Original Poster
Rep: Reputation: Disabled
and I have been using this thread as well. http://www.linuxquestions.org/questi...59#post5604959
 
Old 09-14-2016, 10:02 PM   #6
stoat
Member
 
Registered: May 2007
Distribution: LFS
Posts: 628

Rep: Reputation: 185Reputation: 185
Try building a new kernel with the drivers for the hard drive controllers built in. Anyway, that is sort of the purist LFS way. A method to discover what those drivers are is to study your host Linux system (it always provides these kinds of answers). Or boot with a recent version of a live CD of some popular distro and study what it loads for your hardware.

If you have IDE drives to deal with, then lspci -k often will reveal the driver modules in use for those. You then can search for those driver modules in the kernel config editor (menuconfig) to find the kconfig option, or I often search with Google or Yahoo for the driver module name specifying site:cateee.net after typing in the driver name. That usually takes me right to the page with the driver module and reveals the kconfig option name and often a list of the devices it supports. Actually, you can do that for most or all of the modules listed by lsmod as a way to learn what all those things are. Anyway, I still have IDE drives in several computers. I don't remember which ones need what, so I build in all of their drivers so they exist in the system when it is cloned to different computers. Just as an example only, this is from my own notes from the configuration of kernel version 4.6.3...
Code:
SATA/PATA drivers	|    |...<*> Serial ATA and Parallel ATA drivers ---> (CONFIG_ATA=y)
(build these in)	|    |        |
			|    |        |...[*] 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)
			|    |        |
			|    |        |...<*> ACPI firmware driver for PATA (CONFIG_PATA_ACPI=y)
			|    |        |
			|    |        |...<*> Generic ATA support (CONFIG_ATA_GENERIC=y)
			|    |        |
For SATA drives, you can study lsmod for modules related to those. I build in these and get by...
Code:
SCSI drivers		|    |...    SCSI device support --->
(build these in)	|    |        |
			|    |        |...-*- SCSI device support (CONFIG_SCSI=y, module=scsi_mod)
			|    |        |
			|    |        |...<*> SCSI disk support (CONFIG_BLK_DEV_SD=y, module=sd_mod)
			|    |        |
			|    |        |...<*> SCSI CDROM support (CONFIG_BLK_DEV_SR=y, module=sr_mod)
			|    |        |
			|    |        |...<*> SCSI generic support (CONFIG_CHR_DEV_SG=y, module=sg)
USB drives are not a problem and their drivers can be built as modules UNLESS your system is on a USB drive and booting from it. If your system is on a USB drive, then build those drivers in also. They will have names in lsmod such as usbcore, usb_storage, ehci_hcd, ehci_platform, ohci_hcd, ohci_pci, ohci_platform, uhci_hcd. An initial ram filesystem to allow using LABEL or UUID for booting a USB drive is also a good idea (and a BLFS topic).

Last edited by stoat; 09-15-2016 at 09:28 AM.
 
Old 09-14-2016, 11:28 PM   #7
zoelee4
Member
 
Registered: Aug 2016
Distribution: Debian, Ubuntu, BLFS
Posts: 116

Original Poster
Rep: Reputation: Disabled
thank you so much!!! However I am really new to linux and I am wondering what I need to do to implement the drivers. this is what "lspci -k" outputed:

Code:
zoe@zoe-virtual-machine:~$ lspci -k
00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 01)
    Subsystem: VMware Virtual Machine Chipset
    Kernel driver in use: agpgart-intel
00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 01)
00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 08)
    Subsystem: VMware Virtual Machine Chipset
00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
    Subsystem: VMware Virtual Machine Chipset
    Kernel driver in use: ata_piix
00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08)
    Subsystem: VMware Virtual Machine Chipset
00:07.7 System peripheral: VMware Virtual Machine Communication Interface (rev 10)
    Subsystem: VMware Virtual Machine Communication Interface
    Kernel driver in use: vmw_vmci
00:0f.0 VGA compatible controller: VMware SVGA II Adapter
    Subsystem: VMware SVGA II Adapter
    Kernel driver in use: vmwgfx
00:10.0 SCSI storage controller: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 01)
    Subsystem: VMware LSI Logic Parallel SCSI Controller
    Kernel driver in use: mptspi
00:11.0 PCI bridge: VMware PCI bridge (rev 02)
00:15.0 PCI bridge: VMware PCI Express Root Port (rev 01)
    Kernel driver in use: pcieport
00:15.1 PCI bridge: VMware PCI Express Root Port (rev 01)
    Kernel driver in use: pcieport
00:15.2 PCI bridge: VMware PCI Express Root Port (rev 01)
    Kernel driver in use: pcieport
00:15.3 PCI bridge: VMware PCI Express Root Port (rev 01)
    Kernel driver in use: pcieport
00:15.4 PCI bridge: VMware PCI Express Root Port (rev 01)
    Kernel driver in use: pcieport
00:15.5 PCI bridge: VMware PCI Express Root Port (rev 01)
    Kernel driver in use: pcieport
00:15.6 PCI bridge: VMware PCI Express Root Port (rev 01)
    Kernel driver in use: pcieport
00:15.7 PCI bridge: VMware PCI Express Root Port (rev 01)
    Kernel driver in use: pcieport
00:16.0 PCI bridge: VMware PCI Express Root Port (rev 01)
    Kernel driver in use: pcieport
00:16.1 PCI bridge: VMware PCI Express Root Port (rev 01)
    Kernel driver in use: pcieport
00:16.2 PCI bridge: VMware PCI Express Root Port (rev 01)
    Kernel driver in use: pcieport
00:16.3 PCI bridge: VMware PCI Express Root Port (rev 01)
    Kernel driver in use: pcieport
00:16.4 PCI bridge: VMware PCI Express Root Port (rev 01)
    Kernel driver in use: pcieport
00:16.5 PCI bridge: VMware PCI Express Root Port (rev 01)
    Kernel driver in use: pcieport
00:16.6 PCI bridge: VMware PCI Express Root Port (rev 01)
    Kernel driver in use: pcieport
00:16.7 PCI bridge: VMware PCI Express Root Port (rev 01)
    Kernel driver in use: pcieport
00:17.0 PCI bridge: VMware PCI Express Root Port (rev 01)
    Kernel driver in use: pcieport
00:17.1 PCI bridge: VMware PCI Express Root Port (rev 01)
    Kernel driver in use: pcieport
00:17.2 PCI bridge: VMware PCI Express Root Port (rev 01)
    Kernel driver in use: pcieport
00:17.3 PCI bridge: VMware PCI Express Root Port (rev 01)
    Kernel driver in use: pcieport
00:17.4 PCI bridge: VMware PCI Express Root Port (rev 01)
    Kernel driver in use: pcieport
00:17.5 PCI bridge: VMware PCI Express Root Port (rev 01)
    Kernel driver in use: pcieport
00:17.6 PCI bridge: VMware PCI Express Root Port (rev 01)
    Kernel driver in use: pcieport
00:17.7 PCI bridge: VMware PCI Express Root Port (rev 01)
    Kernel driver in use: pcieport
00:18.0 PCI bridge: VMware PCI Express Root Port (rev 01)
    Kernel driver in use: pcieport
00:18.1 PCI bridge: VMware PCI Express Root Port (rev 01)
    Kernel driver in use: pcieport
00:18.2 PCI bridge: VMware PCI Express Root Port (rev 01)
    Kernel driver in use: pcieport
00:18.3 PCI bridge: VMware PCI Express Root Port (rev 01)
    Kernel driver in use: pcieport
00:18.4 PCI bridge: VMware PCI Express Root Port (rev 01)
    Kernel driver in use: pcieport
00:18.5 PCI bridge: VMware PCI Express Root Port (rev 01)
    Kernel driver in use: pcieport
00:18.6 PCI bridge: VMware PCI Express Root Port (rev 01)
    Kernel driver in use: pcieport
00:18.7 PCI bridge: VMware PCI Express Root Port (rev 01)
    Kernel driver in use: pcieport
02:00.0 USB controller: VMware USB1.1 UHCI Controller
    Subsystem: VMware Device 1976
    Kernel driver in use: uhci_hcd
02:01.0 Ethernet controller: Intel Corporation 82545EM Gigabit Ethernet Controller (Copper) (rev 01)
    Subsystem: VMware PRO/1000 MT Single Port Adapter
    Kernel driver in use: e1000
02:02.0 Multimedia audio controller: Ensoniq ES1371 / Creative Labs CT2518/ES1373 (rev 02)
    Subsystem: Ensoniq AudioPCI 64V/128 / Creative CT4810/CT5803/CT5806 [Sound Blaster PCI]
    Kernel driver in use: snd_ens1371
02:03.0 USB controller: VMware USB2 EHCI Controller
    Subsystem: VMware USB2 EHCI Controller
    Kernel driver in use: ehci-pci
02:05.0 SATA controller: VMware SATA AHCI controller
    Subsystem: VMware SATA AHCI controller
    Kernel driver in use: ahci
thanks again for the help!
 
  


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
Unable to mount root fs on unknown-block(8,10) helen23 Linux From Scratch 6 10-19-2011 12:36 AM
Unable to mount root fs on unknown block(0,0) Abid Malik Linux - Kernel 2 10-21-2010 12:56 PM
Unable to mount root fs on unknown-block (9,1) prajeeit Red Hat 1 06-23-2010 09:55 AM
unable to mount root fs on unknown block barragaa Fedora 1 03-15-2006 02:48 PM
Unable to mount root fs on unknown-block pumaapple Linux - Newbie 1 09-17-2005 11:11 PM

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

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