I have a disk image which has no partitions:
(我有一个没有分区的磁盘映像:)
sudo fdisk -lu image
Disk image: 1 GiB, 1073741824 bytes, 2097152 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
How can i extract the contents?
(如何提取内容?)
I have tried creating a partition with parted
and mounting it but had little success: mkpart primary ext4 0 1074MB
and the output: (我曾尝试创建一个磁盘分区parted
,并安装它,但收效甚微: mkpart primary ext4 0 1074MB
和输出:)
fdisk -l image
Disk image: 1 GiB, 1073741824 bytes, 2097152 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x1c20ae46
Device Boot Start End Sectors Size Id Type
image1 1 2097151 2097151 1024M 83 Linux
But i still couldn't mount it.
(但是我仍然无法安装它。)
I would just like to be able to extract the files from the disk image.
(我只希望能够从磁盘映像中提取文件。)
Any help would be appreciated, i have little experience here. (任何帮助将不胜感激,我在这里经验很少。)
Thank you! (谢谢!)
ask by Mike translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…