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

initrd.img mounten



Hallo,

um ein Boot-Problem mit LTSP zu lösen, möchte ich die den PXE-Clients 
angebotene initrd.img bearbeiten (NFS-Mount über TCP einrichten).

Ich habe folgendes erfolglos versucht:

    % mount -o loop initrd.img /mnt
    mount: you must specify the filesystem type

    % mount -t cramfs -o loop initrd.img /mnt
    mount: wrong fs type, bad option, bad superblock on /dev/loop3

    % gzip -d < initrd.img > initrd.img.fs
    % 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


Das dekomprimierte Image geht wie folgt los, da sind also schon irgendwelche 
Dateisystemstrukturen vorhanden ...


    % hd initrd.img.fs | head -25 | cut -c 9-59 --comp
    00000000 |0707010001075900|
    00000010 |0041C00000000000|
    00000020 |0000000000000A44|
    00000030 |7D83480000000000|
    00000040 |0000030000000100|
    00000050 |0000000000000000|
    00000060 |00000200000000..|
    00000070 |0707010001075B00|
    00000080 |0041ED0000000000|
    00000090 |0000000000000244|
    000000a0 |7D83470000000000|
    000000b0 |0000030000000100|
    000000c0 |0000000000000000|
    000000d0 |00000400000000bi|
    000000e0 |n...070701000610|
    000000f0 |D0000081ED000000|
    00000100 |0000000000000000|
    00000110 |014413DED2000008|
    00000120 |B800000003000000|
    00000130 |0100000000000000|
    00000140 |0000000008000000|
    00000150 |00bin/cat....ELF|



Jetzt habe ich noch einen letzten Versuch gemacht:

    % mount -vvvvt ramfs -o loop initrd.img.fs /mnt
    mount: going to use the loop device /dev/loop5
    set_loop(/dev/loop5,initrd.img.fs,0): success mount: setup loop device
    successfully .../initrd.img.fs on /mnt type ramfs (rw,loop=/dev/loop5)

Das Mounten klappt, aber das Zielverzeichnis ist leer:

    % mount
    ....
    .../initrd.img.fs on /mnt type ramfs (rw,loop=/dev/loop5)

    % ls -l /mnt/ 
    insgesamt 0




Wie komme ich da ran?

Grüße
Daniel



Reply to: