2

I have been facing this issue even when I boot through Gparted LiveCD. My goal is to install Windows dual booting with Ubuntu (My wife is not comfortable with linux)

Don't ask me about the ext2 and fat32 partitions here, I don't have any clue myself as to when and how they got created. Also let me know if it would be safe to remove these.

Suggestions? Advice?

screenshot

guntbert
  • 13,134
  • Look at http://askubuntu.com/q/196125/350004 – solsTiCe May 16 '15 at 14:18
  • You can not resize with gparted. Also, LVM fragments the data and there is no defragmenter. It is designed to be able to enlarge, but data loss can happen when you downsize. If you have data loss, the data is not over written, just reverse the process. In that event you need to back up your data and reinstall. – Panther May 16 '15 at 14:53
  • Thanks Sharad for being a proactive reader @SharadGautam Any idea what those other partitions are, should I remove them? – Zubair Akram May 16 '15 at 15:53
  • 1
    sda1 is the ESP and you need it to boot in EFI+GPT. sda2 is certainly a boot partition and hold your kernel, and yes you need it. – solsTiCe May 16 '15 at 17:19
  • Follow solsTiCe's link and advice. Also, your computer is booting in EFI/UEFI mode. After you've resized your LVM, you must install Windows in the same mode, as described here (among other places). You may then need to use the firmware's built-in boot manager to reboot to Ubuntu and then run sudo update-grub to get GRUB to recognize Windows. – Rod Smith May 16 '15 at 19:13
  • @solsTiCe Add it as an answer. – Sharad Gautam May 17 '15 at 00:19
  • There is nice GUI package in the Software Center called KVPM. It is the easiest method for managing LVM, for physical volume (PV) and logical volumes (lv). But, you will need to run the program from a liveUSB, since you can't re-size a mounted volume. – RCF May 17 '15 at 03:52

1 Answers1

0

sda1 is the ESP and you need it to boot in EFI+GPT. sda2 is certainly a boot partition and hold your kernel, and yes you need it.

LVM is tricky to shrink. Look at the previous ansver there: How can I resize an LVM partition? (i.e: physical volume)

solsTiCe
  • 9,231