grub-devel
[Top][All Lists]
Advanced

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

Re: Maturity of GRUB on powerpc/ppc64?


From: Gabriel Paubert
Subject: Re: Maturity of GRUB on powerpc/ppc64?
Date: Wed, 4 Oct 2017 20:10:41 +0200
User-agent: NeoMutt/20170113 (1.7.2)

On Wed, Oct 04, 2017 at 06:36:33PM +0200, John Paul Adrian Glaubitz wrote:
> On 10/04/2017 06:23 PM, Lennart Sorensen wrote:
> > It is not a flag, it is a partition type.  PPC PReP Boot is partition
> > type 0x41.  Similar to how Linux is type 0x83 and Linux swap is type 0x82.
> > 
> > I don't remember if it wants the boot flag set on it or not.
> 
> Are you sure? The parted manual seems to say otherwise:

Of what? That it is partition type 0x41, 100%.

sudo fdisk -l (trimmed) on my machine:


Disk /dev/sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 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
Disklabel type: dos
Disk identifier: 0x75609d99

Device     Boot      Start        End    Sectors   Size Id Type
/dev/sdb1  *          2048      18431      16384     8M 41 PPC PReP Boot
/dev/sdb2            18432   40978431   40960000  19.5G fd Linux raid autodetect
/dev/sdb3         40978432 1925138431 1884160000 898.4G fd Linux raid autodetect
/dev/sdb4       1925138432 1953523711   28385280  13.5G 82 Linux swap / Solaris


Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 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
Disklabel type: dos
Disk identifier: 0x1aa95e8f

Device     Boot      Start        End    Sectors   Size Id Type
/dev/sda1  *          2048      18431      16384     8M 41 PPC PReP Boot
/dev/sda2            18432   40978431   40960000  19.5G fd Linux raid autodetect
/dev/sda3         40978432 1925138431 1884160000 898.4G fd Linux raid autodetect
/dev/sda4       1925138432 1953523711   28385280  13.5G 82 Linux swap / Solaris

(Both disks are in a RAID1 setup). 

I believe it needs the boot flag, but some firmwares might decide to not
care about it.

        Gabriel



reply via email to

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