Mailinglist Archive: opensuse (1468 mails)
| < Previous | Next > |
Re: [opensuse] Accessing a disk-image
- From: Petr Uzel <petr.uzel@xxxxxxx>
- Date: Tue, 2 Jun 2009 16:36:09 +0200
- Message-id: <20090602143608.GF10091@localhost>
On Tue, Jun 02, 2009 at 03:29:40PM +0200, Koenraad Lelong wrote:
Try running 'parted -s diskimage unit B print' to see where each
partition starts/ends.
Then you could
a) extract the partition with dd to another file, which should be
mountable with mount -o loop ...
or
b) use device-mapper linear mapping to access the partition (man
dmraid).
IMHO it should work, but I'm not sure.
Please note, that 1) I've never tried that before 2)
there might be much easier solution
--
Best regards / s pozdravem
Petr Uzel, Packages maintainer
---------------------------------------------------------------------
SUSE LINUX, s.r.o. e-mail: puzel@xxxxxxx
Lihovarská 1060/12 tel: +420 284 028 964
190 00 Prague 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
Hi,
Last year I made a diskimage of a CF-hard-disk using dd. Now I have some
problems booting that disk so I want to investigate the differences.
However, I can't mount that diskimage with "mount -o loop diskimage
/mnt". I think it's because the image contains two partitions. Is it
possible to mount such an image ?
Try running 'parted -s diskimage unit B print' to see where each
partition starts/ends.
Then you could
a) extract the partition with dd to another file, which should be
mountable with mount -o loop ...
or
b) use device-mapper linear mapping to access the partition (man
dmraid).
IMHO it should work, but I'm not sure.
Please note, that 1) I've never tried that before 2)
there might be much easier solution
--
Best regards / s pozdravem
Petr Uzel, Packages maintainer
---------------------------------------------------------------------
SUSE LINUX, s.r.o. e-mail: puzel@xxxxxxx
Lihovarská 1060/12 tel: +420 284 028 964
190 00 Prague 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |