Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Not able to boot when installing Gentoo on a blade server.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
manu_leo
Guru
Guru


Joined: 20 Jan 2014
Posts: 405
Location: India

PostPosted: Tue Jul 28, 2015 12:42 pm    Post subject: Not able to boot when installing Gentoo on a blade server. Reply with quote

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
View user's profile Send private message
szatox
Veteran
Veteran


Joined: 27 Aug 2013
Posts: 1707

PostPosted: Tue Jul 28, 2015 1:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
manu_leo
Guru
Guru


Joined: 20 Jan 2014
Posts: 405
Location: India

PostPosted: Tue Jul 28, 2015 2:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
N8Fear
Tux's lil' helper
Tux's lil' helper


Joined: 15 Apr 2013
Posts: 140
Location: Berlin (Germany)

PostPosted: Tue Jul 28, 2015 9:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
szatox
Veteran
Veteran


Joined: 27 Aug 2013
Posts: 1707

PostPosted: Wed Jul 29, 2015 6:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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