Debianized Libretto |
Check out the Debian docs for how to replace the kernel on the rescue floppy [2].
Syslinux [3] is helpful for making boot disks.
We use GnuParted for partition tinkering. It's maybe a good idea to leave the pre-installed Windows in place in case the BIOS utility proves useful for something.
Roughly the steps were:
bzImage
file - [Here] is a config file. Also notice the ones posted [here] and [here], and following the Debian docs on replacing the rescue kernel. Also needed are support for an install device (CD-ROM or network). Since we heard the Libretto PCMCIA is tricky, and since the USB system is already going for the floppy, a USB network adapter works nicely.
linux
with bzImage
cd /dev rm fd0 ln -s sda fd0
Here are more detailed instructions for creating the boot floppies:
$ wget http://memebeam.org/free-software/toshiba_misc/config_l1_boot-2.4.17 $ wget http://www.swiss.ai.mit.edu/projects/omnibook/patches/usb-root-floppy-2.4.15.diff $ tar xjf /usr/src/linux-2.4.17.tar.bz2 $ cd linux $ patch -p1 < ../usb-root-floppy-2.4.15.diff $ cp ../config_l1_boot-2.4.17 .config $ make menuconfig $ make dep $ make bzImage $ cd .. $ wget http://ftp.us.debian.org/debian/dists/woody/main/disks-i386/current/images-1.44/rescue.bin $ wget http://ftp.us.debian.org/debian/dists/woody/main/disks-i386/current/images-1.44/root.bin $ mkdir rescue $ su $ losetup /dev/loop0 rescue.bin $ mount /dev/loop0 rescue $ mv linux/arch/i386/boot/bzImage rescue/linux.bin $ rescue/rdev.sh rescue/linux.bin $ umount rescue $ losetup -d /dev/loop0
NOTE: If the line rescue/rdev.sh ...
above failed (because you don't have a /dev/ram0 ), instead you can run rdev
manually with the device numbers: rdev rescue/linux 1,0
Now insert a floppy...
$ dd if=rescue.bin of=/dev/fd0u1440 bs=1024
Insert another floppy...
$ dd if=root.bin of=/dev/fd0u1440 bs=1024
Now boot your Libretto with the rescue disk in a usb floppy drive. Remember to press the F
key (U
for L5) for a floppy boot. At the boot prompt type:
linux usb_root_floppy=/dev/sda
It is possible to boot the L5 from PCMCIA. In Russell's opinion, this is the most straight-forward install method. It's simpler than the USB CD-ROM method or the net boot route. The problem, of course, is getting net without any media access after boot.
So, if you have a Compact Flash card and a CF to PCMCIA adapter, put it in a laptop with the proper modules, grab the 2.88M, dd it to the CF disk, and you've got yourself a bootable woody boot floppy with net support. That's all you need for a net-install. You'll want to upgrade to something besides woody before installing anything much, but it's Debian, so it's easy. Just edit your sources.list file by hand, and include your Debian sources of choice.
For the impatient:
The other nice thing about this method is that you'll have a very small, handy rescue disk in case you wreck your boot block, or some other such disaster. A CF card and PCMCIA adapter are no big deal to keep with the laptop, especially if you're already carrying a digital camera.
NOTE: this will not let you preserve your Windows install. If you need/want Windows, (in Russell's opinion) VMWare is much more practical than dual booting. Your mileage may vary.