Hardware :: Hard Drive Failing Using Dd To Copy To A New One?

Jul 3, 2010

In my laptop I have a 200GB hard drive that is starting to make clicking and grinding noises and won't boot about every third try.

Code:
root@Frank2:/home/bruce# fdisk -l
Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

[Code]...

/dev/sdb is a usb flash drive that has pmagic (not sure of the version, but it's 2.6.32.9-pmagic kernel, so I think it's the latest version). I'm posting from pmagic right now because I don't want the failing disk to get any worse until I get this sorted. I also know there is a post here called something like 'learning the dd command' or 'mastering the dd command' or something to that effect, but I can't find it for the life of me (I have it bookmarked on the failing drive, of course). If someone could point me to that post,

View 8 Replies


ADVERTISEMENT

Fedora :: Recover Data From Failing Hard Drive

Jun 26, 2010

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.

View 1 Replies View Related

Hardware :: Can Clone Failing Hard Drive Easily?

Jun 8, 2011

I 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) ?

View 5 Replies View Related

Hardware :: Squeezing More Life Out Of A Failing Hard Drive?

Jun 3, 2010

I'm using xubuntu on a box that has 2 drives. One is quite small mounted as / and the other larger drive is mounted as /home Both drives are IDE The /home drive has had some failure in the past & occasionally creates errors. Is there any way of identify which sectors are bad (or good) and isolating them to try & get some more use out of the drive?

It won't be used for storing valuable data.It is an old box for visitors to use. But it would be handy to use it to store some large read-only audio files. I've installed smartctl & could post output from there if you think it is useful. I can't work out how to interpret the information.

View 7 Replies View Related

Ubuntu :: Failed Backup Attempt Or Failing Hard Drive

Jan 5, 2010

I made an attempt to backup my system (karmic koala) using this routine. cd / then sudo tar cvpzf backup.tgz --exclude=/proc --exclude=/lost+found --exclude=/backup.tgz --exclude=/mnt --exclude=/sys /

The process of backup went on for a very long time, which is probably normal. On returning to the computer in the morning, it was in suspend mode and would not power on via the usual method,tapping power button. So then I used the reset button, and after booting up a message appears on the top right that reports "Install problem! The configuration defaults for GNOME Power Manager have not been installed correctly. Please contact your computer administrator."

Is there something wrong with the statement that was used for backing up the system? Also when I attempt to login it does not work now either, it eventually returns to the login user selection. So is there a possibility the backup finished and then there may be a chance the system can be restored from the backup file? I have tried booting up with a live cd and could use some advice on how to navigate with terminal to root of the system and see if the backup file exist even, have been unable to get to the root folder(where the backup would be) with the GUI method via live cd.

View 1 Replies View Related

General :: Booting - Lvm - Failing Hard Drive - Ubuntu Server

Aug 3, 2009

I seem to have a complex issue on my hands that i can't figure out. first, i wasn't able to get access to my LVM'd hard drives via SSH without half of the content being missing or locked out (read-only or unable to open at all). the problem then went up to being unable to boot up - all i got was a long slew of [100.1234] ata1.00: error messages (they eventually DO stop once they get to around 998.234234 or whatever, and then i can log in and it seems to be "stable").

Part way through this rebooting ordeal i realized / decided to make power-on-self-test stop and wait if it finds errors (via bios) - that showed me that my 750G SATA drive is "bad" and my two (older) 120G & 250G IDE drives are "ok". i then unplugged the SATA drive, rebooted, and didn't see those error messages. however, my LVM was still obviously not coming together (since LVM was made up of the 120G, 250G, and 750G drives)

So, now it seems:

a) I can't boot smoothly with all drives in place
b) I can't do anything with lvm if i remove the 750G sata
c) With all drives hooked up, i can wait 10mins for the errors to go away, but STILL can't do anything with lvm
d) I need to recover the lvm stuff so that i can nicely migrate ALL those files (1.1TB of it) onto a new 1.5TB drive and do away with lvm

This is all running ubuntu 7.10 server edition (32-bit version on a 64-bit computer). i DID post a question on the ubuntu forum as well but so far got no replies at all.

Here's a few pics of the booting process, with one or two "fail" lines showing.

View 14 Replies View Related

Ubuntu :: Copy ISO Of DVD Movie To Hard Drive?

Mar 5, 2010

I am trying to use k9copy to simply copy the iso of a DVD movie to my hard drive. No matter what I select I can't get "copy" to enable - it stays grayed out. When I try to run the wizard it crashes after I select in my input source. I don't care what app I use, I just want something lightweight and easy to use that will copy the iso.

View 7 Replies View Related

Ubuntu :: Copy Installation To New Hard Drive?

Dec 8, 2010

i have ubuntu 10.04 on a partition of a drive,

i have bought a new harddrive and want to copy the content of the "ubuntu partition" to a new partition on the new drive.

can i just copy all the data and then run a live disc to make a new boot loader ?

View 9 Replies View Related

Ubuntu :: Copy To Partition On Another Hard Drive?

Jan 9, 2011

