您现在的位置是:首页
>
优盘是一种 双启动型USB优盘的使用举例和注意问题
双启动型USB优盘的使用举例和注意问题 现在市面上有一种双启动型的USB优盘(它可作为硬盘使用也可以作为软盘使用) 但在LINUX上使用时 不少网友反映了不少问题 特别是以软盘使用时的问题最多 现
双启动型USB优盘的使用举例和注意问题

现在市面上有一种双启动型的USB优盘(它可作为硬盘使用也可以作为软盘使用) 但在LINUX上使用时 不少网友反映了不少问题 特别是以软盘使用时的问题最多 现在以 朗科 M双启动型USB优盘 作为例子 一 硬盘方式 >>> fdisk l /dev/sd? Disk /dev/sda: heads sectors cylinders Units = cylinders of * bytes Device Boot Start End Blocks Id System /dev/sda * + FAT Partition has different physical/logical beginnings (non Linux?): phys=( ) logical=( ) Partition has different physical/logical endings: phys=( ) logical=( ) Partition does not end on cylinder boundary: phys=( ) should be ( ) 加载上面的分区 mount t vfat /dev/sda /mnt/mnt (这里的 /dev/sda 是一个分区) 那么现在就可以使用USB盘了 二 软盘方式 >>> fdisk l /dev/sd? Disk /dev/sda: heads sectors cylinders Units = cylinders of * bytes Device Boot Start End Blocks Id System /dev/sda ? Unknown Partition has different physical/logical beginnings (non Linux?): phys=( ) logical=( ) Partition has different physical/logical endings: phys=( ) logical=( ) Partition does not end on cylinder boundary: phys=( ) should be ( ) 在这里请注意 上面显示在USB软盘上在一个分区 但实际上这个分区是无法加载的 请看上面的 Blocks 为 也就分区是没有空间的 那么要怎么样才能加载这个USB软盘呢?我们把分区的概念去掉 也就是不要想分区的问题 想一想我平时是怎么用一般软盘的 mount t vfat /dev/fd /mnt/fd 那么道理在USB软盘上差不多 mount t vfat /dev/sda /mnt/usbfd (这里的 /dev/sda 不是分区) 这样执行能行 成功加载 cd /mnt/usbfd ls 这时你会看到DOS的启动文件 请注意这时的USB软盘只有 M的空间可以用 总结 从上面的例子看到 在LINUX中使用USB优盘有一定的技巧 本例子中的 软盘方式 使用的办法同样可以用在某些 单启动型USB优盘 因为这些 单启动型USB优盘 是以软盘方式接入LINUX的 lishixinzhi/Article/program/Oracle/201311/17729
很赞哦! (1051)