PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Kann ISO Datei nicht mounten



f.gruber
06.02.07, 19:48
Ich mounte beim Systemstart (SuSE 10) einige CD Images (ISO Dateien) als Loopback Device mit folgenden Befehlen:


k=`expr $k + 1`
mkdir /mnt/Irgendwas &> /dev/null
mount -t iso9660 -o ro,loop=/dev/loop$k /divers/share/Irgendein.iso /mnt/Irgendwas


Das geht gut bis zur achten Imagedatei (wenn $k den Wert 7 hat). Beim 8. Image kommt dann folgende Fehlermeldung:


/dev/loop8: No such file or directory

Kann mir jemand helfen?

drcux
06.02.07, 20:05
3.2. Creating the Loop Devices in /dev

The mknod command creates the devices in /dev. The loop devices have a major number of "7", and the minor numbers begin at "0". If your MAX_LOOP was defined as 8 in /usr/src/linux/drivers/block/loop.c, you should have loop0 thru loop7 in /dev. To create the /dev/loop8 device, use the following command (subsitute the appropriate number for the "8" in the example below).

mknod -m660 /dev/loop8 b 7 8

Check Owner/Group & Permissions on the new file. You can change the owner and group with the following command:

chown root.disk /dev/loop8

You can change the permissions using the following command:

chmod 666 /dev/loop8

f.gruber
06.02.07, 20:42
Thank you for your tip!

I created the device with


mknod -m660 /dev/loop8 b 7 8

Now I get the message:


No such device or address

drcux
06.02.07, 20:55
Dann musst du das Modul loop mit max_loop=xyz laden:

rmmod loop
modprobe loop max_loop=16

f.gruber
06.02.07, 22:50
Dann meldet er

Mudule loop not found

drcux
06.02.07, 23:45
Dann ist loop wohl fest im Kernel, also trag es in die /boot/grub/menu.lst ein.

f.gruber
10.02.07, 18:10
Dann ist loop wohl fest im Kernel, also trag es in die /boot/grub/menu.lst ein.

Was soll ich da wo eintragen?

Ich sehe in /boot/grub/menu.lst nur folgendes:


# Modified by YaST2. Last modification on So Jun 25 21:44:36 CEST 2006

color white/blue black/light-gray
default 0
timeout 4
gfxmenu (hd0,1)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX 10.0
root (hd0,1)
kernel /boot/vmlinuz root=/dev/md0 vga=788 selinux=0 resume=/dev/sda1 splash=silent showopts
initrd /boot/initrd

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE LINUX 10.0
root (hd0,1)
kernel /boot/vmlinuz root=/dev/md0 vga=normal showopts ide=nodma apm=off acpi=off noresume selinux=0 edd=off 3
initrd /boot/initrd

###Don't change this comment - YaST2 identifier: Original name: floppy###
title Diskette
chainloader (fd0)+1

MiGo
13.02.07, 22:33
kernel /boot/vmlinuz root=/dev/md0 vga=788 selinux=0 resume=/dev/sda1 splash=silent showopts max_loop=16
Versuchs mal so.