[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Xen 3.0.1, Debian Sarge: Swap file not recognized in guest
Hi Jens-Christian, You might want to check the following URL: http://usefulthings.org.uk/operating-systems/linux/suse/xen-and-suse-93 Although it's focused on Suse, it could be useful. Rene On Sun, 2006-03-19 at 09:55 +0100, Jens-Christian Fischer wrote: > I have installed Xen 3.0.1 on a Debian Sarge base system (see [1], > [2], [3] for details) with image files as drives for the guest > operating system. > > My problem is, that the swap "device" on /dev/sda2 is not recognized > by the guest OS: > > INIT: version 2.86 booting > * Files under mount point '/dev/shm' will be hidden. > Will now activate swap. > swapon on /dev/sda2 > swapon: cannot stat /dev/sda2: No such file or directory > * Swap activation failed with error code 255. > Will now check root file system. > > the configuration file looks like this: > > kernel = "/boot/vmlinuz-2.6.12-xenU" > memory = 512 > name = "notes" > root = "/dev/sda1 ro" > vif = [ '' ] > disk = [ 'file:/home/xen/domains/notes/big.img,sda1,w', > 'file:/home/xen/domains/notes/swap,sda2,w' ] > > and /etc/fstab > > /dev/sda1 / ext3 defaults,errors=remount-ro 0 1 > /dev/sda2 none swap sw > proc /proc proc defaults > > I tried both "sda" and "hda" devices - with no change in behaviour. > > /dev/sda2 is not visible in the guest operating system. > > An older image with the debian base system (base-config not yet > executed) that the above image was evolved from works fine: > > INIT: version 2.86 booting > Activating swap. > EXT3 FS on sda1, internal journal > > Any ideas? My Xen-fu is quite young :-) > > thanks > Jens-Christian > > > [1]: http://blog.invisible.ch/2006/03/09/installing-xen-30-on-debian-sarge/ > [2]: > http://blog.invisible.ch/2006/03/14/installing-lotus-domino-654-in-debian-xen/ > [3]: > http://blog.invisible.ch/2006/03/18/configuring-x-and-domino-server-on-debian-sarge-xen/ > > _______________________________________________ > Xen-users mailing list > Xen-users@xxxxxxxxxxxxxxxxxxx > http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |