You are not logged in.

#1 2015-04-18 15:40:01

yet_another_martin
Member
Registered: 2014-08-13
Posts: 10

Grub: disk not found (Surface Pro3)

Hi folks,

I've got Arch Linux running on my surface pro3 as multiboot system (Win8.1, Arch Linux, Android X86).
Everything was working fine until the last firmware update from Microsoft. After that I couldn't boot into Win8.1 or Android X86 anymore...or at least not as desired:

Selecting Android X86 entry on grub gives me a

error: disk 'hd0,gpt8' not found
alloc magic is broken at 0xa1783ac0: a18171a0

but this entry has worked before and the partition layout hasn't changed.

EFI with gpt layout, no bios-mode available.

Here's my disk layout (gpt)

Festplatte /dev/sda: 119,2 GiB, 128035676160 Bytes, 250069680 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes
Festplattenbezeichnungstyp: gpt

Gerät         Anfang      Ende  Sektoren Größe Typ
/dev/sda1       2048    739327    737280  360M Windows-Wiederherstellungsumgebung
/dev/sda2     739328   1148927    409600  200M EFI-System
/dev/sda3    1148928   1411071    262144  128M Microsoft reserviert
/dev/sda4    1411072 119963647 118552576 56,5G Microsoft Basisdaten
/dev/sda5  239009792 250068991  11059200  5,3G Windows-Wiederherstellungsumgebung
/dev/sda6  161185792 231497727  70311936 33,5G Linux-Dateisystem
/dev/sda7  231497728 239009791   7512064  3,6G Linux Swap
/dev/sda8  119963648 161185791  41222144 19,7G Linux-Dateisystem

->EFI: /dev/sda2
->Win8.1: /dev/sda4
->Android X86: /dev/sda8 (so hd0,gpt8 exists)

And here are the grub.cfg entries:
For Win8:

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-efi-FC32-3EB9' {
        insmod part_gpt
        insmod fat
        set root='hd0,gpt4'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-efi=hd0,gpt2
        else
          search --no-floppy --fs-uuid
        fi
        chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
### END /etc/grub.d/30_os-prober ###

and for Android X86:

## BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
menuentry "Android-x86" {
set root=(hd0,gpt8)
linux /android-2015-02-23/kernel quiet root=/dev/sda8 androidboot.hardware=android_x86 acpi_sleep=s3_bios,s3_mode SRC=/android$
initrd /android-2015-02-23/initrd.img}
### END /etc/grub.d/40_custom ###

As mentioned before, I could boot into Android X86 without any problems...now grub tells me that hd0,gpt8 isn't there any more. (?)

Can anyone help me with this ?

P.S.: Secure boot is disabled, of course. smile
Booting Arch Linux on /dev/sda6 works like a charm.

Last edited by yet_another_martin (2015-04-18 15:56:01)

Offline

Board footer

Powered by FluxBB