You are not logged in.
Pages: 1
hallo to everyone
after reading the arch-wiki for initrd
http://wiki.archlinux.org/index.php/Initrd
I decided to take a look inside my initramfs-2.6.15-archck.img
I'f done
cd /tmp
mkdir initrd
gunzip < /boot/initramfs-2.6.15-archck.img > initrd.img
mount -o loop initrd.img initrd
and got this message:
ioctl: LOOP_CLR_FD: Das Gerät oder die Ressource ist belegt
mount: Sie müssen den Dateisystemtyp angeben
[root@xxx tmp]#
Is this problem related to an error message I get at boot
umount couldn't umount /initrd?
Or, thats what I expect , here' something wrong configurated on my system?
Any hint is welcome
greetings ToLo
Offline
That wiki page refers to initrd images - archck uses intramfs images. They are generated in completely different ways.
I will get around to wikifying this, but in the meantime, here's the equivalent procedure for initramfs images:
- To unpack the image:
cd /tmp
mkdir my_initramfs ( or whatever you'd like to call it)
cd my_initramfs
gzip -dc < /boot/initramfs-2.6.15-archck.img | cpio -i
- To re-compress the image:
find . | cpio -o -H newc | gzip -9 > /boot/initramfs-2.6.15-archck-new.img
If you intend to manually edit your image, always re-compress it with a new name, as above. Manual editing should not be necessary, though.
Offline
thanks for your quick answer. Now I'm able to take a look inside the
initramfs-2.6.15-archck.img
My aim was to find something with a wrong path for the umount command at the end of the living of the ramfs. It doesn't seem so easy, but I take a look
around.
thanks, ToLo
Offline
thanks for your quick answer. Now I'm able to take a look inside the
initramfs-2.6.15-archck.imgMy aim was to find something with a wrong path for the umount command at the end of the living of the ramfs. It doesn't seem so easy, but I take a look
around.thanks, ToLo
Just ignore that warning about umount at the end, it's completely harmless.
Offline
Pages: 1