[Voyage-linux] Installing Voyage Linux with extlinux using Live CD

Kim-man 'Punky' TSE (spam-protected)
Thu Feb 22 11:52:05 HKT 2007


Hi all,

Happy Lunar New Year to all of you!   Last night I have tried a new 
installation method using extlinux from Live CD.  Using this method,

1. You will have a read-only squashfs root filesystem on a CF that 
consumes just 36MB. 
2. You cannot modify the rootfs
3. By default, all changes made to the system reside on tmpfs.  I.e. 
Changes are lost after reboot
4. You can preserve the changes by creating another partition and 
labeled it as "caspser-rw", or create a loopback file called 
"caspser-rw" at / (see 
https://help.ubuntu.com/community/LiveCDPersistence: this is not tested 
and need more exploration)
5. You will still be able to boot Live CD again after the installation.  
But once the CD is booted, the installed disk with be mounted as rootfs 
(it should be the CD) and no way to unmount it.  I.e. a bug needs fix or 
workaround.

See below for instruction:

==============================================================================

1. As usual, create mount point for the installation disk and format it 

    # mkdir /tmp/cf
    # /usr/local/sbin/format-cf.sh /dev/hda 

This will create /dev/hda1 ext2 partition on /dev/hda disk device. 
** Note that this operation is very dangerous since it will erase your disk! 
   Make sure what you are doing and must do it right!
   
2. Mount the disk and copy CD content to disk device
    
    # mount /dev/hda1 /tmp/cf
    # rsync -aHx /live_media/* /tmp/cf/
	
3. Create extlinux.conf and install extlinux 
    
    # cp /tmp/cf/isolinux/isolinux.cfg /tmp/cf/isolinux/extlinux.conf
    # extlinux -i /tmp/cf/isolinux 
	
4. Update master boot record for disk device
    
    # cat /usr/lib/syslinux/mbr.bin > /dev/hda
	
After all, reboot!

==============================================================================

I believe that this installation method also work under PXE boot.  And 
yes, I have not tested.

Same instruction also appears at the end of Live CD Readme:
http://cvs.voyage.hk/cgi-bin/viewcvs.cgi/*checkout*/voyage-custom/src/live-cd/overlay_fs/README.live-cd

-- 
Regards,
Punky

P U N K N ! X  . c o m
Technology + Lifestyle
(http://www.punknix.com)

V O Y A G E . H K - http://www.voyage.hk
Linux - voyage-0.2 is released!
Store - New Senao NMP-8601 and NMP-8602 (100mW) in stock!
      - New low price for Senao NMP-8602 Plus (400mW)! 





More information about the Voyage-linux mailing list