Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] compressed file system
@ 2013-01-09 17:53 tallu
  2013-01-09 17:57 ` Thomas Petazzoni
  0 siblings, 1 reply; 6+ messages in thread
From: tallu @ 2013-01-09 17:53 UTC (permalink / raw)
  To: buildroot

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] compressed file system
  2013-01-09 17:53 [Buildroot] compressed file system tallu
@ 2013-01-09 17:57 ` Thomas Petazzoni
  2013-01-09 19:15   ` tallu
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas Petazzoni @ 2013-01-09 17:57 UTC (permalink / raw)
  To: buildroot

Dear tallu,

On Wed, 9 Jan 2013 09:53:42 -0800 (PST), tallu wrote:

> 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
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] compressed file system
  2013-01-09 17:57 ` Thomas Petazzoni
@ 2013-01-09 19:15   ` tallu
  2013-01-09 19:33     ` Julian Lunz
  0 siblings, 1 reply; 6+ messages in thread
From: tallu @ 2013-01-09 19:15 UTC (permalink / raw)
  To: buildroot

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] compressed file system
  2013-01-09 19:15   ` tallu
@ 2013-01-09 19:33     ` Julian Lunz
  2013-01-09 19:57       ` tallu
  0 siblings, 1 reply; 6+ messages in thread
From: Julian Lunz @ 2013-01-09 19:33 UTC (permalink / raw)
  To: buildroot

Hello tallu,

On Wed, 9 Jan 2013 11:15:22 -0800 (PST)
tallu <tallubko@yahoo.com> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] compressed file system
  2013-01-09 19:33     ` Julian Lunz
@ 2013-01-09 19:57       ` tallu
  2013-01-09 20:56         ` Julian Lunz
  0 siblings, 1 reply; 6+ messages in thread
From: tallu @ 2013-01-09 19:57 UTC (permalink / raw)
  To: buildroot

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] compressed file system
  2013-01-09 19:57       ` tallu
@ 2013-01-09 20:56         ` Julian Lunz
  0 siblings, 0 replies; 6+ messages in thread
From: Julian Lunz @ 2013-01-09 20:56 UTC (permalink / raw)
  To: buildroot


On Wed, 9 Jan 2013 11:57:04 -0800 (PST)
tallu <tallubko@yahoo.com> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-01-09 20:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-09 17:53 [Buildroot] compressed file system tallu
2013-01-09 17:57 ` Thomas Petazzoni
2013-01-09 19:15   ` tallu
2013-01-09 19:33     ` Julian Lunz
2013-01-09 19:57       ` tallu
2013-01-09 20:56         ` Julian Lunz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox