Results 1 to 6 of 6

Thread: What about a LiveUSB instead a LiveCD?

  1. #1
    Join Date
    Mar 2007
    Beans
    3

    What about a LiveUSB instead a LiveCD?

    Hello,

    as USB sticks are getting cheaper and cheaper I would like to use one as a LiveCD. Any suggestions how to accomplish that?
    Last edited by Amphetamine; March 24th, 2007 at 10:48 PM.

  2. #2
    Join Date
    Mar 2007
    Location
    BC, Canada
    Beans
    358
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: What about a LiveUSB instead a LiveCD?

    I don't have any experience doing this myself, but google turned up a couple of links

    http://en.wikipedia.org/wiki/Live_USB

    http://www.ubuntuforums.org/showpost...&postcount=100

    Sounds neat. Would give it a try myself if I had a bigger USB key.

  3. #3
    Join Date
    Mar 2007
    Beans
    3

    Re: What about a LiveUSB instead a LiveCD?

    Quote Originally Posted by josephus View Post
    I don't have any experience doing this myself, but google turned up a couple of links

    http://en.wikipedia.org/wiki/Live_USB

    http://www.ubuntuforums.org/showpost...&postcount=100

    Sounds neat. Would give it a try myself if I had a bigger USB key.

    Wow, great! Thanks for the links! Now I won't be bored this weekend!

    By the way, I bought an 1 Gig USB stick here in Germany at Saturn-Shop for 12 Euro and a few weeks ago I bought even a new 4 Gig USB stick at Ebay for 30 Euro, shipping included! And they are getting cheaper and and bigger every time! USB seems to be the future. And there are even 64 Gig sticks, but they still cost over 600 Dollar!
    Last edited by Amphetamine; March 25th, 2007 at 12:24 AM.

  4. #4
    Join Date
    Apr 2006
    Location
    New Hampshire, U.S.A.
    Beans
    2,604
    Distro
    Ubuntu Development Release

    Cool Re: What about a LiveUSB instead a LiveCD?

    Well, Puppy Linux has a setup for live USB which I've tried and it works. In case the system doesn't boot from USB, you can make a diskette to boot and switch over to the USB and that works. Nice, no noise, fast, and stores changes and files. Even runs on an older PC that doesn't have a hard drive any more. Also portable to different hardware.

    I've seen ads for Knoppix Linux to purchase a pen with Knoppix already installed. I don't remember the cost, but certainly higher than just the pen drive. There's a Linux magazine article by Knopper on how to build your own Knoppix USB, and claims that there is a script on the latest Knoppix to help do it. I haven't tried it.

    On Ubuntu Wiki there are some complex involved setups for putting I thnk it was Xubuntu on a pen drive with a couple of different loaders. I spent some time with that and couldn't get it to work.

    Simply Mepis (a KDE Ubuntu derivative) claims to have a USB setup as well however I haven't found the "how to" yet.

    Frankly, right now, persistent is broken on Feisty Beta. I use it on Dapper and Edgy. I've had a Feisty launchpad bug on persistent since Feb 10, with no luck yet. Maybe they'll fix persistent for the ship version? In any case it is more complex to set up and use than some of the competing Linux's.

    I'm sure that Ubuntu/X/K could be made to run from USB if there's some developer that's interested in it. Sure would be handy, hardware independence. Oh, well, I'm dreaming. Cheers, Jerry

  5. #5
    Join Date
    Mar 2007
    Beans
    3

    Re: What about a LiveUSB instead a LiveCD?

    Well, if I can't run Ubuntu on the USB like a LiveCD maybe I will switch to Knoppix but let's first give our best with Ubuntu. I am a beginner with linux so please don't wonder about my silly questions: How do I name the partition? The manual linked above by Josephus tells me:
    The second should occupy the remaining free space and should be formatted with the ext2 filesystem and is given the name "casper-rw"
    and that's what I want to do. If I only would know how to name it. I already partitioned it.
    Last edited by Amphetamine; March 25th, 2007 at 02:05 PM.

  6. #6
    Join Date
    Apr 2006
    Location
    New Hampshire, U.S.A.
    Beans
    2,604
    Distro
    Ubuntu Development Release

    Smile Re: What about a LiveUSB instead a LiveCD?

    Well, for persistent, the steps are like this:
    1. Do df -h to make sure what the USB drive name is. Expect /dev/sda1 which is the first partition on the USB
    2. sudo umount /dev/sda1
    3. sudo mkfs.ext3 -b 4096 -L casper-rw /dev/sda1
    That gets a volume label casper-rw on the USB.
    If persistence worked, then reboot, F6, add persistent to the list of options, preceded by a space.

    From that, I might infer if you wanted to format the second partition, and give it a label, you could try:
    df -h to see what's mounted? Maybe /dev/sda1? What about /dev/sda2, the second partition? Anyway,
    sudo umount /dev/sda1
    sudo umount /dev/sda2 (if it's mounted)
    sudo mkfs.ext2 -b 4096 -L casper-rw /dev/sda2
    wait for it to complete.....
    Now my USB is set up with only 1 partition so I can't test this.

    Reboot and see what you get. That's a bit easier than fussing with mounts & stuff.
    For a lot more detail, see:
    http://www.ubuntuforums.org/showpost...&postcount=158
    and
    https://wiki.ubuntu.com/LiveUsbPendrivePersistent
    Good luck. I haven't had any with the Ubuntu USB live yet.
    Cheers, Jerry

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •