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:25:30 +0400

В Sat, 19 Oct 2013 22:07:47 -0600
Chris Murphy <address@hidden> пишет:

> > 
> > 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
> 
> At the grub command line, issue the set command and report the result for 
> prefix. Above it looks like it's setting the prefix to (,gpt1)/boot/grub 
> which is wrong. It should be (hd0,gpt2) based on the GPT you've posted,

Based on GPT it should be gpt1. 

> but it's unusual that the partition numbers are reversed given the
> LBAs being used. The BIOS boot partition is first.
>

There is no requirement that partition numbers correspond to relative
partition positions on disk. At least I am not aware of it - do you
have reference?
 
> It might be worth using gdisk to reorder the partitions and write out the GPT 
> again and then re-installing grub.
> 
> Chris Murphy
> _______________________________________________
> 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]