Results 1 to 8 of 8

Thread: Create larger then 4GB Casper file.

  1. #1
    Join Date
    Jul 2010
    Beans
    13

    Create larger then 4GB Casper file.

    Hello,

    I have recently been experimenting with installing Ubuntu 10.10 on a USB/Flash drive, and have finally stumbled on the "Universal USB Installer", using a so-called "Casper" file for persistence.
    Now I wanted to make the Casper file bigger, and found this article: http://www.pendrivelinux.com/create-...per-partition/

    I was reading it, and got confused at this part:
    "This tutorial assumes that you have already created a bootable USB Flash Drive that contains Ubuntu or an Ubuntu based Live Distro like Xubuntu, Kubuntu, Linux Mint, Crunchbang, etc. You should delete any existing casper-rw file from the drive to free up all available space before proceeding.
    1. Restart your Computer, booting from an Ubuntu Live CD"
    Do they mean that you have to make 1 flash drive that was created with the Universal USB Installer, and has a Casper file on it, AND you have a Live CD from which you operate?

    If so, could I use one flash drive that acts like a Live CD (without the Casper file), and create another flash drive that DOES have the Casper file, and then boot from the one without, and follow the instructions? (Sorry for the complex sentence, didn't know how other to put it...)

    Any help would be appreciated

    -René

  2. #2
    Join Date
    Aug 2009
    Location
    United States
    Beans
    4,460
    Distro
    Ubuntu Development Release

    Re: Create larger then 4GB Casper file.

    I believe it said to boot off of live cd then insert usb with 4 gig of casper and resize your larger flash drive to that 4 gig in gparted after unmounting in gparted (cannot work on mounted drive) and then rest of instructions. Good luck partner.
    Remember hence where you come and pass it down.
    Ubuntu Forums member #899097 and Ubuntu Member:
    http://www.ubuntupocketguide.com/index_main.html
    Main Page -

  3. #3
    Join Date
    Jul 2010
    Beans
    13

    Re: Create larger then 4GB Casper file.

    Quote Originally Posted by garvinrick4 View Post
    I believe it said to boot off of live cd then insert usb with 4 gig of casper and resize your larger flash drive to that 4 gig in gparted after unmounting in gparted (cannot work on mounted drive) and then rest of instructions. Good luck partner.
    Thank you very much for your reply.
    What exactly do you mean with "your larger flash drive"? It seems as if youŕe talking about 2 flash drives at this point

    -René

  4. #4
    Join Date
    Aug 2009
    Location
    United States
    Beans
    4,460
    Distro
    Ubuntu Development Release

    Re: Create larger then 4GB Casper file.

    From what I understand you are trying to make a larger than 4 gig of persistence drive.
    You can make a 4 gig with startup disk creator in ubuntu so I just figured it was an 8 or 16 gig flash drive you were trying to use. Just one flash drive, making a 4 gig casper and then
    making that larger with your website you gave.
    Remember hence where you come and pass it down.
    Ubuntu Forums member #899097 and Ubuntu Member:
    http://www.ubuntupocketguide.com/index_main.html
    Main Page -

  5. #5
    Join Date
    Jul 2010
    Beans
    13

    Re: Create larger then 4GB Casper file.

    Quote Originally Posted by garvinrick4 View Post
    From what I understand you are trying to make a larger than 4 gig of persistence drive.
    You can make a 4 gig with startup disk creator in ubuntu so I just figured it was an 8 or 16 gig flash drive you were trying to use. Just one flash drive, making a 4 gig casper and then
    making that larger with your website you gave.
    Ah! I see now. Thank you for your help! You have brought me great joy at 2:13 AM. Bless you

    -René

  6. #6
    Join Date
    Jun 2007
    Location
    Hikkaduwa, Sri Lanka
    Beans
    2,916
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Create larger then 4GB Casper file.

    Casper-rw files are FAT32 which limits them to 4GB.
    If you want more than 4GB you can make a casper-rw partition and also home-rw partition.
    These partitions are only limited by the size of the drive.

    Here is a step by step using usb-creator, universal should be similar. If you prefer UNetbootin let me know:


    Boot Live CD.
    Plug in flash drive.
    Start Partition Editor
    Create 1 GB FAT32 partition, (on the left side of the bar). (size is optional)
    Create a 1.5 GB ext3 partition to the right of this, labeled it "casper-rw". (ext2 and ext4 also work).
    Create a partition in the remaining space and label it "home-rw". (optional, creates a separate home partition)
    Close Partition Editor.
    Un-mount and re-mount flash drive.
    Start "Create a live usb startup disk", (usb-creator).
    Select "Discard on shutdown".
    Press "Make Startup Disk.
    When usb-creator finishes, run "gksu nautilus"
    Select disk / syslinux / text.cfg and added "persistent" as shown below:
    append noprompt cdrom-detect/try-usb=true persistent file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.gz quiet splash --
    Shutdown, remove CD, reboot.

  7. #7
    Join Date
    Jul 2010
    Beans
    13

    Re: Create larger then 4GB Casper file.

    Quote Originally Posted by C.S.Cameron View Post
    Casper-rw files are FAT32 which limits them to 4GB.
    If you want more than 4GB you can make a casper-rw partition and also home-rw partition.
    These partitions are only limited by the size of the drive.

    Here is a step by step using usb-creator, universal should be similar. If you prefer UNetbootin let me know:


    Boot Live CD.
    Plug in flash drive.
    Start Partition Editor
    Create 1 GB FAT32 partition, (on the left side of the bar). (size is optional)
    Create a 1.5 GB ext3 partition to the right of this, labeled it "casper-rw". (ext2 and ext4 also work).
    Create a partition in the remaining space and label it "home-rw". (optional, creates a separate home partition)
    Close Partition Editor.
    Un-mount and re-mount flash drive.
    Start "Create a live usb startup disk", (usb-creator).
    Select "Discard on shutdown".
    Press "Make Startup Disk.
    When usb-creator finishes, run "gksu nautilus"
    Select disk / syslinux / text.cfg and added "persistent" as shown below:
    append noprompt cdrom-detect/try-usb=true persistent file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.gz quiet splash --
    Shutdown, remove CD, reboot.
    Thank you so much! This is a lot easier then stated in that article

    I'll try and get this to work then. I'll mark solved for now

    -René

  8. #8
    Join Date
    Feb 2006
    Location
    Brisbane, Australia
    Beans
    33
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Create larger then 4GB Casper file.

    Thanks for that, it really helped me out.

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
  •