Bug 29281 - Profilbasierte GPT-Installation: Partitionstypen werden nicht gesetzt
Profilbasierte GPT-Installation: Partitionstypen werden nicht gesetzt
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UCS Installer
UCS 3.0
Other Linux
: P5 normal (vote)
: UCS 3.1
Assigned To: Sönke Schwardt-Krummrich
Arvid Requate
: interim-4
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-19 14:37 CET by Felix Botner
Modified: 2012-12-12 21:10 CET (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments
installation.log.gz (30.22 KB, application/x-gzip)
2012-11-19 14:38 CET, Felix Botner
Details
installer.log.gz (9.46 KB, application/x-gzip)
2012-11-19 14:39 CET, Felix Botner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2012-11-19 14:37:26 CET
Anscheinend gibt es Probleme, wenn die BIOS Boot Partition dort angelegt wird, wo vorher eine andere Partition begonnen hat. Ich hatte eine System installiert und die erste Partition war eine SWAP Partition. Nun habe ich nochmal mit der Autopartitionierung installiert. Hat im Installer auch alles geklappt, das System kann jedoch nicht mehr gebootet werden.

Wenn ich auf diesem System den Installer nochmal starte, zeigt das Partitionierungsmodul die erste Platte (also die BIOS Boot Partition, die vormals SWAP war) wieder als SWAP an. 

In der Installation.log, bei der Installation von univention-grub sieht man folgendes:

Setting up univention-grub (6.0.2-2.96.201211131422) ...
...
Generating legacy menu.lst from current kernels
/usr/sbin/grub-setup: warn: This GPT partition label has no BIOS Boot Partition; embedding won't be possible!.
/usr/sbin/grub-setup: warn: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and their use is discouraged..
/usr/sbin/grub-setup: error: if you really want blocklists, use --force.
Comment 1 Felix Botner univentionstaff 2012-11-19 14:38:55 CET
Created attachment 4809 [details]
installation.log.gz
Comment 2 Felix Botner univentionstaff 2012-11-19 14:39:07 CET
Created attachment 4810 [details]
installer.log.gz
Comment 3 Felix Botner univentionstaff 2012-11-19 14:52:14 CET
Ich habe auf diesem System auf der Kommandozeile einmal sgdisk -Z auf die Platte gemacht, und dann nochmal formatiert. Nun hat es geklappt.
Comment 4 Sönke Schwardt-Krummrich univentionstaff 2012-11-19 14:58:37 CET
Die Partitionstypen werden bei profilbasierten Installationen nicht gesetzt.
Dazu fehlt in der Klasse prof_active bei der Action "prof_write" ein
parted -s $DEVICE set $PARTITIONNUMBER $FLAG on
Comment 5 Sönke Schwardt-Krummrich univentionstaff 2012-11-21 14:59:33 CET
Die Partitionstypen werden jetzt bei einer profilbasierten Installation wieder korrekt gesetzt. Changelogeintrag nicht notwendig, da Bug in Zwischenversion aufgetreten ist.
Comment 6 Arvid Requate univentionstaff 2012-11-27 19:36:45 CET
Verified:
 * Konnte ich nicht mehr nachstellen.
Comment 7 Stefan Gohmann univentionstaff 2012-12-12 21:10:56 CET
UCS 3.1-0 has been released: 
 http://forum.univention.de/viewtopic.php?f=54&t=2125

If this error occurs again, please use "Clone This Bug".