How to mount image created by dd?
by ddenial from LinuxQuestions.org on (#4RQSP)
Hello
I'm trying to mount dd image of a boot partition. These are the method I tried unsuccessfully.
Code:# dd if=/dev/sda1 of=sda1.dd
# blkid sda1.dd
sda1.dd: LABEL="Boot" UUID="b9783ca0-9f00-42ca-964e-e84f53dba045" TYPE="xfs"
# parted sda1.dd unit s print
Model: (file)
Disk /home/user1/Pictures/sda1.dd: 2097152s
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0s 2097151s 2097152s xfs
# mount sda1.dd /mnt
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
# mount -o loop -t xfs sda1.dd /mnt
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
# losetup -P -f --show sda1.dd
/dev/loop0
# mount -o loop -t xfs /dev/loop0 /mnt
mount: wrong fs type, bad option, bad superblock on /dev/loop1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.How to mount dd image of a partition?
Thanks


I'm trying to mount dd image of a boot partition. These are the method I tried unsuccessfully.
Code:# dd if=/dev/sda1 of=sda1.dd
# blkid sda1.dd
sda1.dd: LABEL="Boot" UUID="b9783ca0-9f00-42ca-964e-e84f53dba045" TYPE="xfs"
# parted sda1.dd unit s print
Model: (file)
Disk /home/user1/Pictures/sda1.dd: 2097152s
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0s 2097151s 2097152s xfs
# mount sda1.dd /mnt
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
# mount -o loop -t xfs sda1.dd /mnt
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
# losetup -P -f --show sda1.dd
/dev/loop0
# mount -o loop -t xfs /dev/loop0 /mnt
mount: wrong fs type, bad option, bad superblock on /dev/loop1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.How to mount dd image of a partition?
Thanks