General :: Encrypt An Existing Partition While Preserving Its Data?

Nov 30, 2010

If I have a partition like /dev/hd1 that is unencrypted and want it to be encrypted, but want to keep everything currently in that partition, how can I do that?

View 2 Replies


ADVERTISEMENT

General :: How To Backup Server For Preserving Data

Nov 10, 2010

How to backup my Linux server for preserving data in case if hard disk crashes?

View 2 Replies View Related

Fedora :: How To Resize Existing Partition Without Data Loss

Dec 4, 2009

In the process of preupgrading to FC12. Towards the end of the process I get a warning that my /boot partition isn't big enough (12 recommends minimum of 300Mb).

My disks:
[root@fatbeast boot]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_fatbeast-lv_root
35G 6.6G 28G 20% /
/dev/sda1 194M 176M 8.4M 96% /boot
/dev/mapper/vg_fatbeast-LogVol02
29G 25G 3.2G 89% /home
tmpfs 1.9G 676K 1.9G 1% /dev/shm
/dev/sdb 7.5G 319M w7.2G 5% /media/CDF2-6BE2
[root@fatbeast boot]#

Is there a tool I can use to resize my existing partitions WITHOUT data loss? I've been using gparted up to now for sorting partition stuff, does that maintain data when resizing (assuming I run from a boot CD or USB rather than a running system)?

View 2 Replies View Related

Ubuntu :: Safely Resize A Partition Like Adding The Extra Space Without Touching The Existing Data?

Jul 9, 2011

I have a BIG extended partition. It's at about 750Gb. Aside from that, I have 2 unallocated spaces, one at 240Gb and one at 5Gb. I want to make one of my storage drives bigger, and so that I can take advantage of all the space I have. (Those 250Gb have been unused for ages. I want to use them for my growing libraries.) So I wonder: would it be safe to put these smaller "chunks" into the extended partition, and still have a working systen? I don't want to mess it all up.

Also, can I safely resize a partition, like adding the extra space, without touching the existing data? I'm not exactly sure how the resize/move function in GParted works. Will it wipe and extend or only extend it by adding it? It would be nice to have these questions answered. Also, if it's to any help, this is my partition table as of now:

[Code]....

As for the first entries, they're unallocated. They're the primary drives, but they don't exist. I'm actually considering to move my partitions out of the extended one, because I only have 3 partitions that I use and will ever use. But if the extended partition is not a problem, I will just keep it this way.

I'd imagine that I first extend the extended partition to consume the unallocated space, and then I move it all to the end of the partition, and then resize sda7 to consume it, and get a 750Gb partition. Can this be done without loss of data?

View 9 Replies View Related

Ubuntu Security :: Encrypt Existing Home Directories In Lucid?

Jun 5, 2010

Is there a way to encrypt existing home directories in lucid so that they will unlock with pam-encfs when the user logs in? Or must you do this when the directory is created?

View 1 Replies View Related

General :: Encrypt Full Partition Instead Of Creating A File And Encrypting It?

Jan 8, 2010

I want to encrypt Full partition instead of creating a file and encrypting it, and also want to move this disk to another server. do i need some files also (that hold keys) with my self on new server. i am using FC11.

View 2 Replies View Related

General :: Crypt() Perl Function To Encrypt Password In Shell Scripts Or Encrypt Passwords?

Jan 8, 2010

I Have shell script like this

Code:
#!/usr/bin/expect
set password "XXXXXXXX"

[code]...

View 13 Replies View Related

General :: Mount A Hard Drive With Pre-existing File System And Data?

Mar 23, 2010

I had a drive that kept kernel panic'ing so my data center recommended using the spare hard drive to reinstall OS on, and import the data from the old drive. (they checked the hardware, it wasn't the hardware) The new install is done, and I need to mount the old drive and get backups off it since my data center does not provide management whatsoever.

