Setup of new VM's and unable to find root disk when booting

Discussions related to using VirtualBox on Windows hosts.
Post Reply
kodo
Posts: 12
Joined: 6. Nov 2010, 21:00
Primary OS: MS Windows Vista
VBox Version: OSE other
Guest OSses: Solaris 10 Build 9

Setup of new VM's and unable to find root disk when booting

Post by kodo »

Hi

I have tried 3 virtual appliance images below with VirtualBox and each of them fail to load up.

* CentOS 5.3
* Solaris 10 build 8
* OpenSolaris 2009.06

I reach the boot loader, GRUB, however just after I receive kernel panics when it comes to finding the root disk.

This imply's that i'm missing a configuration stage, however i don't know what to do and would be greatful for some pointers.

CentOS 5.3 - 2.6.18-128.el5
Reading all physical volumes. This may take a while...
Volume group "VolGroup00" not found
Unable to access resume device (/dev/VolGroup00/LogVol01)
mount: could not find filesystem '/dev/root'
setuproot: moving /dev failed: No such file or directory
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!

This is how i configured the CentOS 5.3 image in VirtualBox.

* New and type in VM name
* Operating System : Linux
* Version : RedHat
* Base Memory Size 512MB
* Enable boot hard disk
* Use existing hard disk -> centos-5.3-x86.vdi
* Image was downloaded from here btw : http://virtualboxes.org/images/centos/
* Click Finish and Start VM and the it kernel panic's.

Solaris
Similar to above..

OpenSolaris :
reach grub, select boot, see OpenSolaris blue background and then the system reboots

Specs :
VISTA 64 bit SP2 + Intel Core 2 Quad CPU Q3000 @ 2.5GHz + 8GB RAM
VirtualBox 3.2.10 r65523
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Setup of new VM's and unable to find root disk when booting

Post by Perryg »

You would be better of installing your own instead of an image from someone.
If you must use an image you need to find out the settings from whom ever you got the image from as they must match.
kodo
Posts: 12
Joined: 6. Nov 2010, 21:00
Primary OS: MS Windows Vista
VBox Version: OSE other
Guest OSses: Solaris 10 Build 9

Re: Setup of new VM's and unable to find root disk when booting

Post by kodo »

Do any of the images [CentOS 5.3, Solaris x86 10 Build 8, OpenSolaris 2009] from http://virtualboxes.org/images/ work for you ?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Setup of new VM's and unable to find root disk when booting

Post by Perryg »

I don't use them. I build my own. It is not that hard. If you insist on using an image like I said you will need to make sure the settings are exactly the same as when they were created. That or you will need to mess around with the settings to get it to work. Have you asked the people that you got these images from what the settings should be?
kodo
Posts: 12
Joined: 6. Nov 2010, 21:00
Primary OS: MS Windows Vista
VBox Version: OSE other
Guest OSses: Solaris 10 Build 9

Re: Setup of new VM's and unable to find root disk when booting

Post by kodo »

I'm half way through installing Solaris, no problems so far and I don't expect any. Thanks for pointing me in the right direction.

Now I am curious what is broke in those downloadable VM's, perhaps they are broken on purpose.

Have a great weekend.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Setup of new VM's and unable to find root disk when booting

Post by Sasquatch »

They are probably installed with certain hard drive controllers and Linux maps them different from each other. IDE vs SATA can go fine, but if it's installed on SCSI and you put it on IDE, then it will give this kind of problem. I had a similar issue with Debian where I moved from a virtual system where it was on an IDE controller to a physical system with a SCSI RAID config. Root wasn't on /dev/sda1, but on /dev/cciss/c0d0p1 or something. Had to boot a live environment, change fstab and see if it worked. It did, luckily.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
hgvelasco
Posts: 5
Joined: 11. Nov 2010, 19:55
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Solaris

Re: Setup of new VM's and unable to find root disk when booting

Post by hgvelasco »

I suppose have the same problem.
When I'd like install a new VM with solaris 10 under my Windows 7 32 bits show this error.

GNU GRUB Version 0.97 (639K lower / 785344K upper memory)

[Minimal BASH-like lime editing is supported. For the first word, TAB list possible command completions. Anywhere else TAB list the possible completions of device/filename.]

grub>


Just in the few seconds after begining.

Could somebody help me? I don't known a lot of unix, but I need intall to test some funtionalities for VDI solution in think clients.

Regards
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Setup of new VM's and unable to find root disk when booting

Post by Sasquatch »

Your problem is not the same as discussed here, because here the OS is already installed. You're trying to install one, or have installed one just recently. This is inside VirtualBox already, instead of the base being outside of VB. If you get Grub errors, then there are a few possibilities:
- The setup program didn't register the OS properly in Grub;
- The Grub installation got interrupted before completing properly;
- This is meant to happen and you make the Grub config later, after booting manually first.

Get the installation documentation of the OS you're trying to install.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
hgvelasco
Posts: 5
Joined: 11. Nov 2010, 19:55
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Solaris

Re: Setup of new VM's and unable to find root disk when booting

Post by hgvelasco »

I just look the documentation, but everything shown after the boot.
In this case start booting and when say "stage 2 starting" but everything stop.

Some time before I install in this same notebook (but under Windows XP) and works perfectly.

Have some idea ???
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Setup of new VM's and unable to find root disk when booting

Post by Sasquatch »

New topic please.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
hgvelasco
Posts: 5
Joined: 11. Nov 2010, 19:55
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Solaris

Re: Setup of new VM's and unable to find root disk when booting

Post by hgvelasco »

manu_katz
Posts: 2
Joined: 20. Jul 2012, 15:27

Re: Setup of new VM's and unable to find root disk when boot

Post by manu_katz »

kodo wrote:Do any of the images [CentOS 5.3, Solaris x86 10 Build 8, OpenSolaris 2009] from virtualboxes/images work for you ?
You have to replace the SATA controler of the VDI image by an IDE controler and everything will be ok !
virtualmark1
Posts: 1
Joined: 12. Apr 2013, 23:04

Re: Setup of new VM's and unable to find root disk when boot

Post by virtualmark1 »

manu_katz wrote:You have to replace the SATA controler of the VDI image by an IDE controler and everything will be ok !
thanks...been fighting this issue for a few days now.
Post Reply