From: Holger K. <hol...@gm...> - 2007-03-28 18:25:05
|
Henry Nestler schrieb: > Hello Wolfram, > > Wolfram Wadepohl wrote: >> Henry Nestler schrieb: >> >>> Wolfram Wadepohl wrote: >>> Testings under a Linux: >> used Knoppix 5.2 >>> Copy the file i:\initrd into a Linux, and try to mount it as loop: >>> mount -o loop,ro initrd /mnt >>> Check the filesystem of the file initrd: >>> fsck -f initrd >> losetup /dev/loop0 initrd >> fsck -f /dev/loop0 >> cannot find ext2 superblock (oroginal output was german) > > What does losetup do? If that non mount it, you can not check it with > fsck. View what are currently mountet after losetup. But better, you > does my steps. Think, losetup use a ramdisk, not an initrd file. > > Perhaps do "modprobe loop" before "mount -o loop,ro initrd /mnt" losetup just connects the file to the loop device without assigning a mountpoint. You need that if you have additional parameters for the loop device that mount does not now. And fsck doesn't work on mounted filesystems. What he did will work, but he should try mount /dev/loop0 to find what filesystem is on initrd. |