Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Mint screwed my grub (no more dual boot with Win7) because of a faulty LIVE USB flash stick. (I can launch Mint but I can't install)

I need to burn a new ISO to my USB flash stick or USB drive so that I can properly install Linux and restore the grub.

I tried to use Xfburn and USB Image Writer which are default in Mint X but both applications don't detect the USB stick or the USB drive.

share|improve this question

3 Answers 3

If you can boot any linux on the machine, follow instructions in Fixing Lilo with uefi system and no optical drive (obviously you'll need to adjust it for different bootloader).

To transfer the image to a Flash USB drive directly, you can use dd:

dd if=/path/to/your.iso of=/dev/sdX bs=8M

where /dev/sdX is the kernel device of your USB drive. This of course destroys any data*) previously on the USB (but any method does that anyway). As a side note, the verb "burn" is usually used only when the target media is written to with a laser (e.g. all the variants of CD/DVD/BD), which flash is not.

See also this guide on Fedoraproject.

*) strictly speaking, in the case of a flash memory based device it doesn't really neither destroy nor all the data - due to wear leveling, the blocks are realocated, so some of the previous content will stay untouched and also only the beginning of the device will be erased (writing 3GB image on 8GB flash doesn't alter the last 5GB).

share|improve this answer

I generally use UNetbootin for burning distros to USB devices. Depending how you want to install, it can either use an already downloaded ISO or it will download and install an ISO of your choosing for a variety of distros.

           ss of unetbootin

share|improve this answer

To write an ISO image to a USB stick you can do the following after unmounting the stick:

cp /path/to/image.iso /dev/sdX
sync
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.