Mount an IMG file as loopback device
Fanis Dokianakis
madf at hellug.gr
Wed Oct 24 13:50:01 EEST 2001
On Wed, Oct 24, 2001 at 11:50:59AM +0300, George Moniodis wrote:
> Edo kai kairo prospatho na lyso ena problima alla den exo brei akrh akoma.
> Kapoia stigmh xrgsimopoiisa to programma dd gia na kano ena image file olo
> to /root.
> Mexri edo ola kala. Tora pou ebala to RH7.2 kai thelo na paro mono merika
> arxeia apo to .img arxeio thelo na to kano mount san loop device. Epsaksa
> sth lista alla h entolh pou brika: mount -t iso9660 -o loop /...file...
> /dev/loop3 den douleuei. Mipos yparxei kapoia alli lysh ?
>
> Euxaristo
Se ti filesystem itan to /root?
Ayth i entoli einai gia na kaneis mount cdimages, (iso9660 fs).
gia na kaneis mount ena ext2 fs kaneis:
mount -t ext2 -o loop imagefile.img /mountpoint/
opou mount point ena dir opou tha ginei mount.
analoga allazeis to typo tou fs, gia reiserfs, fat klp.
Fanis
More information about the Linux-greek-users
mailing list