On Tue, Oct 07 2008, Kapil Hari Paranjape wrote:

>> 8) linux mem=128M
>
> The correct command line should be something like
>  linux mem=128M ubd0=root_fs root=/dev/ubd0 rootfstype=reiserfs \
>   con0=fd:0,fd:1 con=xterm ro single
>
> The option "single" is just to check things out and can be dropped
> once your system is working.

        And here is a  typical command line I use to start off a UML I
 use for compiling packages:

my_uml_run is an alias for:
  rm -f cow_fs; TMPDIR=/scratch/sandbox/tmp screen -L -d -m -S \
  building_uml  /usr/bin/linux umid=build mem=256M con0=fd:0,fd:1 \
  ssl=pts con=pts devfs=nomount                                   \
  eth0=daemon,,unix,/var/run/uml-utilities/uml_switch.ctl         \
  hostfs=/scratch/sandbox/staging,append selinux=1 audit=1        \
  ubdb=swap ubda=cow_fs,root_fs

        It has several features: I use screen to background the actual
 linux task,  so I can run it out of cron, if I wished (and actually do,
 on some machines, to run a virtualized service on hardware that does
 not support kvm).

        It creates /dev/ptyXX consoles that can be connected to via
 screen, instead of popping up xterms.

        I have turned on networking in /etc/network/interfaces using
 tun/tap. I have created a swap file and mount it using ubdb, so the
 machine has some extra memory. 

        I also mount a file system from the host in an append only mode.

        HTH. HAND.

        manoj
-- 
The program isn't debugged until the last user is dead.
Manoj Srivastava <[EMAIL PROTECTED]> <http://www.golden-gryphon.com/>  
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C

_______________________________________________
To unsubscribe, email [EMAIL PROTECTED] with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to