Ubuntu Installation :: Use The Data From The Persistent Casper-rw?
Oct 25, 2010
I am trying to make a usb installed ubuntu(with persistent) unchangeable. The usb needs to use the data from the persistent casper-rw, but in the same time not be able to change the casper-rw. I have tried installing ubuntu on a SD-card, and then simply lock the SD-card. So fine so good, but it just wont bootup then - it says "Aufs mount failed".
I use the tool here (as recomended by Ubuntu) to put it on my USB. It seems to work well up until it says "Data error in 'casper/filesystem.squashfs'. File is broken".
I tried to install it anyways (I know how to work the BIOS and everything) and the installation just stops with an error message.
I've made myself a multiboot usb drive and looking to add ubuntu to it. I've created a live system and its respective casper drive, made the changes I want to it and now looking to make the whole system boot to ram including the casper drive so I can use the same usb drive in multiple machines instead of having to have multiple usb pens.
I've added the toram option in the txt.cfg file but only the operating system (filesystem.squashfs) goes into ram so when I take the usb out, the files on the casper drive are lost.
Could you tell me either how to boot the casper drive to ram or how to combine or merge the filesystem.squash and the casper-rw drive.
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: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...)
I'm using an acer aspire one netbook and attempting to install ubuntu 11.04 on it using flash drive. I extracted the installer using the universal usb installer. Anyway as soon as I get to the ubuntu installer screen it won't let the installer begin and says this: "could not find kernel img:/casper/vmlinuz. I have tried many things including typing in this:"vmlinuz initrd.img" and extracting the data to the flash drive again but nothing has worked.
I've just created a bootdisk (ssd) with multiples Squasfs images I can choose to boot at the Grub2 menu.No I tried to put the sqfs-images into a ramdisk. Therefore I edited the script '/usr/share/initramfstools/ scripts/ casper'. I used the 'dirty hacks'in the ubuntuforums.org/boottoram howto but I suited them for my needs.Now the Systems stops after the kernel and doesn't find a root system.
The sqfs-image without the modification of the 'casper'-script still boots but doesn't load into ram completely.
I have had a dual boot on my system since first trying Ubuntu a few months ago.I had a few problems when i upgraded to 11.04 (mainly due to the new desktop Unity), but after some great help here, we had the old desktop running again.I have Windows running on my spare Computer in case i should need it for any reason, though can not think of one lol Now i am used to Ubuntu (from the using side, get lost in terminal etc so here i come if i need help) i decided i would totally commit my main computer to Ubuntu.I downloaded the latest iso from the Ubuntu site, and burnt it to CD, inserted in my main computer & rebooted. It goes past the first purple ubuntu page (hit a key to choose language & also get a selection Menu) then goes to black screen and i get:
BusyBox v1.17.1 (ubuntu 1:1.17.1-10ubuntu1) built-in shell (ash)Enter 'help' for a list of built-in commands.(initramfs) mount: mounting /dev/loop0 on //silesystem.squashfs failed: Input/output errorCan not mount /dev/loop0 (/cdrom/casper/filesystem.squashfs) on //filesystem.squashfs(hope i typed that i correctly)I have burnt the iso image numerous times, using different disks, speed (from x4 - x52) and burning programs
Trying to install 10.04.1 Kubuntu desktop to Toshiba T110 laptop running Win 7, 4 Gig Ram, 32 bit o/s. Downloaded iso from Ubuntu web site and burnt DVD. No matter what I do I get the error message "cannot mount /dev/lop0 (/cdrom/casper/filesystem. squashfs" etc. Searched by Google and this forum, tried various remedies Unebootin; USB drive boot up etc etc; still get same message. Is there a workaround for what seems to be a fairly common install problem?
I've upgraded the generic kernel of my Xubuntu Karmic AMD64 persistent USB installation with the ubuntustudio realtime kernel (2.6.31.9.10). The thing is that the generic kernel is still loading as default and I don't have the option on the boot menu to choose the new one. I don't know how to edit this Grub2 version (grub-pc 1.97 beta 4).I haven't found a GUI package for this either.
I am currently running Windows 7 and would like to "play around" with Linux and learn how to use it, but am not willing to entirely "jump ship: as of yet. Thus, I would like to be able to use my USB key (32 gig) that is persistent. I have had no success in being able to get this to work; I went to http://www.pendrivelinux.com/ and attempted several different times and the only one I could get to work was not persistent.
I would like to make all directories except /home non persisent this way any changes are undone by a reboot. (this will be used by kids)Where do I start?I've worked with Linux for years, but never tried this.
I would like to know if I can update a live USB version of 10.04I am, unofficially, running ubuntu 10.04 live USB version from a partition on my 250GB USB HDD at work.All the apps I use are web bassed except for zeacom and groupwise which I run from a virtual machine I created using virtualbox ose, this machine is one the network running AD and novel and also MS office and uniflow printing
Everything at the moment is running quite well: I tried this a while ago (9.04 or earlier) but I tried enabling update manager and this killed the boot for my live USB and I don't what to risk toying with a system that is running well but I also want to be up to date.
I want to ask, its is possible to install ubuntu in a harddisk as a non persistent environment? i mean, i want my ubuntu is always clean everytime it is restart, like a live usb.
I've just installed UNR version of Ubuntu on one of my thumb drives and was wondering what I needed to do to for making it have persistent changes? I've seen the different tools and the usb creator they have on Ubuntu already but I want to do it myself from scratch. What files do I need to edit to make the drive persistent? I made the bootable thumb drive using UNetbootin.
I have tried to create a persistent live usb thumb drive using Startup Disk Creator, but have not had any luck. I have tried running Startup Disk Creator from Linux Mint 9 xfce (currently installed on my machine) as well as from live sessions of ubuntu 11.04 Beta1 and xubuntu 11.04 Beta1. When using Startup Disk Creator in Linux Mint, I am able to set the slider to choose how much reserved space I want, but when I reboot, the USB stick does not load, I get an error message about an unknown name in the file. When using the live sessions of ubuntu or xubuntu, the section with the slider to choose how much of the usb stick to devote to the persistence file is greyed out. I get the same result whether I choose the xubuntu iso or the ubuntu iso as the source disc image. I have used the same USB stick and Startup Disk Creator to make persistent live installs before - is there something about 11.04 that does not allow persistence?
Whenever I tried to do a sudo update-initramfs -u I get the following message. Code:update-initramfs: Generating /boot/initrd.img-2.6.32-24-generic.: 6: Can't open /scripts/casper-functionsI can't seem to find this casper-functions,I can't update my kernel properly.
I am a linux newbie and want to try to run Fedora 13 from a 4Gb USB flash drive for a while until I decide to do a permanent install.My problem is that although I selected to create persistent storage using the liveusb creator, nothing is being saved after rebooting.For reference, I downloaded the 64bit version using bittorrent, and I created the live usb on windows 7.Is there some setting I must set to enable persistent storage?
I want to create a combined portable Ubuntu / USB stick.For this I intend to install Ubuntu to my 16 GB USB Drive. I am going to install some rather big programs (Matlab, Maple...) and therefor, I think the 4 GB persistent space in different startup-USB creators are to small.Because of this, I want to install Ubuntu to the USB drive, to get full functionallity. Also because of the small USB Drive size, I dont want to create two different partitions. For USB Drive use, I want to be able to save files larger then 4 GB (ie. not FAT32).
How can I create a fully functional Ubuntu USB, that can also be accessed from Windows? I understand that NTFS and Ubuntu is a bad mix, FAT32 have file size restrictions, and Windows cant accesss ext3/4.I saw someone talk about installing Ubuntu using the 'install in windows' to bypass Ubuntu-NTFS problems, but the link was broken, and I could not see how it was done. Also this [URL] talked about making the home folder accessible, but the linked site is now down.
I have a persistent pendrive of Ubuntu: [URL] It has a file where it saves the configuration of my computer: casper-rw
But if I boot this USB flash drive in another computer I would like to do it in a fresh way, that is, without loading the configuration of my computer (saved in the casper-rw file). For example, in Puppy Linux this can be done easily, just putting pfix=ram in a boot option of syslinux.cfg and selecting this option when booting.
I think this is important because I think that otherwise the Ubuntu (at least in some cases) cannot open if used in a computer different to the one where casper-rw was configured. It happens to me that I cannot run Ubuntu with my pendrive when inserted in a different computer (I think the reason is what I've said).
After setting up a persistent Lubuntu (10.10) on a 4GB SD with Universal-USB-Installer-1.8.1.8 , I started changing the passwd of the original user ubuntu , but after rebooting, I can't log in. So I resorted to hitting Ctrl+the function key that gives you a CLI, and changed the password for "ubuntu" user then tried to log on again. No success.Then I created a new user with a password, and managed to log in with this user, but it is not the same experience, the menus are lacking, and it is not possible to log on to wifi, similar problem to this user
I have the following problem. I tried to make a persistent USB Backtrack 4 r2. I followed the steps according to the instructions and did not noticed any errors.
fdisk /dev/sdb Command (m for help): d Partition number (1-4): 1 Command (m for help): n Command action
[Code]...
I can boot from USB because when i use Unetbootin everything works fine. Although it'snot persistent in that situation. I seachered the web but i can't find the solution. I have run a script which i ran into on Sourceforge.net. The results are in the attachement. But unfortunately i am real Newbie on linux so..
what is this during usb installation ubuntu 11.04:"select a persistent space in stick for storing changes" changes mean additional content, or upgrades including personal additional files added to stick or?
I was wondering if it can be possible to boot debian from micro sd card and have it persistent. I have checked the bios of my laptop and there are options to boot from USB and HDD (and from floppy, cd, network and hard disk), but not from sd card. Would it be a problem or could there be workarounds. That is of course if the whole thing is a good idea at all.
I have already booted the laptop from USB, but I would like to use it for everyday work and USB sticking out is bound to get snapped off. Sd card on the other hand would go inside in the slot. The hard disk is dead and is a bit expensive to replace (and unnecessary in respect of the volume, I only need a couple of gb for work)
So i installed debian squeeze in virtualbox with xfce and i thought that it was persistent. when i powered down the virtual machine and started it up again later I only had the option of installing it again. Do i use save state to keep it in the installed stage? would i have to do that each time i made a change? i want to make sure so that i don't keep having to re install it.
Besides Puppy or DSL, is there a full "regular" Linux distro that is friendly to be installed on a USB flash drive that won't wear it out? I want to be able to upgrade it, not just keep minor persistent changes like the methods outlined in pendrivelinux.com. The loopback file would fill out too much if I actually did a apt-get update, so I want something that installs natively on a USB flash drive with EXT3/EXT4, etc.
However, is there a distro that sends the log to a tmp ram drive, for instance? Something made *not* to wear out a USB drive too fast? I want a truly portable Linux on a UFD, not a semi-attempt that uses casper.
I'm trying to create a persistent live Jessie system on my 8GB USB drive.
If that matters, I'm currently on an Arch Linux system, and I partly followed what's on the relative wiki (Pages Create a new MBR for a USB stick, Manually create a USB flash installation and Install Syslinux), plus a CrunchBang post explaining how to make a persistent live USB out of any Jessie-deriving distro (like their BunsenLabs Hydrogen).
The problem is, even if Debian boots up more than fine, the system isn't persistent at all.
Here's what I did (I know some passages are redundant, but still...):
Downloaded the Cinnamon flavor of Jessie via torrentErased the old MBR
Code: Select all# dd if=/dev/zero of=/dev/sdb bs=512 count=1 && syncCreated a 1.1G W95 FAT32 (LBA) active partition and used the remaining space on a Linux partitionFormatted the first to FAT32 and labelled it "Debian64". Formatted the second to ext4 and labelled it "persistence" Code: Select all# mkfs.vfat -n Debian64 /dev/sdb1 # mkfs.ext4 /dev/sdb2 -L persistence Mounted the first partition and the iso
I have created live persistent usb-hdd (fat32) image, put into USB stick, but now I should create persistent live-rw partition. How this persistent partition should be formatted? Should I format with ext2, or fat32?
I've created live squeeze usb-hdd and if I boot first time the udev system writes the MAC address of the network interfaces into /etc/udev/rules.d/70-persistent-net.rules.Because I use full persistence, the file is there on the next boot and I don't get network running automatically on other computers. My problem is, howto remove 70-persistent-net.rules every time during the startup?
live usb media does not let me to to save files and make modifications to live operating system that will persist after a reboot
I made the bootable stick with the liveusb creator at https://fedorahosted.org/liveusb-creator/ using an iso image of f10 live cd, a flash drive with 2 Gb capacity and a paersistent storage setting of 200 Mb
I changed root=XXXXXXXXXXXXXXi-do-not-remember-XXXXXXXXXXXX to
On the flash drive to make it bootable
I installed gparted on live operating system and when i rebooted gparted was not installed.