Dear Catharsis,
You ran into the same problem I did. It is why I used the loopback method.
Quote:
Originally Posted by catharsis
Hi, I'm trying to mount from a Fedora Live-CD
When I try the first method:
[root@localhost liveuser]# modprobe jffs2
[root@localhost liveuser]# modprobe mtdram total_size=90000 erase_size=256
FATAL: Error inserting mtdram (/lib/modules/2.6.33.3-85.fc13.i686/kernel/drivers/mtd/devices/mtdram.ko): Cannot allocate memory
When I try the second:
[root@localhost 6638-3431]# modprobe loop
[root@localhost 6638-3431]# modprobe mtdblock
[root@localhost 6638-3431]# modprobe block2mtd
[root@localhost 6638-3431]# losetup /dev/loop0 rootfs.bin
losetup: /dev/loop0: device is busy
As my Linux experience is almost none, what is wrong?
|
The second method assumes no loopback has already been used. As you are using a livecd most likely it will already be using a loopback device so /dev/loop0 will already be in use.
Try to use loop1 instead of loop0 in the losetup command. Rember the further steps of the second method need loop0 replaced with loop1 if you do.
i.e.
try the following:
[root@localhost 6638-3431]# modprobe loop
[root@localhost 6638-3431]# modprobe mtdblock
[root@localhost 6638-3431]# modprobe block2mtd
[root@localhost 6638-3431]# losetup /dev/loop1 rootfs.bin