linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] swap problem solved.
@ 2005-03-23 20:28 itamar
  0 siblings, 0 replies; only message in thread
From: itamar @ 2005-03-23 20:28 UTC (permalink / raw)
  To: user-mode-linux-devel; +Cc: user-mode-linux-user, monsta

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 : itamar@ispbrasil.com.br
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
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-03-23 20:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-23 20:28 [uml-devel] swap problem solved itamar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox