View previous topic :: View next topic |
Author |
Message |
philipW n00b
Joined: 06 Apr 2017 Posts: 43 Location: Netherlands
|
Posted: Fri Oct 06, 2017 10:06 am Post subject: [DOUBLESOLVED]block device /dev/* is not a valid root device |
|
|
Hello,
This is my first gentoo installation atempt.
I am trying to install gentoo on on my laptop wich has archlinux windows, ubuntu and sourcemage(not working) on it.
my grub bootloader is located in the /boot of my arch install.
I am triying to install install gentoo on a nvme ssd so i made sure i have all the nvme modules in my kernel.
When i try to boot i get this error message: block device /dev/nvme0n1p9 is not a valid root device
could not get the root block device in .
This is my "nano -w /etc/conf.d/modules" Code: | GNU nano 2.7.5 File: /etc/conf.d/modules
# Linux users can define a list of modules for a specific kernel version,
# a released kernel version, a main kernel version or all kernel versions.
# The most specific versioned variable will take precedence.
# FreeBSD users can only use the modules="foo bar" setting.
#modules_2_6_23_gentoo_r5="ieee1394 ohci1394"
#modules_2_6_23="tun ieee1394"
#modules_2_6="tun"
#modules_2="ipv6"
#modules="ohci1394"
# Linux users can give modules a different name when they load - the new name
# will also be used to pick arguments below.
# This is not supported on FreeBSD.
#modules="dummy:dummy1"
# Linux users can give the modules some arguments if needed, per version
# if necessary.
# Again, the most specific versioned variable will take precedence.
# This is not supported on FreeBSD.
#module_ieee1394_args="debug"
#module_ieee1394_args_2_6_23_gentoo_r5="debug2"
#module_ieee1394_args_2_6_23="debug3"
#module_ieee1394_args_2_6="debug4"
#module_ieee1394_args_2="debug5"
# You should consult your kernel documentation and configuration
# for a list of modules and their options.
modules="nvme_core"
modules="nvme"
modules="nvmet"
modules="nvmet-rdma"
modules="nvmet-fc"
modules="nvme-loop"
modules="nvme"
modules="nvme-rdma"
|
this is my fstab: Code: |
# <fs> <mountpoint> <type> <opts> <dump/pass>
UUID=aca36f8f-b0fc-4830-8e79-7f884df2bd87 / ext4 noatime 0 1
/dev/nvme0n1p4 none swap sw 0 0
proc /proc proc defaults 0 0
devpts /dev/pts devpts defaults 0 0
sysfs /sys sysfs nosuid,noexec,nodev 0 0
tmpfs /dev/shm tmpfs defaults,size=8G 0 0
|
this is the output of sudo blkid (on arch): Code: | /dev/nvme0n1: PTUUID="d101075a-02b8-43e6-b5c0-4b302eb6a0c4" PTTYPE="gpt"
/dev/nvme0n1p1: PARTUUID="a1de2cd1-3d84-4949-8cec-2ebb1095bd29"
/dev/nvme0n1p2: LABEL="SYSTEM" UUID="9C75-6EA4" TYPE="vfat" PARTUUID="05c16629-be53-473f-b0a4-10ad2220e198"
/dev/nvme0n1p3: LABEL="SSD" UUID="4EEE7977EE7957E3" TYPE="ntfs" PARTUUID="0f21010f-8717-4e84-acc4-573cee7840d2"
/dev/nvme0n1p4: UUID="bfa0fff3-2b92-4cdb-8f8c-9098814e500d" TYPE="swap" PARTUUID="335fa97d-ef6d-4b08-b2f0-5a396558aef9"
/dev/nvme0n1p5: LABEL="arch" UUID="482cf21a-99a7-4a0a-9ad4-9049a19896b7" TYPE="ext4" PARTUUID="0f2c2849-671f-432f-9c9c-00b695b2c6ff"
/dev/nvme0n1p6: LABEL="RECOVERY" UUID="2064786C64784716" TYPE="ntfs" PARTUUID="3d1fa597-cd30-45d7-83a8-99248b6e1f23"
/dev/nvme0n1p7: LABEL="sourcemage" UUID="cbd8933b-ce42-4a5f-ab28-3129bff21f77" TYPE="ext4" PARTUUID="c44dbde3-4d42-4732-9572-58c3f2bfde99"
/dev/nvme0n1p8: LABEL="ubuntu" UUID="683d13a8-80f0-44c7-b809-105210ffb34f" TYPE="ext4" PARTUUID="54ea3aad-4b23-43b3-80e8-19e08d61aa3d"
/dev/nvme0n1p9: LABEL="gentoo" UUID="aca36f8f-b0fc-4830-8e79-7f884df2bd87" TYPE="ext4" PARTUUID="6b7ced71-9945-45fc-94f9-d4a3d013482a"
/dev/sda1: LABEL="HDD" UUID="467A4FEF7A4FDA77" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="50068f0b-7be4-42f8-9d57-0cadd6da6b38"
/dev/sda2: LABEL="arch home" UUID="b46017d2-5532-4840-b964-a23ae09e5869" TYPE="ext4" PARTUUID="fe94746f-0a8e-4c29-a863-c1c17fd18514"
/dev/sda3: LABEL="SHARE" UUID="6C85B34F1D4D6C77" TYPE="ntfs" PTTYPE="dos" PARTUUID="f1631b70-785e-4cd1-b048-479978c919cc"
/dev/sda4: LABEL="files" UUID="7f271939-af5c-421f-b449-7131e01249bb" TYPE="ext4" PARTUUID="d3035c9f-eaf3-4d4b-bec5-6c12bb3db142"
|
and this is my grub.cfg: Code: | #
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
set menu_color_normal=light-blue/black
set menu_color_highlight=light-cyan/blue
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 482cf21a-99a7-4a0a-9ad4-9049a19896b7
else
search --no-floppy --fs-uuid --set=root 482cf21a-99a7-4a0a-9ad4-9049a19896b7
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=1920x1080
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_input console
terminal_output gfxterm
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 482cf21a-99a7-4a0a-9ad4-9049a19896b7
else
search --no-floppy --fs-uuid --set=root 482cf21a-99a7-4a0a-9ad4-9049a19896b7
fi
insmod gfxmenu
loadfont ($root)/boot/grub/themes/arch-leap/ascii.pf2
loadfont ($root)/boot/grub/themes/arch-leap/DejaVuSans10.pf2
loadfont ($root)/boot/grub/themes/arch-leap/DejaVuSans12.pf2
loadfont ($root)/boot/grub/themes/arch-leap/DejaVuSans-Bold14.pf2
insmod png
set theme=($root)/boot/grub/themes/arch-leap/theme.txt
export theme
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=5
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/01_grub-customizer_menu_color_helper ###
### END /etc/grub.d/01_grub-customizer_menu_color_helper ###
### BEGIN /etc/grub.d/10_linux_proxy ###
menuentry "Arch Linux" --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-482cf21a-99a7-4a0a-9ad4-9049a19896b7' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 482cf21a-99a7-4a0a-9ad4-9049a19896b7
else
search --no-floppy --fs-uuid --set=root 482cf21a-99a7-4a0a-9ad4-9049a19896b7
fi
echo 'Loading Linux linux-lts ...'
linux /boot/vmlinuz-linux-lts root=UUID=482cf21a-99a7-4a0a-9ad4-9049a19896b7 rw quiet
echo 'Loading initial ramdisk ...'
initrd /boot/intel-ucode.img /boot/initramfs-linux-lts.img
}
### END /etc/grub.d/10_linux_proxy ###
### BEGIN /etc/grub.d/40_custom_proxy ###
menuentry "Windows" --class windows --class os $menuentry_id_option 'osprober-efi-9C75-6EA4' {
insmod part_gpt
insmod fat
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 9C75-6EA4
else
search --no-floppy --fs-uuid --set=root 9C75-6EA4
fi
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
### END /etc/grub.d/40_custom_proxy ###
### BEGIN /etc/grub.d/42_custom_proxy ###
menuentry "sourcemage" --class linux --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-cbd8933b-ce42-4a5f-ab28-3129bff21f77' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root cbd8933b-ce42-4a5f-ab28-3129bff21f77
else
search --no-floppy --fs-uuid --set=root cbd8933b-ce42-4a5f-ab28-3129bff21f77
fi
linux /boot/vmlinuz-4.6.4 root=/dev/nvme0n1p7 ro
}
### END /etc/grub.d/42_custom_proxy ###
### BEGIN /etc/grub.d/43_os-prober_proxy ###
### END /etc/grub.d/43_os-prober_proxy ###
### BEGIN /etc/grub.d/44_custom_proxy ###
menuentry "Gentoo/Linux " --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-aca36f8f-b0fc-4830-8e79-7f884df2bd87' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root aca36f8f-b0fc-4830-8e79-7f884df2bd87
else
search --no-floppy --fs-uuid --set=root aca36f8f-b0fc-4830-8e79-7f884df2bd87
fi
linux /boot/kernel-genkernel-x86_64-4.12.12-gentoo root=/dev/nvme0n1p9
initrd /boot/initramfs-genkernel-x86_64-4.12.12-gentoo
}
### END /etc/grub.d/44_custom_proxy ###
### BEGIN /etc/grub.d/46_custom_proxy ###
menuentry "Ubuntu " --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-683d13a8-80f0-44c7-b809-105210ffb34f' {
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 683d13a8-80f0-44c7-b809-105210ffb34f
else
search --no-floppy --fs-uuid --set=root 683d13a8-80f0-44c7-b809-105210ffb34f
fi
linux /boot/vmlinuz-4.10.0-35-generic.efi.signed root=UUID=683d13a8-80f0-44c7-b809-105210ffb34f ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.10.0-35-generic
}
### END /etc/grub.d/46_custom_proxy ###
### BEGIN /etc/grub.d/47_os-prober_proxy ###
submenu "Advanced options for Gentoo/Linux (on /dev/nvme0n1p9)"{
menuentry "Gentoo/Linux (on /dev/nvme0n1p9)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/kernel-genkernel-x86_64-4.12.12-gentoo--aca36f8f-b0fc-4830-8e79-7f884df2bd87' {
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root aca36f8f-b0fc-4830-8e79-7f884df2bd87
else
search --no-floppy --fs-uuid --set=root aca36f8f-b0fc-4830-8e79-7f884df2bd87
fi
linux /boot/kernel-genkernel-x86_64-4.12.12-gentoo root=/dev/nvme0n1p9
initrd /boot/initramfs-genkernel-x86_64-4.12.12-gentoo
}
}
submenu "Advanced options for sourcemage"{
menuentry "smgl-x86_64 (on /dev/nvme0n1p7)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.4.51--cbd8933b-ce42-4a5f-ab28-3129bff21f77' {
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root cbd8933b-ce42-4a5f-ab28-3129bff21f77
else
search --no-floppy --fs-uuid --set=root cbd8933b-ce42-4a5f-ab28-3129bff21f77
fi
linux /boot/vmlinuz-3.4.51 root=/dev/nvme0n1p7 ro
}
}
### END /etc/grub.d/47_os-prober_proxy ###
### BEGIN /etc/grub.d/48_linux_proxy ###
submenu "Advanced options for Arch Linux"{
menuentry "Arch Linux, with Linux linux-lts" --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-lts-advanced-482cf21a-99a7-4a0a-9ad4-9049a19896b7' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 482cf21a-99a7-4a0a-9ad4-9049a19896b7
else
search --no-floppy --fs-uuid --set=root 482cf21a-99a7-4a0a-9ad4-9049a19896b7
fi
echo 'Loading Linux linux-lts ...'
linux /boot/vmlinuz-linux-lts root=UUID=482cf21a-99a7-4a0a-9ad4-9049a19896b7 rw quiet
echo 'Loading initial ramdisk ...'
initrd /boot/intel-ucode.img /boot/initramfs-linux-lts.img
}
menuentry "Arch Linux, with Linux linux-lts (fallback initramfs)" --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-lts-fallback-482cf21a-99a7-4a0a-9ad4-9049a19896b7' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 482cf21a-99a7-4a0a-9ad4-9049a19896b7
else
search --no-floppy --fs-uuid --set=root 482cf21a-99a7-4a0a-9ad4-9049a19896b7
fi
echo 'Loading Linux linux-lts ...'
linux /boot/vmlinuz-linux-lts root=UUID=482cf21a-99a7-4a0a-9ad4-9049a19896b7 rw quiet
echo 'Loading initial ramdisk ...'
initrd /boot/intel-ucode.img /boot/initramfs-linux-lts-fallback.img
}
menuentry "Arch Linux, with Linux linux" --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-482cf21a-99a7-4a0a-9ad4-9049a19896b7' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 482cf21a-99a7-4a0a-9ad4-9049a19896b7
else
search --no-floppy --fs-uuid --set=root 482cf21a-99a7-4a0a-9ad4-9049a19896b7
fi
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=UUID=482cf21a-99a7-4a0a-9ad4-9049a19896b7 rw quiet
echo 'Loading initial ramdisk ...'
initrd /boot/intel-ucode.img /boot/initramfs-linux.img
}
menuentry "Arch Linux, with Linux linux (fallback initramfs)" --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-482cf21a-99a7-4a0a-9ad4-9049a19896b7' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 482cf21a-99a7-4a0a-9ad4-9049a19896b7
else
search --no-floppy --fs-uuid --set=root 482cf21a-99a7-4a0a-9ad4-9049a19896b7
fi
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=UUID=482cf21a-99a7-4a0a-9ad4-9049a19896b7 rw quiet
echo 'Loading initial ramdisk ...'
initrd /boot/intel-ucode.img /boot/initramfs-linux-fallback.img
}
}
submenu "Advanced options for Ubuntu "{
menuentry "Ubuntu (on /dev/nvme0n1p8)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.10.0-35-generic.efi.signed--683d13a8-80f0-44c7-b809-105210ffb34f' {
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 683d13a8-80f0-44c7-b809-105210ffb34f
else
search --no-floppy --fs-uuid --set=root 683d13a8-80f0-44c7-b809-105210ffb34f
fi
linux /boot/vmlinuz-4.10.0-35-generic.efi.signed root=UUID=683d13a8-80f0-44c7-b809-105210ffb34f ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.10.0-35-generic
}
menuentry "Ubuntu, with Linux 4.10.0-35-generic (on /dev/nvme0n1p8)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.10.0-35-generic.efi.signed--683d13a8-80f0-44c7-b809-105210ffb34f' {
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 683d13a8-80f0-44c7-b809-105210ffb34f
else
search --no-floppy --fs-uuid --set=root 683d13a8-80f0-44c7-b809-105210ffb34f
fi
linux /boot/vmlinuz-4.10.0-35-generic.efi.signed root=UUID=683d13a8-80f0-44c7-b809-105210ffb34f ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.10.0-35-generic
}
menuentry "Ubuntu, with Linux 4.10.0-35-generic (upstart) (on /dev/nvme0n1p8)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.10.0-35-generic.efi.signed--683d13a8-80f0-44c7-b809-105210ffb34f' {
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 683d13a8-80f0-44c7-b809-105210ffb34f
else
search --no-floppy --fs-uuid --set=root 683d13a8-80f0-44c7-b809-105210ffb34f
fi
linux /boot/vmlinuz-4.10.0-35-generic.efi.signed root=UUID=683d13a8-80f0-44c7-b809-105210ffb34f ro quiet splash $vt_handoff init=/sbin/upstart
initrd /boot/initrd.img-4.10.0-35-generic
}
menuentry "Ubuntu, with Linux 4.10.0-35-generic (recovery mode) (on /dev/nvme0n1p8)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.10.0-35-generic.efi.signed--683d13a8-80f0-44c7-b809-105210ffb34f' {
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 683d13a8-80f0-44c7-b809-105210ffb34f
else
search --no-floppy --fs-uuid --set=root 683d13a8-80f0-44c7-b809-105210ffb34f
fi
linux /boot/vmlinuz-4.10.0-35-generic.efi.signed root=UUID=683d13a8-80f0-44c7-b809-105210ffb34f ro recovery nomodeset
initrd /boot/initrd.img-4.10.0-35-generic
}
menuentry "Ubuntu, with Linux 4.10.0-28-generic (on /dev/nvme0n1p8)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.10.0-28-generic--683d13a8-80f0-44c7-b809-105210ffb34f' {
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 683d13a8-80f0-44c7-b809-105210ffb34f
else
search --no-floppy --fs-uuid --set=root 683d13a8-80f0-44c7-b809-105210ffb34f
fi
linux /boot/vmlinuz-4.10.0-28-generic root=UUID=683d13a8-80f0-44c7-b809-105210ffb34f ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.10.0-28-generic
}
menuentry "Ubuntu, with Linux 4.10.0-28-generic (upstart) (on /dev/nvme0n1p8)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.10.0-28-generic--683d13a8-80f0-44c7-b809-105210ffb34f' {
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 683d13a8-80f0-44c7-b809-105210ffb34f
else
search --no-floppy --fs-uuid --set=root 683d13a8-80f0-44c7-b809-105210ffb34f
fi
linux /boot/vmlinuz-4.10.0-28-generic root=UUID=683d13a8-80f0-44c7-b809-105210ffb34f ro quiet splash $vt_handoff init=/sbin/upstart
initrd /boot/initrd.img-4.10.0-28-generic
}
menuentry "Ubuntu, with Linux 4.10.0-28-generic (recovery mode) (on /dev/nvme0n1p8)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.10.0-28-generic--683d13a8-80f0-44c7-b809-105210ffb34f' {
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 683d13a8-80f0-44c7-b809-105210ffb34f
else
search --no-floppy --fs-uuid --set=root 683d13a8-80f0-44c7-b809-105210ffb34f
fi
linux /boot/vmlinuz-4.10.0-28-generic root=UUID=683d13a8-80f0-44c7-b809-105210ffb34f ro recovery nomodeset
initrd /boot/initrd.img-4.10.0-28-generic
}
}
### END /etc/grub.d/48_linux_proxy ###
### BEGIN /etc/grub.d/49_linux_xen ###
### END /etc/grub.d/49_linux_xen ###
### BEGIN /etc/grub.d/50_custom_proxy ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/50_custom_proxy ###
### BEGIN /etc/grub.d/51_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/51_custom ###
|
I used "genkernel all --menuconfig" to compile my kernel and i made sure ext4 support was compiled in instead of module.
I also turned off all the amd settings in the kernel since i use intel and i added asus laptop extra other than that i changed nothing in the kernel.
Before that i tried the standard genkernel all and i got the same error and i also tried it with ext4 as a module.
I installed it from the ubutu environment because chrooting in arch does not work properly on other distros and installation media is really unconformable because this is the only computer i have at my disposal but i dont think this is an isssue.
Last edited by philipW on Sat Oct 07, 2017 4:48 pm; edited 2 times in total |
|
Back to top |
|
|
philipW n00b
Joined: 06 Apr 2017 Posts: 43 Location: Netherlands
|
Posted: Fri Oct 06, 2017 11:51 am Post subject: |
|
|
Someone in the irc told me that my modules where wrong so i edited my /etc/conf.d/modules: Code: | GNU nano 2.7.5 File: /etc/conf.d/modules
# Linux users can define a list of modules for a specific kernel version,
# a released kernel version, a main kernel version or all kernel versions.
# The most specific versioned variable will take precedence.
# FreeBSD users can only use the modules="foo bar" setting.
#modules_2_6_23_gentoo_r5="ieee1394 ohci1394"
#modules_2_6_23="tun ieee1394"
#modules_2_6="tun"
#modules_2="ipv6"
#modules="ohci1394"
# Linux users can give modules a different name when they load - the new name
# will also be used to pick arguments below.
# This is not supported on FreeBSD.
#modules="dummy:dummy1"
# Linux users can give the modules some arguments if needed, per version
# if necessary.
# Again, the most specific versioned variable will take precedence.
# This is not supported on FreeBSD.
#module_ieee1394_args="debug"
#module_ieee1394_args_2_6_23_gentoo_r5="debug2"
#module_ieee1394_args_2_6_23="debug3"
#module_ieee1394_args_2_6="debug4"
#module_ieee1394_args_2="debug5"
# You should consult your kernel documentation and configuration
# for a list of modules and their options.
modules="nvme_core nvme nvmet nvmet-rdma nvmet-fc nvme-loop"
#modules="nvme"
#modules="nvmet"
#modules="nvmet-rdma"
#modules="nvmet-fc"
#modules="nvme-loop"
#modules="nvme"
#modules="nvme-rdma"
|
|
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Fri Oct 06, 2017 12:09 pm Post subject: |
|
|
philipW wrote: | Someone in the irc told me that my modules where wrong so i edited my /etc/conf.d/modules: |
Any kernel driver you need for booting should be built into <*> the kernel (not as a module <m>). |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Fri Oct 06, 2017 12:20 pm Post subject: |
|
|
does your initramfs include the nvme driver?
If not, charles17 is correct for your case. _________________ Defund the FCC. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54216 Location: 56N 3W
|
Posted: Fri Oct 06, 2017 12:48 pm Post subject: |
|
|
philipW,
Code: | block device /dev/nvme0n1p9 is not a valid root device
could not get the root block device in . |
This is very telling, for what it does not say.
Between the 'in' and the full stop, your kernel listed all the block devices it can see. In this case, none at all.
Your bootloader has Code: | linux /boot/vmlinuz-4.10.0-35-generic.efi.signed root=UUID=683d13a8-80f0-44c7-b809-105210ffb34f ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.10.0-35-generic |
and Code: | linux /boot/kernel-genkernel-x86_64-4.12.12-gentoo root=/dev/nvme0n1p9
initrd /boot/initramfs-genkernel-x86_64-4.12.12-gentoo |
Thats two different kernels and initrd.
It looks like the SCSI stack is missing from your kernel as it does not list any /dev/sr* devices.
That would be correct if you don't have any optical drives.
If your kernel does not hove the nvme drivers set as <*>, the initrd must load them. The modules file cannot be read until root is mounted, so its a kernel/initrd issue.
Your genkernel initrd should give you a shell if it can't mount root, not panic.
Look for your nvme device nodes in /dev from that shell.
If they are missing, I'll guess that genkernel does not build/load them. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
philipW n00b
Joined: 06 Apr 2017 Posts: 43 Location: Netherlands
|
Posted: Fri Oct 06, 2017 2:16 pm Post subject: |
|
|
I recompiled my kernel with <*> NVM Express block device
and now its booting to the tty
But..........................no keyboard
Thats a problem for another time i guess.
Thanks for the help! |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54216 Location: 56N 3W
|
Posted: Fri Oct 06, 2017 2:22 pm Post subject: |
|
|
philipW,
Missing
Code: | $ grep USB_PCI /usr/src/linux/.config
CONFIG_USB_PCI=y |
Is needed for all USB on a PC
and or Code: | $ grep XHCI /usr/src/linux/.config
CONFIG_USB_XHCI_HCD=y
CONFIG_USB_XHCI_PCI=y | and connecting to a USB 3 port are both popular. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
philipW n00b
Joined: 06 Apr 2017 Posts: 43 Location: Netherlands
|
Posted: Fri Oct 06, 2017 2:36 pm Post subject: |
|
|
NeddySeagoon wrote: | philipW,
Missing
Code: | $ grep USB_PCI /usr/src/linux/.config
CONFIG_USB_PCI=y |
Is needed for all USB on a PC
and or Code: | $ grep XHCI /usr/src/linux/.config
CONFIG_USB_XHCI_HCD=y
CONFIG_USB_XHCI_PCI=y | and connecting to a USB 3 port are both popular. |
I am on a laptop so i dont think thats gonna work. |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
philipW n00b
Joined: 06 Apr 2017 Posts: 43 Location: Netherlands
|
Posted: Fri Oct 06, 2017 3:00 pm Post subject: |
|
|
Jaglover wrote: | Your laptop is not PC architecture? |
No it uses some wierd form of vodoo jk
you are right.
Im gonna check again if CONFIG_USB_PCI=y is compiled in. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54216 Location: 56N 3W
|
Posted: Fri Oct 06, 2017 4:22 pm Post subject: |
|
|
philipW,
Modules work as long as you don't need to type the modprobe command. :) _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
philipW n00b
Joined: 06 Apr 2017 Posts: 43 Location: Netherlands
|
Posted: Sat Oct 07, 2017 4:47 pm Post subject: |
|
|
Booted my laptop this morning into arch linux.
Wait what my keyboard is not working.
Rebooted keyboard working again.
Booted into gentoo.
Keyboard also working.
Nice!
So i guess this tread is double solved. |
|
Back to top |
|
|
|