[Cialug] virtualbox

Dave Hala Jr dave at 58ghz.net
Mon Sep 19 07:55:36 CDT 2011


Does it make a differance if there is a hardware raid setup with the
following partitions? For example on the original machine the partitions
are:

/dev/rd/c0d0p2         16G  7.3G  7.7G  49% /
/dev/rd/c0d0p1         99M   85M  8.8M  91% /boot
none                  752M     0  752M   0% /dev/shm

the drive is /dev/rd/c0d0, so the command for the grub entry would be:
"ROOT=/dev/rd/c0d0" , right?



On Mon, 2011-09-19 at 07:30 -0500, Paul Gray wrote:
> On 09/19/2011 07:27 AM, Dave Hala Jr wrote:
> > I'm running the current version of virtualbox on a Centos 6 host. I'm
> > trying to start a rhel3 guest. Its starts to boot and I get the
> > following errors:
> >
> > mkrootdev: label / not found
> > kernel panic no init found
> >
> > I'm assuming this means it cant find any of my drive partitions. When I
> > created the guest, I rebooted the server in single user mode, dd'ed the
> > drive then did a VirtualBoxManage convertfromraw to create the vdi
> > image.
> >
> > Anyone have any thoughts on how to fix this?
> 
> Did you dd the drive or the partitions?  If you just did the partitions, 
> you'll need to use e2label for the partitions again.
> 
> This should be "bypass-able" by simply editing the grub entry, changing 
> ROOT=LABEL=/ to ROOT=/dev/sdXN, where X and N are the appropriate disk 
> and partition for your setup.
> 
> Hope that helps.
> 



More information about the Cialug mailing list