Ubuntu :: Need Clone LVM Encrypted Hard Drive To Bigger Size
Dec 22, 2010I need to clone LVM encrypted to a bigger size hard drive.
Need help with MBR, how should I do it?
I need to clone LVM encrypted to a bigger size hard drive.
Need help with MBR, how should I do it?
I have a laptop with a sata drive that is almost full I need to get a bigger hd for it.Is it possible to clone an encrypted FC11 drive?
View 1 Replies View RelatedIt's not a Slackware-specific question, but I figured someone here might have some insight. Basically what I've got is a 120 GiB drive I was using to boot Slackware. I then mounted a third hard drive inside of my PC (500 GiB) that I wanted to clone the Slackware image onto. But I don't want this drive to be solely used for Slackware so I partitioned off about a 250 GiB chunk for it. Using gddrescue I cloned the image. It booted fine and everything looked good other than Slackware still only seems to think it's got 120 GiB to work with. My question is how can I make it recognize the full 250 GiB, or how can I go a different route to utilize the extra space? Is there some way I can just clone it directly and then go about resizing it afterwards? The first thing I tried was to clone it directly and then attempt to resize it afterwards.However, GParted wouldn't seem to let me resize it so I went this other route of setting up the partitions beforehand.
View 4 Replies View RelatedI am soon going to have to return my intel ssd for replacement. Therefore, I am going to be cloning the 160gb drive to a 320gb drive to keep my system settings while I am waiting for my new drive. I will not change the size of the partitions to fill the 320gb drive. I'll just change the grub settings if I absolutely have to. After that, I am going to have to clone the 320gb drive back to the replacement 160gb drive. Am I going to have problems doing that since I will be going from a larger to a smaller drive?I typically use Clonezilla with the default settings.
View 2 Replies View RelatedI wonder if anyone can help me. A little background, I wanted to move my xp install to a bigger hard drive. I used Saikee's method and worked fine (as usual). My machine was a dual boot system, the xp partition was with little space so I get rid of my vista install, deleted its partition. That went fine also. Rebooted directly to XP.The problem is as follows:
a) In order to increase the size of my xp partition (old machine, athlon64 1gb of RAM) I moved my data partition to the left in order to have unallocated space near the xp partition. That was successful, I rebooted and everything was fine.
b) I run again Gparted and increased the size of the partition. Gparted told me the process was successfully applied. I rebooted.
c) after post I get the following error "error reading disk, press ctr-alt-del". I did it like five times and I get the same message.
d) With my xp install disk I tried fixboot and fixmbr and nothing changed
Since I have the original hd, I did it again, and the same thing happened after resizing xp partition, before the resizing process I was able to boot normally. I used Gparted live cd v 0.6.2 and as far as I recall I left "adjust to mib" option
i'm trying to clone a hard drive using dd & netcat.
Quote:
on target:
nc -l -p 1333 |dd of=/dev/sdb
on source:
dd if=/dev/sdb |nc 192.168.0.5 1333
However after a while since the process was initiated I get a
I/O error in filesystem ("....") meta-data dev ...block 0x..... ("xfs_read_buf") error 5 buf count 512 XFS: size check 2 failed
Further digging showed that the target hard drive was less in space by 100 kb. Both are 1 T drives seagte but different models, hence the diff in space maybe.The data on the original drive is only 900 GB.
how to clone a hard drive i managed to change the drive (12G) on the wife's old laptop for a spanking new 60G where i will be able to install Slackware.Even though her operating system is Windows Millenium everything went smoothly for the transfer , i used an older version of Gparted (0-3.4.10 i think).
View 1 Replies View RelatedI'm looking to move my 10.04 installation from an 80 GB HD to a 250 GB HD.
Last week, I successfully moved a Windows system from an 80 GB HD to a 320 GB HD using Clonezilla. However, I must have missed a command option, as I wound up with only 80 GB used on the new drive, and the remaining space unused. I used PartedMagic to resize the partition to use the full space, and all is now well.
Back to my Ubuntu move, on the second machine, I currently have three partitions - /, /swap, and /home. I'd like to expand / just a small amount, leave /swap sized as it is, and give most of the drive space to /home (as that is where I am running out of space). I think I have two options:
Option 1: Use Clonezilla to clone the drive (3 partitions), and then use PartedMagic to move/resize the partitions as desired.
Option 2: Use PartedMagic to set up 3 partitions to the sizes I want, then use Clonezilla to copy to the new partitions.
Option 1 seems to be the easier way. But, is there another option, a better way? Perhaps there's a command option in CloneZilla that I'm just not seeing, which would allow me to do the move in one step?
I currently have a 160GB hhd running Ubuntu 11.04 and Windows XP, with the following partition configuration:
sda1 Windows NTFS (primary-active and boot and system)
sda5 Linux Swap (logical)
sda6 Linux Ubuntu ext3 (root)
sda7 Linux Ubuntu ext3 (home)
sda2 other
I have Grub2 installed, which provides me the choice at boot to start either Ubuntu or XP. This currently works fine.
I want to clone this hhd and transfer to a new, larger hhd, and have several questions, since I don't want to make a mistake with something so crtical. 1) Which software is generally considered the safest, most reliable and easiest to use (dd, Gddrescue, Clonezilla, Paragon, Macrum Reflect, Easeus, Drive Image XML, or something else)?
2) Which software will be able to copy and include both operating systems in the partitions to be cloned?
3) Will that software change the booting process or options in the cloned copy in any way? I've read where using Easeus corrupts Grub2 and thus requires re-installing Grub2!
Are there any other concerns, considerations or factors I need to consider in cloning the hhd; e.g. prior formatting an external hhd, and with what file system? I've also read where FAT32 would be the choice, but don't really know for sure.
I want to clone an SGI IRIX hard drive over the network. The hardware is ancient, no usb, and the CD rom is shot, its scsi and Im worried I wont be able to get it to boot a live cd.
if I run dd on a running computer, what consequences might there be?
Code:
dd if=/dev/sda | gzip -1 - | ssh user@hostname dd of=image.gz
where /dev/sda is the local IRIX computer and of=image.gz is a free partition else where.
sudo ddrescue /dev/sda /home/custom/user/sda_image.img /home/custom/user/logfile
problem is would not mount under /mnt to see if it worked
sudo ddrescue /dev/sda /home/custom/user/sda_image.iso /home/custom/user/logfile
the sda_image.img file is 55gb the other one tht is .iso is 0gb so now trying
dd if=/dev/sda of=/home/custom/usr/sda_image.iso
waiting to see what is going on any body got any advice on how to make the image work?
I have a very specific issue that I am having trouble resolving. I have an old laptop and a new laptop with a smaller HDD. I want to copy the windows partition from the new lappy to the old bigger HDD so I have room for Ubuntu. All of my files are on a Maverick install on the old lappy. How can I get all my files and windows to the old HDD and into the new laptop. I am a little stuck on this one because of my limited options.
View 8 Replies View RelatedI have a 3 weeks old PC which I've just finished getting set up with Ubuntu 11.04 and W7 in a Virtual Box. Now the drive has started making rumbling noises and doesn't always boot.The engineer from Dell is coming tomorrow to replace the drive, but what can I do about transferring the whole old drive to the new one in full working order, quickly?
I've been using rsync to keep backups of my home folder, so I've got the data side covered. But I don't really want to spend the next couple of weeks re-installing all the software, printers etc all over again. So is there a quick, easy way of replicating the old drive with partitions, VB, etc (I'm not that good at using the terminal) ?
I installed Debian 8 Jessie with full disk encryption and chose to have everything on the same partition. After install, I notice that my 8GB laptop has a 16GB swap. Is there a way to reduce the swap to 8GB (or maybe 4) whilst not affecting the encryption?
I have a 1TB HDD so space is not an issue but I dislike such waste. The setup used LVM.
a client brought in an 160GB external HDD and wanted to get the files off it, there appeared to be no partitions on the disk but i thought it may have been formatted to use the whole disk. I tried to mount it as the various FS types the client thought it may have been to no avail.
I ran testdisk on it which told me that it previously had a mac partition table and a 210GB partition on it (which is larger than the disk) could anyone enlighten me as to whether or not this is even possible, and if so how could i retrieve the data?
I have a mini ITX computer that runs a software that I have been trying to clone to another hard drive as back up. When I do clone it, it is the exact same copy down to every byte. When I try to boot from the cloned hard drive, it starts booting, then displays some text:
Then is says some of the files are not found including a encryption signer key not found.
I do no know the next step I need to take. Is this becasue it is running off a different hard drive? I do not understand a bzImage too well, but does it have anything to do with that file?
I recognize the obvious need to back up the contents and follow a certain duty of care before attempting to clone my failing pata 250g HD to a 1 tera byte sata. What problems if any could come up when cloning from a failing pata to a sata HD? I'd like to make the switch to sata for many reasons if possible. It is indicated that the HP d530 sff here supports both types.
View 2 Replies View RelatedI am trying to replace an old, smaller, and dying laptop hard drive with a newer one, using a USB external drive. I first tried cloning disk to disk with Clonezilla, but it failed after cloning my root, swap, and /home directories it froze when it tried to reinstall grub. After 2x trying, I switched to dd, which I have never really used (I am fairly new to Linux in general). The actual command I used was:
Quote:
dd if=/dev/sda of=/dev/sdb bs=4096 conv=notrunc,noerror
All seemed ok and after approximately 2 hours my 80GB drive had been cloned onto my new 250GB, with dd giving what appeared to be a satisfactory closure summary. I tried to mount and access the drive from my external USB enclosure but could not view it, though the data is there, I believe, as the size and bytes show... The error that Dolphin is giving me is:
Quote:
error - wrong fstype, bad option, bad superblock on /dev/sdb1 Missing codepage or helper program or other error. When I installed the new drive directly into my laptop, it begins to boot (Sabayon 5.4, 2.6.35 kernel) but almost immediately I get (handwritten down, but this is close):
Quote:
detected real_root
mounting /dev/sda1 on /newroot failed: input/output error
!! Could not mount specified ROOT, try again
!! Could not find the root block device in .
[code]....
I am assuming that my issue has something to do with grub, and maybe specific UUIDs that don't match (?) but I'm not really certain. I have both Grub Legacy 0.9x and the newer Grub 2 installed (Sabayon is already moving over) but I still boot with Legacy, not with the new 2, as I don't know how to switch, and am not sure if I should yet. I thought that dd copied bit for bit, and I added the noerrorï just to try to get it all transferred, so I don't know what went wrong exactly, though something seems wrong with grub and the bootloader, I guess...
I was trying to fix some hardware on my laptop and i ended up mucking the whole thing up. The HDD seems to fine though. I have it in a external HDD enclosure and it's plugged into my mothers desktop through usb.I'm trying to print some files I have, but my home directory on the external HDD is encrypted.
View 3 Replies View RelatedI want to access my hard drive to copy over my old documents. So I boot into a LiveUSB, mount my ubuntu partition, and then cd to my home directory, but I can't open it. I get "permission denied." I encrypted my whole home directory and know the password, but how do I "decrypt" it or login as the partition's root so I can access the documents that way. I'm booted into the USB, but can't access the home directory. I get "You do not have the permissions necessary to view the contents of 'jake'".
View 1 Replies View RelatedMy laptop has only Debian on it. Except for /boot, the entire hard drive is a giant encrypted LVM partition. It takes Clonezilla 13 hours to back up to a USB hard drive without verification, long enough to make sure backups aren't done much. Is there some way to make an encrypted bare-metal backup of only what is used (except swap) instead of every sector? Backing up across the LAN would be ok.
View 6 Replies View RelatedI am looking for a guide for Fedora 13 that tells me how to:
1. Create an encrypted partition on an an external USB hard drive
2. Tells me how to setup Fedora to ask me for the passphrase when I plug in the drive
3. Automounts the hard drive to a set location
The guide should deal with the situation that the computer can mount without declaring the external hard drive is not there.At present my attempt at mounting my Samsung Story USB2 hard drives does not meet criteria 2 and 3.
I have an image fiole of a hard drive which has been encrypted. When i load the file in to software to view the disk in a hexidecimal format, i need to find there the boot sectors are etc I also need to find out the "md5 hash" which is used?
View 1 Replies View RelatedI am running Fedora 14 with the Gnome desktop and I have a 1 TB external hard drive that is msdos with approximately 200 gbs of data on it. I can unlock it and even read and copy files to my internal hard drive but I cannot add files to it, I use to be able to. I didn;t think i changed permissions.
View 3 Replies View RelatedSwitching on my 1Tb external USB hard drive, it not only fails to mount, but DISC UTILITY now shows presence of 2.2Tb Hard Disk (JMicron USB to ATA/ATAPI Bridge)
View 5 Replies View RelatedI cannot find what my hard drive size is and need to know what size is my Ram.
View 4 Replies View RelatedI have just installed Ubuntu 10.10, the latest version, into my computer. But I notice that the font is small when browsing the web using Firefox. I need to have a bigger font because of my shortsightedness.
View 2 Replies View RelatedIs there any software to clone Linux partition? No matter they are paid or free software, I'll need them. The problem is that if I clone a linux partition to a bigger or smaller partition size, it will crash.
View 6 Replies View RelatedUbuntu 10.04 32 bit installed in laptop hp compaq 6720s, gnome desktop. Personalized inverted theme with cursor whiteglass bigger size. Everything okay in apps except in kde apps I have installed as k3b, ktorrent, when I pass pointer over their windows, the size of cursor is not the bigger but the normal one. Can I do something to fix it?. I used tips in this thread [URL] to make kde apps look like gnome ones.
View 3 Replies View RelatedQuestion:Several months ago I upgraded my hard drive on a dual boot machine (xp & U9.10 - both 64bit) from approx 80gb to 250gb. I chose to use DriveClone from windows to clone the old drive directly to the new drive. Operational everything works fine. the problem is the Ubuntu HD size went from around 10GB to approx 150Gb, but the filesystem only recognizes approx. 10GB as the total available capacity. I just tried to reinstall Ubuntu without reformatting and only recovered a few GB's. GParted reports the proper partition size. Is there any way I can correct this problem? It's not a big issue...I thought I would check here first before I reformatted the partition. The pre-boot disk check ran and reported no errors but the file system is still not seeing the unused GB's.
View 3 Replies View Related