Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| en:guides:sdcard [2010/04/15 05:30] – created monz | en:guides:sdcard [2010/08/22 22:14] (current) – linea | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====Installing SliTaz to a MMC/ | + | ====== Installing SliTaz to a MMC/ |
| SliTaz can be installed to a MMC/SD flash-memory card (the kind used in digital cameras) in either of two ways: in a LiveUSB version as used on a " | SliTaz can be installed to a MMC/SD flash-memory card (the kind used in digital cameras) in either of two ways: in a LiveUSB version as used on a " | ||
| - | ====LiveUSB-type installation==== | + | ===== LiveUSB-type installation |
| - | A memory-stick uses NAND flash memory, which eventually wears out after about 100,000 read/write cycles. SliTaz tries to minimize this wear, and thus prolong the life of the memory-stick, | + | A memory-stick uses NAND flash memory which eventually wears out after about 100,000 read/write cycles. SliTaz tries to minimize this wear, and thus prolong the life of the memory-stick, |
| < | < | ||
| # tazusb writefs [compression] | # tazusb writefs [compression] | ||
| </ | </ | ||
| - | where " | + | Where " |
| - | ====Regular " | + | ===== Regular " |
| The other option is to treat the MMC/SD card as if it were a real hard-drive, and simply use: | The other option is to treat the MMC/SD card as if it were a real hard-drive, and simply use: | ||
| < | < | ||
| Line 20: | Line 20: | ||
| to do the actual installation. Be sure to also allow the installer to install GRUB onto the card, so that you can boot from it the normal way, same as you would from a regular hard-drive. | to do the actual installation. Be sure to also allow the installer to install GRUB onto the card, so that you can boot from it the normal way, same as you would from a regular hard-drive. | ||
| - | ====Example as used on my own Asus Eee-PC==== | + | ===== Example as used on my own Asus Eee-PC |
| - | The SliTaz installation which i put onto a MMC/SD-card (16 GB) was for my Asus Eee-PC 701, leaving the Eee's original Xandrox Linux installation intact on its SSD (solid-state drive), and keeping the MMC/SD-card with SliTaz always in the card-reader slot. The Eee's BIOS needed to be changed to allow the SD-card to be the first boot device, so that the machine would boot into GRUB before anything else. The / | + | The SliTaz installation which I put onto a MMC/SD-card (16 GB) was for my Asus Eee-PC 701, leaving the Eee's original Xandrox Linux installation intact on its SSD (solid-state drive), and keeping the MMC/SD-card with SliTaz always in the card-reader slot. The Eee's BIOS needed to be changed to allow the SD-card to be the first boot device, so that the machine would boot into GRUB before anything else. The / |
| - | <code menu.lst> | + | <file> |
| # / | # / | ||
| # | # | ||
| Line 35: | Line 35: | ||
| color yellow/ | color yellow/ | ||
| - | # to boot newest slitaz from : /dev/sdb5 | + | # To boot newest slitaz from : /dev/sdb5 |
| # | # | ||
| title SliTaz GNU/Linux (cooking - kernel 2.6.30.6) | title SliTaz GNU/Linux (cooking - kernel 2.6.30.6) | ||
| Line 44: | Line 44: | ||
| # GRUB boots into SliTaz with no problem using only the root (hd0,4) command | # GRUB boots into SliTaz with no problem using only the root (hd0,4) command | ||
| - | # to boot Asus eee pc Xandros | + | # To boot Asus eee pc Xandros |
| # | # | ||
| title Xandros (kernel vmlinuz-2.6.21.4-eeepc) | title Xandros (kernel vmlinuz-2.6.21.4-eeepc) | ||
| Line 50: | Line 50: | ||
| kernel / | kernel / | ||
| initrd / | initrd / | ||
| - | </code> | + | </file> |
| - | The first 3 partitions on my MMC/SD-card were originally used as storage for various parts of the Eee's Xandros system, with the 4th partition formatted as an Extended Partition and further divided into two, with Partition 5 used for the SliTaz install and Partition 6 for Linux-Swap. But because this SliTaz installation has become my main one for the Eee, as i added more packages | + | The first 3 partitions on my MMC/SD-card were originally used as storage for various parts of the Eee's Xandros system, with the 4th partition formatted as an Extended Partition and further divided into two, with Partition 5 used for the SliTaz install and Partition 6 for Linux-Swap. But because this SliTaz installation has become my main one for the Eee, as I added more packages |
| < | < | ||
| $ df -h | $ df -h | ||
| Line 66: | Line 66: | ||
| The / | The / | ||
| - | The Eee-PC was already set-up to recognize and read the MMC/ | + | The Eee-PC was already set-up to recognize and read the MMC/ |
| < | < | ||
| # tazpkg get-install linux-mmc | # tazpkg get-install linux-mmc | ||
| Line 74: | Line 74: | ||
| # modprobe mmc_block | # modprobe mmc_block | ||
| </ | </ | ||
| - | After that, SliTaz was able to read the contents of the MMC/ | + | After that, SliTaz was able to read the contents of the MMC/ |
| < | < | ||
| # lsmod | # lsmod | ||
| Line 80: | Line 80: | ||
| does not show mmc_block, then that module must be loaded manually. To have SliTaz always load it at boot-up, simply add it to the LOAD_MODULES line of / | does not show mmc_block, then that module must be loaded manually. To have SliTaz always load it at boot-up, simply add it to the LOAD_MODULES line of / | ||
| + | ---- | ||
| + | \\ | ||
| + | ^ Page Review Section | ||
| + | |Quality| Good | | ||
| + | |Review| Minor Updates | ||
| + | |Priority| Medium | | ||
| + | |Problems| add a [[http:// | ||
| + | |::: | OR add a [[http:// | ||
| + | |How to Improve| Suggest briefly| | ||
| + | |::: | | | ||
| + | |||
| + | \\ | ||
| + | ---- | ||