如何从Windows中访问EXT4格式的Linux硬盘

硬件:Windows计算机,USB3.0硬盘盒,西数硬盘;
软件
DiskGenuis,用于将硬盘格式化为Windows识别的NTFS,FAT32,exFAT以及Linux识别的EXT2,3,4格式。
Ext2Fsd,用于挂载和格式化EXT4格式硬盘。
在安装目录下(C:\Program Files\Ext2Fsd)有多个可执行程序:Mount.exe和mke2fs.exe,用于在命令行中执行挂载和格式化。
挂载命令:mount 'disk number' 'partition number', 'driver_letter',example: mount 0 1 f:。通过cmd中键入diskmgmt.msc来查看disk number和partition number。
格式化命令:mke2fs -t ext4 \Device\HarddiskVolume6 最后一部分字符串来自于Ext2 Volume Manager中的Physical object栏。

遇到的问题
1.在Ext2Fsd 0.69版本中,“Ext2Fsd is not started".
2.在Ext2Fsd中加载硬盘,指定盘符后,仍然无法访问硬盘
解决方法:Doesn’t work after windows 10 creators update
可以使用Ext2Fsd 0.53版本来避免这些问题。
3.Error: mke2fs 1.42.13 (17-May-2015) The file \Device\HarddiskVolume8 does not exist and no size was specified.
解决方法:The file /dev/sda1 does not exist and no size was specified. Windows下Run CMD as Administriator; Linux need “sudo”.

操作记录

Press ENTER to format \Device\HarddiskVolume15
Creating filesystem with 121986816 4k blocks and 30498816 inodes
Filesystem UUID: e88e9cb9-91ee-497b-ace2-b2cf99ee810d
Superblock backups stored on blocks: 
	32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
	4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968, 
	102400000

Allocating group tables:    0/3723 done                            
Writing inode tables:    0/3723 done                            
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information:    0/3723  4/3723         done

你可能感兴趣的:(基础,小知识)