?TableOfContents
Translations: [:DebianEeePCFrench/HowTo/Install:French] [:DebianEeePCGerman/HowTo/Install:German]
Introduction
The limited storage capability of the eeepc does not lend itself to keep multiple os versions on the internal flash drive. A SD or SDHC card (which can stay forever in the built in card reader) or and usb stick can be a very convenient way to install another system and extended storage. This wiki page gives you a recipee how to do that. Use at your own risk.
Drawbacks
A system on an external flash medium can be convenient and very usable. There are some drawbacks, of course.
- A system on a usb stick or SDHC card will be slower than on internal flash. Speed depends on internal eee hardware and the type of medium you use.
- There is a real gotcha if you want to use suspend on such a system. Suspending can do damage to a filesystem mounted on on a usb device. This affects both usb sticks and the built in card reader. So *dont* use suspend on such a system. This might change in the future, but don´t count on it.
Installation overview
- The installation process is pretty much straightforward. The main difference to a normal installation is caused by the fact, that bootloader configuration (and sometimes /etc/fstab)are faulty and must be corrected. Device names do move around in a very confusing way. So here is a very detailed recipe, to avoid confusion and to show how to fix the faulty bits after running the installer. Sorry if it sounds overly complicated.
- Precautions should be taken that you will not suspend such a system.
Installing on external flash drives
- Put the stick with the installer in the USB port on the left side.
Press <esc> while booting and select the stick to boot from.
- Now put the SD or SDHC card into the built in reader. If you want to install to a usb stick put that one in the second usb port on the right side, the one that is closer to the display.
- Start installation until partitioning. Select manual partitioning.
- Spot the device you want to install to: The internal card reader is easy to find, the stick might show a brand label, size or something you can tell which stick is which. If you have no clue, then assume the installer is on /dev/sdb1 and the target stick on /dev/sdc1 (if you did put it in the USB ports I told you to).
- Write the device down (It's very likely to be /dev/sdc1 with the current installer).
- On a pristine stick or card you will see one fat partition, select and delete it.
- Now you will see free space. Select that, and create a new primary partition. Accept the default size to use the whole medium.
- Filesystem default ext3 is fine. Select mount option noatime
- I would set a volume label like eeeSDcard or eeeStick.
- Set the bootable flag
- Select 'Done setting up partition' and 'Finish partitioning and write changes to disk'.
- The installer thinks you should have a swap partition, but you can savely continue without. (There will be more warnings about missing swap).
- Now let the installer do it´s thing until it wants to write the GRUB bootloader. Stop now. Do *not* install the GRUB bootloader in the mbr.
To install the bootloader on your external media you have to give the name of the device like the installer sees it during installation. So install it to the device (without partition number) you wrote down in the partitioner. Probably it will be /dev/sdc (*NOT* /dev/sdc1). You can double check this by switching to console 2 (press <ctr> + <alt> + <F2> and then <ret>) and use the mount command. It's the device where /target is mounted (without partition number).
You install GRUB on a device like /dev/sdc but this will show up as /dev/sdb when the system gets booted. Don't get confused, it *is* confusing.
- Continue until the installer wants to reboot, but don't do that yet. We must correct faulty disk and device names in /boot/grub/menu.lst and /etc/fstab first. You can do that inside the installer now, or you can decide to let the installer finish and mount the media somewhere else to fix things there before rebooting the eeepc. Next steps show how to do it from the installer.
Switch to vt2 (<ctr> + <alt> + <F2>) 1.The files show up mounted under /target. Make a security copy, something like
{{ cp -a /target/boot/grub/menu.lst /target/boot/grub/menu.lst.INSTALLER.back cp -a /target/etc/fstab /target/etc/fstab.INSTALLER.back }} {{ 1. Edit /etc/fstab now. }}
nano
Booting external media
Common case