Kylin V10使用优盘(含虚拟机使用优盘)

Kylin V10使用优盘(含虚拟机使用优盘)

通用性好,建议优盘格式化为FAT32格式使用,插入USB口后,fdisk -l 识别磁盘,mount即可使用。
FAT32格式的缺点是单个存储文件不能超过4G。
现在的优盘通常格式化为NTFS格式,Kylin V10需要安装ntfs-3g.x86_64.rpm 包才可以使用(安装盘内有该文件、配好YUM源安装)。

一、优盘格式化为FAT32格式使用步骤:

[root@kylin101 ~]# fdisk -l

Disk /dev/sdh: 7.22 GiB, 7757398016 bytes, 15151168 sectors
Disk model: DataTraveler 2.0
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: 0x0f3bc40e

Device     Boot Start      End  Sectors  Size Id Type
/dev/sdh1        2048 15151134 15149087  7.2G  c W95 FAT32 (LBA)

[root@kylin101 ~]# mount /dev/sdh1 /mnt
[root@kylin101 ~]# ls -l /mnt

total 334236
drwxr-xr-x 2 root root     4096 Sep  7  2022 '??'
drwxr-xr-x 3 root root     4096 Dec  1  2021  Android
drwxr-xr-x 2 root root     4096 Jun 19  2023  Archive
-rwxr-xr-x 1 root root      673 Jan 23  2023  autoinstall.lst
drwxr-xr-x 3 root root     4096 Oct 28  2022  cl
-rwxr-xr-x 1 root root    16124 Feb  3  2022  commet.tct.txt
-rwxr-xr-x 1 root root 14447295 Apr 20  2022  com.ucbrowser.tv_1.7.1.505_liqucn.com.apk
-rwxr-xr-x 1 root root 17708447 Jun 12  2023  django3.2.19.zip
-rwxr-xr-x 1 root root    75585 Nov  4  2022 'dminit SYSDBA.pdf'

二、优盘格式化为NTFS格式使用步骤

首先查找ntfs-3g RPM包。
[root@kylin101 ~]# yum search ntfs

Last metadata expiration check: 103 days, 1:31:21 ago on Sun 04 Feb 2024 02:56:51 PM CST.
========================================================================================== Name & Summary Matched: ntfs ===========================================================================================
ntfs-3g.x86_64 : Linux NTFS userspace driver

安装ntfs-3g RPM包。
[root@kylin101 ~]# yum install ntfs-3g

Last metadata expiration check: 16:26:16 ago on Fri 17 May 2024 04:28:49 PM CST.
Dependencies resolved.
======================================================================================================================================================================================================
 Package                                      Architecture                                Version                                                 Repository                                     Size
======================================================================================================================================================================================================
Installing:
 ntfs-3g                                      x86_64                                      2:2022.5.17-1.ky10                                      ks10oscd                                      527 k

Transaction Summary
======================================================================================================================================================================================================
Install  1 Package

Total size: 527 k
Installed size: 1.7 M
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                              1/1
  Installing       : ntfs-3g-2:2022.5.17-1.ky10.x86_64                                                                                                                                            1/1
  Running scriptlet: ntfs-3g-2:2022.5.17-1.ky10.x86_64                                                                                                                                            1/1
  Verifying        : ntfs-3g-2:2022.5.17-1.ky10.x86_64                                                                                                                                            1/1

Installed:
  ntfs-3g-2:2022.5.17-1.ky10.x86_64

Complete!

[root@kylin101 ~]# fdisk -l

Disk /dev/sdh: 14.41 GiB, 15472047104 bytes, 30218842 sectors
Disk model: DataTraveler 3.0
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: 0x63742cee

Device     Boot    Start      End  Sectors   Size Id Type
/dev/sdh1  *     1654784 29297241 27642458  13.2G  7 HPFS/NTFS/exFAT
/dev/sdh2       29298688 30214744   916057 447.3M 1b Hidden W95 FAT32

[root@kylin101 ~]# mount -t ntfs-3g /dev/sdh1 /mnt
[root@kylin101 ~]# cd /mnt
[root@kylin101 mnt]# ls -l

total 12
drwxrwxrwx 1 root root    0 Feb  5 16:19  Alarms
drwxrwxrwx 1 root root    0 Feb  5 16:19  Android
drwxrwxrwx 1 root root    0 Feb  5 16:19  Audiobooks
drwxrwxrwx 1 root root    0 Feb  5 16:19  DCIM
drwxrwxrwx 1 root root    0 Feb  5 16:19  Documents
drwxrwxrwx 1 root root    0 Feb  5 16:19  Download
drwxrwxrwx 1 root root 4096 Aug 31  2020  公开课

虚拟机内使用优盘(virtualbox为例)

virtualbox设置USB口协议3.0(默认2.0,不支持3.0优盘)
在这里插入图片描述

宿主机插入优盘后,会被宿主机有限识别到。
重点操作在虚拟机USB设置,选择对应的优盘。

在这里插入图片描述
后续操作参考前面的步骤一和二。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

curating

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值