compressed file system
Hello Everyone
I'm new to Linux and to Buildroot.
I've succeeded to build a kernel and a file system (.ext2) and to test it with QEMU.
Now I'm trying to use a compressed file system (.ext2.gz) but it will not load (kernel panic).
How should I load a compressed file system which is the rootfs?
BR,
Tal
--
View this message in context: http://buildroot-busybox.2317881.n4.nabble.com/compressed-file-system-tp38293.html
Sent from the Buildroot (busybox) mailing list archive at Nabble.com.
Dear tallu,
Quoted 7 lines · tallu
I'm new to Linux and to Buildroot.
I've succeeded to build a kernel and a file system (.ext2) and to test it with QEMU.
Now I'm trying to use a compressed file system (.ext2.gz) but it will not load (kernel panic).How should I load a compressed file system which is the rootfs?
If you use this filesystem as a hard disk image, i.e the '-hda rootfs.ext2' Qemu option, then it has to be uncompressed.
Thomas
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com
Hi Thomas
Thanks for your reply.
So how can I check this kind of compressed file system (.ext2.gz)? Is it the same for other file systems?
BR,
Tal
--
View this message in context: http://buildroot-busybox.2317881.n4.nabble.com/compressed-file-system-tp38293p38297.html
Sent from the Buildroot (busybox) mailing list archive at Nabble.com.
Hello tallu,
Quoted 1 line · On Wed, 9 Jan 2013 11:15:22 -0800 (PST) tallu <[email protected]> wrote:
So how can I check this kind of compressed file system (.ext2.gz)?
As far as I know: You'll need to uncompress it, after that you can loop-mount it, so:
sudo mount -o loop rootfs.ext2 mountpoint
If you check with 'mount' afterwards, you should see sth. like this:
.../dev/loop0 on mountpoint type ext2 (rw)
avfs (http://avf.sourceforge.net/) might work with compressed image, not tested though.
Julian
Hi Julian
How can I do it if it is the rootfs?
BR
Tal
--
View this message in context: http://buildroot-busybox.2317881.n4.nabble.com/compressed-file-system-tp38293p38299.html
Sent from the Buildroot (busybox) mailing list archive at Nabble.com.
Quoted 4 lines · On Wed, 9 Jan 2013 11:57:04 -0800 (PST) tallu <[email protected]> wrote:
Hi Julian
How can I do it if it is the rootfs?
I don't see your point, rootfs.ext2 _is_ your rootfs (ext-filesystem-image).
What do you mean by "check"?
Julian