Hi jurgen, i have modified my /etc/fstab and now is:

/dev/ubd/0      /               ext2            defaults        0 1
/dev/ubd/16     none            swap            defaults        0 0
none            /dev/pts        devpts          gid=5,mode=620  0 0
proc            /proc           proc            defaults        0 0

Nothink ... i have the same error :-( ( No such device or address )


But i haven't understund where i have to do this changes:
> outside UML             inside UML
> /dev/ubd0               /dev/ubd0
> /dev/ubd1               /dev/ubd16
> /dev/ubd2               /dev/ubd32

in my dir /dev i have only:
/dev/ubd

and unde /dev/ubd :

-bash-2.05b# cd ubd
-bash-2.05b# ls -la
total 124
drwxr-xr-x   2 root root   4096 May  4  2004 .
drwxr-xr-x  23 root root 118784 Dec 21 11:25 ..
brw-rw----   1 root disk  98, 0 May  4  2004 0
brw-rw----   1 root disk  98, 1 May  4  2004 1
brw-rw----   1 root disk  98, 2 May  4  2004 2
brw-rw----   1 root disk  98, 3 May  4  2004 3
brw-rw----   1 root disk  98, 4 May  4  2004 4
brw-rw----   1 root disk  98, 5 May  4  2004 5
brw-rw----   1 root disk  98, 6 May  4  2004 6
brw-rw----   1 root disk  98, 7 May  4  2004 7


Thanks :-)






> 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