Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] not a valid root device
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
fresherthanever
n00b
n00b


Joined: 11 Nov 2013
Posts: 40
Location: Houston

PostPosted: Sun Mar 09, 2014 3:56 am    Post subject: [solved] not a valid root device Reply with quote

Hello.

Back again, quickly installed a new distro of Gentoo on upgraded computer. Using sys-kernel/geek-sources-3.13.5 (USE="bld bfq ck exfat ice optimize pf uksm gentoo brand symlink"), although I don't believe its the source of the problem.

The error:
Code:
>>Determining root device..
!! Block device /dev/sda4 is not a valid root device...
!! could not find the root block device in .

Occurs after loading modules, and drops me to a shell. I use rEFInd, a fully updated system with OpenRC for init as well as an initramfs. All kernel options for EFISTUB and ext4 have been satisfied according to my reading. rEFInd runs successfully.

Relevant info:
Partition Table:
Code:
(parted) print                                                           
Model: ATA ST500DM002-1BD14 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt

Number  Start   End     Size    File system     Name     Flags
 1      1049kB  600MB   599MB   fat32           ESI      boot
 2      600MB   1501MB  901MB   ext2            primary
 3      1501MB  4000MB  2500MB  linux-swap(v1)  primary
 4      4000MB  104GB   100GB   ext4            primary
 5      104GB   250GB   146GB   ext4            primary
 6      250GB   500GB   250GB   ext4            primary


/etc/fstab:
Code:

/dev/sda4               /               ext4            noatime,defaults                0 1
/dev/sda1               /boot/efi       vfat            defaults        0 2
/dev/sda5               /usr            ext4            defaults,noatime        0 1
/dev/sda6               /home           ext4            defaults,noatime        0 1
/dev/sda3               none            swap            sw              0 0
/dev/cdrom              /mnt/cdrom      auto            noauto,ro       0 0
/dev/fd0                /mnt/floppy     auto            noauto          0 0


/boot/efi/efi/refind/refind.conf:
Code:
menuentry "Gentoo 3.13.5-geek" {
        icon \efi\refind\icons\os_gentoo.icns
        loader \efi\vmlinuz-3.13.5.efi
        initrd \efi\vminitrd-3.13.5.img
        options "root=/dev/sda4 rw"
}


Additional kernel command line args:
Code:
root=/dev/sda4 rootfstype=ext4


I have tried almost everything for kernel command line arguments as well as rEFInd and I was wondering if anyone else had this problem, or can guide me in the right direction into fixing it. It would be much appreciated.

Thanks
_________________
Specs: AMD FX-6100|ASUS M5A97 AM3+|XFX AMD Radeon HD 6870|1TB 7200RPM/500GB 7200RPM|8GB DDR3 1600MHz


Last edited by fresherthanever on Wed Mar 12, 2014 1:08 am; edited 1 time in total
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7550
Location: Goose Creek SC

PostPosted: Sun Mar 09, 2014 5:04 am    Post subject: Reply with quote

Code:
grep -i "CONFIG_FHANDLE=y" /usr/src/linux/.config
grep -i "CONFIG_NET=y" /usr/src/linux/.config


If you do not have both suggest you redo menuconfig to include them and recompile and reinstall your kernel.
fsck /dev/sda4 from the cd.

If the problem persists use wgetpaste to post your kernel config.

sys-kernel/geek-sources-3.13.5 ????
might be good trouble shooting to build a gentoo-sources kernel and try it; efistub and refind make it easy to choose one or the other
_________________
Defund the FCC.
Back to top
View user's profile Send private message
fresherthanever
n00b
n00b


Joined: 11 Nov 2013
Posts: 40
Location: Houston

PostPosted: Sun Mar 09, 2014 9:48 pm    Post subject: Reply with quote

DONAHUE wrote:
Code:
grep -i "CONFIG_FHANDLE=y" /usr/src/linux/.config
grep -i "CONFIG_NET=y" /usr/src/linux/.config


If you do not have both suggest you redo menuconfig to include them and recompile and reinstall your kernel.
fsck /dev/sda4 from the cd.

If the problem persists use wgetpaste to post your kernel config.

sys-kernel/geek-sources-3.13.5 ????
might be good trouble shooting to build a gentoo-sources kernel and try it; efistub and refind make it easy to choose one or the other


