Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#16185 - [kernel26] wrong separate /boot partition warning when upgrading kernel

Attached to Project: Arch Linux
Opened by Eric Barrat (nowahn) - Monday, 14 September 2009, 15:17 GMT
Last edited by Roman Kyrylych (Romashka) - Saturday, 03 October 2009, 11:06 GMT
Task Type Feature Request
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas B├Ąchler (brain0)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

pacman warns about a separate /boot partition not being mounted when upgrading the kernel when there is a line in /etc/fstab for /boot which is commented out.
the fix is very easy, here is a patch (against the kernel26-2.6.30.6-1's kernel26.install file):

----------------------------------------------------------------

--- a/kernel26.install 2009-09-14 16:37:33.221607550 +0200
+++ b/kernel26.install 2009-09-14 16:56:56.396063190 +0200
@@ -39,7 +39,7 @@
echo ">>>"
fi

- if grep "/boot" /etc/fstab 2>&1 >/dev/null; then
+ if grep "^[^#]*/boot" /etc/fstab 2>&1 >/dev/null; then
if ! grep "/boot" /etc/mtab 2>&1 >/dev/null; then
echo "WARNING: /boot appears to be a seperate partition but is not mounted"
echo " This is most likely not what you want. Please mount your /boot"

----------------------------------------------------------------

Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:
- add a commented out line referencing /boot in /etc/fstab
- upgrade the kernel
This task depends upon

Closed by  Roman Kyrylych (Romashka)
Saturday, 03 October 2009, 11:06 GMT
Reason for closing:  Implemented
Additional comments about closing:  in SVN
Comment by Eric Barrat (nowahn) - Monday, 14 September 2009, 15:19 GMT
well, the formatting of the patch is lost in the message, I attach it.

Loading...