On Tue, Sep 25, 2007 at 12:12:17AM +0200, svn@openbios.org wrote:
This patch makes sure that specifying an initrd in the LAB config file is actually respected (that was a bug).
It also moves the LAB config file to /lab.conf on the first partition. The kexec binary is now also expected to live in /kexec on the first partition.
Both should be a config option of course, as this is heavily dependent on the respective setup you use.
The reason for putting the LAB config file and kexec binary in / on partition 1 rather than /etc and /sbin respectively, is that often (at least in our setups) /boot is the first partition, and is a simple software raid-1 across however many disks there are in the system. The rest of the partitions can be software raid-5, LVM on sw raid, etc. We do things this way because GRUB does not understand software raid nor LVM.
Which could change with GRUB2, I think there were some plans at least.
Not needing MD or LVM drivers in the kernel that lives in rom makes it smaller, which is desirable. Putting a static kexec in / on the first partition means
This may be a stupid question, but is it possible to put kexec in the ROM, too? Yes, it consumes some space, but I'm curious if it would be possible.
Uwe.