On Saturday 27 Aug 2016 10:19:48 Peter Humphrey wrote:
> On Friday 26 Aug 2016 12:33:47 Mick wrote:
> > On Friday 26 Aug 2016 09:32:25 Peter Humphrey wrote:
> > > In my search for a suitable boot method, I'm trying Mike G's
> > > systemd-boot ebuild. I've installed it with no problem, and now I reach
> > > the heart-in-mouth stage of actually replacing gummiboot with it. But
> > > first, the backup, including dd of what used to be called the MBR (what
> > > is it now?).
> > > 
> > > # parted -l
> > > Model: Unknown (unknown)
> > > Disk /dev/nvme0n1: 256GB
> > > Sector size (logical/physical): 512B/512B
> > > Partition Table: gpt
> > > Disk Flags:
> > > 
> > > Number  Start   End     Size    File system     Name       Flags
> > > 
> > >  1      1049kB  3146kB  2097kB                  uefi       bios_grub
> > >  2      3146kB  144MB   141MB   fat32           boot       boot, esp
> > >  3      144MB   4504MB  4360MB  linux-swap(v1)  swap
> > >  4      4504MB  15.0GB  10.5GB  ext4            rescuesys
> > >  5      15.0GB  32.2GB  17.2GB  ext4            gentoo
> > >  6      32.2GB  36.5GB  4295MB  ext4            var
> > >  7      36.5GB  45.1GB  8590MB  ext4            home
> > > 
> > > [...]
> > > 
> > > That start block of the uefi partition looks odd to me.
> > 
> > The 'Name' of the 1st partition is the label you have provided when you
> > created it. It is NOT the type of the partition, which is shown under the
> > 'Flags' column as 'bios_grub'.
> 
> Yes, I know that of course. I called the first partition "uefi" because
> that's what the wiki used, and nothing more suitable suggested itself.
> 
> > The 1st partition was created to accommodate Grub's boot code.
> 
> Now that I didn't know. Well, I was hazy about it anyway.
> 
> > It starts on the first cylinder (change the units in parted to cyl and
> > you'll see it starts at '0 cyl') and has no fs on it.
> 
> Indeed, except that parted doesn't want to use cylinders in its list output.

Run parted:

parted /dev/sda

then set the units e.g. to "MiB", or sectors "s", or cylinders "cyl":

(parted) unit MiB
(parted) p

to see the result.  Then q to quit without changing the table.
-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to