2011/5/17 Konrad Rzeszutek Wilk
<konrad.wilk@xxxxxxxxxx>
> menuentry "Ubuntu_Xen 4.2 (2.6.32.28)" {
> recordfail
> insmod ext2
> set root='(hd0,9)'
> search --no-floppy --fs-uuid --set 59c64afa-47a8-4a5f-a4cf-dbe3be20cc15
> multiboot /boot/xen.gz dom0_mem=1024M loglvl=all guest_loglvl=all
> sync_console console_to_ring com1=115200,8n1 console=com1 lapic=debug
> apic_verbosity=debug apic=debug iommu=off
> module /boot/vmlinuz-2.6.32.28 nopat
> root=UUID=59c64afa-47a8-4a5f-a4cf-dbe3be20cc15 ro console=tty0
> console=ttyS0,115200n8 console=hvc0 earlyprintk=xen nomodeset initcall_debug
> debug loglevel=10
> module /boot/initrd.img-2.6.32.28
> }
>
> In the debug, there is message like this:
>
> Loading, please wait...
> mount: mounting none on /dev failed: No such device
So your /dev/sda is being seen. Not sure why the UUID hasn't been read, but
you could do 'root=/dev/sdaX' where X is the correct root partition.
This would replace the 'UUID=59...'.
I just tried this. Because the /dev/sda9 is the root fs, so I used 'root=/dev/sda9' to replace the original one. But it also the same error as the following. Detailed is also attached.
Loading, please wait...
mount: mounting none on /dev failed: No such device
The fs in my pc.
root@gavinguan-desktop:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda9 31G 14G 16G 47% /
none 1.9G 288K 1.9G 1% /dev
none 1.9G 24K 1.9G 1% /dev/shm
none 1.9G 92K 1.9G 1% /var/run
none 1.9G 0 1.9G 0% /var/lock
none 1.9G 0 1.9G 0% /lib/init/rw
Thanks,
Bei Guan