Re: [uml-user] Uml and root ram disk

2005-06-27 Thread Blaisorblade
On Saturday 25 June 2005 13:32, Tim Warnock wrote: > I realised two things were wrong: > My image is 256000 bytes decompressed, even though theres only 180mb of > data on the drive. So I have to specify: ramdisk_blocksize=1024 (at bb's > recommendation) and ramdisk_size=256000 bytesize of the deco

RE: [uml-user] Uml and root ram disk

2005-06-25 Thread Tim Warnock
I realised two things were wrong: My image is 256000 bytes decompressed, even though theres only 180mb of data on the drive. So I have to specify: ramdisk_blocksize=1024 (at bb's recommendation) and ramdisk_size=256000 bytesize of the decompressed image. Cmd line: mem=320M Memory: 239052k availab

Re: [uml-user] Uml and root ram disk

2005-06-25 Thread Blaisorblade
On Friday 24 June 2005 23:35, Tim Warnock wrote: > > > I wanted the ramdisk inside of the uml for performance. > > > > Yes, it makes sense, and would perform better, but how do you > > put the datas on the root_fs inside the ramfs? By copying it > > at boot time using hostfs only. > > No im not. I

RE: [uml-user] Uml and root ram disk

2005-06-24 Thread Tim Warnock
> > I wanted the ramdisk inside of the uml for performance. > Yes, it makes sense, and would perform better, but how do you > put the datas on the root_fs inside the ramfs? By copying it > at boot time using hostfs only. No im not. I was expecting the linux process to populate /dev/ram with the c

Re: [uml-user] Uml and root ram disk

2005-06-24 Thread Blaisorblade
On Friday 24 June 2005 13:53, Tim Warnock wrote: > > On Friday 24 June 2005 13:24, Tim Warnock wrote: > > > Ive got a 170mb root fs im trying to use through a ramdisk > > > > > > mem=256M ramdisk=19 root=/dev/ram > > > > This way you're creating a ramdisk inside UML and using it as > > root, wh

RE: [uml-user] Uml and root ram disk

2005-06-24 Thread Tim Warnock
> On Friday 24 June 2005 13:24, Tim Warnock wrote: > > Ive got a 170mb root fs im trying to use through a ramdisk > > > > mem=256M ramdisk=19 root=/dev/ram > This way you're creating a ramdisk inside UML and using it as > root, which > won't work. What you want would be ubd0=/dev/ram or somet

Re: [uml-user] Uml and root ram disk

2005-06-24 Thread Blaisorblade
On Friday 24 June 2005 13:24, Tim Warnock wrote: > Ive got a 170mb root fs im trying to use through a ramdisk > > mem=256M ramdisk=19 root=/dev/ram This way you're creating a ramdisk inside UML and using it as root, which won't work. What you want would be ubd0=/dev/ram or something like that.

[uml-user] Uml and root ram disk

2005-06-24 Thread Tim Warnock
Ive got a 170mb root fs im trying to use through a ramdisk mem=256M ramdisk=19 root=/dev/ram initrd=/home/uml/os.img.gz eth0=tuntap,,,192.168.6.1 con0=fd:0,fd:1 con=pts RAMDISK driver initialized: 16 RAM disks of 19K size 1024 blocksize Basically sits at: RAMDISK: Compressed image found