bored?

Gene Czarcinski gczarcinski at gmail.com
Tue May 6 20:19:44 UTC 2014


A little bored because the alpha of Fedora 21 is not out yet?  Well, do 
I have something for you.  You can help me test grubby updated to 
support /boot on a btrfs subvolume, btrfs volume, or as a directory on 
rootfs on a btrfs subvolume.  Naturally testing on other filesystems is 
needed too to make sure I did not break anything which was working.

See: https://bugzilla.redhat.com/show_bug.cgi?id=1094489

To make it a little easier to do this testing, I have created updated 
RPMs and anaconda update.img files which re-enable btrfs (and LVMlv 
since it also works with the new grub2-2.02).  These files are all 
available on ftp://czarc.net/pub

1. The patches are in ftp://czarc.net/pub/patches/anaconda and 
ftp://czarc.net/pub/patches/grubby/

2. The anaconda update images are in ftp://czarc.net/pub/updates where 
the 20.25.15 file is for Fedora  20 and the 21.34 and 21.35 files are 
for recent boot.iso images for rawhide.  There is a README for each 
update which shows the git log enties applied.  This updates work with 
both x86_64 and i386/i686 systems.  See below!!

3.  The grubby RPMs are available under the 
ftp://czarc.net/pub/RPMS/{SRPMS,i386,x86_64} ... for grubby, there are 
debug (with DEBUG enabled) and non-debug versions.  The debug version 
will generate lots of messages when grubby is run (the kernel is 
updated) so that we can determinate what is happening or not happening.  
This is not a repository!  All RPMs are signed with 
ftp://czarc.net/pub/rpm-gene-at-czarc-dot-net.asc

So, here is what you need to do:
-------------------- for rawhide -----------------------------------
To test on an existing system simply update grubby with one of my RPMs.  
If the system is Fedora 20 and you need support for booting of btrfs, 
then you will also need to update the grub2 to 2.02 (see 
ftp://czarc.net/pub/RPMS/{i386,x86_64}).  Also, be sure to update 
os-prober to 1.58-5

To test installing rawhide, use boot.iso to do a network install. You 
will need to put the grubby rpm in a local repository and add that 
repository to the list anaconda will use.

I have had success doing gui installs this way.  I have yet to have a 
kickstart install work for rawhide.  I also cannot get fedup to work to 
upgrade from Fedora 20 to rawhide.  However, a yum distro-sync does work.

I will attempt to keep up with anaconda updates and update the update 
images.

------------------for Fedora 20 -----------------------------------

To test with Fedora 20, you will need to update both grubby and grub2* 
with the RPMs rebuilt on Fedora 20 located here: 
ftp://czarc.net/pub/RPMS/{i386,x86_64}

For an already installed/running system, simply install the RPMs. 
Although there is a non-debug grubby rpm for fc20, I recommend using the 
debug version.

To do a new install (especially with /boot on a btrfs subvol), you will 
need the grubby and grub2* RPMs installed on a local repository and when 
you boot the install iso, you will to specify updates= and point to the 
location of updates-btrfs-20.25.15-1a.img

Under Fedora 20 both gui and kickstart work and you get the bonus 
feature of my "--reclaim" for the btrfs command in kickstart ... allows 
you to specify --reclaim on a subvol specification to destroy the 
specified subvol if it exists and then (re)create it with the same name 
... this functionality has been available in a gui install but not 
kickstart.

So, what happens if something does not work?  That is, regretting 
reading this message.

First of all, I hope you have the debug version of the package installed 
because I would like you to send me all that extrat messages that grubby 
put out.  You can with send it to me or attach it to the bugzilla report.

I am especially interested in grubby running on hardware other than 
x86_64 or x86_32.

Any questions?

For anyone taking up my challenge, many thanks in advance!

Gene

--

Besides running on my real hardware, here are some of the virtual tests run:
*_Pass/Fail_* 	*_System_* 	*_Comments_*
pass 	btrfs6 	/boot on ext4 partition, / on btrfs subvol
pass 	btrfs1 	/ on btrfs volume (/boot is a directory)
pass 	btrfs7 	Multi-device btrfs volume, /boot & / on btrfs subvol
pass 	btrfs5a 	Multi-device btrfs volume, / & /boot on btrfs subvol
pass 	btrfs9 	/ on btrfs subvol with /boot as a directory
pass 	grubby1 	/ on ext4 single partition with /boot as a directory
pass 	grubby2 	/ & /boot on ext4 partitions
pass 	grubby4 	/ & /home on btrfs subvolumes, /boot on ext4 partition
pass 	lvm1e 	/ on XFS LVMlv and /boot on EXT2 LVMlv
pass 	lvm1f 	/ on single XFS LVMlv
pass 	rawhide1 	/ on ext4 LVMlv and /boot on ext4 partition
pass 	rawhide2 	/ & /home on btrfs subvol; /boot on ext4 partition
pass 	rawhide3 	Boot.iso with anaconda 8.34-1 updates.img: / & /home & 
/boot on btrfs subvols
pass 	rawhide8 	yum distro-sync: /, /home & /boot on btrfs subvol
pass 	rawhide9 	yum distro-sync: Multi-device btrfs volume, /boot & / on 
btrfs subvols
pass 	rawhide5(i686) 	boot.iso-i386-21.35-1 + updates.img;gui install; / 
& /boot & /home on btrfs subvols




More information about the test mailing list