[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Problem domain1, root=?? using a second hard drive.



Hi;

        I'm trying to get xen up and running. 
        I have domain 0 working, I'm now wanting to
        configure domain 1 to run my second hard drive
        which is a Windows XP install on a fat32 format.
        (Instead of running the Windows drive under
        a file within the Linux partition, I'd like to be
        able to run the existing pre-setup drive, that way
        all the windows stuff, is all on the one drive
        which I can boot to if I ever need to.)

        My problem (I think) is in the root=??? line 
        and I also think I have a couple of problems 
        with the disk=??? line as well.

        Any pointers to good web sites or just straight
        out corrections to my thinking will be greatly 
        appreciated.

        My current xen config file is

--------- start --------
name="Windows-XP"
kernel = "/boot/vmlinuz-2.6.17-1.2145_FC5xenU"
builder='linux'
memory = 1024
vcpus=1
pae=0
acpi=0
apic=0
cpus = ""
root = "/dev/hdb ro"
disk = [ 'phy:/dev/hdb,sda1,w' ]
on_poweroff = 'destroy'
on_reboot   = 'destroy'
on_crash    = 'destroy'
device_model = '/usr/lib/xen/bin/qemu-dm'
sdl=1
vnc=1
vncviewer=0
dhcp="dhcp"
-------- end ----------

        The error I get is.

-------- start ----------
VFS: Cannot open root device "hdb" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
 <c0418394> panic+0x3c/0x188  <c0651ac1> mount_block_root+0x1e0/0x1ee
 <c0651b18> mount_root+0x49/0x4e  <c0651bea> prepare_namespace+0xcd/0xfe
 <c0402242> init+0x206/0x2c6  <c0404a3a> ret_from_fork+0x6/0x14
 <c040203c> init+0x0/0x2c6  <c040203c> init+0x0/0x2c6
 <c0402989> kernel_thread_helper+0x5/0xb
------- end ------------

        If I do a fdisk -l it shows the following..
        /dev/hda is my linux drive running Fedora 5.
        /dev.hab is the Windows Xp Drive

------- start ---------
Disk /dev/hda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1          13      104391   83  Linux
/dev/hda2              14       30401   244091610   8e  Linux LVM

Disk /dev/hdb: 203.9 GB, 203928109056 bytes
255 heads, 63 sectors/track, 24792 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1   *           1       24792   199141708+   c  W95 FAT32 (LBA)
------ end ---------------

        /usr/sbin/xm list shows

-------- start -------
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0      995     2 r-----   119.5
--------- end ---------

Thanks.
Trevor Fooey.. Furnell

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.