So, I recently acquired a second hard drive (1.5 TB) and I wish to partition Ubuntu 11.04 with Windows 7. I've set everything up properly and using the Disk Utility in my System Settings I've created a 1 TB partition which I want to use for Linux. I think it has the proper partition type but how do I exactly go about transferring all my files from the hard drive I'm using now to the partition I would like to have?
How would one go about backing up a hard drive? I want my Windows hard drive to be backed up, so that I can restore it onto the hard drive if the hard drive was blanked.
If this hard drive is formatted and linux is installed on it, I want to be able to restore my current Windows partitions (Win 7 and Win XP) and probably the boot loader. I am sure this is possible, but what would be the best way to go about it?
I want to securely backup my 80G HD, but doing a complete backup takesforever and slows down my machine, so I want to backup just 1G per day. Details: % First hurdle: on the first day, I want to backup the "first" 1G of the hard drive. Of course, there really is no "first" 1G on a hard drive.% After 80 days, I'll have my whole HD backed up... assuming none of my files ever change, which of course they do. So the backup plan/program must also catch file creation/changes as they come along. % The backups must be consistent, in that I can restore my system restoring the backups sequentially. In other words, "dd if=/harddrive" probably won't work.
% The backups should encrypt file contents AND names, but I don't see this as a major hurdle. % Once the backup has backed up everything (even changed files), it can re-backup the first 1G on my hard drive. Even though this backup is redundant, that's OK, because I always want to be backing up something (eg, if I'm backing up to optical media, the older media might start going corrupt). Is there a magic backup plan/program that does thisIn reality, I want to do this for multiple machines drives each, but think that solving the above will solve the general
I am having on trying to backup my crashed laptop with ubuntu 9.10 when i double click on my hard drive, it says "unable to mount location" and it says "unable to mount location" a job is pending on /dev/sda2 when i right click on my hard drive and select mount.
I have recently gotten hold of a device that helps me plug my old ATA/IDE hard drive to my computer and view my old files that I wish to recover. I am using Ubuntu and the harddrive that I wish to retrieve the data from also has an Ubuntu install on it. The files I wish to recover are old .doc files, which I want to keep to remember my old writings.
The problem I have encountered arises when I wish to open some of the files. The icon for some of the files, which happen to be my best writings, has an X on the top right, indicating that I cannot view the contents. When I click on the files, the following error message pops up: "Access to /media/c885571b-a6e5-4a2d-937a-78af7050910/george/Courses/hist388/Passion.doc was denied."
Now, I am guessing that I need to be able to log in as superuser or something to be able to access these files, so I logged in my terminal as super user by following the instructions outlined on this page: [url]
I still did not have the sufficient access required to be able to open the files that I would like to retrieve.
The rest are below a MB. This system is not a dual boot so 241Gb is ext4 and 8.9Gb is Extended and 8.9GB is Swap. This system has been loaded for about a month, when I initially loaded it there was 230GB free.
I am trying to transfer files from a SATA hard drive with Windows Vista (Home Premium) installed on it. Some files I can easily copy over, others just say Access Denied.
I'm sure permissions is part of the issue, unofrtunately Windows is unable to boot at all (surpise surprise) so I can't adjust anything from within in. I know with XP drives I can easily copy and paste onto my Ubuntu machine. I'm using a SATA to USB converter that let's me plug it in and my desktop reads it like an external hard drive.
I've gone into the properties and under permissions it shows my account as having access to Create and delete files under folder access amd "---" under File access. My group and others show None and --- for Folder and File access. I can post a link to a screenshot tomorrow. I've tried to also select Read and Write for File access but it goes back to the dashes before I can apply it.
I am running 64 bit Ubuntu 9.10 and do not have the sharing aspect installed. Any questions please feel free to ask me.
I'm running 10.04 LTS (64 bit) During a recent attempt at dual booting Windows 7, the Windows installer made a boot partition on the wrong drive, formatting the drive, and therefore destroying all my data.
The original partition was NTFS, and the new (unwanted partition) is NTFS.
Is there something in Linux I can do to recover the data that was there, or am I going to have to install Windows on yet another drive and use some Windows tools?
The data on this drive is extraordinarily important, containing ten years of digital photos, my source codes, and musical compositions (protools sessions etc).
I should have seen this coming when I lost the ability to boot windows, or mount that drive from ubuntu. But now I think my hard drive has failed. Is there any way to retrieve the data from the hard drive, or my settings and the like for ubuntu? I'm at a loss for what to do as i'm booting from a CD right now =X.
i have a 200gb hard drive and im upgrading to a 1tb hard drive and i want all my stuff like settings and files on my new hard drive whats the best and easiest way to transfer all my stuff from the old hard drive to the new one
I'm trying to make a simple task as complicated as possible, so bear with me.
I'm going to force a friend onto Ubuntu soon, and the biggest requirement is photo management.
He wants his extensive photo library backed up, and backed up some more, and then when all feels safe, backed up even again.
Currently, all his photos reside on a 4 disk striped RAID array, based on his cousin's recommendation. The intent was a RAID 1+0, but they failed, and that needs to be fixed immediately.
So, instead of going with more mirrored hard drives in a RAID, which I know Ubuntu will do just fine, I'd like to simplify and just do manual backups of each hard drive.
So, I'm looking for a program that could possibly be set up to automatically back up a hard drive onto another hard drive on a weekly basis or something like that. Ultimately, doing a manual copy/paste of the data in the drive could work, but would be time consuming.
I'm scared of RAIDs lately because of a recent fiasco with a BIOSTAR motherboard and how it set the RAID mirror on a set of hard drives for a Windows load that rendered the harddrives basically useless for anything but a RAID mirror, with that motherboard and a Windows load, and I almost lost a lot of data because of it.
I'm also not sure how well Windows would recognize a RAID partition created in ext3, if he ever wanted to go back to Windows.
My servers (10.10) motherboard has failed so to access my data I've taken the hard drive out and tried to connect to it via my ubuntu desktop (10.10). I've tried it in a hard drive caddy and installed in my pc, but could only see a 255Mb Filesystem with a few folders and files on it. how to mount the portion of the disk that I can't see? Ie. the part with all of the data on it.
I have a Seagate 1TB external USB 2.0 hard disk which contains 740 GB of data. Everytime I connect, it shows the memory occupied and the remaining memory(190GB)..but when i try to access the folders inside they read empty... nothing is seen in the folders.. I am unable to read any data from it or write to it... Same is the case with Windows When I run self-test in Linux ubuntu I get
My friend just got a gaming laptop that he won't let anyone else use (his last one got infected when his girlfriend surfed on it for just one hour -- he refuses to use antivirus since he claims he knows how to keep clean, but he doesn't trust others).
Because I used Linux a bit once, I said to him what if I could promise not to make any changes to your hard drive, and I told him that I was pretty sure I could boot to a live cd and then only write files to a usb key. He's actually willing to let me try (I showed him some linux sites I was looking at, and he believes me that we can do this).
1) Is there anything I either MUST do or else must NOT do to make sure I make no changes to his laptop's hard drive? And so that any changes are only going to go on the usb drive I hook up?
2) Since he's got an i7 processor, I assume I should get a version of ubuntu that supports 64 bits, right?
OK, was trying to make a live-usb boot partition on my 1.5TB HD; in doing so clicked a 'wipe disk' button.
A second later I realised what I'd done, clicked cancel (frantically), tried to unmount the drive but was told 'volume busy'. In a panic, unplugged the drive. Unsurprisingly, the drive is now a mess.
I'd had 1 30G FAT32 partition (empty) at sdd1, 1 1.5TB ext4 partition with about 500G of data at sdd2. Now according to gparted I have an unrecognised filesystem type; according to the 'Disk Utility' I have an unmountable 1.5TB FAT32 drive.
I know NOTHING about data recovery. If it's just a case of running a couple of magic 'check & fix' programs then I should be OK, but anything else and I'll have to take it to more skilled friends.
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.
So this is a two part question. My laptop came preinstalled with windows 7, I wanted ubuntu but needed windows to update my zune so I have both operating systems on my laptop. I only used windows for my zune, that was its sole purpose, now my zune is broken and I no longer need windows at all.
First, I downloaded about 20gb of music off of my zune and onto my windows partition, is there any way to transfer files like these from one partition to another? I don't know if that makes sense.
Second, can I unpartition my hard drive so it is purely ubuntu ** without losing all my ubuntu files and stuff **? If that wasn't clear, I want my laptop to just have ubuntu, I want the 40-some gb that I dedicated to windows back for ubuntu, and I don't want to lose all my files, settings, etc. that I already have on my ubuntu partition. Can this be done?
I've read the official documentation regarding hard drives and partitions. My pc has two hard drives. a 160gb primary hard drive with windows 7 a 1.5 tb secondary hard drive with about 80gb of free space I would like to know whether I can install ubuntu on the secondary hard drive, without touching any of the data present on that drive. From my limited understanding of storage, files are written all over hard drives during copy, move etc... Is the ubuntu partition manager smart enough not to overwrite any files during installation? Will I get a warning if there is a risk of any data loss on the secondary hard drive? I cannot backup any of the data on the secondary hard drive due to all my external drives currently being full.
I've got an old EIDE hard drive that used to be used for a dual-boot WinXP and Linux (not sure what version - either RH9 or FC1), and I'd like to pull some data off it. That computer died, and I reformatted the Windows partition, but left the Linux portion alone. My current Linux (FC10 + XP) computer uses a SATA hard drive, and I'd like to get the data from the old drive to the new one. I've connected the hard drive normally, jumpered as a slave drive. Linux now boots normally, but I can't access the older hard drive. I tried the techniques in the following thread: [url] and commented there (with more info), but I thought I would be more likely to get a response by starting a new thread.
Here's a summary of what happened: ran "fdisk -l": the command saw both hard drives ran "tail -f /var/log/messages" and got the following: Jul 30 16:00:44 localhost kernel: EXT3 FS on sdb8, internal journal Jul 30 16:00:44 localhost kernel: EXT3-fs: mounted filesystem with ordered data mode. Jul 30 16:00:44 localhost hald: mounted /dev/sdb8 on behalf of uid 500 sdb8 was a FAT partition I had set up for moving files back and forth between XP and Linux (none of the other partitions were reported). ran "vgscan", which only returned one volume group When I ran FC10's Local Volume Management tool, it sees the hard drive and its partitions, but reports them as "Uninitialized Entities".
Using F12 with a LVM Volume, Single disk with OS on and boot partition. The OS HDD is getting i/o errors, but will still boot to the login screen. I've removed the HDD and connected it to a Fedora Live OS on my laptop, connected the HDD and it registers as :
[root@localhost]# fdisk -l /dev/sdd Disk /dev/sdd: 250.1 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x000e0069
Device Boot Start End Blocks Id System /dev/sdd1 * 1 26 204800 83 Linux Partition 1 does not end on cylinder boundary. /dev/sdd2 26 30401 243991201 8e Linux LVM
And it tried to mount /dev/sdd2 to view and see if I can recover some files. [root@localhost]# mount /dev/sdd2 /mnt -t ext4[root@localhost james]# mount /dev/sdd2 /mnt -t ext4 mount: wrong fs type, bad option, bad superblock on /dev/sdd2, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so
Any way to mount the partition to allow me to try and get some data back, or if trying to do a full backup of the drive you can get it to ignore i/o errors.
I'm looking for a way to quickly remove all data/partitions/boot records from my hard drives while running linux (distribution is irelevant). There are lots of ways to do this that I know of, but they all have some problems. Here's a list of what I've tried/thought of already. The most obvious is fdisk: Simply delete all the partitions. This usually works just fine and is very quick, but there are times it just doesn't....I'm realy not sure what gets left behind...I remove the MBR as well..but whatever it is, it's in the way. A couple other options are:
Both of these approaches are great if you're selling the components and want to make it very difficult for anyone to recover data. The draw-back is they take so very long to run. I've got four 1.5 TB drives that I've been writing zeros to for 2 days now. If you thought watching grass grow or paint drying was boring. A hundred years ago or so, when I was doing tech support for Windows 95 users we used this nifty dos-based debug script to wipe the hard drive. It was sort-of a last resort thing, but it worked beautifully, most of the time. If the customer had already formated, fdisked, fdisk /mbr, reinstalled Windows, but still couldn't get the thing to work, this would clean the drive so you could do a fresh install.
Just in case someone wants this, I'll post it. To use: first boot to some type of DOS environment in which you have the program "debug".
I have an hp laptop with 2 hdd slots, both are sata. it came with a 320gb hdd with vista ultimate 64. i added another 320gb hard drive to my laptop and installed kubuntu on the second hard drive. Since vista was my primary hard drive, parts of grub were installed on it i.e. stage 1.5. And the rest was installed on the kubuntu hard drive. Because of that neither os would boot independently of one another.
I eventually got tired of kubuntu and in wanted to uninstall it. I formatted that disk. Now vista gave me grub errors, like I knew it would.I was going to fix the vista boot sector and mbr by running bootrec.exe off of the vista disc. But since I have an hp laptop, hp doesnt provide a recovery disc with just vista, it is an install of the factory image of the os plus software and therefore doesnt have the utilities I need to fix my problem.I ended up navigating to some sort of command line in the windows recovery environment and tried running it there, but no luck.
I tried navigating in the hp recovery environment, and accidently had vista start to reinstall itself on the drive, and actually I did that 3-4 times, each of which I stopped the recovery early on, within 30 seconds, but it had managed to mess up my partition table. I was wondering if there is some utilities in linux/ windows that will help me restore the partitions back the way they should be? I have done a data recovery with get data back for ntfs, and was pretty successful getting some stuff back, figures since the mft was screwed up.
So first of all I want to make an exact clone of the hard drive. Something like dd but just make an image file for now. Since there are no partitions on the drive I dont think I can use partimage, or drive image xml and I wonder if clonezilla will work. And I dont know how to test it without have to reload the image and wiping the drive in the process. I have imaged the drive with get data back but it does me no good cause I cannot restore that image back to the drive, or at least dont think I can.
Second I would like to see if I can recover the partition table , or mft that was over written. Here is a list of programs I can use for imaging or recovering. [URL]Third, since I have 2 320gb hard drives, one that is corrupted, and one that I took kubuntu off of and loaded vista with the recovery disks. Can I take the mbr, and partition table, or boot sector off of the working vista and move it to the broken 320 and fix it that way?
I have an external USB hard drive that I need to recover some data from, but I see from fdisk -l that the partition uses LVM:
[root@localhost ~]# fdisk -l /dev/sdd Disk /dev/sdd: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
I've followed various lvm tutorials all of which describe setting up lvm from fresh on empty disks. Unfortunately non mention how to 'install' new a drive that was previously set up with lvm. I have had a go anyway and may have now lost my data. Here's what I've ended up with (the partition in question is sdd1):
[root@localhost ~]# pvdisplay --- Physical volume --- PV Name /dev/sdd1 VG Name vg02
I've tried mounting with other fstypes, but all give the same error.