Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
block device /dev/hda3 is 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
soja
n00b
n00b


Joined: 05 Aug 2012
Posts: 2

PostPosted: Mon Aug 13, 2012 8:11 pm    Post subject: block device /dev/hda3 is not a valid root device Reply with quote

I tried to follow the handbook by the letter, I have been doing this with gentoo using both bootloaders for what seems like forever, and I'm finally ready to ask for help.

I get this error after configuring my bootloader for the first time on my gentoo install. This is on a vds(vps) at nfoservers.com with (don't quote me on this) Xen Hypervisor (not 100% sure its exact name, i can ask nfo if it is necessary).

This is purely a temporary environment that is going to be used to compare something vs a different gentoo installation, so nothing special is required, I just need to get this running in its base configuration.

Here are the configs I have seen requested with this problem so far, I am using a java vnc console to manage the server, so i will be posting screenshots instead of copy and pasting text.

I am using lilo for my bootloader.

Error: http://serveredirect.com/upload/uploaded/img12081314592369.png

lilo.conf: http://serveredirect.com/upload/uploaded/img12081314260873.png

fdisk -l : http://serveredirect.com/upload/uploaded/img12081315061942.png
(idk if it matters but the boot partition had the * before reboot, it is gone there)

cat /etc/fstab : http://serveredirect.com/upload/uploaded/img12081315083533.png



Sorry if i missed anything obvious, Im trying to do this as much on my own as I can :)
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Mon Aug 13, 2012 8:50 pm    Post subject: Reply with quote

soja,

Never used lilo before, but for a long shot try root=/dev/ram0 real_root=/dev/hda3 on the kernel line.
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
soja
n00b
n00b


Joined: 05 Aug 2012
Posts: 2

PostPosted: Mon Aug 13, 2012 8:57 pm    Post subject: Reply with quote

Thanks for the reply, but no luck, same error
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7090
Location: Saint Amant, Acadiana

PostPosted: Mon Aug 13, 2012 9:28 pm    Post subject: Reply with quote

What makes you think depreciated hd* devices are present in this setup?
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5761

PostPosted: Mon Aug 13, 2012 9:37 pm    Post subject: Reply with quote

You're trying to install a current Gentoo system using a livecd from years ago. There's your problem.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Mon Aug 13, 2012 10:10 pm    Post subject: Reply with quote

soja,

In Xen, my fstab looks like
Code:
# <file system>         <mount point>   <type>          <options>                       <dump>  <pass>
/dev/xvda2               /               ext3            relatime,errors=remount-ro      0       1
/dev/xvda1               /boot           ext3            relatime,errors=remount-ro      0       2
/dev/xvda3               none            swap            sw                              0       0
proc                    /proc           proc            defaults                        0       0
sysfs                   /sys            sysfs           defaults                        0       0



grub.conf on the same DomU is
Code:
default 0
timeout 5

#2.6.38-xen
title Gentoo linux-2.6.38-xen IPv6
root (hd0,0)
kernel /2.6.38-xen root=/dev/xvda2 console=xvc0


Hmm, with Xen folded into the main kernel tree now, I need to update that system.

/dev/hda fails as Xen doesn't have that device.
_________________
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
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