It's the same OS on both (Cent OS 5.4 32-bit) I'm an advanced user on windows, but linux gets me. I can ssh in, do basic stuff like setup IP ranges and restart services. I normally navigate the box through SFTP so I have a gui. WHM shows me my drives as such

Found Disk: hda
Found Disk: sdb

so I'm assuming SDB is my old drive and the drive I need to access. I attempted to follow instructions on

cyberciti.biz/faq/freebsd-adding-second-hard-disk-howto/

but I'm assuming FreeBSD would work differently and I wasn't totally sure what the labels of the file systems should be.

View 1 Replies View Related

Ubuntu Installation :: How To Reinstall Preserving Home Partition

Sep 19, 2010

I have two partitions: one for / and the other for /home ; now how do I reinstall ubuntu in the '/' partition so that I can reuse /home as it is?

View 2 Replies View Related

General :: How To Partition An Existing Partition

Mar 25, 2010

I want to partition an existing partion(to get room for another partition) without loosing data (without formatting)

View 2 Replies View Related

Ubuntu Security :: Use To Encrypt All Data On USB Flash Drive?

Apr 18, 2010

Folks:What can I use to encrypt all data on my USB flash drive? If possible, could I use something that has a public Key, so I do not have to type in a password to access the information when I plug the drive into my machie, but will not open or display contant if the drive is plugged into anyone else's machine, unless they have the public key?

View 7 Replies View Related

General :: Create A New Partition From The Existing System?

Nov 20, 2009

how to create a new partition from the existing system I am using ubuntu 9.04 as Host system and work on LFS. The command given in LFS book throws i.e

khirod@khirod:/dev$ mke2fs -jv /dev/sda5
mke2fs 1.41.4 (27-Jan-2009)
/dev/sda5 is mounted; will not make a filesystem here!

View 1 Replies View Related

General :: Partition On An Existing System - Extended Not Being Used

Jul 14, 2011

I have a 120GB HD that I installed my linux-mint distro to and have been using for a while now, maybe a year or so. However, it has been running great so I haven't paid much attention to the actual install. Recently, I have been getting notifications of very low disk space remaining. I ran gparted and discovered that there is a very large extended partition that doesn't appear to be mounted. Can I just boot into a terminal, set a mount point and be on my way or will this hurt my existing installation? What is the safest set of steps to mount this partition since it looks to be the swap space as well?

Code:
Here is output of fdisk for the drive:
Disk /dev/sdb: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders

[Code]....

View 5 Replies View Related

Ubuntu Security :: Firefox Master Password Does Not Encrypt Data

Jan 21, 2010

I just tried out setting a master password for Firefox saved passwords and compared the old and new (before and after setting the master password) signons.sqlite files. Although passwords were not stored in plain text in either of the files, I did notice that the files were exactly the same. Am I wrong in assuming that setting the master password did not encrypt anything at all, or am I simply looking at the wrong file?

View 9 Replies View Related

Programming :: C++ GUI Signalling - Encryption System Should Encrypt The Data In The Clipboard

May 30, 2011

I'm trying to write a GUI text encryption application. I wrote the encryption system in a No GUI application like this::

[Code]...

Now I'm trying to write a GUI version, using the same algorithm. Here goes a rough image of my main window code. If you scroll down you'll observe a coloured part. As you see, the text in the first textbox gets copied into clipboard. That is the part where my encryption system should encrypt the data in the clipboard, and copy it again, and later on the new data will be pasted. How am I supposed to write that? If I have to use another signal, what is the receiver of that signal?

[Code]...

View 5 Replies View Related

Ubuntu :: Copying Lots And Lots Of Data (and Preserving Emblems)?

Oct 26, 2010

I am currently in the process of moving around 20TB of data from one server to another. Security is not a concern, since the data are freely available to anyone on our network anyway. There are a couple of things that I'm trying to decide on:

(1) protocol choice