I want to copy my ubuntu install to a bigger hard drive, and am not quite sure what to do. According to my google searches, I need to run ubuntu from a live cd, then in a partitioning program copy the ubuntu partition to the new one, then resize it. Is that all? Do I need a linuxswap partition on the new hard drive? I have been using kde partition manager to arrange my new partitions. On one hard drive I have the partition I want to install ubuntu on(what type should this be? ext4?) and a partition to share between ubuntu and windows, and then will use my old ubuntu partition for installing windows xp.

View 2 Replies View Related

Ubuntu :: New Hard Drive - Copy The Partitions On My 175 GB Disk To The New One?

May 17, 2010

I just bought a new 2 TB hard disk to replace my old 175 gig one. I currently am dual-booting Lucid Lynx and Windows 7, and rather than go through the process of reinstalling both, then reinstalling all my programs, settings, and everything, I was wondering if there's a way I can just copy the partitions on my 175 GB disk to the new one, grow them to fill up the rest of the free space on the new 2 TB disk, and then plug that HD into the primary master plug on my motherboard... will that work?

View 4 Replies View Related

Ubuntu :: Copy Entire Hard Drive Including OS?

Sep 30, 2010

I have an old Dell Dimension 2400 with XP that has a WD 40GB model# WD-XL80SD-2 that has run out of space now matter how hard I try and keep it clean. I called Tigerdirect this morning and ordered a Hitachi 500GB hard drive model# OF10381, here's my dilemma. I really want to just do away the old hard drive and use the new one but it seems as if there's not a real good way to copy the entire hard drive including the OS. I have been told that you can use a program such as norton ghost to do it. I do though have a Windows 7 disc, I am going to use a SATA host PCI card to connect the new HD. if I should back everything up from the old HD except for the OS. And then unplug the old HD and just do a fresh install with the Windows 7 disc.

View 9 Replies View Related

Ubuntu :: Copy Files From Hard Drive With Live CD?

Mar 14, 2011

I'm mostly a linux-idiot but I tried to get an update for a laptop that was running xubuntu. Anyway, it won't boot and instead takes me to a screen where it says "press s to skip mounting, or press m to recover manually" or something like that. I've pressed S, and then it tells me that it can't find /tmp or something, and I have to turn it off and back on to do anything. Pressing M doesn't help much either... at least not for a mostly-linux-idiot like me. I would do a clean install, but there are a few files I absolutely have to have from the hard drive. recover the files I need from my hard drive to a usb drive while using a Live CD?

View 9 Replies View Related

Ubuntu :: Copy A Hard Drive From Command Line?

May 4, 2011

Ubuntu is getting stuck at the loading screen after an aborted attempt to upgrade to 11.04. It's my own fault - the install was running out of room on /, and I, like an idiot, decided to delete some package files under /var/something/archive, thinking they were "old"... I quickly realized they were in fact the new packages being installed... anyway after killing the thing and rebooting it is pretty damn broken (mostly because I can't get networking going so running in dpkg repair mode doesn't do much because, well, I deleted the packages).

I want to copy all the files off my /home and other meaningful partitions onto an external drive so I can just do a clean install. I can actually login to the command line under recovery mode, but I can't get the GUI started. I know it's possible to copy the contents of the partitions to an external

View 9 Replies View Related

General :: Copy Files Off Server To My Hard Drive?

Nov 20, 2008

I'm connected remotely with Putty to a linux server and I need to get the files from a directory on the server onto my hard drive on my laptop. I don't know what the secure shell command is to download it or what exactly I need to do so I can get these .root files from the server copied onto my local hard drive.

View 2 Replies View Related

Software :: Copy Os And Files To A New Bootable Hard Drive?

Jan 3, 2009

They filled up the hdd and need more space. I first considered just adding a slave drive, but thought it might be better just to copy all of the content from the old drive to the new drive. Then, make the new drive as the master and the old as a backed up copy slave drive.

View 14 Replies View Related

CentOS 5 :: Copy Data To Secondary Hard Drive?

Mar 12, 2009

I am hosting some VPS, and I am wondering the best way to copy the VPS data to a secondary hard drive mounted on /backup on a daily basis.

View 5 Replies View Related

Fedora :: Copy System To Another Hard Drive - Without Starting From Scratch

Sep 21, 2010

Wondering if any know of a program that I can use to make an exact image of my fedora 13 operating system and transfer it to my new hard drive. I want to upgrade the hard drive and reinstall the exact system from the original drive to my new one, without starting from scratch. Just wondering if there's a program for Fedora 13 like Norton Ghost.

View 3 Replies View Related

Ubuntu :: Software To Create Image Of Hard Drive / Copy It To DVD?

Feb 5, 2010

Is there any software that will create an image of my Hard Drive and put it on DVD as it is and if I had to reinstall I could use that image?

View 5 Replies View Related

Ubuntu :: Copy Files To External Hard Drive On Shut Down?

Aug 14, 2010

I wish to copy to my external hard drive on Shut Down each day the files that I've changed in my Documents folder since start up.