ty for reply :)

fsck:
Code:
root@lubuntu:/home/lubuntu# fsck /dev/sda4
fsck from util-linux 2.20.1
e2fsck 1.42.8 (20-Jun-2013)
/dev/sda4: clean, 19295/6111232 files, 588734/24413985 blocks


Kernel settings
Code:
lubuntu linux # grep -i "CONFIG_FHANDLE=y" .config
CONFIG_FHANDLE=y
lubuntu linux # grep -i "CONFIG_NET=y" .config
CONFIG_NET=y


http://bpaste.net/show/186943/, pastebin of all kernel settings.

Problem persists after trying GPT PARTUUIDs instead of /dev/sda4. I will be compiling gentoo sources in a second..
_________________
Specs: AMD FX-6100|ASUS M5A97 AM3+|XFX AMD Radeon HD 6870|1TB 7200RPM/500GB 7200RPM|8GB DDR3 1600MHz
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43178
Location: 56N 3W

PostPosted: Sun Mar 09, 2014 10:00 pm    Post subject: Reply with quote

fresherthanever,

This line is very informative.
Code:
!! could not find the root block device in .
Before the full stop (period) there should be a list of block devices that the kernel can see.
For you, the list is empty, it follows that your kernel is missing support for your hard drive stack.

We need to see your lspci output to check your kernel settings.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
fresherthanever
n00b
n00b


Joined: 11 Nov 2013
Posts: 40
Location: Houston

PostPosted: Sun Mar 09, 2014 11:02 pm    Post subject: Reply with quote

NeddySeagoon wrote:
fresherthanever,

This line is very informative.
Code:
!! could not find the root block device in .
Before the full stop (period) there should be a list of block devices that the kernel can see.
For you, the list is empty, it follows that your kernel is missing support for your hard drive stack.

We need to see your lspci output to check your kernel settings.


ty for your input too :)

Code:
lubuntu / # lspci -k
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD890 PCI to PCI bridge (external gfx0 port B) (rev 02)
   Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] RD890 PCI to PCI bridge (external gfx0 port B)
lspci: Unable to load libkmod resources: error -12
00:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD890 PCI to PCI bridge (PCI express gpp port B)
   Kernel driver in use: pcieport
00:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD890 PCI to PCI bridge (PCI express gpp port D)
   Kernel driver in use: pcieport
00:07.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD890 PCI to PCI bridge (PCI express gpp port G)
   Kernel driver in use: pcieport
00:09.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD890 PCI to PCI bridge (PCI express gpp port H)
   Kernel driver in use: pcieport
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode] (rev 40)
   Subsystem: ASUSTeK Computer Inc. Device 84dd
   Kernel driver in use: ahci
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
   Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
   Kernel driver in use: ohci-pci
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
   Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
   Kernel driver in use: ehci-pci
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
   Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
   Kernel driver in use: ohci-pci
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
   Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
   Kernel driver in use: ehci-pci
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 42)
   Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller
   Kernel driver in use: piix4_smbus
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) (rev 40)
   Subsystem: ASUSTeK Computer Inc. Device 8444
   Kernel driver in use: snd_hda_intel
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller (rev 40)
   Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge (rev 40)
00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
   Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
   Kernel driver in use: ohci-pci
00:16.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
   Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
   Kernel driver in use: ohci-pci
00:16.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
   Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
   Kernel driver in use: ehci-pci
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 3
   Kernel driver in use: k10temp
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 4
   Kernel driver in use: fam15h_power
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 5
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Barts XT [Radeon HD 6870]
   Subsystem: XFX Pine Group Inc. Radeon HD 8670
   Kernel driver in use: radeon
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Barts HDMI Audio [Radeon HD 6800 Series]
   Subsystem: XFX Pine Group Inc. Device aa88
   Kernel driver in use: snd_hda_intel
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
   Subsystem: ASUSTeK Computer Inc. P8P67 and other motherboards
   Kernel driver in use: r8169
03:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller
   Subsystem: ASUSTeK Computer Inc. Device 8488
   Kernel driver in use: xhci_hcd
04:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter (rev 01)
   Subsystem: ASUSTeK Computer Inc. Device 84b6
   Kernel driver in use: rtl8192ce