Of all the choices I have--nfs, ftp, scp, rsync, samba--has anyone done any benchmarking to show which would be the fastest/most robust transfer protocol? I know nfs has slow write speeds for synchronous transfers. Asynchronous would be faster, but less robust. I'm leaning toward rsync since it performs md5sums to confirm the file transfers. (Remember if there's a 1 in a billion chance that a byte will get corrupted, then I'll have 20,000 corrupt bytes in the transfer.)

(2) Nautilus emblems

We use emblems in Nautilus to categorize files. The old and the new server have the same directory structure.Is there any way to copy the Nautilus emblems from the old server to the new server. What I want is that if a user had marked a particular file with a star on the old server, then that file would be marked with a star on the new server when he/she logs in.

View 1 Replies View Related

General :: Mirror The Boot Partition On Existing Raid1?

Feb 26, 2011

I have a raid1 setup on a machine. Recently it died and I thought one of the drives had failed as it was shooting errors. So I tried unplugging that drive get it to boot off the mirror but it seems the techs forgot to mirror the boot device so the 2nd drive can't boot on its own. After a while it was realized that the sata cable was in fact bad and replaced so now its working again.

However, this occurrence showed a flaw in the setup where the RAID1 isn't working as its supposed to. I would like to correct this. Can I somehow mirror the boot partition so the 2nd drive will boot independent? I'm not sure how I would go about this. This is a CentOS 5 installation.

View 13 Replies View Related

General :: Don't Have Permission To Read DATA Partition; Partition No Longer Visible

Oct 30, 2010

I've been using Ubuntu 10.10 for just under a week. Recently, a partition called 'Data' has disappeared, and all my music and documents along with it. The folder is not to be seen in Places or on my desktop. My only way of finding it is to go to terminal. But when I try to open it there I get an error saying I don't have permission to read it. In Puppy Linux and SliTaz I can easily find the partition and read it. What should I do to bring it back in Ubuntu?

View 3 Replies View Related

Ubuntu Security :: Encrypt A USB Stick Partition?

Oct 28, 2010

I'm trying to think of the best way to encrypt a partition on my flash drive.

I plan on storing ssh/pgp keys on it for use on different computers (including school computers, where I won't have administrative access).

TrueCrypt is going to require admin access to decrypt and mount the partition, I think, so that's out.

Are there any other methods you all would recommend?

View 1 Replies View Related

Security :: Encrypt Swap Disk Partition?

Apr 5, 2011

Is it better to use:

Code: -c aes-cbc-essiv -y -s 512 Or:
Code: -c aes-xts-plain -y -s 512

I've never encrypted a disk before; I'm following the Arch wiki (I'm a newbie, basically). Should I try and encrypt my swap partition (I've got 512 MB RAM, 1 GB swap)? Ideally, I'd like to make it so it's not feasible for someone (even a very skilled someone) to access my files (and system -- I'm encrypting /), but still make it fairly fast and usable for day-to-day operations. If it matters any, I'm using JFS.

View 3 Replies View Related

Ubuntu :: Combine An Empty Partition With Existing Partition?

Sep 18, 2010

How would I combine a empty partition with my existing partition? A reinstall is just an option and I need more disk space

View 2 Replies View Related

Ubuntu :: LVM With USB And Existing Data?

Aug 4, 2011

I've been thinking about this pretty heavily and am thinking about using LVM to store my media collection. The USB hard drives (3x1TB) are plugged into my Mythbuntu server and are never unplugged. The only issue I forsee is that the USB drives spin down when not in use. Will this cause any issues with LVM? I have about 750GB of data on one of the drives and, obviously, want to keep this data. I think the existing data makes it not possible to use a LVM mirror (correct me if I'm wrong).

I was thinking that I could create a 2 disk LVM with the unused data. Then, copy the existing data to the logical volume. Lastly, add the third disk into the volume group. I know doing this does not add any redundancy. Would it be wise to add a RAID1 or RAID5 on top of the volume group? Does using USB drives make this unstable?

View 4 Replies View Related

Ubuntu Security :: Way To Encrypt Your Swap Partition After Installation?

Mar 14, 2010

Is there a way to encrypt your swap partition after installation?

View 3 Replies View Related

OpenSUSE Install :: Reinstalling OpenSUSE And Preserving /home Partition?

Sep 29, 2010

I'd like to reinstall openSUSE 11.3 on a pc and would like to preserve the /home partition. The current partiton structure is

sda1 /boot
sda2 /swap
sda3 /extended partition
sda4 /
sda5 /home

When the installer gets to the point to set up the partitions it offers something like

sda1 /
sda2 /swap
sda3 /home

I'm not sure which option to take now. I assume I choose the option to edit the partitions but I'm not clear how to preserve the /home as it's now got a different partition number or does that no matter as long as I choose not to format it? Also, to replicate the original partition structure I'd need to delete the partitions and add them in the correct order but would that destroy the /home?I'm a bit confused with how it will work.

View 2 Replies View Related

Server :: Creating LVM With Existing Raid - With Data On It

Apr 24, 2009

I have a system that has the following partitions:

Now SDC is a new drive I added. I would like to pool that new drive with the raided drives to give myself more space on my existing system (and structure). Is this possible since my raid already has data on it?

View 1 Replies View Related

Ubuntu Installation :: Windows 7 Won't Install Getting This Message:"setup Was Unable To Create A New Partition Or Locate An Existing System Partition"?

Apr 8, 2010

i tried installing windows 7 on a partition on my laptop but i'm getting this message:"setup was unable to create a new partition or locate an existing system partition "i tried googling and found that it has something to do with the number of partitions:my hard disk layout right now:

p1 ext4 21gb /home
p2 ntfs 64gb
p3 ext3 18gb ubuntu installation

[code]....

View 6 Replies View Related

General :: Recover Ext 4 Partition And Data?

Aug 27, 2009

Well i have an 20GB HDD (/dev/sdb) formated with ext4 and has very important files on it .All of sudden something went wrong and the 20GB partition has been lost . Now how do i have to recover that partition and primarily recover those files . Gparted shows no partition on it but unpartitioned space .

View 1 Replies View Related

General :: JFS /data Partition Full

Feb 8, 2010

I have a 10gb partition I use for data. The /home is there, and I mount any other data partitions (like /music stuff) onto /data. These other mounted partitions add up to something like 60gb of diskspace, but since they're just mounted on /data, I believe they only take up 4096 bytes per mount point.

Some time ago, I found that the /data parition was full. There was only 330mb of data in /home, so I was perplexed. I found a cache dir under .opera that reported itself as having 132TB (yes, that is terrabytes) of files. I thought deleting the offending directory was the answer, so I deleted that cache dir and every file or subdirectory in it, but the /data partition is still like 99% full. I am a wee bit confused.

This very full /data partition is my only jfs partition. The other mounted filesystems are either ext3 or ntfs. Is it possible that the journal of this filesystem is corrupted? Or is hidden somewhere on the /data parition, taking up a bunch of space? (I obviously don't know enough about filesystem to know whether or not this is a likely scenario.) Is it possible to zero out (or delete and re-create) the journal, if so? The only other thing I can think of is to move all the /home data off, delete the partition, then re-create it and move /home back. I will do that if need be, but I'd rather learn something from the experience, weird as it is.

View 14 Replies View Related

OpenSUSE :: Existing Configurations Be Reset If Install Xen Through Yast And Loose Data?

Nov 15, 2010

I have an existing OpenSuse 11.3 (64 bit) box serving a couple of websites. I would like to enable Xen. Question - If I install Xen through Yast, will my existing configurations be reset and will I loose my existing data? Does Xen have to be installed on a clean system?

View 3 Replies View Related

General :: What Is Tpurpose Of Preserving Timestamps?

Mar 31, 2011

I could understand the idea of security "if I haven't touched the file in 9 days, and the timestamp was changed, I know someone was in my system". But, is there any other purpose for preserving timestamps?

View 3 Replies View Related







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