On lunedì 6 agosto 2007, Blaisorblade wrote:
> On giovedì 2 agosto 2007, Peter Chant wrote:
> > Chaps,
> >
> > I'm creating a script to generate a Slackware 12.0 based root file system
> > and also a script to run the uml machine.  I'm running into a spot of
> > bother - it seems to mount the filesystem but complains about 'unknown
> > partition type'
>
> That's usually normal. You do not want to have a partition table on a UML
> image, normally you format the whole disk.
>
> > and cannot write to the disk (image) even if I pass 'rw' on
> > the uml command line.  See extract of boot sequence below.  This I think
> > is preventing udev from working.
>
> What about the "no space left on device" messages? You have to add zeros to
> the end of it via dd (be careful) and then call resize_reiserfs or
> resize2fs.

I just realized the real problem - that "disk is full" message is given on a 
tmpfs mount (with udev, /dev stays normally on tmpfs); the size limit of a 
tmpfs mount is by default the half of the available RAM.

Uml by default picks 32M of RAM; try passing mem=64M (or even more). Some time 
ago, I couldn't boot a _real_ workstation with 64M of RAM, I went to 96M (for 
testing purposes, I was passing mem= to a real workstation).

Bye
-- 
Inform me of my mistakes, so I can add them to my list!
Paolo Giarrusso, aka Blaisorblade
http://www.user-mode-linux.org/~blaisorblade

Attachment: signature.asc
Description: This is a digitally signed message part.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
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