sudo add-apt-repository ppa:colingille/freshlight
sudo apt-get update
sudo apt-get install winusb
Форматира първо и после инсталира iso файла
sudo winusb --format <iso path> <device>
Инсталира iso файла
sudo winusb --install <iso path> <partition>
Пример:
fdisk -l
Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0xabababab
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 206847 102400 7 HPFS/NTFS/exFAT
/dev/sda2 206848 204802047 102297600 7 HPFS/NTFS/exFAT
/dev/sda3 204802048 208996351 2097152 6 FAT16
/dev/sda4 208996352 1465145343 628074496 83 Linux
Disk /dev/sdd: 8127 MB, 8127512576 bytes
255 heads, 63 sectors/track, 988 cylinders, total 15874048 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xfdc01076
Device Boot Start End Blocks Id System
/dev/sdd1 * 63 15872219 7936078+ b W95 FAT32
winusb --format Windows.7.SP1.Ultimate.x86-x64.BG-EN.IE9.November.2011.Integrated.iso /dev/sdd
Formating device…
Mounting…
mount: warning: /media/winusb_iso_1380295897_9824 seems to be mounted read-only.
Copying…
Installing grub…
Installation finished. No error reported.
Installing grub.cfg…
Exiting…
Syncing…
Cleaning…