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

Bug#488111: marked as done (support for installing GRUB without blocklists on GPT)



Your message dated Wed, 16 Jul 2008 15:02:12 +0000
with message-id <E1KJ8WC-0004oi-GJ@ries.debian.org>
and subject line Bug#488111: fixed in partman-partitioning 60
has caused the Debian Bug report #488111,
regarding support for installing GRUB without blocklists on GPT
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
488111: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=488111
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: partman-partitioning
Version: 60
Severity: wishlist
Tags: patch

This adds support for BIOS Boot Partition flag in partman, which will allow
GRUB to install on GPT drives without use of blocklists.  It requires the user
to manually setup a partition for embedding GRUB in it.

Although blocklists are unreliable, the reason they're currently used is that
GPT doesn't have an implicit post-MBR area that can be used by BIOS-based
bootloaders like it's done on DOS labels (in sector 1 you have the GPT primary
header).  Adding a BIOS Boot Partition provides a functional equivalent to
this area, which GRUB 2 already knows to identify and take advantage of.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-amd64
Locale: LANG=ca_AD.UTF-8, LC_CTYPE=ca_AD.UTF-8 (charmap=UTF-8)
Index: debian/partman-partitioning.templates
===================================================================
--- debian/partman-partitioning.templates	(revision 53798)
+++ debian/partman-partitioning.templates	(working copy)
@@ -221,6 +221,11 @@
 # :sl2:
 _Description: Name:
 
+Template: partman-partitioning/text/biosable
+Type: text
+# :sl2:
+_Description: BIOS boot area:
+
 Template: partman-partitioning/text/bootable
 Type: text
 # :sl2:
Index: active_partition/_numbers
===================================================================
--- active_partition/_numbers	(revision 53798)
+++ active_partition/_numbers	(working copy)
@@ -1,6 +1,7 @@
 10 change_name
 65 toggle_bootable
 66 change_flags
+67 toggle_bios
 80 resize
 83 copy
 87 delete
Index: active_partition/toggle_bios/do_option
===================================================================
--- active_partition/toggle_bios/do_option	(revision 53798)
+++ active_partition/toggle_bios/do_option	(working copy)
@@ -8,22 +8,16 @@
 
 cd $dev
 
-if [ "$task" = bootable ]; then
+if [ "$task" = biosable ]; then
 	open_dialog PARTITION_INFO $id
 	read_line x1 x2 x3 type x5 x6 x7
 	close_dialog
-	if [ "$type" = logical ]; then
-		db_input high partman-partitioning/bootable_logical || true
-		db_go || exit 0
-		db_get partman-partitioning/bootable_logical
-		[ "$RET" = true ] || exit 0
-	fi
 fi
 
 new_flags=''
 open_dialog GET_FLAGS $id
 while { read_line flag; [ "$flag" ]; }; do
-	if [ "$flag" != boot ]; then
+	if [ "$flag" != bios_grub ]; then
 		if [ "$new_flags" ]; then
 			new_flags="$new_flags
 $flag"
@@ -34,9 +28,9 @@
 done
 close_dialog
 
-if [ $task = bootable ]; then
+if [ $task = biosable ]; then
 	new_flags="$new_flags
-boot"
+bios_grub"
 fi
 
 open_dialog SET_FLAGS $id
Index: active_partition/toggle_bios/choices
===================================================================
--- active_partition/toggle_bios/choices	(revision 53798)
+++ active_partition/toggle_bios/choices	(working copy)
@@ -7,33 +7,33 @@
 
 cd $dev
 
-valid_boot=no
+valid_bios=no
 open_dialog VALID_FLAGS $id
 while { read_line flag; [ "$flag" ]; }; do
-	if [ "$flag" = boot ]; then
-		valid_boot=yes
+	if [ "$flag" = bios_grub ]; then
+		valid_bios=yes
 	fi
 done
 close_dialog
 
-[ $valid_boot = yes ] || exit 0
+[ $valid_bios = yes ] || exit 0
 
-bootable=no
+biosable=no
 open_dialog GET_FLAGS $id
 while { read_line flag; [ "$flag" ]; }; do
-	if [ "$flag" = boot ]; then
-		bootable=yes
+	if [ "$flag" = bios_grub ]; then
+		biosable=yes
 	fi
 done
 close_dialog
 
-db_metaget partman-partitioning/text/bootable description
+db_metaget partman-partitioning/text/biosable description
 description=$(stralign -25 "$RET")
 
-if [ $bootable = yes ]; then
+if [ $biosable = yes ]; then
 	db_metaget partman-partitioning/text/on description
-	printf "unbootable\t%s%s\n" "$description" "${RET}"
+	printf "unbiosable\t%s%s\n" "$description" "${RET}"
 else
 	db_metaget partman-partitioning/text/off description
-	printf "bootable\t%s%s\n" "$description" "${RET}"
+	printf "biosable\t%s%s\n" "$description" "${RET}"
 fi

