Bug 239522
Summary: | mkinitrd copies only 20 chars from root= | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Doncho Gunchev <dgunchev> |
Component: | mkinitrd | Assignee: | Peter Jones <pjones> |
Status: | CLOSED NOTABUG | QA Contact: | David Lawrence <dkl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-06-01 20:51:54 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Doncho Gunchev
2007-05-09 03:15:25 UTC
My grub.conf starts with: # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel and initrd paths are relative to /boot/, eg. # root (hd0,1) # kernel /vmlinuz-version ro root=/dev/VG12345/LVroot1 # initrd /initrd-version.img and every time new kernel is installed I get: kernel /vmlinuz-version ro root=/dev/VG12345/LVroot (no 1 at the end) The option root=LABEL=/ now works, didn't with one kernel, and I have to modify this line every new kernel (even xen one) gets installed. I'm changing even the comment to see what will happen next time... PS: I have /dev/VG12345/LVroot and it is FC6, while /dev/VG12345/LVroot1 is F7. Ops. I searched in /etc and I think I found the problem. When one of the development kernels did not boot I changed all LABEL=/ with /dev/VG (and typed LVroot instead of LVroot1 for '/')... After that I have forgotten to revert /etc/fstab, and that's from where new kernels have been getting their root= option. My '/' entry in fstab was wrong (LVroot, not LVroot1), but that seems to make no difference anywhere else ?!? Even mount shows LVroot, but the real contents is from LVroot1 ?!? cat /proc/mounts is correct of course. It is clear that the problem is not what I thought, but have no idea what to do with this bug report now. In short, my fault - not a bug. |