[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: initrd.img mounten



Am Freitag, 2. Juni 2006 14:34 schrieb Eduard Bloch:
> #include <hallo.h>
>
> * Daniel Musketa [Fri, Jun 02 2006, 02:23:12PM]:
> >     % mount -o loop initrd.img /mnt
> >     mount: you must specify the filesystem type
>
> Kalt...
>
> >     % gzip -d < initrd.img > initrd.img.fs
>
> Wärmer...
>
> >     % mount -o loop initrd.img.fs /mnt
> >     mount: you must specify the filesystem type
> >
> >     % mount -t ext2 -o loop initrd.img.fs /mnt
> >     mount: wrong fs type, bad option, bad superblock on /dev/loop3
>
> Hier würde ich erstmal "file" verwenden statt hexdump.

file hat mir verraten, daß es ein cpio-Archiv ist. Ich nehme an, das muß ich 
erst auspacken, dann bearbeiten und dann wieder einpacken, und kann es nicht 
direkt mounten ...

Danke!

Grüße
Daniel



Reply to: