On Monday 06 August 2007, Blaisorblade wrote:

On Monday 06 August 2007, you wrote:

> That's usually normal. You do not want to have a partition table on a UML
> image, normally you format the whole disk.

Thanks, though not but I was trying to eliminate any errors.

>
> > 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.
>

Generally to make uml work or only if the disk is full?  The file system 
created by the script was only 26% full, I mounted and then used 'dh':

/mnt/data/home/pete/dev/vm-slack-12/root_fs.img
                       1007896    244960    711736  26% /mnt/zip

Can't see why enlarging a non-full filesystem would help?

I'm wondering whether it is a device problem, I've mounted the file system and 
used mknod, in my new root:

mknod ubd0 b 98 0   

and made 

/dev/ubd/0

similarly for good measure, because apparently that is what the 2.6.X kernels 
want.

As I'm not greatly experienced with uml, and this is my first go at rolling my 
own file system (I've upgraded other people's systems before) I'm a bit 
concerned that I have multiple issues occuring.

Pete


-- 
Peter Chant
http://www.petezilla.co.uk

-------------------------------------------------------------------------
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