bugfixes for the location of kernel and initrd as observed on recent f23
[bootmanager.git] / btrfs-f14.md
1 # Situation
2
3 On PLE we havea bunch of fedora14 BootCDs that seem to be able to perform installation of more recent fedoras on the hard drive, except for the version of btrfs-progs that ships on the BootCDs (0.
4 It would be nice to be more confident in the version of btrfs used for partitioning a disk when upgrading a node (in fact we need to reinstall because a vserver-based node only has ext2 filesystems)
5
6 # Proposal 
7 * Trying to install a binary from from more recent fedoras won't work as is because of the dependency to glibc6
8
9 * Idea is to rebuild a binary rpm that can be downloaded frmo the bootCD so that we use a more robust set of btrfs util tools.
10
11
12 # Build details
13
14 * Used a random f14 build VM (`2015-06-25--f14 x86_64`)
15
16 * started from the source rpm the fedora20 `btrfs-progs` (trying to take something not too recent either)
17
18     http://fedora.mirrors.ovh.net/linux/updates/20/SRPMS/btrfs-progs-4.0-1.fc20.src.rpm
19
20 * manually installed missing deps
21
22     yum -y install libuuid-devel libacl-devel libblkid-devel lzo-devel
23     
24 * just ran this
25
26 #
27     rpmbuild --rebuild http://fedora.mirrors.ovh.net/linux/updates/20/SRPMS/btrfs-progs-4.0-1.fc20.src.rpm
28     cd /root/rpmbuild/RPMS/x86_64
29     [root@2015-06-25--f14 x86_64]# ls -l
30     total 5176
31     -rw-r--r-- 1 root root  529920 Jun 25 14:49 btrfs-progs-4.0-1.fc14.x86_64.rpm
32     -rw-r--r-- 1 root root 4718860 Jun 25 14:49 btrfs-progs-debuginfo-4.0-1.fc14.x86_64.rpm
33     -rw-r--r-- 1 root root   42916 Jun 25 14:49 btrfs-progs-devel-4.0-1.fc14.x86_64.rpm
34     
35 # showstopper
36
37 This rpm looks nice, it does not seem to have any odd dependency 
38 (although this needs more confirmation in the particular context of a f14 bootCD)
39
40 I have not been able to horseshoe it into the BootCD environment though 
41 because in this context **we have no extra space in the ramfs**, not even as small as 4Mb !!
42
43 Given that a f14 bootCD does seem fit to install a f22 hard drive, 
44 I will assume this is no big deal and proceed as-is;
45
46 For the record what I see right now in my builds is the f14 bootCD has
47
48     # btrfs --version 
49     Btrfs Btrfs v0.19
50
51