[Gllug] UML and fdisk

Jake Jellinek jj at positive-internet.com
Sat Jun 1 09:16:46 UTC 2002


Hi,

Thanks for this, I'll give it a try.

I'm not certain if I'm running the very latest version of UML, I did an 
apt-get install user-mode-linux using latest version in Debian unstable. I 
hadn't seen any mention of using letters rather than numbers in the 
documenation with ubd command line.

To answer your previous e-mail's questions I had tried creating the file 
system first and the device did exist in the UML.

Sounds like I should really be on the UML mailing list or at least find an 
archive (Is there one?)

For the moment I decided I don't need to mount a disk in this way anyway, 
and I used rootstrap (apt-get install rootstrap) to build a much larger 
root filesystem with lots of free space.

Anyway, many thanks for your help with this. So far I'm pretty pleased with 
UML although I wish there could be some way (no idea if it is possible even 
in theory) to limit each UML instance to a certain amount of disk IO usage. 
I'm going to play with having two UML's each using a different IDE disk and 
channel, and then experiment with SCSI etc. My aim is to look at having a 
web hosting product "Virtual-dedicated" along similar lines to the FreeVSD 
type system that I believe DSVR use.

Thanks.

Jake.

--On 31 May 2002 10:40 +0100 Vincent AE Scott <gllug at codex.net> wrote:

> JakeJ i dont have the original email to respond to, but heres what i
> found on the UML list
> create an empty file first, then started uml with 'ubda=disk_file'
>
>
>
> To get the proper number of heads and sectors you have to set up the
> geometry under the fdisk "x" expert menu
> "h" heads is 128
> "s" sectors is 32
> "c" cylinders is then computed
> uml always uses the same C*128*32 with 512 byte sectors.
> fdisk can not autodetect since this is just a file and the magic ioctl
> does
> not work on files.
> uml has to pick a geometry and picked the C*128*32 geometry as easy to
> use
> and allowing fairly large files.
>
>
> --
> keys:  http://codex.net/pgp/gpg.asc http://codex.net/pgp/pgp.asc
>
>  [a] The Japanese eat very little fat and suffer fewer heart attacks than
>  the British or Americans.
>
>  [b] On the other hand, the French eat a lot of fat and also suffer fewer
>  heart attacks than the British or Americans.
>
>  [c] Conclusion: Eat what you like. It's speaking English that kills you.
>
>
>
> --
> Gllug mailing list  -  Gllug at linux.co.uk
> http://list.ftech.net/mailman/listinfo/gllug
>




-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list