Marcin M. Jessa wrote:
I forgot to mention one thing. The root device on Linux is sda1 and the swap device is sda2.Hi.I used to create a separate SWAP file for linux and define it in my domU config:disk = [ 'file:/linux/ubuntu.img,0x301,w','file:/linux/swap.img,sda2,w' ] Then just defined swap device as hda2 in linux's fstab.But this does not seem to work anymore but I am actually not sure when it stopped working since I until nowdidn't use linux domU to anything serious.Any idea what may have broken this config and how to make this work again?Cheers, Marcin
Trying to initialize it manually I get following error: # swapon -a swapon: /dev/sda2: No such device or address # ls -l /dev/sda2 brw-rw---- 1 root root 8, 2 Sep 28 2007 /dev/sda2