Hello, All,

I wanted to boot up a installed CentOS but failed.

host: windows xp sp2, installed on IDE hdd.
virtualbox: 2.1.4

CentOS was installed on the 1st primary partition of a  SATA hdd which
is identified as \\.\physicaldrive0 under windows xp.

C:\Program Files\Sun\xVM VirtualBox>VBoxManage.exe internalcommands listpartitio
ns -rawdisk \\.\physicaldrive0
VirtualBox Command Line Management Interface Version 2.1.4
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.

Number Type StartCHS EndCHS Size (MiB) Start (Sect)
1 0x83 0 /1 /1 1023/254/63 38154 63
5 0x83 1023/254/63 1023/254/63 38154 78140223
6 0x83 1023/254/63 1023/254/63 28607 156280383
3 0x83 1023/254/63 1023/254/63 95378 214869375
4 0x07 1023/0 /1 1023/254/63 104948 410203710

I created a vmdk to use the whole sata disk

C:\Program Files\Sun\xVM VirtualBox>VBoxManage.exe internalcommands createrawvmd
k -filename f:\virtualbox\sata0.vmdk -rawdisk \\.\physicaldrive0 -register

The I created a VM booting from the vmdk above, but only got a black
screen and the VM paused.

The grub.conf of CentOS is as following:
default=2
timeout=5
splashimage=(hd1,0)/boot/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-53.el5xen)
        root (hd1,0)
        kernel /boot/xen.gz-2.6.18-53.el5
        module /boot/vmlinuz-2.6.18-53.el5xen ro root=LABEL=/1 rhgb quiet
        module /boot/initrd-2.6.18-53.el5xen.img
title CentOS-base (2.6.18-53.el5)
        root (hd1,0)
        kernel /boot/vmlinuz-2.6.18-53.el5 ro root=LABEL=/1 rhgb quiet
        initrd /boot/initrd-2.6.18-53.el5.img
title Other                                         //this is the
entry to boot up win xp, the vbox host
        rootnoverify (hd0,0)
        chainloader +1

What steps or settings did I missed ?

Regards,
Robert

_______________________________________________
vbox-users mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-users

Reply via email to