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

Bug#637792: marked as done (Creates boot.cfg in wrong directory when using separate /boot partition)



Your message dated Fri, 23 Sep 2011 09:32:19 +0000
with message-id <E1R727H-0003ye-6R@franck.debian.org>
and subject line Bug#637792: fixed in grub-installer 1.68
has caused the Debian Bug report #637792,
regarding Creates boot.cfg in wrong directory when using separate /boot partition
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.)


-- 
637792: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=637792
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: grub-installer
Version: 1.67

Hi,

When I install on a Yeeloong using a separate /boot partition, PMON's
boot.cfg is created in the root directory instead of in /boot.  PMON
doesn't find it and this renders the system unbootable.  The attached
patch should fix the problem.

-- 
Matt Kraai
https://ftbfs.org/kraai
>From 5da63f442035a5b910e8b0d6719fb6bdeae4e156 Mon Sep 17 00:00:00 2001
From: Matt Kraai <kraai@ftbfs.org>
Date: Sun, 14 Aug 2011 07:33:29 -0700
Subject: [PATCH] Write boot.cfg to /boot if using a separate /boot partition

---
 debian/changelog |    6 ++++++
 grub-installer   |    4 +++-
 2 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 5a7f3c3..29b9db4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+grub-installer (1.68) UNRELEASED; urgency=low
+
+  * Write boot.cfg to /boot if using a separate /boot partition.
+
+ -- Matt Kraai <kraai@debian.org>  Sun, 14 Aug 2011 07:31:43 -0700
+
 grub-installer (1.67) unstable; urgency=low
 
   * Team upload
diff --git a/grub-installer b/grub-installer
index 7f01a92..588af3c 100755
--- a/grub-installer
+++ b/grub-installer
@@ -1110,10 +1110,12 @@ case $ARCH in
 		fi
 		if [ "$rootfs" = "$bootfs" ]; then
 			pmon_grub_path=/boot/grub.elf
+			pmon_boot_cfg_path=$ROOT/boot.cfg
 		else
 			pmon_grub_path=/grub.elf
+			pmon_boot_cfg_path=$ROOT/boot/boot.cfg
 		fi
-		cat > $ROOT/boot.cfg <<EOF
+		cat > $pmon_boot_cfg_path <<EOF
 default 0
 timeout 0
 showmenu 0
-- 
1.7.5.4


--- End Message ---
--- Begin Message ---
Source: grub-installer
Source-Version: 1.68

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

grub-installer_1.68.dsc
  to main/g/grub-installer/grub-installer_1.68.dsc
grub-installer_1.68.tar.gz
  to main/g/grub-installer/grub-installer_1.68.tar.gz
