| 1 | |
|---|
| 2 | This is a quick and dirty readme for the devkit ISO. |
|---|
| 3 | |
|---|
| 4 | This is an ordinary floppyfw ISO with the addition of two things: |
|---|
| 5 | |
|---|
| 6 | - devkit-3.0.0.tar.bz2 |
|---|
| 7 | - devkit-3.0.0 |
|---|
| 8 | |
|---|
| 9 | Both can be found under /mnt/tmp |
|---|
| 10 | |
|---|
| 11 | You can also chroot into the devkit as usual but, since it's read-only, |
|---|
| 12 | not do much at all. |
|---|
| 13 | |
|---|
| 14 | Well, what you can do is to copy this to a hard drive partition and |
|---|
| 15 | make it bootable from there. |
|---|
| 16 | |
|---|
| 17 | This is how I made the vmware-player version of the devkit: |
|---|
| 18 | |
|---|
| 19 | ( lines starting with # is the commands I use ) |
|---|
| 20 | |
|---|
| 21 | Preparing: |
|---|
| 22 | |
|---|
| 23 | # cd /mnt/tmp/devkit-3.0.0 |
|---|
| 24 | # chroot . |
|---|
| 25 | # ./initroot.sh |
|---|
| 26 | |
|---|
| 27 | Keyboard remapping? |
|---|
| 28 | |
|---|
| 29 | You can change to your keyboard layout by using loadkmap and one of the keymaps |
|---|
| 30 | in /usr/lib/Keymaps/i386/ like: |
|---|
| 31 | |
|---|
| 32 | # loadkmap < /usr/lib/Keymaps/i386/qwerty/no-latin1.bmap |
|---|
| 33 | |
|---|
| 34 | The hard drive: |
|---|
| 35 | |
|---|
| 36 | # fdisk /dev/hda |
|---|
| 37 | |
|---|
| 38 | Then, use fdisk to make whatever you want (OS partition, swap). Remember to set |
|---|
| 39 | the OS partition active. |
|---|
| 40 | |
|---|
| 41 | But, you have to remember that the devkit has support for large files turned off and |
|---|
| 42 | that gives a max partition size of 2G aswell. |
|---|
| 43 | |
|---|
| 44 | # mkswap <SWAP partition> |
|---|
| 45 | # mke2fs <HARD DRIVE partition> |
|---|
| 46 | # mount -t <HARD DRIVE partition> /mnt |
|---|
| 47 | |
|---|
| 48 | Then you have a place to put your devkit and files.. |
|---|
| 49 | |
|---|
| 50 | Then, go to a new virtual console, you need the devkit tarfile now. |
|---|
| 51 | |
|---|
| 52 | # cd /mnt/tmp/devkit-3.0.0/mnt |
|---|
| 53 | # tar -xjpvf ../../devkit-3.0.0.tar.bz2 |
|---|
| 54 | |
|---|
| 55 | Well, you end up with a directory you sure don't need but that can be fixed: |
|---|
| 56 | |
|---|
| 57 | # mv devkit-3.0.0/* . |
|---|
| 58 | # rmdir devkit-3.0.0 |
|---|
| 59 | |
|---|
| 60 | After that, you may want to make it bootable with lilo. Edit /etc/lilo.conf |
|---|
| 61 | (you may want to change /dev/hdc and hdc1 into hda / hda1 or whatever partition you set. If this is a multi boot system, set root to the same as boot) |
|---|
| 62 | |
|---|
| 63 | then, install LILO: |
|---|
| 64 | |
|---|
| 65 | # chroot . |
|---|
| 66 | # ./initroot.sh |
|---|
| 67 | # lilo -v -v |
|---|