--- End Message ---
--- Begin Message ---
Source: partman-partitioning
Source-Version: 60

We believe that the bug you reported is fixed in the latest version of
partman-partitioning, which is due to be installed in the Debian FTP archive:

partman-partitioning_60.dsc
  to pool/main/p/partman-partitioning/partman-partitioning_60.dsc
partman-partitioning_60.tar.gz
  to pool/main/p/partman-partitioning/partman-partitioning_60.tar.gz
partman-partitioning_60_amd64.udeb
  to pool/main/p/partman-partitioning/partman-partitioning_60_amd64.udeb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 488111@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Frans Pop <fjp@debian.org> (supplier of updated partman-partitioning package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 16 Jul 2008 13:56:27 +0200
Source: partman-partitioning
Binary: partman-partitioning
Architecture: source amd64
Version: 60
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Frans Pop <fjp@debian.org>
Description: 
 partman-partitioning - Partitioning operations for partman (udeb)
Closes: 318228 417973 488111
Changes: 
 partman-partitioning (60) unstable; urgency=low
 .
   [ Colin Watson ]
   * Silence warning in case $id/options already exists.
   * Move 'local' down a line in create_new_partition in order to work
     properly with bash, which initialises local variables without an
     accompanying assignment to empty rather than to any previous value.
   * When creating a new filesystem, set the default mount options to the
     contents of /lib/partman/mountoptions/${fs}_defaults if it exists.
   * Use explicit dummy variables in create_new_partition rather than
     overriding $type, $size, et al.
 .
   [ Jérémy Bobbio ]
   * Disable "resize" and "delete" for partitions on "loop" partition tables.
     This will prevent unusable behaviour on RAID, crypto and LVM partitions.
     (Closes: #318228, #417973)
 .
   [ Robert Millan ]
   * Support for creating a BIOS boot partition in GPT (later used by GRUB).
     (Closes: #488111)
 .
   [ Updated translations ]
   * Belarusian (be.po) by Pavel Piatruk
   * Bulgarian (bg.po) by Damyan Ivanov
   * Czech (cs.po) by Miroslav Kure
   * Dzongkha (dz.po) by Tenzin Dendup
   * Esperanto (eo.po) by Serge Leblanc
   * Basque (eu.po) by Piarres Beobide
   * Finnish (fi.po) by Esko Arajärvi
   * French (fr.po) by Christian Perrier
   * Galician (gl.po) by Jacobo Tarrio
   * Gujarati (gu.po) by Kartik Mistry
   * Italian (it.po) by Milo Casagrande
   * Japanese (ja.po) by Kenshi Muto
   * Korean (ko.po) by Changwoo Ryu
   * Lithuanian (lt.po) by Kęstutis Biliūnas
   * Marathi (mr.po) by Sampada
   * Dutch (nl.po) by Frans Pop
   * Portuguese (Brazil) (pt_BR.po) by Felipe Augusto van de Wiel (faw)
   * Portuguese (pt.po) by Miguel Figueiredo
   * Romanian (ro.po) by Eddy Petrișor
   * Russian (ru.po) by Yuri Kozlov
   * Slovak (sk.po) by Ivan Masár
   * Swedish (sv.po) by Daniel Nylander
   * Thai (th.po) by Theppitak Karoonboonyanan
   * Turkish (tr.po) by Mert Dirik
   * Vietnamese (vi.po) by Clytie Siddall
   * Wolof (wo.po) by Mouhamadou Mamoune Mbacke
Checksums-Sha1: 
 70f1beff058a70b5b839d9148e06a8b070c0aafc 900 partman-partitioning_60.dsc
 2d4c9cc7359c937b57eb428ff5a992637ed45a6c 151951 partman-partitioning_60.tar.gz
 cd78febf14111ffbbfe3f2b197fa26ebc16d5c56 143734 partman-partitioning_60_amd64.udeb
Checksums-Sha256: 
 642e2e59a7d0ecf5d4c51b30400338f6e5a72f4c8126ff12e0c48d83d2a52ce5 900 partman-partitioning_60.dsc
 872328f93e89e1710f8ff3d5cee9d487eebf3e11b2e2c8b4fb699de73d0a3d53 151951 partman-partitioning_60.tar.gz
 3ca4d3dec7a0cf2333171242c6284fd1a2809313ce7621ced4d2a7a746639cbc 143734 partman-partitioning_60_amd64.udeb
Files: 
 cb66edd96b71eb006204d6584c8740fe 900 debian-installer optional partman-partitioning_60.dsc
 00a25616a86ca62d1f81629316b57370 151951 debian-installer optional partman-partitioning_60.tar.gz
 80c3b26cc0e9fa5951708987f8ffc5a3 143734 debian-installer optional partman-partitioning_60_amd64.udeb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkh+DR0ACgkQgm/Kwh6ICoQtEQCgywZ5bI6tqFL6X0OU/czf3buH
SVEAn0vDLTCjTrIQeY/sUo54sILque7t
=ybEQ
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: