mkinitrd -k vmlinuz-2.6.12 -i initrd-2.6.12
http://www.xs4all.nl/~ekonijn/yaird/yaird.html
http://www.debian.org/doc/manuals/reference/ch-kernel.en.html
apt-get install debhelper modutils kernel-package libncurses5-dev fakeroot #apt-get install kernel-source-2.4.18 # use latest version
vi /etc/kernel-pkg.conf # input name and email cd /usr/src
- # build directory
tar --bzip2 -xvf kernel-source-2.4.18.tar.bz2 cd kernel-source-2.4.18 # if this is your kernel source cp /boot/config-2.4.18-386 .config # get current config as default make menuconfig # customize as one wishes make-kpkg clean # must run (per: man make-kpkg)
fakeroot make-kpkg --initrd --revision=10.00.Custom kernel_image modules_image
# modules_image is for pcmcia-cs* etc. $ cd ..
http://llg.cubic.org/docs/bootusb/suse.html
http://llg.cubic.org/docs/bootusb/initrd.html
Then log in as root and edit /etc/sysconfig/kernel. Make sure the following modules are listed in the INITRD_MODULES section: sbp2 usb-storage ehci-hcd uhci-hcd sr_mod sd_mod scsi_mod. Then rebuild your initial ramdisk with mkinitrd and register the new initrd with your boot loader: lilo. Now your system should be able to boot with the usb disk.
Changes in this version:
Keyboard mapping is choosable during each boot. ZIP compression is used, because a bunch of users did not know bzip2. Booting from a USB CD-ROM device is supported now, see the new bootusb parameter. New bootmenu and new reso- lutions. The whole distro is based on the Linux Kernel 2.6.6.
http://lkml.org/cgi-bin/htsearch?words=usb
- bootusb apm=power-off nomce vga=0x317
* RAM disk support (CONFIG_BLK_DEV_RAM). * Initial RAM disk (initrd) support (CONFIG_BLK_DEV_INITRD). * Loop device support (CONFIG_BLK_DEV_LOOP). * fat fs support (CONFIG_FAT_FS). * msdos fs support (CONFIG_MSDOS_FS).
3.3 Creating the Initial Ramdisk Device
The initial ramdisk is most easily created as a loopback device from the start. You will need to do this as root, the commands that you need to execute are listed below, they are assumed to be run from root's home directory (/root).
mkdir /root/initrd dd if=/dev/zero of=initrd.img bs=1k count=1024 mke2fs -i 1024 -b 1024 -m 5 -F -v initrd.img mount initrd.img /root/initrd -t ext2 -o loop cd initrd [create the files] cd .. umount /root/initrd gzip -c -9 initrd.img > initrdgz.img
http://www.informatik.uni-hamburg.de/RZ/software/linux/howto/mini/Loopback-Root-FS-3.html
http://linux-ntfs.sourceforge.net//status.html#ntfsdriver
http://www.sitepromoter.de/howto/en/HOWTO-INDEX/howtos.html
mp3-stick-playliste idee ! http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/189060
Linux/UniversalBoot (last edited 2009-12-11 15:39:44 by DetlevLengsfeld)