Red Hat Bugzilla – Bug 181016
Nash's showlabels disappeared - changes in grub.conf
Last modified: 2007-11-30 17:11:23 EST
Description of problem:
The kernel line of my grub.conf changed at memtest update with using latest
mkinitrd, because showlabels disappeared:
--- /etc/grub.conf.rsc 2005-12-24 14:44:50.000000000 +0100
+++ /etc/grub.conf 2006-02-11 18:38:30.000000000 +0100
@@ -16,4 +16,4 @@
title Memtest86+ (1.65)
- kernel /memtest86+-1.65 ro root=LABEL=/
+ kernel /memtest86+-1.65 ro root=/dev/cciss/c0d0p2
Version-Release number of selected component (if applicable):
echo "showlabels" | /sbin/nash --force --quiet
No showlabels, but /sbin/new-kernel-pkg and /sbin/new-memtest-pkg are using
I dunno what's the best solution for, but a fix for getting working label
support again would be nice ;-)
[19:00:20] < rsc> pjones: is there a special reason for removing "showlabels"
command from nash in mkinitrd, but leaving it in /sbin/new-kernel-pkg and /sbin/
[19:01:43] < pjones> rsc: eeek, an awful oversight
[19:01:46] < rsc> pjones: is LABEL getting obsolete for mkinitrd?
[19:02:08] < rsc> pjones: btw, man page also contains showlabels ;)
[19:02:34] < pjones> no.
[19:02:45] < pjones> yeah, the man page is horribly wrong about many things.
[19:03:55] < rsc> is the following change correct?
[19:03:55] < rsc> - kernel /memtest86+-1.65 ro root=LABEL=/
[19:03:55] < rsc> + kernel /memtest86+-1.65 ro root=/dev/cciss/c0d0p2
[19:04:06] < pjones> hrm. show labels should actually be easy to put back now.
[19:04:22] < rsc> while updating from mkinitrd .17 to .21
[19:04:28] < pjones> rsc: change to... grub.conf ?
[19:04:33] < rsc> yes
[19:04:47] < pjones> it should work, but then both ways should work.
[19:05:08] * pjones wonders if libblkid needs to be fixed to grok cciss/sx8/etc-
[19:05:51] < rsc> pjones: should I open a bug report?
[19:05:58] < pjones> yes.
[19:06:00] < pjones> thank you ;)
[19:06:23] < rsc> pjones: against what? mkinitrd or e2fsprogs?
[19:06:53] < pjones> mkinitrd will be fine
[19:07:10] * pjones will most likely get to fix it either way ;)
[19:10:34] < pjones> rsc: you don't happen to know off the top of your head when
showlabels dissapeared, do you?
[19:11:35] < pjones> nm, found it.
[19:12:43] < rsc> pjones: .17 to .21