View 1 Replies View Related

Ubuntu Multimedia :: Copy DVD To Hard Drive In Mpeg Format?

Nov 26, 2010

I want to copy my home video DVD's to my hard drive and I want the format to be in an mpeg format (I suppose I should want mp4). The DVD's are in some sort of VOB, IFO format....or whatever they're called.There are many chapters on each of the DVD's and I want each of the individual chapters copied to the hard drive so I can rename the files something like, "fishing.mpeg" or "skiing.mpeg" and not some huge 3 gb file.

K9copy does a fair job but won't complete it. That is- k9copy gets 86% encoding done (I think that's the word for it) but won't finish copying the remainder of the chapters.

View 9 Replies View Related

Ubuntu Multimedia :: Copy Movie From DVD To External Hard Drive

Dec 12, 2010

I would like to copy some of my dvd movies to my external 1tb hard drive what program should I be using or is there a work around I should follow.

View 3 Replies View Related

Ubuntu Installation :: Hard Drive Clone / Partition Copy?

Jan 16, 2011

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 Related

OpenSUSE Hardware :: USB Hard Drive Access - Copy And Paste Files?

Sep 27, 2010

just want to download the 60mb-ish pack of family photos from my external usb hard drive. I've gone through a multitude of wikis and help threads and can't seem to figure out how to copy and paste those files to my laptop The usb hd works perfectly as I just was using it about 1 hour ago when I still had vista on this laptop. Here's a copy of my fstab as that seems the file all the wiki's:

[Code].....

View 9 Replies View Related

Ubuntu Installation :: Freezes At Random Points - Copy Files To Hard Drive

Nov 20, 2010

I'v been trying to install Ubuntu (and actually all other dists of linux (in hope of succes), but running ubuntu on my other machines and prefer it) on my old laptop. Laptop Acer Aspire 1312XC. Have just run a 24 hour RAM test it turned out ok. Have tried with other RAM blocks in aswell. The install freezes at random points in the installation. Mainly when trying to copy files to the hard drive. The only thing i've succeded in installing was Ubuntu server and windows XP. I have tried with ACPI off and all the other special atributes. No success so far.

View 8 Replies View Related

Programming :: Bash Script To Copy All Music To New Hard Drive From Multiple Network Shares

Aug 9, 2010

I need a script to copy music from a network drive to my local disk. I require the script to auto mount the remote server, then to create the directory path to the mp3's I have a list of all teh songs in the following format, note some have spaces.

\7800SPARE4UsersPublicMusicSample MusicKalimba.mp3 \7800SPARE4UsersPublicMusicSample MusicMaid with the Flaxen Hair.mp \7800SPARE5UsersPublicMusicSample Song Sleep Away.mp3

I can use the following to mount the directory:

mount -t cifs //7800SPARE4/Users /dest-o username=user,password=pass

I'm thinking the best way would be to get the share name 7800SPARE and the grep for all these in the list, then mount it and do a while read LINE However I would need to creat the folders, I am unsure on how to do this. I think I would need to sed the backslashes to forward ones and then use rsync? Then unmount and move on to the next ones, if I can't mount the share It would be nice to log it and skip it.

View 2 Replies View Related

General :: Dd Copy - Hard Drive Clone Fails When Mounting Root Androotblock - /newroot Failed

Oct 27, 2010

I 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...

View 6 Replies View Related

General :: Need To Make Working Copy Of Failing HDD

May 22, 2010

I run a sever 24/7/365 with Debian 5.0.4 (lenny) GNOME 2.22.3. It seems that the HDD is beginning to fail as it starting to clunk & you can hear it spinning up & down. I had lots of help in setting up the server, and i am not that good with linux...but i am learning all the time I have a spare HDD lying around, and i am wondering if its possible to use it to make a "exact working copy" of the HDD whats failing ? The spare HDD actually has XP on it, but i cannot see this preventing it from being used ?As my knowledge is still very little with Linux, and its important for me to replace the HDD, can anyone point me in the right direction to copying failing HDD ?? Also is it possible to then fit the new HDD into my server and it will work straight away ? This is to prevent any added downtime on my 24/7/365 server.

View 14 Replies View Related

General :: Upgrade Internal 2.5" Hard Drive Vs External Usb Hard Drive For An Old Laptop?

Jan 25, 2010

I got a dell inspiron 1501 laptop with a 80Gb sata drive what is the best solution to add data storage space for someone that love to have multiples operating systems at hand Note: I use mostly linux so I won't need to change my laptop for many years maybe ...

View 2 Replies View Related

Ubuntu Servers :: Vsftpd File Copy Failing / Resolve This?

Jul 22, 2010

I've just installed Ubuntu server 10.04 and have set up vsftpd somewhat successfully. I can connect as my root user, and I only have access to my home directory. However, whenever I try to copy a file across a file I receive a 550 Permission denied error.

I've run the command ls -l /home/directory and the result returned is total 0, when I was expecting details of permissions per user. I've tried running chmod -w /home/directory but this doesn't return any result nor change the result of the above ls command.

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







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