I had Windows 8.1 Professional and Xubuntu in VM, but now I want dual boot.
First two partitions I had them before with Windows 8.1 ((1) EFI and (2) msftres) then (3) partition C: and (4) parition D:.
With the remaining space I planned to use for linux, while installing Xubuntu the wizard suggested me to have a separated partition for Reserved Boot Space (5) I let 100MB.
And then (6) mapped to / and (7) for swap.
parted output
valentin@valentin-N550JV:~$ sudo parted -l
Model: ATA WDC WD7500BPKX-8 (scsi)
Disk /dev/sda: 750GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Number Start End Size File system Name Flags
1 1049kB 538MB 537MB fat32 boot
2 538MB 672MB 134MB ext4 Microsoft reserved partition msftres
3 672MB 323GB 322GB ntfs Basic data partition msftdata
4 323GB 478GB 155GB ntfs Basic data partition msftdata
5 478GB 478GB 99,6MB bios_grub
6 478GB 734GB 256GB ext4
7 734GB 750GB 16,5GB linux-swap(v1)
Problems: I have as boot entries: Windows Boot Manager and ubuntu(targeting \EFI\Ubuntu\grubx64.efi).
When I select the ubuntu entry from BIOS I get into grub2 minimal shell interface.
and to actually get into Grub2 menu selection I need to manually run these commands
set prefix=(hd1,gpt6)/boot/grub
insmod normal
normal
Boot entries from EasyBCD:
There are a total of 4 entries listed in the bootloader.
Default: Windows 8.1
Timeout: None
EasyBCD Boot Device: C:\
Entry #1
Name: CD/DVD Drive
BCD ID: {9e3f8460-4c68-11e4-9e25-d50f39372dbe}
Device: Unknown
Bootloader Path:
Entry #3
Name: Network Card
BCD ID: {3e1cfad9-4c73-11e4-824e-806e6f6e6963}
Device: Unknown
Bootloader Path:
Entry #4
Name: Windows 8.1
BCD ID: {current}
Drive: C:\
Bootloader Path: \Windows\system32\winload.efi
I already tried boot-repair from a live-usb stick xubuntu, but is failing due to the /dev/sda2 (2) partition (the Microsoft reserved one).
mount /dev/sda2 : Error code 32
mount -r /dev/sda2 /mnt/boot-sav/sda2
mount: wrong fs type, bad option, bad superblock on /dev/sda2,
Please find the boot-repair log created for reference, uploaded on ubuntu pastebin: boot-repair.log
Problem solved. Thank you RobinHood, Rod Smith!
I changed the path in grub.cfg and now it's working with the grub2 menu selector. I retrieved the UUID for the linux partition and replaced it in grub.cfg file.
valentin@valentin-N550JV:/media/efimnt/EFI/ubuntu$ pwd
/media/efimnt/EFI/ubuntu
valentin@valentin-N550JV:/media/efimnt/EFI/ubuntu$ sudo blkid /dev/sda6
/dev/sda6: UUID="d17d4033-8152-412f-ad06-f30ecde45d53" TYPE="ext4"
valentin@valentin-N550JV:/media/efimnt/EFI/ubuntu$ cat grub.cfg
search.fs_uuid d17d4033-8152-412f-ad06-f30ecde45d53 root hd1,gpt6
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg