WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Newbie DomU problem

On Tue, Jul 04, 2006 at 09:44:37AM +0800, Tim Post wrote:
> Are you certain that shoudn't be a 'sda' not 'hda' ?  (Are you using
> SATA drives?)
> 
> Try altering the line to read:
> 
> disk = [ 'file:/home/poncho/gentoo/gentoo.2006-0.img,sda1,w' ] 
> 
> And likewise edit :
> 
> root=/dev/hda6 ro to root=/dev/sda1 ro
> 

Ok, the log now shows

tarting udevd
Creating devices
Loading xennet
netfront: Initialising virtual ethernet driver.
Loading xenblk
Registering block device major 8
Loading reiserfs
Waiting for device /dev/sda6 to appear:  ok
rootfs: major=8 minor=6 devn=2054
Mounting root /dev/sda6
mount: unknown filesystem type 'ext3'
umount: /dev: device is busy
umount: /dev: device is busy
Kernel panic - not syncing: Attempted to kill init!

_____________________________________________

The vm1 config file is now 

disk = [ 'file:/home/poncho/gentoo/gentoo.2006-0.img,sda6,w' ]
memory = 256
vcpus = 1
builder = 'linux'
name = 'vm1'
vif = [ 'mac=00:16:3e:01:fa:c9' ]
localtime = 0
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'
extra = 'TERM=xterm'
kernel = "/boot/vmlinuz-xen"
ramdisk = "/boot/initrd-xen"
root = "/dev/sda6 ro"

______________________________________

According to df -h the home partition is hda7. When I change the line
disk = [ 'file:/home/poncho/gentoo/gentoo.2006-0.img,sda7,w' ]
the system reverts to the old problem .....waiting for hda6 to appear.

Brian
- 
Powered by Suse Linux 9.2


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