create full ubuntu 17.10 install using wubi efi and wubi move.sh
ok for one this is a little long i tested it and it works great for people with no dvd/usb and stuck on windows 7/8.1/10
things you need
1)windows computer MBR partition preferred though GPT should work with tweaks to the tut
2) Wubi efi ( https://github.com/hakuna-m/wubiuefi ) official wubi only supports up to 12.04 iirc uefi can get the latest in sevreral flavors)
3) gparted (in ubuntu)
4) wubi-move (https://github.com/bcbc/Wubi-move)
thats all now for the actual process
In windows)
1) use virtual disk service to partition 2 sections (1 for the ext4 file system and 1 for swap space leave unformatted NOT unallocated) just select "do not format" when creating the partitions
2) using Wubi Uefi create a 14-16 GB virtual file (located in C:\wubi fyi) put in your password for the ubuntu install and click install it will automaticly download the 17.10 iso when done reboot
once rebooted it will automaticly enter stage 2 of ubuntu install dl required files and install grub
OK thats it for the windows side let's move on shall we?
1)download gparted in terminal type sudo apt-get install gparted if you get into trouble with it scroll down
2) download wubi-move and extract all of it
3: note your partitions in my case sda4 was the disk file sda3 was the small unformatted swapspace and sda2 is for the FS
4) cd into wubi-move dir (make sure only you'r V file is the only partition mounted)
5) type sudo bash wubi-move.sh /dev/sda2 /dev/sda3 (first is FS 2nd is Swap) it will ask if you want to format push Y in about 5 minutes it will copy all directories including saved files,it will also update grub for you
reboot and select your new fs partition in grub
6:once in your new one open terminal and get into gparted
delete your win partition (don't worry it's fine I assume your partition for win is sda1)
7: go back to wubi move and do sudo wubi-move /dev/sda1 it'll copy everything (again)
8: reboot into the sda1 partition and go into gparted delete your old ubuntu partition and resize sda1 to take up sda2's deleted space
DONE you now have a fully functional Ubuntu 17.10 distro
Trouble shooting
Q:HALP I get a cannot connect to DISPLAY:0 error when trying to open gparted
A: I assume you tried gparted by terminal using sudo gparted, well it's an easy fix though temporary in terminal type xhost +x note there is no sudo it will clear xauthority display so any user can use X applications like gparted until logout
things you need
1)windows computer MBR partition preferred though GPT should work with tweaks to the tut
2) Wubi efi ( https://github.com/hakuna-m/wubiuefi ) official wubi only supports up to 12.04 iirc uefi can get the latest in sevreral flavors)
3) gparted (in ubuntu)
4) wubi-move (https://github.com/bcbc/Wubi-move)
thats all now for the actual process
In windows)
1) use virtual disk service to partition 2 sections (1 for the ext4 file system and 1 for swap space leave unformatted NOT unallocated) just select "do not format" when creating the partitions
2) using Wubi Uefi create a 14-16 GB virtual file (located in C:\wubi fyi) put in your password for the ubuntu install and click install it will automaticly download the 17.10 iso when done reboot
once rebooted it will automaticly enter stage 2 of ubuntu install dl required files and install grub
OK thats it for the windows side let's move on shall we?
1)download gparted in terminal type sudo apt-get install gparted if you get into trouble with it scroll down
2) download wubi-move and extract all of it
3: note your partitions in my case sda4 was the disk file sda3 was the small unformatted swapspace and sda2 is for the FS
4) cd into wubi-move dir (make sure only you'r V file is the only partition mounted)
5) type sudo bash wubi-move.sh /dev/sda2 /dev/sda3 (first is FS 2nd is Swap) it will ask if you want to format push Y in about 5 minutes it will copy all directories including saved files,it will also update grub for you
reboot and select your new fs partition in grub
6:once in your new one open terminal and get into gparted
delete your win partition (don't worry it's fine I assume your partition for win is sda1)
7: go back to wubi move and do sudo wubi-move /dev/sda1 it'll copy everything (again)
8: reboot into the sda1 partition and go into gparted delete your old ubuntu partition and resize sda1 to take up sda2's deleted space
DONE you now have a fully functional Ubuntu 17.10 distro
Trouble shooting
Q:HALP I get a cannot connect to DISPLAY:0 error when trying to open gparted
A: I assume you tried gparted by terminal using sudo gparted, well it's an easy fix though temporary in terminal type xhost +x note there is no sudo it will clear xauthority display so any user can use X applications like gparted until logout