View previous topic :: View next topic |
Author |
Message |
manu_leo Guru
Joined: 20 Jan 2014 Posts: 513 Location: India
|
Posted: Wed Dec 21, 2016 6:42 pm Post subject: unable to mount root fs on unknown-block(0 0). |
|
|
Hi Experts, I am trying to install Gentoo on one of my serers and getting the below message in the kernel panic
Quote: | unable to mount root fs on unknown-block(0 0)
|
I have used xfs as a filesystem for formatting the partitions.
below is the partition structure :-
Quote: | Device Boot Start End Sectors Size Id Type
/dev/sdc1 2048 104859647 104857600 50G 83 Linux
/dev/sdc2 * 104859648 105883647 1024000 500M 83 Linux
/dev/sdc3 105883648 189769727 83886080 40G 83 Linux
/dev/sdc4 189769728 585937499 396167772 188.9G 83 Linux |
fstab looks as below :-
Quote: | cat /etc/fstab
/dev/sdc1 / xfs noatime 0 1
/dev/sdc2 /boot xfs noatime 0 0
/dev/sdc3 /var xfs noatime 0 2
/dev/sdc4 /home xfs noatime 0 2 |
Trimmed /boot/grub/grub.cfg looks like
Quote: | ### BEGIN /etc/grub.d/10_linux ###
menuentry 'Gentoo GNU/Linux' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-ebeedbee-0454-47bb-86a9-dfbe94800f86' {
load_video
if [ "x$grub_platform" = xefi ]; then
set gfxpayload=keep
fi
insmod gzio
insmod part_msdos
insmod xfs
set root='hd2,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos2 --hint-efi=hd2,msdos2 --hint-baremetal=ahci2,msdos2 6e4171c6-c31b-4128-b52f-ebf7ff64c739
else
search --no-floppy --fs-uuid --set=root 6e4171c6-c31b-4128-b52f-ebf7ff64c739
fi
echo 'Loading Linux 4.4.26-gentoo ...'
linux /vmlinuz-4.4.26-gentoo root=/dev/sdc1 ro
}
submenu 'Advanced options for Gentoo GNU/Linux' $menuentry_id_option 'gnulinux-advanced-ebeedbee-0454-47bb-86a9-dfbe94800f86' {
menuentry 'Gentoo GNU/Linux, with Linux 4.4.26-gentoo' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.26-gentoo-advanced-ebeedbee-0454-47bb-86a9-dfbe94$
load_video
if [ "x$grub_platform" = xefi ]; then
set gfxpayload=keep
fi
insmod gzio
insmod part_msdos
insmod xfs
set root='hd2,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos2 --hint-efi=hd2,msdos2 --hint-baremetal=ahci2,msdos2 6e4171c6-c31b-4128-b52f-ebf7ff64c739
else
search --no-floppy --fs-uuid --set=root 6e4171c6-c31b-4128-b52f-ebf7ff64c739
fi
echo 'Loading Linux 4.4.26-gentoo ...'
linux /vmlinuz-4.4.26-gentoo root=/dev/sdc1 ro
}
|
please suggest what exactly am I missing here.
Thanks for all your help. |
|
Back to top |
|
|
manu_leo Guru
Joined: 20 Jan 2014 Posts: 513 Location: India
|
Posted: Wed Dec 21, 2016 6:47 pm Post subject: |
|
|
Just to add, here is the o/p from the .config file for SATA
Quote: | (chroot) livecd / # grep -i sata /usr/src/linux/.config | grep -v ^#
CONFIG_SATA_PMP=y
CONFIG_SATA_AHCI=y
CONFIG_SATA_AHCI_PLATFORM=y |
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54232 Location: 56N 3W
|
Posted: Wed Dec 21, 2016 8:28 pm Post subject: |
|
|
manu_leo,
Tells that the kernel cannot see your HDD, until it can do that, it can't read the partition table to determine the root filesystem start.
Please put your entire kernel .config onto a pastebin site.
It won't fit into a post.
Hint: for future posts.
Do not respond to yourself until your thread has al least one potential helper posing.
Edit your original sot instead. A response drops your post out of the unanswered posts search. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
manu_leo Guru
Joined: 20 Jan 2014 Posts: 513 Location: India
|
Posted: Tue Dec 27, 2016 7:34 pm Post subject: |
|
|
Hi Neddy, apologies for the delay. This time , I am no longer getting the unknown-block(0 0) but now I am seeing Quote: | end trace 62d20f35574b4ed5 | if that makes any sense.
Please find the kernel_config in pastebin.
http://pastebin.com/EqR5jaD1
Thanks for all your help for looking into this.
[Moderator edit: changed [quote] tag to [url] tag to allow readers to click to load. -Hu] |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Wed Dec 28, 2016 2:57 pm Post subject: |
|
|
if the trace left more than end trace 62d20f35574b4ed5 on the screen it would help to take a picture and post it on a photo site and post the url here _________________ Defund the FCC. |
|
Back to top |
|
|
|