樹心幽徑

« 20190117在ubuntu1604裝nfsserver成功 | Main | 20190119用Fedora Server’s netinst images透過網路安裝Fedora 28 server最小集及NFS4網路檔案系統 »

20190118製作Fedora Server’s netinst images隨身碟(一個16GB的USB隨身碟才175元)成功
2019/01/18,20:36

REF https://blog.gtwang.org/linux/linux-dd-command-write-iso-to-usb-flash-drive/

(1)下載Fedora 28 server 網路安裝映像檔

wget https://dl.fedoraproject.org/pub/fedora/linux/releases/28/Server/x86_64/iso/Fedora-Server-netinst-x86_64-28-1.1.iso

(2)用lsblk指令察看本機磁碟裝置(隨身碟要先插上,會自動掛上)

$ lsblk

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT

sdb 8:16 0 465.8G 0 disk

├─sdb2 8:18 0 500M 0 part

├─sdb5 8:21 0 221.6G 0 part

├─sdb3 8:19 0 48.4G 0 part

│ ├─fedora-root 252:1 0 45G 0 lvm

│ └─fedora-swap 252:0 0 3.4G 0 lvm [SWAP]

└─sdb1 8:17 0 1K 0 part

sr0 11:0 1 1024M 0 rom

sdc 8:32 1 57.9G 0 disk

├─sdc2 8:34 1 1K 0 part

├─sdc5 8:37 1 3.9G 0 part [SWAP]

└─sdc1 8:33 1 54G 0 part /

sda 8:0 0 931.5G 0 disk

├─sda4 8:4 0 269.8G 0 part

├─sda2 8:2 0 17G 0 part

├─sda3 8:3 0 372.6G 0 part

└─sda1 8:1 0 100M 0 part

sdh 8:112 1 14.3G 0 disk

└─sdh1 8:113 1 14.3G 0 part /media/treehrt/12CB-CB88

 (3)卸載剛系統自動掛上的隨身碟 

$ umount /media/treehrt/12CB-CB88

$ lsblk

:

sdh 8:112 1 14.3G 0 disk

└─sdh1 8:113 1 14.3G 0 part

(4)察看下載的iso檔

$ cd /home/treehrt

$ ls *.iso

Fedora-Server-netinst-x86_64-28-1.1.iso

(5) 用dd指今將Fedora-Server-netinst-x86_64-28-1.1.iso檔展開寫入USB隨身碟(/dev/sdh)中 

$ sudo dd if=Fedora-Server-netinst-x86_64-28-1.1.iso of=/dev/sdh bs=1M

[sudo] password for treehrt:

輸入 583+0 個紀錄

輸出 583+0 個紀錄

611319808 bytes (611 MB, 583 MiB) copied, 37.7773 s, 16.2 MB/s

 

 

迴響

 
Accessible and Valid XHTML 1.0 Strict and CSS Powered by LifeType