Re: Using cramfs as root filesystem on diskless machine

2001-06-19 Thread Stephane Casset
Le Tue, Jun 19, 2001 at 07:44:52PM +0400, Alexandr Andreev écrivait : > David L. Parsley wrote > > Possibly, some symlinks are broken, or some libraries are missed, on my > rootfs... > But it is very strange, that ext2fs ramdisk image works with the same > rootfs on it. > I'll try to investigate

Re: Using cramfs as root filesystem on diskless machine

2001-06-19 Thread Alexandr Andreev
David L. Parsley wrote >>... >>RAMDISK driver initialized: 16 RAM disks of 4096K size 4096 blocksize >> > ^ >You also need to give the kernel 'ramdisk_size='. I've used >larger cramfs initrd's with no problem, but the kernel has to make >large

Re: Using cramfs as root filesystem on diskless machine

2001-06-19 Thread David L. Parsley
Alexandr Andreev wrote: > > David L. Parsley wrote: > > >Mathias Killian wrote a patch to allow cramfs initrd's, see: > >http://www.cs.helsinki.fi/linux/linux-kernel/2001-01/1064.html > > > Thank you. I applied this patch, and recompiled my kernel. > All works fine, if the size of root filesyste

Re: Using cramfs as root filesystem on diskless machine

2001-06-19 Thread Alexandr Andreev
David L. Parsley wrote: >Mathias Killian wrote a patch to allow cramfs initrd's, see: >http://www.cs.helsinki.fi/linux/linux-kernel/2001-01/1064.html > Thank you. I applied this patch, and recompiled my kernel. All works fine, if the size of root filesystem less than 4096Kb. But when i create an

Re: Using cramfs as root filesystem on diskless machine

2001-06-17 Thread Pavel Machek
Hi! > My MIPS machine has no any disks or flopies. So i obliged to use a RAM > disk with a file system on it, which is mounted as root. What machine is that? Some kind of handheld? Pavel PS: linux-vr list seems dead, right? It would

Re: Using cramfs as root filesystem on diskless machine

2001-06-15 Thread David L. Parsley
Mathias Killian wrote a patch to allow cramfs initrd's, see: http://www.cs.helsinki.fi/linux/linux-kernel/2001-01/1064.html Alexandr Andreev wrote: > > Hi, list. > > My MIPS machine has no any disks or flopies. So i obliged to use a RAM > disk with a file system on it, which is mounted as root.

Re: Using cramfs as root filesystem on diskless machine

2001-06-15 Thread Alexandr Andreev
David Woodhouse wrote: >It's not polite to respond to private messages in public fora. > >On Fri, 15 Jun 2001, Alexandr Andreev wrote: > >>Bootloader only jumps to the kernel entry point. The initrd image is >>compiled inside the kernel. >> > >So it's in a ROM or flash chip? Why copy it into mem

Re: Using cramfs as root filesystem on diskless machine

2001-06-15 Thread Alexandr Andreev
Hi, David. David Woodhouse wrote: >Where does the bootloader get the initrd from? > Bootloader only jumps to the kernel entry point. The initrd image is compiled inside the kernel. ( special section in the ELF kernel binary ) .config: ... CONFIG_BLK_DEV_RAM=y CONFIG_BLK_DEV_RAM_SIZE=8192 CONFIG_

Using cramfs as root filesystem on diskless machine

2001-06-15 Thread Alexandr Andreev
Hi, list. My MIPS machine has no any disks or flopies. So i obliged to use a RAM disk with a file system on it, which is mounted as root. I use gzipped initrd image, which is linked to the special section in the kernel during compilation. Now, the RAM disk size is really big, so i decide to use