[usb-booteable] fix syntax
This commit is contained in:
parent
dba9ccfb9a
commit
584d6f2134
@ -8,29 +8,29 @@ It's easy:
|
|||||||
|
|
||||||
1) Create one partition entry in GPT
|
1) Create one partition entry in GPT
|
||||||
|
|
||||||
# parted <DEV-TARGET>
|
# parted <DEV-TARGET>
|
||||||
|
|
||||||
(parted) mktable GPT
|
(parted) mktable GPT
|
||||||
|
|
||||||
(parted) mkpart primary fat32 1MiB -1
|
(parted) mkpart primary fat32 1MiB -1
|
||||||
|
|
||||||
(parted) quit
|
(parted) quit
|
||||||
|
|
||||||
2) Create a FAT32 filesystem on such partition and setup a label.
|
2) Create a FAT32 filesystem on such partition and setup a label.
|
||||||
|
|
||||||
# mkfs.vfat -F 32 -n <FS-LABEL> <DEV-TARGET-N>
|
# mkfs.vfat -F 32 -n <FS-LABEL> <DEV-TARGET-N>
|
||||||
|
|
||||||
3) Mount target filesystem.
|
3) Mount target filesystem.
|
||||||
|
|
||||||
# mount <DEV-TARGET-N> <MNT-TARGET-N>
|
# mount <DEV-TARGET-N> <MNT-TARGET-N>
|
||||||
|
|
||||||
4) Extract ISO image on target filesystem.
|
4) Extract ISO image on target filesystem.
|
||||||
|
|
||||||
# bsdtar -x --exclude=isolinux/ --exclude=EFI/hyperiso/ --exclude=hyperbola/boot/syslinux/ -f <ISO-SOURCE> -C <MNT-TARGET-N>
|
# bsdtar -x --exclude=isolinux/ --exclude=EFI/hyperiso/ --exclude=hyperbola/boot/syslinux/ -f <ISO-SOURCE> -C <MNT-TARGET-N>
|
||||||
|
|
||||||
5) Unmount target filesystem.
|
5) Unmount target filesystem.
|
||||||
|
|
||||||
# umount <MNT-TARGET-N>
|
# umount <MNT-TARGET-N>
|
||||||
|
|
||||||
## Notes
|
## Notes
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user