Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #915907 > unrolled thread

Bug#907798: fai - setup-storage unable to set GPT partition id

Started byBastian Blank <waldi@debian.org>
First post2018-09-02 12:00 +0200
Last post2018-09-03 17:00 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.debian.bugs.dist


Contents

  Bug#907798: fai - setup-storage unable to set GPT partition id Bastian Blank <waldi@debian.org> - 2018-09-02 12:00 +0200
    Bug#907798: fai - setup-storage unable to set GPT partition id Thomas Lange <lange@informatik.uni-koeln.de> - 2018-09-03 13:40 +0200
    Bug#907798: fai - setup-storage unable to set GPT partition id Thomas Lange <lange@informatik.uni-koeln.de> - 2018-09-03 17:00 +0200

#915907 — Bug#907798: fai - setup-storage unable to set GPT partition id

FromBastian Blank <waldi@debian.org>
Date2018-09-02 12:00 +0200
SubjectBug#907798: fai - setup-storage unable to set GPT partition id
Message-ID<wtxkK-8vf-3@gated-at.bofh.it>
Package: fai-server
Version: 5.7
Severity: normal

For cloud images we need to explicitely set GPT partition ids.  The root
filesystem needs to be on partition one, while also being the last
partition on the disk.

A partition table will need look like similar to this:

| Device      Start      End  Sectors  Size Type
| /dev/sda1  227328 41943006 41715679 19.9G Linux filesystem
| /dev/sda14   2048    10239     8192    4M BIOS boot
| /dev/sda15  10240   227327   217088  106M EFI System

Regards,
Bastian

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.17.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages fai-server depends on:
pn  debootstrap  <none>
ii  e2fsprogs    1.44.4-2
pn  fai-client   <none>
ii  xz-utils     5.2.2-1.3

Versions of packages fai-server recommends:
pn  isc-dhcp-server                   <none>
pn  libproc-daemon-perl               <none>
pn  nfs-kernel-server                 <none>
pn  openbsd-inetd | inet-superserver  <none>
ii  openssh-client                    1:7.7p1-4
ii  openssh-server                    1:7.7p1-4
pn  tftpd-hpa | atftpd                <none>

Versions of packages fai-server suggests:
pn  aptitude           <none>
ii  binutils           2.31.1-4
pn  debmirror          <none>
pn  fai-setup-storage  <none>
pn  grub2              <none>
pn  perl-tk            <none>
ii  qemu-utils         1:2.12+dfsg-3
pn  reprepro           <none>
pn  squashfs-tools     <none>
pn  xorriso            <none>

[toc] | [next] | [standalone]


#916071

FromThomas Lange <lange@informatik.uni-koeln.de>
Date2018-09-03 13:40 +0200
Message-ID<wtVn3-5Rw-1@gated-at.bofh.it>
In reply to#915907
Are all cloud providers need this special partitioning scheme?

We may use gdisk (export mode, transpose) to fix the partition number
in FAI.

-- 
regards Thomas

[toc] | [prev] | [next] | [standalone]


#916106

FromThomas Lange <lange@informatik.uni-koeln.de>
Date2018-09-03 17:00 +0200
Message-ID<wtYuB-7AV-3@gated-at.bofh.it>
In reply to#915907
This bug was filed because growpart wants to grow only the first
partition.
On IRC you've said: re-ordering the partition table in the first place is an easier task

It's not easier with FAI, since the partition numbers cannot be
defined. Adding such a feature into FAI (setup-storage) would be a
major change in the code. I prefer to fix the growpart or growroot
script instead.

-- 
regards Thomas

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web