Table of Contents
Legal Information...............................................................................................................................................1
1. Copyright and License.........................................................................................................................1
2. Disclaimer............................................................................................................................................1
Introduction.........................................................................................................................................................2
1. About Pocket Linux.............................................................................................................................2
2. Prerequisite Skills................................................................................................................................2
3. Project Format......................................................................................................................................2
4. Help & Support....................................................................................................................................2
5. Feedback..............................................................................................................................................3
Chapter 1. Project Initiation..............................................................................................................................4
1.1. A Brief History of GNU/Linux.........................................................................................................4
1.2. The Goal of Pocket Linux.................................................................................................................4
1.3. Working Within The Constraints......................................................................................................4
Chapter 2. A Simple Prototype..........................................................................................................................6
2.1. Analysis............................................................................................................................................6
2.2. Design...............................................................................................................................................6
2.2.1. Simplification..........................................................................................................................6
2.2.2. Boot Disk.................................................................................................................................6
2.2.3. Root Disk.................................................................................................................................7
2.2.4. CPU Compatibility..................................................................................................................7
2.3. Construction......................................................................................................................................7
2.3.1. Prepare the boot disk media....................................................................................................7
2.3.2. Build the GRUB bootloader....................................................................................................7
2.3.3. Copy the bootloader files to diskette.......................................................................................8
2.3.4. Finish bootloader installation..................................................................................................8
2.3.5. Build the Linux kernel.............................................................................................................8
2.3.6. Copy the kernel to diskette......................................................................................................9
2.3.7. Unmount the boot disk............................................................................................................9
2.3.8. Prepare the root disk media.....................................................................................................9
2.3.9. Build BASH............................................................................................................................9
2.3.10. Copy BASH to the root disk..................................................................................................9
2.3.11. Create device files that BASH needs....................................................................................9
2.3.12. Unmount the root disk...........................................................................................................9
2.4. Implementation...............................................................................................................................10
2.4.1. System startup.......................................................................................................................10
2.4.2. Testing what works...............................................................................................................10
2.4.3. Noting what does not work...................................................................................................10
2.4.4. System shutdown...................................................................................................................11
Chapter 3. Saving Space...................................................................................................................................12
3.1. Analysis..........................................................................................................................................12
3.2. Design.............................................................................................................................................12
3.2.1. Shared Libraries....................................................................................................................12
3.2.2. Stripped Binaries...................................................................................................................12
3.2.3. Compressed Root Filesystem................................................................................................12
Pocket Linux Guide
i