Hi, Yena,

Inside your uml you have to specify :

/dev/ubd16      none    swap

outside UML             inside UML
/dev/ubd0               /dev/ubd0
/dev/ubd1               /dev/ubd16
/dev/ubd2               /dev/ubd32
...

Regards,

Jurgen










<[EMAIL PROTECTED]>
Sent by: 
[EMAIL PROTECTED]
2004-12-21 02:59 PM
Please respond to uml
 
        To:     <[EMAIL PROTECTED]>
        cc:     (bcc: Jurgen Defurne/BRG/CE/PHILIPS)
        Subject:        [uml-user] Problem with Swap in Fedora Core 2 UML
        Classification: 




Hi, i have a problem with swap partition:
OS Host: Fedora Core2 SKAS v7.
OS Guest: Fedora Core2 UML kernel 2.6.9 bb4
 
Activating swap partitions:  swapon: /dev/ubd/1: No such device or address
[FAILED]
.....
......
Enabling local filesystem quotas:  [  OK  ]
swapon: /dev/ubd/1: No such device or address
                                             Enabling swap space:  [  OK ]
 
I have tryed also with uml_mconsole .. but i have the same error.
 
This is my start script:
 
dd if=/dev/zero of=swap_fs.swap bs=1M count=128
/sbin/mkswap swap_fs.swap
./vmlinux mem=256m umid=UML1 ubd0=root_fs.fc-2-client.pristine.20040504 
ubd1=swap_fs.swap eth0=tuntap,,,192.168.1.199 $*
 
 
This is my /etc/fstab:
 
/dev/ubd/0      /               ext2            defaults        0 1
/dev/ubd/1      swap            swap            defaults        0 0
none            /dev/pts        devpts          gid=5,mode=620  0 0
proc            /proc           proc            defaults        0 0
 
This is my df output:
 
-bash-2.05b# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/ubd/0             1007896    500696    456000  53% /
 
Thanks for your Help
 
                                                    -- Yena --
 
 




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
User-mode-linux-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to