Bug 565877

Summary: grub.conf setup incorrectly after default + encryption partitioning install
Product: [Fedora] Fedora Reporter: James Laska <jlaska>
Component: anacondaAssignee: Hans de Goede <hdegoede>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: harald, jonathan, jturner, vanmeeuwen+fedora
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: 2010-02-16 19:28:34 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:
Bug Depends On:    
Bug Blocks: 538273    
Attachments:
Description Flags
log files (/tmp/*log, /mnt/sysimage/boot/grub/grub.conf) none

Description James Laska 2010-02-16 15:53:34 UTC
Created attachment 394572 [details]
log files (/tmp/*log, /mnt/sysimage/boot/grub/grub.conf)

Description of problem:


Version-Release number of selected component (if applicable):
 * anaconda-13.26 (plus http://jlaska.fedorapeople.org/updates-f13-alpha-tc2.img)
 * dracut-004-5.fc13.noarch

How reproducible:

 * Seems everytime

Steps to Reproduce:
1. Using the above updates.img, follow the instructions at https://fedoraproject.org/wiki/QA:Testcase_Anaconda_autopart_(encrypted)_install
  
Actual results:

The grub.conf created does not boot

sh-4.1# grep -A3 Fedora /mnt/sysimage/etc/grub.conf 
title Fedora (2.6.33-0.44.rc8.git0.fc13.i686.PAE)
	root (hd0,0)
	kernel /vmlinuz-2.6.33-0.44.rc8.git0.fc13.i686.PAE ro root=/dev/mapper/vg_test139-lv_root r d _ L U K S _ U U I D = l u k s - v 2 K J Q E - A 1 j H - x O 6 K - 7 u 1 H - q m L O - s g P V - c J 5 q F q rd_LUKS_UUID=luks-v2KJQE-A1jH-xO6K-7u1H-qmLO-sgPV-cJ5qFq r d _ L U K S _ U U I D = l u k s - 3 0 8 j 0 y - 2 x d E - M 4 6 X - o b 5 u - A 8 N z - u 3 l A - W B i 0 M k rd_LUKS_UUID=luks-308j0y-2xdE-M46X-ob5u-A8Nz-u3lA-WBi0Mk r d _ L U K S _ U U I D = l u k s - 0 k 8 M P A - x F w U - V p p q - T B 7 b - j 5 A S - k 7 6 R - m I f D G t rd_LUKS_UUID=luks-0k8MPA-xFwU-Vppq-TB7b-j5AS-k76R-mIfDGt r d _ L U K S _ U U I D = l u k s - r v M k R j - L X M s - p P K p - G v S W - J N r 1 - 8 M W 0 - 0 A u 0 i Y rd_LUKS_UUID=luks-rvMkRj-LXMs-pPKp-GvSW-JNr1-8MW0-0Au0iY rd_LVM_LV=vg_test139/lv_root rd_LVM_LV=vg_test139/lv_swap rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us console=ttyS0 rhgb quiet
	initrd /initramfs-2.6.33-0.44.rc8.git0.fc13.i686.PAE.img

Expected results:

sh-4.1# grep -A3 Fedora /mnt/sysimage/etc/grub.conf 
title Fedora (2.6.33-0.44.rc8.git0.fc13.i686.PAE)
	root (hd0,0)
	kernel /vmlinuz-2.6.33-0.44.rc8.git0.fc13.i686.PAE ro root=/dev/mapper/vg_test139-lv_root rd_LUKS_UUID=luks-v2KJQE-A1jH-xO6K-7u1H-qmLO-sgPV-cJ5qFq rd_LUKS_UUID=luks-308j0y-2xdE-M46X-ob5u-A8Nz-u3lA-WBi0Mk rd_LUKS_UUID=luks-0k8MPA-xFwU-Vppq-TB7b-j5AS-k76R-mIfDGt rd_LUKS_UUID=luks-rvMkRj-LXMs-pPKp-GvSW-JNr1-8MW0-0Au0iY rd_LVM_LV=vg_test139/lv_root rd_LVM_LV=vg_test139/lv_swap rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us console=ttyS0 rhgb quiet
	initrd /initramfs-2.6.33-0.44.rc8.git0.fc13.i686.PAE.img


Additional info:

* See attached log files from anaconda

Comment 1 Hans de Goede 2010-02-16 19:28:34 UTC

*** This bug has been marked as a duplicate of bug 561373 ***

Comment 2 Hans de Goede 2010-02-16 19:30:23 UTC
Ok, so bug 561373 is a RHEL-6 bug and thus not viewable by Fedora users, sorry. Anyways this is fixed by this commit, which will be in the next anaconda build for rawhide:
http://git.fedorahosted.org/git/?p=anaconda.git;a=commitdiff;h=749c3954a5fd21c8c745f1d22669c11509a011a8