PDA

View Full Version : mount while remastering from live CD



urpk
11-13-2003, 04:39 PM
i am doing remastering from the live CD and i am in "Build the chroot jail" phase of the document i got from a friend. When i run the command "mount -o loop stock.iso /mnt/hda1/knx/temp1" it displays the error message ioctl: LOOP_SET_FD: Invalid argument.

Does any one know what this error is and how can i get rid of it. Please note that i have extracted the stock.iso from /cdroom/KNOPPIX and i have also copied the boot.img.

thanx a lot.

tealeaf
11-13-2003, 10:40 PM
hello urpk.

mount -o loop applies to img file, for iso files, you need to use mount -t iso9660:

mount -t iso9660 stock.iso /mnt/hda1/knx/temp1

An alternative to mount -o loop is losetup,