Still not sure what is going on. Could this be related to initramfs or pre-boot troubles?
_________________
Specs: AMD FX-6100|ASUS M5A97 AM3+|XFX AMD Radeon HD 6870|1TB 7200RPM/500GB 7200RPM|8GB DDR3 1600MHz
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7550
Location: Goose Creek SC

PostPosted: Mon Mar 10, 2014 2:25 am    Post subject: Reply with quote

check that bios has ahci mode enabled

does the initrd premount /usr?
_________________
Defund the FCC.
Back to top
View user's profile Send private message
fresherthanever
n00b
n00b


Joined: 11 Nov 2013
Posts: 40
Location: Houston

PostPosted: Mon Mar 10, 2014 5:49 pm    Post subject: Reply with quote

DONAHUE wrote:
check that bios has ahci mode enabled

does the initrd premount /usr?


Yes, ahci mode is enabled, and WIndows 7 boots fine.

It should, I generated it via genkernel; however, I requested --lvm options (I added "dolvm" to kernel parameters but it still doesn't work :/)
_________________
Specs: AMD FX-6100|ASUS M5A97 AM3+|XFX AMD Radeon HD 6870|1TB 7200RPM/500GB 7200RPM|8GB DDR3 1600MHz
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7550
Location: Goose Creek SC

PostPosted: Mon Mar 10, 2014 7:26 pm    Post subject: Reply with quote

The kernel config you posted does not look like a genkernel product; may I assume you installed a manual config file as /usr/src/linux/.config and then ran genkernel (genkernel-next?)?
If your kernel config should be typical genkernel (tons of =m) and sys-kernel/geek-sources-3.13.5 (pastebin says Linux/x86 3.13.0-geek Kernel) you may not have compiled what you expected and/or booted what you expected.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
fresherthanever
n00b
n00b


Joined: 11 Nov 2013
Posts: 40
Location: Houston

PostPosted: Mon Mar 10, 2014 7:30 pm    Post subject: Reply with quote

DONAHUE wrote:
The kernel config you posted does not look like a genkernel product; may I assume you installed a manual config file as /usr/src/linux/.config and then ran genkernel (genkernel-next?)?
If your kernel config should be typical genkernel (tons of =m) and sys-kernel/geek-sources-3.13.5 (pastebin says Linux/x86 3.13.0-geek Kernel) you may not have compiled what you expected and/or booted what you expected.


No, I meant that I generated initramfs via genkernel. (genkernel --lvm --install initramfs). I've tried to create an initramfs via dracut and got similar results.
_________________
Specs: AMD FX-6100|ASUS M5A97 AM3+|XFX AMD Radeon HD 6870|1TB 7200RPM/500GB 7200RPM|8GB DDR3 1600MHz
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43178
Location: 56N 3W

PostPosted: Mon Mar 10, 2014 8:12 pm    Post subject: Reply with quote

fresherthanever,

Code:
CONFIG_CMDLINE_PARTITION=y
should be off its for embedded systems that want the partition table on the kernel command line.

Code:
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE="/boot/initramfs.cpio"
builds the initrd into the kernel. You are attempting to pass a binary initrd here.
From memory this is a directory that describes how to build the initrd that is then contained inside the kernel.

Code:
CONFIG_ATA_VERBOSE_ERROR=y
generates logspam and is not needed.

Code:
CONFIG_SATA_AHCI=y
is correct.
Code:
# CONFIG_SATA_AHCI_PLATFORM is not set
may be required. I have two systems with the same ATI chipset as you. One needs it, the other does not.

You can ignore the initrd stuff for now. Nothing is going anywhere until the kernel lists your basic block devices in the error message.
Even optical drives should be listed.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
fresherthanever
n00b
n00b


Joined: 11 Nov 2013
Posts: 40
Location: Houston

PostPosted: Mon Mar 10, 2014 10:01 pm    Post subject: Reply with quote

NeddySeagoon wrote:
fresherthanever,

Code:
CONFIG_CMDLINE_PARTITION=y
should be off its for embedded systems that want the partition table on the kernel command line.

Code:
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE="/boot/initramfs.cpio"
builds the initrd into the kernel. You are attempting to pass a binary initrd here.
From memory this is a directory that describes how to build the initrd that is then contained inside the kernel.

Code:
CONFIG_ATA_VERBOSE_ERROR=y
generates logspam and is not needed.

Code:
CONFIG_SATA_AHCI=y
is correct.
Code:
# CONFIG_SATA_AHCI_PLATFORM is not set
may be required. I have two systems with the same ATI chipset as you. One needs it, the other does not.

You can ignore the initrd stuff for now. Nothing is going anywhere until the kernel lists your basic block devices in the error message.
Even optical drives should be listed.


DIsabled CONFIG_CMDLINE_PARTITION, CONFIG_ATA_VERBOSE_ERROR, and enabled CONFIG_SATA_AHCI_PLATFORM. Same error message.

How should I be passing initramfs? I just xzcat the genkernel initramfs and copied it into my efi partition: /boot/efi/efi/initramfs-geek-3.13.6.img, and refind option initrd refers to it..
_________________
Specs: AMD FX-6100|ASUS M5A97 AM3+|XFX AMD Radeon HD 6870|1TB 7200RPM/500GB 7200RPM|8GB DDR3 1600MHz
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7550
Location: Goose Creek SC

PostPosted: Tue Mar 11, 2014 6:35 pm    Post subject: Reply with quote

Have been experimenting.

your pastebin .config shows:
Quote:
#General Setup
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE="/boot/initramfs.cpio"
CONFIG_INITRAMFS_ROOT_UID=0
CONFIG_INITRAMFS_ROOT_GID=0
CONFIG_RD_GZIP=y
# CONFIG_RD_BZIP2 is not set
# CONFIG_RD_LZMA is not set
CONFIG_RD_XZ=y
# CONFIG_RD_LZO is not set
# CONFIG_RD_LZ4 is not set
CONFIG_INITRAMFS_COMPRESSION_NONE=y
# CONFIG_INITRAMFS_COMPRESSION_GZIP is not set
# CONFIG_INITRAMFS_COMPRESSION_XZ is not set
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set

# Processor type and features
CONFIG_CMDLINE="root=PARTUUID=9fb2eb66-8e20-48b4-9325-f53cd8a90db7 rootfstype=ext4 dolvm"
# CONFIG_CMDLINE_OVERRIDE is not set
after some unsuccessful experiments, I am now succeeding with:
Quote:
General Setup
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE=""
CONFIG_RD_GZIP=y
CONFIG_RD_BZIP2=y
CONFIG_RD_LZMA=y
CONFIG_RD_XZ=y
CONFIG_RD_LZO=y
CONFIG_RD_LZ4=y

# Processor type and features
CONFIG_CMDLINE="initrd=/boot/initramfs-genkernel-x86_64-3.13.6-gentoo root=PARTUUID=89bc9633-fbc9-4a90-8a67-e058cb655d95 ro init=/usr/lib/systemd/systemd quiet"
CONFIG_CMDLINE_OVERRIDE=y


On the successful experiment:
I copied my working .config from /usr/src/linux-3.13.5-gentoo/ to /usr/src/linux-3.13.6-gentoo/.
Ran "cd /usr/src/linux;make menuconfig", did and undid a random edit, exited saving the configuration.
Ran "make && make modules_install && make install"
Ran "genkernel --lvm --udev initramfs"
Ran "cd /usr/src/linux;make menuconfig", edited CONFIG_CMDLINE to add the "initrd=/boot/initramfs-genkernel-x86_64-3.13.6-gentoo"
Ran "make && make modules_install && make install"
Rebooted.
Found vmlinuz-3.13.6-gentoo listed in rEFInd and started it.

Had systemd enabled in this kernel which is why I used quiet in CMDLINE. Will run again for openrc and report.
I do not use lvm so no dolvm in CMDLINE
CMDLINE_OVERRIDE=y prevents me screwing up in refind.conf
new version of genkernel does not honor an existing .config when building a kernel as old genkernel did.
"CONFIG_INITRAMFS_SOURCE="/boot/initramfs.cpio" " worked for me months ago, IIRC, but not today
_________________
Defund the FCC.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7550
Location: Goose Creek SC

PostPosted: Tue Mar 11, 2014 7:30 pm    Post subject: Reply with quote

Successful with "CONFIG_CMDLINE="initrd=/boot/initramfs root=PARTUUID=89bc9633-fbc9-4a90-8a67-e058cb655d95 ro"" using openrc after renaming /boot/initramfs-genkernel-x86_64-3.13.6-gentoo to /boot/initramfs
_________________
Defund the FCC.
Back to top
View user's profile Send private message
fresherthanever
n00b
n00b


Joined: 11 Nov 2013
Posts: 40
Location: Houston

PostPosted: Tue Mar 11, 2014 9:39 pm    Post subject: Reply with quote

DONAHUE wrote:
Successful with "CONFIG_CMDLINE="initrd=/boot/initramfs root=PARTUUID=89bc9633-fbc9-4a90-8a67-e058cb655d95 ro"" using openrc after renaming /boot/initramfs-genkernel-x86_64-3.13.6-gentoo to /boot/initramfs

I finally got a chance to sit down and take a look at what was going on. I selected /dev/sdb4 as root and it started up, however, /usr, /boot, and /boot/efi (I may assume /home as well) partitions failed to mount. It appears that, according to the shell, the Windows hard drive was being enumerated as /dev/sda whereas the Gentoo partition was being used as /dev/sdb{1,2,3,4,5,6}. I converted PARTUUID back into /dev/sdb and editing fstab to reflect the changes. I'll come back if something's wrong..
_________________
Specs: AMD FX-6100|ASUS M5A97 AM3+|XFX AMD Radeon HD 6870|1TB 7200RPM/500GB 7200RPM|8GB DDR3 1600MHz
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7550
Location: Goose Creek SC

PostPosted: Wed Mar 12, 2014 12:09 am    Post subject: Reply with quote

Quote:
!! Block device /dev/sda4 is not a valid root device...
Is easily explained by /dev/sda4 being used when /dev/sdb4 was correct; the error continuing with root=PARTUUID=9fb2eb66-8e20-48b4-9325-f53cd8a90db7 is explained if PARTUUID was looked up for /dev/sda4
Quote:
!! could not find the root block device in .
is not explained by sdb vs sda confusion.
My experiments suggest kernel changes are needed to invoke the initramfs.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
fresherthanever
n00b
n00b


Joined: 11 Nov 2013
Posts: 40
Location: Houston

PostPosted: Wed Mar 12, 2014 1:07 am    Post subject: Reply with quote

DONAHUE wrote:
Quote:
!! Block device /dev/sda4 is not a valid root device...
Is easily explained by /dev/sda4 being used when /dev/sdb4 was correct; the error continuing with root=PARTUUID=9fb2eb66-8e20-48b4-9325-f53cd8a90db7 is explained if PARTUUID was looked up for /dev/sda4
Quote:
!! could not find the root block device in .
is not explained by sdb vs sda confusion.
My experiments suggest kernel changes are needed to invoke the initramfs.


Yeah, I still don't understand why it didn't recognize any devices while the kernel was already loaded; it is quite peculiar. Amusingly, it mounted my LiveUSB as /dev/sda1 at /boot/efi as opposed to the actual /dev/sda1 (or sdb1). Nonetheless, it is now fixed, thanks for all the help :)

Marking as solved..
_________________
Specs: AMD FX-6100|ASUS M5A97 AM3+|XFX AMD Radeon HD 6870|1TB 7200RPM/500GB 7200RPM|8GB DDR3 1600MHz
Back to top
View user's profile Send private message
ulenrich
Veteran
Veteran


Joined: 10 Oct 2010
Posts: 1374

PostPosted: Wed Mar 12, 2014 9:58 am    Post subject: Reply with quote

DONAHUE wrote:
Quote:
!! could not find the root block device in .
is not explained by sdb vs sda confusion.
My experiments suggest kernel changes are needed to invoke the initramfs.
Just for the notice:
Some months ago using dracut I had issues the root to be recognized, because I was constantly changing mode from which I chrooted:
hybrid-mbr vs efi
which changed biosdevnames assumingly. Thus I was not able to boot in efi mode with an initrd created in mbr mode. Though I disabled the feature biosdevname. But I don't know yet if this is possible with the new dracut-036.
_________________
fun2gen2
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum