1 |
Stroller wrote: |
2 |
|
3 |
> Hi there, |
4 |
> |
5 |
> Before installing on a new laptop which came with Vista pre-installed |
6 |
> I took an image of the hard-drive using dd. (ie: `dd if=/dev/sda of=/ |
7 |
> mnt/sdb1/disk.img`, where /mnt/sdb1 was a portable USB hard-drive). |
8 |
> |
9 |
> Obviously the intention was that if I b0rked things up I could just |
10 |
> `dd` the image back onto the laptop and all would work as the |
11 |
> manufacturer shipped it, but I'd now find it useful to be able to |
12 |
> take a look inside the image and examine a few files. Is there any |
13 |
> way to do this, please? |
14 |
> |
15 |
> I'm fairly confident that there were originally a couple of |
16 |
> partitions on the drive, and the one I want to look at will be NTFS, |
17 |
> of course. I know that a CD iso I can mount using `mount file.iso / |
18 |
> mnt/cdrom -t iso9660 -o loop`, but is there an equivalent for whole |
19 |
> partition tables? |
20 |
> |
21 |
> Thanks in advance for any suggestions or advices, |
22 |
> |
23 |
> Stroller. |
24 |
> |
25 |
|
26 |
Try this... |
27 |
|
28 |
modprobe loop |
29 |
modprobe ntfs |
30 |
|
31 |
mkdir /mnt/iso |
32 |
|
33 |
mount -t ntfs /path/to/your/iso /mnt/iso -o loop,ro |
34 |
|
35 |
Assuming the iso is ntfs and you have loop and ntfs as modules... |
36 |
|
37 |
Cheers. |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
|
43 |
|
44 |
|
45 |
|
46 |
|
47 |
|
48 |
|
49 |
Jerry McBride (jmcbride@×××××××.us) |
50 |
-- |
51 |
|
52 |
|
53 |
From the Desk of: Jerome D. McBride |
54 |
-- |
55 |
gentoo-user@l.g.o mailing list |