0

I'm new to this forum, but I needed to ask a question. How do I reinstall the GRUB bootloader? Since I'm new, I didn't knew that I couldn't simply delete the partition from windows and add the unused space. I needed to delete the lubuntu installation, to install Xubuntu. But I didn't knew I also needed to delete the bootloader, since as I said, I'm new to linux. So I tried to boot into Windows 7, and I see the screen of error: no such partition entering rescue mode And then it drops me into rescue mode. Now, I made a Lubuntu Installation USB in hope to reinstall the GRUB bootloader by just installing Lubuntu. But guess what. The installer fails to shrink the partition. I tried sudo --bind but it says: mount point doesn't exist. Any help will be appreciated. And I cannot, and repeat cannot, and again, cannot delete the windows partition, cause the laptop isn't mine, but of my dad so without his permission I cannot delete the win7 partition.

1 Answers1

0

Whats problem with free space? Delete all not system partitions, I mean you have 1 or 2 (reserved) system partitions, boot Linux installation. To avoid confusion in graphical markup, create a partition with fdisk.

sudo fdisk /dev/sdX - where X you hard drive, the laptop most likely has one hard drive (/dev/sda). To view all disks run sudo fdisk -l Then create partitions for Linux: type n to create new partition -> first sector default -> for last sector type +50GB to make root. If you have UEFI, create 512MB partition: enter t for change type, l - to view list, enter code for "EFI Partition". To write changes enter w. Next, mkfs.fat -F32 /dev/sdxY, where sdY is EFI partition.

In installer also set efi mount point for this partition. After installation, just in case, run os-prober.

If something doesn't work out, welcome to wiki https://help.ubuntu.com/community/UEFI

popcron
  • 96