View previous topic :: View next topic |
Author |
Message |
manu_leo Guru
Joined: 20 Jan 2014 Posts: 513 Location: India
|
Posted: Tue Jul 28, 2015 12:42 pm Post subject: Not able to boot when installing Gentoo on a blade server. |
|
|
Hi Experts, I am facing some issue while booting up a new server installed with Gentoo. I am using grub2. I comes up with the below error :-
Quote: | Could not find the root block device in UUID=5d992e37-7d22-4243-8930-6357e73886a8.
Please specify another value or Press Enter for the same, shell for a shell or q to quit |
So I went under the /boot/grub/grub.cfg file and replaced the root=UUID=5d992e37-7d22-4243-8930-6357e73886a8 with the partition name as root=/dev/sda1 . I have just configured 2 partitions - /dev/sda1 as the boot and /dev/sda2 as /home. Now the error that I get is :-
Quote: | Block device /dev/sda1 is not a valid root device.
Please specify another value or Press Enter for the same, shell for a shell or q to quit. |
Appreciate all your help in advance.
Thanks. |
|
Back to top |
|
|
szatox Advocate
Joined: 27 Aug 2013 Posts: 3136
|
Posted: Tue Jul 28, 2015 1:37 pm Post subject: |
|
|
Quote: | Please specify another value or Press Enter for the same, shell for a shell or q to quit. |
Use it for debugging. Check if your kernel can see your drives at all. You might lack some modules |
|
Back to top |
|
|
manu_leo Guru
Joined: 20 Jan 2014 Posts: 513 Location: India
|
Posted: Tue Jul 28, 2015 2:47 pm Post subject: |
|
|
Thanks szatox. This is what I do when I boot from livecd and after mounting the required mount points and doing a chroot.
Quote: | (chroot) livecd init.d # grub2-install /dev/sda
Installing for i386-pc platform.
Installation finished. No error reported.
(chroot) livecd init.d #
(chroot) livecd init.d # grub2-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/kernel-genkernel-x86_64-4.0.5-gentoo
Found initrd image: /boot/initramfs-genkernel-x86_64-4.0.5-gentoo
done
(chroot) livecd init.d # |
I then reboot my server and I see few errors as below :-
Quote: | /etc/init.d/bootmisc: line 234: /sbin/halt: Input/Output error
/etc/init.d/localmount:line 62: /sbin/halt: Input/Output error
/etc/init.d/mount-ro: line 18: /bin/sync:Input/Output error |
The server reboots and the same message comes up- press Enter, shell or q. I then goahead and type shell to enter the debugging mode and issue the command df -h or mount, and here I dont see the /dev/sda1 or /dev/sda2 partitions or the mount points... I just see
Quote: | proc on /proc
udev on /dev
devpts on /dev/pts
sysfs on /sys
|
Please suggest how to get this fixed as I am already out of ideas. Thanks again. |
|
Back to top |
|
|
N8Fear Tux's lil' helper
Joined: 15 Apr 2013 Posts: 140 Location: Berlin (Germany)
|
Posted: Tue Jul 28, 2015 9:36 pm Post subject: |
|
|
As szatox already stated: you're likely lacking some modules. From the livecd/-stick run lspci -k and check if the kernel you build includes the necessary drivers. I'd also recommend to build the sata controller's driver into the kernel, not as modules to spare yourselve hassles to get them started. Hint: nowadays in most cases including AHCI is sufficient. |
|
Back to top |
|
|
szatox Advocate
Joined: 27 Aug 2013 Posts: 3136
|
Posted: Wed Jul 29, 2015 6:38 pm Post subject: |
|
|
And what output do you get from ls /dev? Obviously I mean that broken install which doesn't recognize your root device.
Also, what about lspci -nnk? It might contain some hints too |
|
Back to top |
|
|
|