On Sun, May 06, 2007 at 08:07:11PM -0700, kewlemer wrote:
> 1. As per Jeff's book, I did -
> (a) < dd if=/dev/zero of=uml_swap bs=1024 seek=$[ 1024 * 1024 ]

Shouldn't this ------------^^^^^^^^

> count=1> from the main UML directory (/root/uml/linux-2.6.21/).
> (b)[host]# uml_mconsole linux config udb1=swap_file

be the same as this-------------------------^^^^^^^^^?

> Warning: couldn't stat file: /root/.uml/linux/mconsole - No such file
> or directory
> Warning: couldn't stat file: /tmp/uml/linux/mconsole - No such file or 
> directory
> Sending command to 'linux' : Connection refused

These suggest that you are messnig up the umid.  Did you put
'umid=linux' on the UML command line?

> [EMAIL PROTECTED] linux-2.6.21]#
> 
> 2. I also followed the instructions swap on
> http://www.ime.usp.br/~baroni/docs/uml-en.html. Basically, I did -
>   $ cd /dev
>   $mkdir /ubd
>   $cd ubd
>   $ for i in 0 1 2 3 4 5 6 7; do mknod ubd$i b 98 $[ $i * 16 ]; done
>   $ dd if=/dev/zero of=swap_file count=200 bs=1M
>   $ mkswap swap_file
>   $ umount /mnt/vmfs
> 
> During bootup I see the following log -
> ubda: unknown partition table
> Couldn't stat "swap_file" : err = 2

That's because you seem to have made swap_file within the UML and
tried to connect UML's ubdb to swap_file on the host.

                                Jeff

-- 
Work email - jdike at linux dot intel dot com

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to