help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GRUB 2.0 not loading config file


From: Andrey Borzenkov
Subject: Re: GRUB 2.0 not loading config file
Date: Sun, 20 Oct 2013 08:21:53 +0400

В Sat, 19 Oct 2013 11:02:42 +0200
Ortwin Glück <address@hidden> пишет:

> Hi,
> 
> Symptoms:
> - GRUB 2.0 starts in command-line mode. The boot menu is not loaded.
> - on the command-line: configfile /boot/grub/grub.cfg properly loads the 
> config 
> file, surprisingly.
> - GRUB 0.9 works fine.
> 
> HW: Samsung laptop that I boot in legacy (non-EFI) mode. Have not tried EFI.
> 
> grub-install creates the image like so:
> /usr/bin/grub2-mkimage -d /usr/lib/grub/i386-pc -O i386-pc 
> --output=/boot/grub/i386-pc/core.img --prefix=(,gpt1)/boot/grub biosdisk ext2 
> part_gpt
> 

prefix here is used only as fallback; grub will search for it at
runtime. So check values of $root and $prefix immediately after
starting grub.

Your description suggests that $prefix for whatever reason is wrong but
$root is correct.

> 
> Partition tables:
> MBR:
> Disk /dev/sda: 126.0 GB, 126035288064 bytes, 246162672 sectors
> Units = sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x3eb19e87
> 
>     Device Boot      Start         End      Blocks   Id  System
> /dev/sda1               1   246162671   123081335+  ee  GPT
> 
> 
> GPT:
> Disk /dev/sda: 246162672 sectors, 117.4 GiB
> Logical sector size: 512 bytes
> Disk identifier (GUID): 6A7696BC-D860-44B9-87E9-6AAECD6C9E4F
> Partition table holds up to 128 entries 
> 
> First usable sector is 34, last usable sector is 246162638 
> 
> Partitions will be aligned on 2-sector boundaries 
> 
> Total free space is 0 sectors (0 bytes) 
> 
>  
> 
> Number  Start (sector)    End (sector)  Size       Code  Name 
> 
>     1            2048       246162638   117.4 GiB   8300  primary 
> 
>     2              34            2047   1007.0 KiB  EF02  BIOS boot partition
> 
> 
> Any ideas?
> 
> Ortwin
> 
> _______________________________________________
> Help-grub mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/help-grub




reply via email to

[Prev in Thread] Current Thread [Next in Thread]