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 -R /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

2 years 4 months ago

helped again. wow

Add new comment

The content of this field is kept private and will not be shown publicly.
  • No HTML tags allowed.
CAPTCHA
                            .ooo    ooooo                 .o  
.88' `888' o888
oooo ooo oooo d8b d88' 888 oooo ooo 888
`88. .8' `888""8P d888P"Ybo. 888 `88. .8' 888
`88..8' 888 Y88[ ]88 888 `88..8' 888
`888' 888 `Y88 88P 888 `888' 888
`8' d888b `88bod8' o888o `8' o888o


Enter the code depicted in ASCII art style.
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.