定制并硬盘安装ArchLinux 20120804版(4)

34.安装VirtualBox
pacman -S virtualbox
目标 (3): libvncserver-0.9.9-1  virtualbox-modules-4.1.20-3
           virtualbox-4.1.20-2
===> You must load vboxdrv module before starting VirtualBox:
===> # modprobe vboxdrv

35.安装图形化分区工具
pacman -S gparted
gparted 的可选依赖
    dosfstools: for FAT16 and FAT32 partitions
    jfsutils: for jfs partitions
    ntfsprogs: for ntfs partitions
    reiserfsprogs: for reiser partitions
    xfsprogs: for xfs partitions
    nilfs-utils: for nilfs2 support
    polkit: to run gparted directly from menu
    gpart: for recovering corrupt partition tables
    mtools
安装依赖:pacman -S dosfstools jfsutils ntfsprogs

36.寻找丢失的分区
通过gparted无法找回,DiskGenius依然无果,无奈中看到了testdisk。安装后尝试,分区回归!!!
安装testdisk:pacman -S testdisk
目标 (2): progsreiserfs-0.3.0.5-7  testdisk-6.13-2
[root@zllinux ~]# testdisk
选择Create,开始进行分析。
Use arrow keys to select, then press Enter key:
>[ Create ] Create a new log file
 [ Append ] Append information to log file
 [ No Log ] Don't record anything

选择对应磁盘,因我的只有一个,故不用选择,直接Proceed
Select a media (use Arrow keys, then press Enter):
>Disk /dev/sda - 250 GB / 232 GiB - ST3250318AS

>[Proceed ]  [  Quit  ]

显示关于当前磁盘的详细信息,Continue
Disk /dev/sda - 250 GB / 232 GiB - ST3250318AS

Hidden sectors are present.

size       488395055 sectors
user_max   488395055 sectors
native_max 488397168 sectors
dco        488397168 sectors
Host Protected Area (HPA) present.

>[ Continue ] Continue even if there are hidden data

如果和我的一样为普通PC机,选择Intel,若是苹果机选择MAC,其它自行思考
Please select the partition table type, press Enter when done.
>[Intel  ] Intel/PC partition
 [EFI GPT] EFI GPT partition map (Mac i386, some x86_64...)
 [Humax  ] Humax partition table
 [Mac    ] Apple partition map
 [None   ] Non partitioned media
 [Sun    ] Sun Solaris partition
 [XBox   ] XBox partition
 [Return ] Return to disk selection

选择Analyse,开始搜索分区
>[ Analyse  ] Analyse current partition structure and search for lost partitions
 [ Advanced ] Filesystem Utils
 [ Geometry ] Change disk geometry
 [ Options  ] Modify options
 [ MBR Code ] Write TestDisk MBR code to first sector
 [ Delete   ] Delete all data in the partition table
 [ Quit     ] Return to disk selection

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/21130.html