First you need to mount the iso image. Create a folder

$ sudo mkdir /mnt/disk

mount iso image in it

$ sudo mount my_disk.iso /mnt/disk

Prepare usb flash dirve in gparted or other open source program. Delete all partition, create new partition table of msdos type, create new fat32 partition.

Mount usb flash with standart OS tools or do it with mount command. The path to the usb should be like /media/USER/XXXX-1234 if standart mounting was used, where USER is the name of current user in the system, XXXX-1234 identifier of usb flash or Label of partiton if it's not empty.

Copy files from image to usb:

$ cp /mnt/disk/ /media/USER/XXXX-1234

Install bootloader:

$ sudo grub-install --target=i386-pc --no-floppy --root-directory=/media/USER/XXXX-1234 /dev/sdX

where sdX is the path to device which you can get from lsblk command

$ lsblk

David

Sat, 03/13/2021 - 21:40

helped again. wow

Add new comment

The content of this field is kept private and will not be shown publicly.
  • No HTML tags allowed.
 dP    dP  8888ba.88ba   dP   dP   dP         dP   .d888888  
Y8. .8P 88 `8b `8b 88 88 88 88 d8' 88
Y8aa8P 88 88 88 88 .8P .8P 88 88aaaaa88a
d8' `8b 88 88 88 88 d8' d8' 88 88 88
88 88 88 88 88 88.d8P8.d8P 88. .d8P 88 88
dP dP dP dP dP 8888' Y88' `Y8888' 88 88

Enter the code depicted in ASCII art style.