歡迎蒞臨 酷米資訊筆記
請使用 Firefox 瀏覽敝站,以獲得最佳視覺效果。
敝站所有文章皆歡迎轉載,但請註明出處,並附上本站連結,敝站保留法律追究權力。

   
  • 1 
瀏覽模式: 普通 | 列表

把2G Live Usb 轉移到4G隨身碟

當我們做好一隻2G的Live Usb隨身碟後,有可能會想把他轉移到4G或容量更大的隨身碟。

以下就是轉移的方法:

1.直接把2G隨身碟dd到4G隨身碟上。

CODE:

dd if=/dev/sdc of=/dev/sdb

2.刪除4G隨身碟的第一個槽(資料槽)

CODE:

fdisk /dev/sdb

引用:

Command (m for help): p

Disk /dev/sdb: 4194 MB, 4194304000 bytes
255 heads, 63 sectors/track, 509 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1              93         250     1269135    6  FAT16
/dev/sdb2   *           1          92      738958+   6  FAT16

Partition table entries are not in disk order

Command (m for help): d
Partition number (1-4): 1

Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (93-509, default 93):
Using default value 93
Last cylinder or +size or +sizeM or +sizeK (93-509, default 509):
Using default value 509

Command (m for help): t
Partition number (1-4): 1
Hex code (type L to list codes): 6
Changed system type of partition 1 to 6 (FAT16)

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.

WARNING: If you have created or modified any DOS 6.x
partitions, please see the fdisk manual page for additional
information.
Syncing disks.

3.格式化資料槽。

CODE:

mkfs.vfat -F 16 -n NetbossUsb /dev/sdb1
 

  • 1