Ik probeer een image van een debian installatie binnen Ubuntu te mounten. Echter loop ik vast bij het formaat:
Het is een raw image:
Heb al kpartx geprobeerd maar deze maakt niks aan in /dev volgens mij. Wat doe ik fout?
code:
1
2
| sudo mount -o loop,offset=32256 image.img /mnt/diskimage/ mount: you must specify the filesystem type |
Het is een raw image:
code:
1
2
3
4
5
| qemu-img info image.img image: image.img file format: raw virtual size: 6.0G (6442450944 bytes) disk size: 1.9G |
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
| fdisk -l image.img You must set cylinders. You can do this from the extra functions menu. Disk image.img: 0 MB, 0 bytes 255 heads, 63 sectors/track, 0 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00091ad5 Device Boot Start End Blocks Id System image.img1 * 1 745 5980160 83 Linux Partition 1 does not end on cylinder boundary. image.img2 745 784 308225 5 Extended Partition 2 does not end on cylinder boundary. image.img5 745 784 308224 82 Linux swap / Solaris |
Heb al kpartx geprobeerd maar deze maakt niks aan in /dev volgens mij. Wat doe ik fout?