This is an old revision of the document!
====== week - 6 ====== Targets decided for this week are * Add fedora live CD to BKO * Improve the user facing page of BKO * Improve the boot time menu ===== 29 - 30 July ===== - Started to work on Fedora live CD - Collected all basic stuff needed - Live CD - Initrd and kernel - Kernel modules for networking - It has taken unreasonably long time as fedora_11 lives cd was exceptionally slow on qemu for me, I couldn't get needed kernel modules from inside CD. - I decided to migrate to kvm for better performance. but I was getting error ''could not open /dev/kvm: No such file or directory'' - After breaking my head around for some time, it seems my brand new laptop does not have support for virtualization :-( - For time being, I am using virtual-box, it works fast enough, but only problem with virtualBox is, virtual machine does not pick up the IP address using DHCP as it happens with qemu '' -net user'' option. This means that my all gpxe scripts which do use dhcp by default will not work any more :-( - I have not yet fixed this problem of dhcp support in virtualbox, I have postponed the solution finding for this problem for time being. ===== 1 - 2 July ===== - Wrote script which can generate new modified initramfs automatically with everything added from original initramfs. - Now, actual work of understanding /init script and understanding how they use iso image as root starts. - Done with modifications in /sbin/real-init which will (hopefully) mount the httpfs partition over root. - Initial runs were not very promising, when tried to boot this modified fedora live cd over BKO using qemu, it dropped me in rescue shell :!: - There were few error messages in boot sequence - ''mount: only root can do that'' - ''getKernelCmdLine: failed to open /proc/cmdline: No such file or directory'' - ''creating initial /dev : only root can do that'' ===== 3 July ===== - Pin-pointed the cause - It started giving errors in mounting kernel filesystems like ''/proc'' and dropped me to emergency shell - when I tried command ''mount -t proc proc /proc'' It gave error saying ''mount: only root can do that'' - But as this command is executed from within initrd, it is executed as root