Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing Gentoo as a guest on Citrix Xenserver 5.6
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
__Jackal__
Tux's lil' helper
Tux's lil' helper


Joined: 20 Sep 2005
Posts: 90

PostPosted: Wed Jun 01, 2011 4:13 pm    Post subject: Installing Gentoo as a guest on Citrix Xenserver 5.6 Reply with quote

I am having some difficulties after the initial installation. After attempting to use the Genkernel, i kept getting Block device /dev/sda3 is not a valid root device, so I copied the kernel from the livecd and attempted to boot. With that I am getting


fstab

Code:
/dev/sda1               /boot           ext2            noauto,noatime  1 2
/dev/sda3               /               ext3            noatime         0 1
/dev/SWAP               none            swap            sw              0 0
/dev/cdrom              /mnt/cdrom      auto            noauto,ro       0 0



grub.conf

Code:
default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz


title Gentoo
root (hd0,0)
kernel (hd0,0)/boot/gentoo root=/dev/ram0 init=/linuxrc real_root=/dev/sda3 doscsi vga=791 splash=silent
initrd (hd0,0)/boot/gentoo.igz


error at boot

Code:
Booting (initramfs)>> ERROR:  your real /dev is missing file required to boot (console and null)
switch_root: can't open '/dev/console': no such file or directory
kernel panic - not syncing: attempted to kill init!
pid: 1, comm: switch_root Not tainted 2.6.37-gentoo-r4 #1


I have already confirmed that my /dev/console /dev/null /dev/zero is present in the /dev folder of my install.
_________________
CCNA, CNE, CCEA
Back to top
View user's profile Send private message
rh1
Guru
Guru


Joined: 10 Apr 2010
Posts: 501

PostPosted: Wed Jun 01, 2011 4:23 pm    Post subject: Reply with quote

Edit: I think it's related to this: https://forums.gentoo.org/viewtopic-t-880045.html
Check if they are special device files. You may have to recreate with mknodes
Back to top
View user's profile Send private message
__Jackal__
Tux's lil' helper
Tux's lil' helper


Joined: 20 Sep 2005
Posts: 90

PostPosted: Wed Jun 01, 2011 6:52 pm    Post subject: Reply with quote

rh1 wrote:
Edit: I think it's related to this: https://forums.gentoo.org/viewtopic-t-880045.html
Check if they are special device files. You may have to recreate with mknodes


Looks like that may be the issue but I'm not sure how to create all of those folders and set the permissions. The link just says that is what needs to be done, not how to do it. I will work on this later, thanks for the info!
_________________
CCNA, CNE, CCEA
Back to top
View user's profile Send private message
rh1
Guru
Guru


Joined: 10 Apr 2010
Posts: 501

PostPosted: Wed Jun 01, 2011 8:14 pm    Post subject: Reply with quote

In Neddy's post is link to this one where he explains how to fix: https://forums.gentoo.org/viewtopic-p-6702573.html#6702573
Back to top
View user's profile Send private message
pepoluan
n00b
n00b


Joined: 28 Feb 2011
Posts: 42
Location: Jakarta, Indonesia

PostPosted: Tue Jul 26, 2011 1:15 pm    Post subject: Reply with quote

Feel free to check out an article I'm writing at Gentoo-Wiki:

http://en.gentoo-wiki.com/wiki/User:Pepoluan/Paravirtualized_Gentoo_VMs_on_XenServer

(Please leave comments, criticisms, suggestions, etc. in the article's Discussion Page, thank you)
_________________
Nobody is Perfect.
I am Nobody.
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