grub-installer_1.68_i386.udeb
  to main/g/grub-installer/grub-installer_1.68_i386.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 637792@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <cjwatson@debian.org> (supplier of updated grub-installer 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: SHA256

Format: 1.8
Date: Fri, 23 Sep 2011 10:19:09 +0100
Source: grub-installer
Binary: grub-installer
Architecture: source i386
Version: 1.68
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Colin Watson <cjwatson@debian.org>
Description: 
 grub-installer - Install GRUB on a hard disk (udeb)
Closes: 637792
Changes: 
 grub-installer (1.68) unstable; urgency=low
 .
   [ Matt Kraai ]
   * Write boot.cfg to /boot if using a separate /boot partition (closes:
     #637792).
 .
   [ Colin Watson ]
   * Restore the ability to choose to install GRUB Legacy by preseeding
     (grub-installer/grub2_instead_of_grub_legacy=false), removed in 1.60 as
     a side-effect of removing a warning message.  This is still useful e.g.
     when installing inside Xen.
 .
   [ Updated translations ]
   * Belarusian (be.po) by Viktar Siarheichyk
   * Bulgarian (bg.po) by Damyan Ivanov
   * Bosnian (bs.po) by Armin Besirovic
   * German (de.po) by Holger Wansing
   * Esperanto (eo.po) by Felipe Castro
   * Spanish (es.po) by Javier Fernández-Sanguino
   * Hindi (hi.po) by Kumar Appaiah
   * Italian (it.po) by Milo Casagrande
   * Japanese (ja.po) by Kenshi Muto
   * Korean (ko.po) by Changwoo Ryu
   * Dutch (nl.po) by Jeroen Schot
   * Panjabi (pa.po) by A S Alam
   * Polish (pl.po) by Marcin Owsiany
   * Portuguese (pt.po) by Miguel Figueiredo
   * Romanian (ro.po) by Ioan Eugen Stan
   * Russian (ru.po) by Yuri Kozlov
   * Sinhala (si.po) by Danishka Navin
   * Tamil (ta.po) by Dr.T.Vasudevan
   * Thai (th.po) by Theppitak Karoonboonyanan
   * Turkish (tr.po) by Mert Dirik
   * Ukrainian (uk.po) by Borys Yanovych
   * Simplified Chinese (zh_CN.po) by YunQiang Su
Checksums-Sha1: 
 73f54623f79e1b81b240dc0bd82a3088f334f889 1781 grub-installer_1.68.dsc
 3c708f08bedd47558933c6198b02c1adf0ddbe49 194102 grub-installer_1.68.tar.gz
 a4a5690bd02198c2b1ba4b6e3b16d68280a0f092 163814 grub-installer_1.68_i386.udeb
Checksums-Sha256: 
 116a44b88c5a2a66a1adaab9f34f52a2af5d0a1ccf5cf751c3edd1ed67bee883 1781 grub-installer_1.68.dsc
 87a9de7f4722626ed9a93605c3698f9a4216516374e49869d4f4da483e288fd1 194102 grub-installer_1.68.tar.gz
 1c467b57642bc51f1a8b92276ecf009d7df2d721cfeecb7ba0cc997ced59238a 163814 grub-installer_1.68_i386.udeb
Files: 
 a9e88012df536397395646de91805bfe 1781 debian-installer standard grub-installer_1.68.dsc
 b261e1e7b4fcb29f6bf2d2908362feb7 194102 debian-installer standard grub-installer_1.68.tar.gz
 56ca85fb523c2e965b8621bb89eb0e71 163814 debian-installer standard grub-installer_1.68_i386.udeb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Colin Watson <cjwatson@debian.org> -- Debian developer

iQIVAwUBTnxPgTk1h9l9hlALAQiuSA//WIg0eZTA3HLjG8Q8LuDmWH15fbqfZf2L
ciPPGTOyvsuvFrg42uP7g1/f+Eh0/XHpHJuYx+xuS9i7vpU8ED8vFIYkYioL/caw
xPonXa8V+7U8iCCc9VAfSORVOOEftu9M5Z27WSsO/hMnfajaglZ4ecy00yCAmIlL
AEdqhmR5BWo5/Ubq1aYjs1JuYI3y7BlUmKl1frXn3WAGeipyERwBiz591PflY5Sv
YrFaG5Id9NNpQxq7t/j1lnxAKIQCyYUsmF9iS/fiAqsuLeFV+FgdzDHTaP16Hs9r
ZOLh+9sZU/ERxVI5ld6zE+T95pp1MWT1pulQVWvYdtu+aEuC7Ov7jwmtEsLD5JjL
iEE0+F5GVMKXcGemPCDQPcPPgSr+IMOn9IP7176mBqi9WW58IllSedvBaiLjo75y
O+W3aJugeluIzeVtrNcyZuRl+FxDxYpwL5QaOZduezdft28RwcpvvY4xetx12u2f
3CnMtxmlzAn888HqOrfUJrH+fqxKCvcCC7Ca7c60znwo9ilaaOdGd2VcS6EsquPN
e5dqWJlsikLFi579Fz+tVe6bUqWpGmJ/ZJGslz5WpYWvTdhysuTheD/1mkd6NFNE
+Gvgk4VFxnm0lyF8uTYnlOlXxXR83N+kBVEgI0yvVxSgHrpVnq6dF/xN7+fTiEuu
Ed6Vioqywko=
=FW77
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: