Debian :: Moving Persistent USB Install To Larger Drive

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


ADVERTISEMENT

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 View Related

Debian Installation :: Persistent Live Jessie System On 8GB USB Drive

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

Debian :: Moving /home To Second Drive?

Dec 20, 2010

I recently installed Debian (*former Windows user*) with xfce and I only aligned one partition. I have a 80gb SSD where I have the OS and apps. I just now installed a hard drive which I'm going to use for documents, pictures, music etc., but I haven't mounted it yet. I'd like to move /home to it's own partition on the second drive, and I'd like the desktop to be on the HDD also, but I don't really have any idea how to do this and haven't found any information about this (that's why I haven't mounted the HDD yet either). I'd like to keep the SSD purely as a drive for OS and apps so if there's anything else I should consider or if there's a better approach for this?

View 14 Replies View Related

Debian Configuration :: Moving Encrypted System To New Drive

Dec 30, 2015

I want to move my old system to a new drive. Currently I have Debian installed with following configuration:

I have an encrypted system where everything is encrypted except /boot. Currently I've /boot and / installed on a 16 GB mSata SSD and /home on a regulard HDD. I've got a 500GB SSD for Christmas and want to move the whole system to the new SSD.

I just wanted to ask if I've got the process required to to this down:

1. backup root-directory (/) without and /boot /home using tar keeping file-permissions and owners to ext. hard drive
2. backup /boot and /home separately using the same method
2. replace HDD with SSD remove mSATA SDD.
3. boot via live-usb
4. create appropriate volume groups, partitions, setup encryption etc.
5. extract backups to appropriate partitions
6. chroot to old /.
7. edit fstab
8. reinstall grub
9. create new init ram img.

I'm pretty sure I've got steps 1.-6. down but I'm very shaky on what to do next.

View 0 Replies View Related

Debian Installation :: Persistent Install In Virtualbox

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

Debian :: How To Install Iptables-persistent As Loadable Kernel Module

Nov 10, 2015

I'm working on my iptables rules on a debian 8 vps and I tried to install iptables-persistent but I was told "Unable to locate package"...

Where can I get this so that I may save my rules for reboot?

View 5 Replies View Related

Ubuntu Servers :: Strange File Names - Getting Larger And Larger All The Time

May 3, 2011

Using Samba I have looked into the file that stores all my web sites, there were a few strange files that get larger and larger all the time. File names are _Za01716 and _Za01820, they are nearly 50mb in size now. I know these are not Log files so what are they and can I delete them?

View 1 Replies View Related

General :: Moving Install To New Hard Drive (Fc12) Mount - Grub.conf, And Rsync?

May 31, 2010

As my proficiency with Linux improves slowly, I've been trying to find the answers for myself, but in this situation I must admit I find myself rather stumped. I have a perfectly nicely working Fedora 12 install on an 80GB SATA drive, and when it hit an error and wouldn't boot last week (easily fixed with fsck from the initial command line) I panicked and ordered a new 250 GB drive. It got here and I might as well use it, I thought to myself, so I went about trying to figure out how to move my install without having to reset all of my settings, programs and so on. I didn't want to mess with dd because I'm not so so clear on resizing my partitions once the copy is done (if someone thinks this is a better idea I'm open to suggestions.) After some poking around I found this set of instructions which I attempted to follow to the letter, but hit some snags. I understand this thread I am referring to may be a bit outdated, which is why (I assume) I hit a bump here

Code:
# mount /dev/hdy1 /boot
mount returns an error demanding I specify the file system type. At a loss, I barreled on until
Code:

[Code]...

To summarize, I partitioned and mounted my new drive using fdfisk and the instructions provided above, then used rsync to copy over all of the files, so as far as I know the new drive is ready to go, just not yet bootable. Opening the Grub.conf file in Kwrite (as root) returns a blank page. What do I do now?

As a side note, you can see that I am not too squeamish about the terminal, so I would prefer to find a "command line only" solution to this relatively simple (?) procedure.

View 5 Replies View Related

General :: Move Smaller Hard Drive To Partition On A Larger Hard Drive?

Mar 16, 2010

My parents bought a new hard drive for a laptop that I've owned for several years. It's much larger than the current one, so I plan on splitting it up to dual boot it with Ubuntu.I have no problem with partitioning a drive (I always keep a LiveCD handy), but my question is this: how can I go about moving the existing partition to the new drive? This is a laptop, so I can't simply plug the new drive into another slot.

Also, even if I manage to move it, will Windows still work on the new drive in a larger partition? I've had this laptop for quite a while, and I've lost the recovery discs that came with it a long time ago. I also have a lot of software without CDs to reinstall them with. This makes not reinstalling Windows a high priority.

View 3 Replies View Related

Debian Installation :: Moving Debian Install From Virtual Machine To Physical

Feb 20, 2010

I have been learning Debian by using a virtual machine. After fine-tuning my installation procedure, I decided to copy that installation to my physical system. The hard drive already has another Linux based system installed. I plan to dual boot.After copying files I updated fstab and menu.lst.The partition scheme between the virtual and physical environments are similar, but the partitions are not mapped exactly the same.Thus the Debian system on the physical hard drive fails to boot simply because the initrd is created for the root partition location on the virtual machine. The initrd created in the virtual machine is looking for the root file system on /dev/hda1 whereas on my physical drive the new location is /dev/sda7.How can I rebuild the initrd on the physical system? I started to use the installation DVD in rescue mode, but I did not get too far.

View 6 Replies View Related

Ubuntu :: Move /home To Larger Hard Drive?

Jun 19, 2011

I'm sure that this is posted somewhere but I have not been able to find the right search terms. I have a Dell Vostro 1700 which has 2 physical hard drives. I installed Natty to the 1st drive and during the install I used the entire 2nd drive as /home. I would like to upgrade the 2nd drive to a larger faster drive. I have the new drive in a USB enclosure so that I can access both drives. I'm pretty sure I need to boot from the CD to do this. Then I need to copy all files unmount the small drive then shut down, install the larger drive and have the system recognize it as /home. I am just starting to creep out of N00B stage and don't want to screw this up.

View 2 Replies View Related

Fedora :: Copy Image Of System To Larger Drive?

Mar 3, 2009

I am running Fedora 10 and would like to move from my 40gb hard disk to a larger (320gb drive). I would like to take an exact image of the smaller drive and put this on the bigger drive.

View 3 Replies View Related

Ubuntu Installation :: 9.10 Thumb Drive With Persistent Changes?

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

General :: Creating Persistent Bootable USB Drive From Iso?

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

CentOS 5 :: Live On USB Flash Drive Non-persistent

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

Server :: PHP File Open Larger Files Or Fopen Files Larger Than 2gigs

Feb 16, 2011

I have a ubuntu 10.10 server with apaceh2 and php and I want to open a file larger than 2gigs

I've read there is a flag that needs to be compiled into php to do this ?

View 6 Replies View Related

Ubuntu :: Video Projects On 3TB USB Drive - Persistent Rsync?

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

General :: Live Persistent Usb Drive With Multiple Distros?

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

Ubuntu :: Use The Tar Command With A Tape Drive - Data Is Larger Then 1 Tape

Mar 8, 2010

I am looking at getting a DLT drive for my network; however, I have never used the tar command with a tape drive. What happens if the data is larger then 1 tape? Does the tar application automatically span tapes or do I need to use switches so it spans multipule tapes? Right now my Full backup will take 2 or 3 tapes.

View 3 Replies View Related

Ubuntu Networking :: Wireless Install Won't In Persistent USB Install?

Dec 21, 2010

I'm trying to use a persistent install of Lubuntu 10.10 on a USB flash drive. I thought it was working at first, but the wireless connection won't happen at all; period!

Whenever I click on the network Icon, all I get is a pop up message telling me I'm not connected to the wireless Then when I click on the wireless menu to select a network, the sign in window closes before I can even try to do anything with it, and then I get that "your not connected" pop up message again.

It's quite irritating. It basically won't let me sign on to a wireless Internet connection at all.Every time I do try to connect all I get is the "your not connected" message and nothing else. I'm using a 16 GB Kingston Data Traveler USB flash drive and am trying to run it on a Toshiba A100 Satellite laptop.

I've also been experimenting with a 16 GB Kingston Data Traveler 102 USB flash drive, with Linux Mint 9 LXDE installed on it and haven't had any problems with that one accessing wireless connections on the same computer.

Does anyone know what would cause this? It seems to boot well enough. But I just can't get Lubuntu 10.10 to access wireless networks to save my life. Could it be a hardware issue? I should note too that I used exactly the same USB flash drive on the same computer when giving Xubuntu 10.10 a "test drive" as a persistent install. But I didn't have any troubles like that with it.

View 2 Replies View Related

Ubuntu Installation :: Moving The OS To Different Drive?

Aug 4, 2010

I am going to move my ubuntu to a different drive. Right now I have it on my primary sata drive in an extended partition. I want to move the whole installation to a different drive. Is there any way to do this without reinstalling ubuntu. Grub is installed onto my 100mb windows 7 boot partition. Is there a way to make grub point to the moved ubuntu installation on the different drive?

View 5 Replies View Related

General :: Moving A Partition With Dd To Another Drive

Dec 7, 2010

Lets say I have /dev/VolGroup00/LogVol00 which is a 5.8 GB ext3 partition that resides on a 10GB drive. This is just a logical volume partition, one of a few... this being the one that isn't swap, the main data.

I have a 20GB drive... I want to move the LogVol00 to it, and it is /dev/sdb. I partition /dev/sdb1 to be 8192 MiB in size in gParted.

I move as such:

dd if=/dev/VolGroup00/LogVol00 of=/dev/sdb1

The operation finishes with no problems.

Fsck reports clean... so... I run:

fsck -l /dev/sdb1

A few small errors pop up and they get fixed.

My free space remaining, as expected, is 5.8 GB.

I go into gParted and resize the partition to 15GB in size, still working on the 20GB drive.

It does so, the operation completes.

I have what I want: the partition was taken out of LVM, data was retained, I have no issues resizing it. Additionally I tried writing random junk to this new filesystem to test to see if it's broken, and also deleted 3gb of files already on it with no problems.

I just want someone to look this over and tell me if they see any problems with what I've done. I've tested this twice so far with success each time. Is there a better or easier way to do this? I do not want to keep LVM for various reasons. By the way, you might be wondering why I made the partition 8GB for an almost 6GB system. Because the first time I did it, I put down a number that was too exact and it didn't work. Overestimating to 2GB fixed the issue - I'm guessing this is probably due to block size.

View 5 Replies View Related

Debian :: Making Live USB Squeeze Persistent

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

Debian :: /dev/lp0 With No Usblp - Get A Persistent Device Name For Usb Printer?

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

Debian Installation :: Sd Card Boot Persistent ?

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

Fedora :: Moving /home To Its Own Logical Drive?

Jul 15, 2009

F-10 default installation is /swat /boot and the rest /

Many on this site recommend setting up separate partitions for /home

Does making a separate logical volume and putting /home in it do the same in allowing one to do an install to the original logical volume without affecting /home?

If it does, how does one get the 2nd LV recognized in the file system?

View 3 Replies View Related

OpenSUSE :: Moving Files From External Drive

Aug 12, 2010

I'm trying to copy files from my external hard drive to the desktop and instead of the usual copy or move to options, I get a widget menu! How do I correct this so I can copy files?I'm running opensuse 11.3 KDE 64bit

View 5 Replies View Related

Ubuntu Installation :: How To Do A Non-persistent Install

Feb 13, 2010

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.

View 4 Replies View Related

Debian Configuration :: Enabling Persistent Logs With Systemd

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







Copyrights 2005-15 www.BigResource.com, All rights reserved