Results 1 to 8 of 8

Thread: [Q] Live usb creation

  1. #1
    Join Date
    Jul 2011
    Location
    Inglewood
    Beans
    31
    Distro
    Ubuntu 14.04 Trusty Tahr

    [Q] Live usb creation

    I'm creating a live usb on an external hard drive I've got, and the thing that really irks me about the native ubuntu startup usb creator is that it only allows 4 gigs of user space. Any idea how can I get more space?

  2. #2
    Join Date
    Oct 2005
    Location
    UK
    Beans
    1,026
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: [Q] Live usb creation

    My question to you is 'Why a Live install with more space when you can install it properly to the external USB drive and have as much space as the disk will afford ?'

    Also, if you really only want a LIVE install then create a separate partition for your data on the USB drive and 4gig should be sufficient for the Live OS...

  3. #3
    Join Date
    Jul 2011
    Location
    Inglewood
    Beans
    31
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: [Q] Live usb creation

    Yeah, that's the thing, 4 gigs isn't enough for what I need it for. That's why I'm using the external hard drive.

    The reason I'm posting this is cause I had to re-install my live OS cause the old one ran out of space and created some sorta FS error on the disk after I ran an apt-get update/upgrade. I'm aware that I can have another partition for my user space, and I'll prolly end up doing that, but I don't wanna be so frugal with everything else.

    Is there a cap to how much space a live OS can occupy?

  4. #4
    Join Date
    Jun 2011
    Location
    The Shadow Gallery
    Beans
    6,744

    Re: [Q] Live usb creation

    Quote Originally Posted by heWhoWearsAshes View Post
    Yeah, that's the thing, 4 gigs isn't enough for what I need it for. That's why I'm using the external hard drive.

    The reason I'm posting this is cause I had to re-install my live OS cause the old one ran out of space and created some sorta FS error on the disk after I ran an apt-get update/upgrade. I'm aware that I can have another partition for my user space, and I'll prolly end up doing that, but I don't wanna be so frugal with everything else.

    Is there a cap to how much space a live OS can occupy?
    http://www.pendrivelinux.com/create-...per-partition/
    Last edited by coffeecat; April 10th, 2013 at 11:16 PM. Reason: amended quoted username
    Backtrack - Giving machine guns to monkeys since 2006
    Kali-Linux - Adding a grenade launcher to the machine guns since 2013

  5. #5
    Join Date
    Jul 2011
    Location
    Inglewood
    Beans
    31
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: [Q] Live usb creation

    Sweet, this is kinda what I was looking for and also kinda what zimmer said.

    How does this work? The casper-rw file is where everything is stored normally?

  6. #6
    Join Date
    Jun 2007
    Location
    Hikkaduwa, Sri Lanka
    Beans
    3,449
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: [Q] Live usb creation

    Quote Originally Posted by heWhoWearsAshes View Post
    Sweet, this is kinda what I was looking for and also kinda what zimmer said.

    How does this work? The casper-rw file is where everything is stored normally?
    The casper-rw file is where changes are stored on a persistent flash drive.

    Besides for a casper-rw persistence file you can also have a home-rw persistence file, (just copy and rename an empty casper-rw file). It will store your home data.. this, plus the casper-rw file, will give up to a total of 8GB persistence.

    You can also make an ext home-rw partition if you want a separate home partition, the home-rw partition can be reused when upgrading to a new version of Ubuntu, the casper-rw partition can't.
    Last edited by coffeecat; April 10th, 2013 at 11:15 PM. Reason: amended quoted username

  7. #7
    Join Date
    Jul 2011
    Location
    Inglewood
    Beans
    31
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: [Q] Live usb creation

    I have two questions; can you just resize the casper-rw using dd? This link, http://www.pendrivelinux.com/how-to-...-rw-loop-file/, says you can. Is it safe?

    And, when you create a casper-rw, or home-rw partition next to a live OS' partition, how will the OS know that it's there? Does it just know, or do I have to write it in somewhere?

  8. #8
    Join Date
    Jun 2007
    Location
    Hikkaduwa, Sri Lanka
    Beans
    3,449
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: [Q] Live usb creation

    Quote Originally Posted by heWhoWearsAshes View Post
    I have two questions; can you just resize the casper-rw using dd? This link, http://www.pendrivelinux.com/how-to-...-rw-loop-file/, says you can. Is it safe?

    And, when you create a casper-rw, or home-rw partition next to a live OS' partition, how will the OS know that it's there? Does it just know, or do I have to write it in somewhere?
    Sometimes the stuff on pendrivelinux works, (but check for typos). Using dd is never safe in the wrong hands, one typo can wipe your computer.
    Of course you can not make a casper-rw file larger than 4GB as size is limited by being FAT32.
    I have not tried resizing but it s easy to mount casper-rw to access the files:

    http://ubuntuforums.org/showpost.php...83&postcount=2

    Ubuntu persistent seems to look for casper-rw in the lowest level first, I am running Ubuntu persistent on an EEE PC, when I boot using a persistent pendrive it sees the EEE's casper-rw partition first.

    Just make sure the text.cfg file, (or txt.cfg file depending on version), mentions "persistent", if you installed using Startup Disk Creator. (if you installed using Unetbootin it is the syslinux.cfg file that mentions "persistent".
    Last edited by coffeecat; April 10th, 2013 at 11:15 PM. Reason: amended quoted username

Tags for this Thread

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
  •