Gentoo Archives: gentoo-user

From: Volker Armin Hemmann <volkerarmin@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Trying to loopback mount partition from a disk image
Date: Mon, 23 Nov 2009 20:14:52
Message-Id: 200911232015.48825.volkerarmin@googlemail.com
In Reply to: Re: [gentoo-user] Trying to loopback mount partition from a disk image by Stroller
1 On Montag 23 November 2009, Stroller wrote:
2 > On 23 Nov 2009, at 18:50, Volker Armin Hemmann wrote:
3 > > On Montag 23 November 2009, Stroller wrote:
4 > >> Hi there,
5 > >>
6 > >> With reference to a couple of previous threads:
7 > >> http://thread.gmane.org/gmane.linux.gentoo.user/193263
8 > >> http://thread.gmane.org/gmane.linux.gentoo.user/197120
9 > >>
10 > >> Here's what I'm trying:
11 > >>
12 > >> $ ls -lh sda.dd.img
13 > >> -rw-r--r-- 1 stroller users 77G 2009-11-22 03:51 sda.dd.img
14 > >> $ file sda.dd.img
15 > >> sda.dd.img: x86 boot sector, Microsoft Windows XP MBR, Serial
16 > >> 0x1890189; partition 1: ID=0x7, active, starthead 1, startsector 63,
17 > >> 160810587 sectors, code offset 0xc0
18 > >> ...
19 > >
20 > > yeah, you don't need to use losetup. I mounted a lot of images over
21 > > the years
22 > > and I never used losetup.
23 >
24 > How do I do it then, please?
25 >
26 > Note, it's an image of an entire hard-drive, imaged using `dd` or GNU
27 > `ddrescue`, so it also includes the MBR & partition table. It's not
28 > just a partition or an .iso optical disk image.
29 >
30 > Stroller.
31 >
32
33 modprobe loop
34 mount -o loop /image /pfad

Replies

Subject Author
Re: [gentoo-user] Trying to loopback mount partition from a disk image Stroller <stroller@××××××××××××××××××.uk>