Skip to contentSkip to conversation

swap problem solved.

uml-devel itamar 1 participant 1 message Mar 23, 2005 User-mode Linux (UML)

lore
Share & tools
lore

itamar

author
#0 lore raw

I am found a solution for my problem in this page

http://uml.pimb.org/howto/uml-debian-install.html#SWAP

You only need to run the following commands the first time you use a copy of the installer. They are needed to configure the ubd device nodes correctly, as the presupplied ones have got the wrong minor numbers

# cd /dev
# rm ubd*
# mknod ubd0 b 98 0
# mknod ubd1 b 98 16
# mknod ubd2 b 98 32
# mknod ubd3 b 98 48
# mknod ubd4 b 98 64
# mknod ubd5 b 98 80
# mknod ubd6 b 98 96
# mknod ubd7 b 98 112

Itamar Reis Peixoto
+55 (34) 3238 3845
e-mail : [email protected]
http://www.ispbrasil.com.br

I am starting my guest machine with ubd1=/uml/clau/swap.img

-bash-2.05b# swapon -a
swapon: /dev/ubd/1: No such device
-bash-2.05b#

my fstab

/dev/ubd/0      /               ext3    defaults,usrquota 1 1
/proc           /proc           proc    defaults
devpts          /dev/pts        devpts  mode=0622 0 0
/dev/ubd/1      none            swap    sw      0       0

How to make my swap working ?

-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005 Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel