如何建立live USB Drive
幫朋友幫Linux,但部機沒有CD Rom 同 Floppy,咁只好用usb boot 機 install。發覺官方沒有usb net install drive ,只好自己動手做一只。
準備步驟:
1. Network Install ISO Image (如果CentOS or Fedora 可能要多一隻DVD Image)
2. USB Thumb Drive 數百MB 即可
3. 下載 syslinux Download
方法1. Linux
1. syslinux -s /dev/sdb1
2. mount -o loop /path/to/your/network/install/iso /mnt/isoimage
3. mount /dev/sdb1 /mnt/thumb_drive
4. cp /mnt/isoimage/isolinux/* /mnt/thumb_drive
5. mv isolinux.cfg syslinux.cfg
6. mv isolinux.bin syslinux.bin
方法2. Windows
1. syslinux -ma l: (Drive l is your thumb drive)
2. use Daemon Tools to mount the ISO
3. Copy all file in isolinux to thumb drive
4. rename the isolinux.cfg isolinux.bin to syslinux.cfg and syslinux.bin
準備步驟:
1. Network Install ISO Image (如果CentOS or Fedora 可能要多一隻DVD Image)
2. USB Thumb Drive 數百MB 即可
3. 下載 syslinux Download
方法1. Linux
1. syslinux -s /dev/sdb1
2. mount -o loop /path/to/your/network/install/iso /mnt/isoimage
3. mount /dev/sdb1 /mnt/thumb_drive
4. cp /mnt/isoimage/isolinux/* /mnt/thumb_drive
5. mv isolinux.cfg syslinux.cfg
6. mv isolinux.bin syslinux.bin
方法2. Windows
1. syslinux -ma l: (Drive l is your thumb drive)
2. use Daemon Tools to mount the ISO
3. Copy all file in isolinux to thumb drive
4. rename the isolinux.cfg isolinux.bin to syslinux.cfg and syslinux.bin
Comments