Announcement

Collapse
No announcement yet.

Kubuntu Dapper 6.06 Install on a USB Flash Drive

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Kubuntu Dapper 6.06 Install on a USB Flash Drive

    [list]Instructions below for Kubuntu Dapper 6.06 were adapted directly from the document "USB Ubuntu 6.10 Edgy Install" found at Pendrivelinux.com:

    http://www.pendrivelinux.com/2007/01...b-x-ubuntu-610

    please note that UBconvert.zip (necessary files) may be downloaded from a link in the original page.

    I tested the following procedure using Kubuntu Dapper 6.06/Kingston 1GB Data Traveler U3 Flash Drive. You may or may not have the same success with other Kubuntu Distros, but I think it will probably also work fine for Edgy 6.10 - as well as most other bootable flash drives. However, I suspect that in Feisty 7.04 the persistent feature may be broken (as in Ubuntu 7.04) - so you will need to watch out for that.

    The beauty of this flash drive install is that (unlike the live CD version) you can use Adept package manager to add software from the repositories to your flash drive. Furthermore, configurations of your software are also saved. If you install Partimage and other utilities, it can make for one heck of a customized rescue/utility drive!
    --------------------------------------------
    USB Kubuntu 6.06 Dapper Install:

    This tutorial explains how to install, boot and run Kubuntu Dapper 6.06 portably from a USB flash thumb drive using Windows and the Kubuntu Live Linux CD. By utilizing multiple partitions, the user can save all changes and settings back to the flash thumb drive making for a completely Portable Kubuntu. Note that the second partition must be labeled "casper-rw" to use the "persistent" feature and save changes back to the stick.

    Kubuntu® was produced by Canonical ltd and is based on Debian Linux. It is both user friendly and stable.

    Note: This tutorial is based on Kubuntu Dapper 6.06. It will probably work fine with Kubuntu Edgy 6.10. In Kubuntu Feisty 7.04, the Persistent feature may or may not be broken. If your planning to save your changes use Dapper 6.06 as suggested here, or you may try Edgy 6.10.

    Basic essentials:

    1GB or larger USB flash drive
    Ubuntu 6.06 ISO
    CD Burner/Recorder
    UBConvert.zip (containes 7-zip, an iso extraction tool - plus batch file and others)

    How to install Kubuntu 6.06 on a USB Stick:


    Partition and make the USB flash drive bootable:
    • Download the Kubuntu 6.10 ISO and burn it to CD
    • Restart your computer (booting from the Kubuntu Live CD)
    • Insert a 1GB or larger USB flash drive
    • Open a terminal window and type sudo su
    • Now type fdisk -l to list available drives/partitions (note which device is your flash drive Example: /dev/sdb). Throughout this tutorial, replace all instances of x with your flash drive letter. For example, if your flash drive is sdb, replace x with b.
    • Type umount /dev/sdx1
    • Type fdisk /dev/sdx
    • type p to show the existing partition and d to delete it
    • type p again to show any remaining partitions (if partitions exist, repeat the previous step)
    • type n to make a new partition
    • type p for primary partition
    • type 1 to make this the first partition
    • hit enter to use the default 1st cylinder
    • type +750M to set the partition size
    • type a to make this partition active
    • type 1 to select partition 1
    • type t to change the partition filesystem
    • type 6 to select the fat16 file system
    • type n to make another new partition
    • type p for primary partition
    • type 2 to make this the second partition
    • hit enter to use the default cylinder
    • hit enter again to use the default last cylinder
    • type w to write the new partition table
    • Type umount /dev/sdx1 to unmount the partition
    • Type mkfs.vfat -F 16 -n usb /dev/sdx1 to format the first partition. Alternately you can try mkfs.vfat -F 32 -n usb /dev/sdx1 (doesn't always work)
    • Type umount /dev/sdx2 to ensure the partition is unmounted
    • Type mkfs.ext2 -b 4096 -L casper-rw /dev/sdx2 to format the second partition
    • Remove and Re-insert your flash drive
    • Back at the terminal, type sudo apt-get install syslinux mtools
    • Type syslinux -sf /dev/sdx1
    • Restart your computer, remove the CD and boot back into Windows


    Using Windows to prepare and move the files to the USB Stick:
      • Create a folder named USB on your computer
      • Download UBconvert.zip at pendrivelinux.com and extract the files to the USB folder
      • Move the Kubuntu 6.06 ISO downloaded earlier to the USB folder
      • Edit fixu.bat, changing every instance of "ubuntu" that you find to "kubuntu" and save back to the same filename.
      • Click fixu.bat from the USB folder (follow on screen instructions)
      • Move all files from the kubuntu directory to your memory stick
      • Reboot your computer and set your system BIOS to boot from USB-HDD or USB-ZIP. Also set the "Hard Disk Boot Priority" if necessary.

      You should now be booting into Kubuntu Linux from your USB drive!

    #2
    Re: Kubuntu Dapper 6.06 Install on a USB Flash Drive

    and.. following http://www.debuntu.org/how-to-instal...nux-on-usb-bar I successfully install 7.10 live cd/usb on a USB memory stick.

    great stuff

    --
    Allan

    Comment

    Working...
    X