AUTHOR: Sylvie Migneault DATE: 2008-01-08 LICENSE: GNU Free Documentation License Version 1.2 http://www.gnu.org/licenses/fdl.html SYNOPSIS: ZenEee-Install-HOWTO DESCRIPTION: This guide shows you how to install ZenEee on USB Key PREREQUISITE: Any Linux System and USB Key WARNING: Without any warranty, use at your own risk HINT: ========= CONTENTS: ========= 1- Prepare your USB key 2- Untar and copy files on your usb key 3- Edit /etc/fstab on your usb key 4- Edit /boot/grub/menu.lst on your usb key 5- Install Grub on MBR usb key 6- Notes for SD Card 7- Users and Password 8- Boot EeePC with USB Key ======================= 1- Prepare your USB key ======================= Umount your usb key if mounted Create an ext2 file system with cfdisk # cfdisk /dev/sdc New/Primary Bootable Type 83 Write: yes Quit Format the USB key (Should be not mounted) # mkfs.ext2 /dev/sdc1 Pick the UUID of your formatted usb key # /lib/udev/vol_id /dev/sdc1 > /home/foo/uuid_of_your_usb_key.txt Mount your usb key # mount /dev/sdc1 /mnt/usb ======================================= 2- Untar and copy files on your usb key ======================================= Create a tmp-zen directory into your home directory $ mkdir /home/foo/tmp-zen Move the zeneee-1.0-beta2.tar.gz file into tmp-zen directory $ mv zeneee-1.0-beta2.tar.gz /home/foo/tmp-zen Change directory $ cd /home/foo/tmp-zen Untar the tar.gz file $ tar -xvf zeneee-1.0-beta2.tar.gz $ mv zeneee-1.0-beta2.tar.gz /home/foo/an_other_directory Copy files on usb key #cp -Rp * /mnt/usb ================================== 3- Edit /etc/fstab on your usb key ================================== Replace the UUID by the previously determined =========================================== 4- Edit /boot/grub/menu.lst on your usb key =========================================== Replace the UUID by the previously determined (look at the lines 15 and 76) ============================== 5- Install Grub on MBR usb key ============================== # grub > root (hd2,0) > setup (hd2) > quit Examples with GRUB: disk1 => hda => hd0 for GRUB disk2 => hdb => hd1 for GRUB disk3 => hdc => hd2 for GRUB (hd0,0) => disk 1, partition 1 (hd0,1) => disk 1, partition 2 ... (hd1,4) => disk 2, partition 5 ... (hd2,0) => disk 3, partition 1 etc ... ==================== 6- Notes for SD Card ==================== You might have to recreate the /boot/initrd.gz file For this, look the /boot/initrd-tree directory Edit the rootdev file change /dev/sdc1 string by /dev/sdb1 (i have not tested this) Remake the initrd.gz (it's a CPIO GZIP file) with the initrd-tree directory ===================== 7- Users and Password ===================== root/toor zenny/zenny ========================== 8- Boot EeePC with USB Key ========================== Insert your USB Key on EeePC Press on power button At the EeePC logo, start pressing the ESC repeatedly At boot menu, choose your USB Key ACKNOWLEDGEMENTS: * The Zenwalk team * All users wich contribute at the OpenSource project. :-) CHANGELOG: [2007-01-09] * Change the structure of text * Add step 8 [2007-01-08] * Edit steps 2,5 and 6 [2007-01-07] * Initial hint