Debian :: How To Create A Persistent Linux USB Drive
Feb 16, 2011
Yes, I know, I know, there are lots of instructions out there on how to create a persistent Linux USB drive. However, I've been having a really hard time finding if it's possible to create the WHOLE thing persistent.For example, I want to turn my 8 GB thumb drive into a portable Debian Squeeze where I can install (persistent) apps and make root-level changes to the filesystem. Is this possible?
View 2 Replies
ADVERTISEMENT
Feb 3, 2011
I have Lenny installed. How to create, using live-helper customized Live USB with a persistent /home partition on this USB stick, to save changes between boots?
View 6 Replies
View Related
Dec 30, 2015
I installed debian 8 on a 16 GB usb drive using this guide. I used a debian 8.2 64-bit image with mate. If I were to get a larger usb drive, would I be able to transfer everything from the 16GB drive to it? How?
View 1 Replies
View Related
Oct 28, 2015
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
[Code] ....
View 5 Replies
View Related
Sep 14, 2014
Debian not booting from USB external SSD drive. Linux 3.2.0-4-686-pae been installed on new SSD, attached to Windows 7 laptop. When I select "USB storage" in Windows boot order menu and try to boot, Linux not booting, every time loading Windows. Is it ever possible to boot linux with such setup?
[URL] .....
View 5 Replies
View Related
Jan 5, 2015
I'd like to install Debian GNU/Linux on a single drive (SSD) desktop computer.The filesystem of choice is BTRFS and a couple of thing are not really clear to me:
- is a swap partition still necessary and what's the best fs for it?
- what partition scheme would be suggested?
I thought about 2 different btrfs partitions, one for /home and one for / (root) but from what I read if I'm giving the raw drive to BTRFS that would be more beneficial performance-wise, is that correct? (actually I don't even know if 2 btrfs partitions on the same drive is even possible).
If should I got for "donating" the raw/whole drive to btrfs which subvolumes scheme would be suggested for an easy management of the snapshots and backups? should /home be a subvolume or that's not really necessary.
View 4 Replies
View Related
Dec 31, 2010
I'm attempting to create a persistent live USB. My flash drive is 32 GB, so I plan on creating a 8 or 16 GB ext casper-rw partition for my persistence (as described here.) I would like to have the remainder of the space available as an NTFS partition. However, most of what I'm reading indicates that only FAT32 is possible for a bootable Ubuntu USB.
I've been told that if I simply installed to USB drive as if it were a regular old HDD, it would be bootable and I could simply format the rest as NTFS. I'm wondering if this is true and why all these utilities I've found (Linux Live USB Creator, Universal USB Installer, etc...) insist on FAT32. Persistent (>4GB) bootable usb, with the rest of it a windows-recognizable NTFS partition?
View 1 Replies
View Related
Apr 20, 2010
I'd like to make a "live" USB, probably Ubuntu or a derivative such as Mint. How do I make it persistent? FWIW, this particular project will be primarily used for Ubuntu Studio. My hardware works fine with all versions of Ubu and Deb so there are no driver issues, simply the question of adding persistence to the stick
View 2 Replies
View Related
Apr 1, 2011
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?
View 9 Replies
View Related
Aug 22, 2009
I have followed the link:http://www.ejabberd.im/muckl and setup ejabberd. I installed muckl too. I can see http://<ip>/muckl running well.But the Issue is I am unable to create Rooms.Any one who have hands on this?
View 1 Replies
View Related
Mar 24, 2011
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.
View 5 Replies
View Related
Jul 20, 2010
I want to carry Ubuntu with me everywhere on a LiveUSB but I want to encrypt the home with a strong passphrase in case it is lost or stolen. How do I do that?
View 1 Replies
View Related
Mar 27, 2010
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.
View 9 Replies
View Related
Jul 11, 2010
I am trying to install Linux (the distros I have attempted it with are Arch, Fedora, Ubuntu and Mint) on a USB drive and make it work like a removable hard drive, keeping programs and settings. I tried it manually at first, partitioning the drive with Fedora's "Disk Utility" and dd'ing a Fedora 13 iso over. I should note here that I have definitely configured the BIOS correctly, enabled booting from removable media and set it as the default with all other devices disabled, but that I have never actually booted from USB before with this motherboard. On bootup I got
Code:
DISK BOOT FAILURE, INSERT SYSTEM DISK AND PRESS ENTER
I then tried it with Ubuntu 10 and Ubuntu's "usb-creator". This was apparently successful, but on bootup I got:
Code:
missing operating system
DISK BOOT FAILURE, INSERT SYSTEM DISK AND PRESS ENTER
I downloaded UNetBootIn, but the application kept saying I needed "p7zip-full", which I couldn't find anywhere. I then got Fedora liveusb-creator, but whichever iso I give it I get this error:
Code:
Unable to find LiveOS on ISO I looked at the source code and it seems to be looking for a directory named LiveOS on the iso containing the files "squashfs.img" and "osmin.img" Here is the code (usr/lib/python2.6/site-packages/liveusb/creator.py, line 575):
Code:
def extract_iso(self):
""" Extract self.iso to self.dest """
self.log.info(_("Extracting live image to USB device..."))
[code]...
I couldn't find much about what LiveOS actually means and why I need it to create a bootable USB, so if anyone could tell me more about this that would be great. Is this (the .img files) the only thing distinguishing a "Live" OS from a non-Live one? I looked in my Ubuntu live CD and there was no such directory, but it works perfectly well. In case it would make a difference, the stick is 8GB and branded duracell, not sure what manufacturer it is.
View 8 Replies
View Related
Jul 27, 2009
I just tried Centos 5.2 Live starting from a 2 GB USB flash drive. Everything seems to run fine, fast, stable - except for that the persistent feature is not working. I created the USB from Windows using the Centos 5.2 LiveCD image and the current version of Live USB Creator (3.7), and declared a 256 MB persistent space.
This persistence feature had worked before with Fedora 11 but the system resulted unstable, kernel panic.... Now Centos has been solid for hours in a row... but the file where persistence should be reflected remains untouched with the initial creation timestamp. When rebooting, every change in config, file created etc gets lost.
View 2 Replies
View Related
May 30, 2010
I have a slow 3TB usb drive that I keep my video projects on, but when I'm working on a project I want to have the files on my main HD so that the video editing is less painful. So here is my question: is there a way to have a folder on my main computer that syncs files *as they are needed* to my main drive, then when they are edited sync them to the USB drive again?
So if I have a folder with 100 clips on my USB drive, can I sync just the directory listings to the local folder, then when I add a video to my project file and it is read by the video editing software, then just that file is synced to my local folder? Then, when I close the terminal with this app running, or some other signal the local folder is destroyed (all of the files are synced to the USB drive once they are changed).
View 4 Replies
View Related
Jun 11, 2011
I have a 16Gig usb drive and i've managed to get Backtrack up and running on it with persistence, but I really want to have on it is Mint, Backtrack 5, if possible Ubuntu and hirens bootcd. I don't really want to use unetbootin. how i need to set up the partitions, if it's possible to have both Backtrack 5 and Ubuntu with persistence since they both use casper-rw and what mint needs for persistence.
View 6 Replies
View Related
Nov 20, 2010
Is it possible to create a Debian Net install USB flash drive? Instead of just burning the ISO to a disc...
View 5 Replies
View Related
Mar 6, 2011
I'm trying to use the VirtualBox OSE for some windows programs and i'm using a netbook with Debian Linux Squeeze. I haven't found anything on how to create a USB drive with windows using debian to create the disk. Does anyone know anything and or have a good website that would hopefully be useful or program?
View 7 Replies
View Related
Sep 10, 2010
I am new to debian and recently I have been working with a debian server. I have been asked to find out how to create a script that you can run or can be run by another program to format and mount a new hard disk?
View 3 Replies
View Related
Jul 31, 2010
I want to create a bigger application based on the linux.I know c language,mysql database and some of the networking concepts.
View 7 Replies
View Related
Feb 16, 2010
I wish to use my laptop to create a system for my Soekris 4801. I don't want to take the server down for the lengthy install ( took 6 hours last time, Fedora 5 ). I want to create the image on a USB drive for the 586 Soekris server on my 686 HP laptop. Then scp the image to the Soekris and reboot and configure the server.
View 3 Replies
View Related
Apr 29, 2011
I'd like to use Ubuntu to create a multiboot usb pendrive/flashdrive. I know there are a few programs out there that I could use to boot multiple Linux distros from the same pendrive, but I would also like to use the drive to boot some liveCD versions of *BSD and also use it for storage.
View 1 Replies
View Related
Nov 8, 2010
I need to have a persistent Debian install on a thumbdrive to run a computer that is currently diskless (dead hard drive). So far I've managed to get it to boot Squeeze live beta by setting up the thumbdrive with UNetBootin, but it's not persistent. I found this, but step 6 is a mystery to me, as I can find no such command or package.
View 12 Replies
View Related
Jul 10, 2011
Since removing the deprecated usblp driver from my kernel I no longer have a /dev/lp0 device, or /dev/usb/lp0. I use these for sending files directly to my printer. Should these be created by udev? If so, why might they not be being created? If not, how can I get a persistent device name for my usb printer?
View 1 Replies
View Related
Dec 21, 2010
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)
View 6 Replies
View Related
Jun 28, 2011
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.
View 7 Replies
View Related
May 6, 2011
I've compiled the last stable ubuntu kernel (2.6.38-...) following this guide: How to compile a Ubuntu 10.10 kernel but in this guide doesn't explain how create linux-libc-dev package for that kernel? How do I do?
I've tried with fakeroot debian/rules binary-arch-headers but it returns an, IMHO, absurd error:
mkdir /home/simon/sources/kernel/ubuntu-natty/debian/linux-libc-dev/usr/include/
mkdir: cannot create directory `/home/simon/sources/kernel/ubuntu-natty/debian/linux-libc-dev/usr/include/': File exists
make: *** [install-arch-headers] Error 1
The error is correct but this folder is created in the same process!
View 1 Replies
View Related
Dec 1, 2015
How to enable persistent logging with systemd? I find it really weird that all this machinery that is systemd doesn't store persistent logs, what if I'm trying to retrieve some information regarding previous boots?
For instance: I have random suspend issues, after rebooting the computer there's no trace left in the logs of what happened, and furthermore (at least in Jessie) I can no longer see a pm-suspend log.
So, at first it sounds like all you have to do is edit journald.conf setting #Storage=auto to "persistent" and create the /var/log/journal directory, but then reading here /usr/share/doc/systemd/README.Debian
Code: Select allEnabling persistent logging in journald
=======================================
To enable persistent logging, create /var/log/journal and set up proper permissions:
install -d -g systemd-journal /var/log/journal
setfacl -R -nm g:adm:rx,d:g:adm:rx /var/log/journal
and here [URL] ....
There are two main reasons why I decided to not enable persistent logging just yet ....
We did get corrupt journal files in the past where the journal then no longer worked at all [1]. With volatile you can just reboot and have a clean state again. Admittedly, the journal has seen a lot of improvements in the mean time and hopefully is more robust, so this point is no longer true.
We still install rsyslog by default. That means we get store them twice. This is something we don't want to do atm.
View 3 Replies
View Related
Mar 30, 2011
I have a problem defining persistent device naming on a Debian Lenny server.I have:RAID1 controller on the server machine with two SCSI disks.external storage with RAID5. I have / mount on the first partition on the server SCSI disk and /storage mount on the external storage.
I'm experiencing a problem: The system recognizes the system disk (RAID 1), as sda or sdb - randomly.I want: To control the recognition, and tell the system that sda (sda1) will always be the system disk.The motivation: GRUB is configured to work with sda, and when the system disk doesn't, boot process fails, and I end up in the initramfs shell-like interface.
Booting the kernel
.
.
.
mount:mounting /dev on /root/dev failed: No such file or directory
mount:mounting /sys on /root/sys failed: No such file or directory
[code]....
View 6 Replies
View Related