I want to install Windows(I have .iso file) and I have linux mint. How can i make it without usb or disk, using partitions?
Asked
Active
Viewed 1.3k times
1
1 Answers
4
In order to boot from Windows Iso and install it without using CD/DVD or USB Drive, you first need to create a PRIMARY partition with NTFS filesystem in your HDD. I recommend the size of this partition (say X) slightly more than the size of Windows Iso file. After that boot into your Linux Mint, mount the X through graphical interface and know the mountpoint. If you don't know how to know the mountpoint or mount manually a partition or how to create PRIMARY partition then please search in SuperUser or Unix and Linux StackExchange. Open Terminal and issue following commands -
- Mount your iso to a certain location say Desktop by typing
mount -o loop iso_location ~/Desktopwhere iso_location is the file location of Windows Iso.- Copy everything from Windows Iso to X by typing
cp -rv ~/Desktop/* mountpointwhere mountpoint is the location of X mounted in /.- Once everything is copied with no errors, type
os-proberand you should see this kind of output et al.,/dev/sda4:Windows Recovery Environment (loader):Windows1:chain.- If you see something similar, then type
grub-mkconfig -o grub.cfg_location /dev/sdawhere grub.cfg_location is location of Grub configuration file, typically is /boot/grub/grub.cfg and /dev/sda is primary HDD of mine.
Boot into Grub and you will see the new Windows entry, enter it and you will be able to install it now.
ddtoo or not. But the link I mentioned is straightforward and tested. – Firelord Mar 23 '15 at 17:38