View Single Post
Old 08-08-2010, 06:07 PM   #25
bran
Enthusiast
bran began at the beginning.
 
Posts: 42
Karma: 10
Join Date: Aug 2010
Device: IREX DR800S
Dear Catharsis,

You ran into the same problem I did. It is why I used the loopback method.

Quote:
Originally Posted by catharsis View Post
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

Last edited by bran; 08-08-2010 at 06:15 PM.
bran is offline   Reply With Quote