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

Re: Grub2 with sparc64 patches



Hi Eric,

On Mon, 2017-01-23 at 12:38 -0700, Eric Snowberg wrote:

> Since the T5240 doesn’t support GPT, we have to use blocklists, could
> you try this instead:
> 
> # grub-install —force /dev/sdb1
> 
> The following warning can be ignored for now:
> 
> Installing for sparc64-ieee1275 platform.
> grub2-install: warning: Embedding is not possible.  GRUB can only be
> installed in this setup by using blocklists.  However, blocklists are
> UNRELIABLE and their use is discouraged..
> Installation finished. No error reported.

On an old Sun Blade 1000, without GPT partition table ... 

# fdisk -l

Disk /dev/sda: 68.4 GiB, 73407865856 bytes, 143374738 sectors
Geometry: 255 heads, 63 sectors/track, 8922 cylinders
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: sun

Device        Start       End   Sectors   Size Id Type         Flags
/dev/sda1         0   1048575   1048576   512M  1 Boot              
/dev/sda2   1060290   2779244   1718955 839.3M 82 Linux swap      u 
/dev/sda3         0 143364059 143364060  68.4G  5 Whole disk        
/dev/sda4   2779245  73095749  70316505  33.5G 83 Linux native      
/dev/sda5  73095750 143364059  70268310  33.5G 83 Linux native

... it does this error as well ...

# grub-install /dev/sda

Installing for sparc64-ieee1275 platform.
grub-install: warning: Embedding is not possible.  GRUB can only be
installed in this setup by using blocklists.  However, blocklists are
UNRELIABLE and their use is discouraged..
grub-install: error: will not proceed with blocklists.

... do i need to install it with a force on /dev/sda1 as well?
Question, and how is this gonna remove the silo boot block on disk?

Thanks,

Frans van Berckel


Reply to: