Table of Contents

place to log useful random commands

Useful to find the dependency of given executable on other shared libraries.

ldd

Useful information

AndyTim: By the way, if you ever get the ^M problem again. Try following it by a ^J

  1. HTTP-FUSE-KNOPPIX someone has done if before also.
  2. http://paste.etherboot.org/?page=view&id=1239849078 script to create automatic gpxe bootable USB

For Shell script

If you want to terminate execution of a shell script on encounter any error then

#!/bin/bash
set -e

Useful git commands

To create

git clone --bare git://git.kernel.org/pub/scm/boot/syslinux/syslinux.git syslinux.git

The “–bare” means you don't need a working tree, only the internal .git/ files. Since you'll never been working directly in this directoy on rom, it makes sense not to have a working tree.

creating blank repository on remote server

git init --bare

Adding remote head to cloned repository

git remote add master git+ssh://pravin@git.etherboot.org//pub/scm/people/pravin/BKO.git

For pushing the local master repository from local to remote server repository, it can be done with

git push master master

Where you are pushing local branch called “master” onto remote branch called “master”

git submoduling

to register the git submodules

git submodule init
git submodule update

git bisect

This command is quite useful for finding broken commit. Here is the blog which mentions how to use it.

useful commands for qemu

One can use qemu monitor for debugging.
Here is the wikibook for using monitor with qemu.

Notes

I will start with exploring following pages
* http://www.babytux.org/articles/howto/how2netknoppix.php
* http://openlab.jp/oscircular/inetboot/
* http://www.kegel.com/linux/pxe.html
* http://unit.aist.go.jp/itri/knoppix/http-fuse/index-en.html
* com32/lib/syslinux/initramfs*.c
* Linux Terminal server project.. LTSP
* http://www.mjmwired.net/kernel/Documentation/early-userspace/buffer-format.txt
* http://www.mjmwired.net/kernel/Documentation/filesystems/ramfs-rootfs-initramfs.txt
* http://en.gentoo-wiki.com/wiki/Initramfs
* com32/modules/linux.c
* http://git.kernel.org/?p=boot/syslinux/syslinux.git;a=blob;hb=HEAD;f=com32/modules/linux.c

My ToDo list

  1. Get QEMU + PXE working. – Done QemuPxe.
  2. Get QEMU + PXE + HTTP working – Done .
  3. Get QEMU + PXEKnife working. QemuPxeKnife – Done
  4. Get QEMU + PXEKnife + HTTP working. QemuPxeKnifeHTTP – Stuck :-(
  5. Explore the ability of PXE and SYSLinux to dynamically create INITRAMFS.
  6. Get PXE-Knife working over HTTP.
  7. Check how can I use com32 module from inside syslinux to modify inintramfs files.

Questions that I need to find answers