sysresccd - boot on usb

最後更新: 2017-06-08

目錄

 


在 M$ 上的建立方法

 

用 software 'Universal-USB-Installer-x.x.x' 即可

 


在 Linux 上的建立方法

 

<1> Mount the ISO image using the -o loop and -o exec options

mount -o loop,exec /path/to/systemrescuecd-?.iso /tmp/cdrom

<2> 找出 USB device

sysresccd-usbstick listdev

/dev/sd#

<3> 建立 partion 及設定它可以 boot

sysresccd-usbstick writembr /dev/sd#

--> install-mbr /dev/sd# --force (first 404 bytes of the MBR)
--> parted -s /dev/sd# mklabel msdos
--> parted -s /dev/sd# mkpartfs primary fat32 0 100%
--> parted -s /dev/sd# set 1 boot on

<4> 建立 fat32 table

sysresccd-usbstick format /dev/sd#

--> mkfs.vfat

<5> cp -af /tmp/cdrom/* /mnt/usbstick/

sysresccd-usbstick copyfiles /dev/sd#

<6> 安裝 boot loader

sysresccd-usbstick syslinux /dev/sd#

 


sysresccd-usbstick Sub-commands

 

sysresccd-usbstick <command> ...

Sub-commands for manual installation (execute in that order):

   1) listdev               Show the list of removable media
   2) writembr <devname>    Recreate the MBR + partition table on the stick
   3) format <partname>     Format the USB-stick device (overwrites its data)
   4) copyfiles <partname>  Copy all the files from the cdrom to the USB-stick
   5) syslinux <partname>   Make the device bootable

 


Boot Opts

 

http://datahunter.org/sysresccd_boot_opts

 

 

Creative Commons license icon Creative Commons license icon