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
ADVERTISEMENT
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
Jan 22, 2010
An old machine in our office, running Ubuntu 6.06 all of a sudden will not boot up. I get the following info during boot:
Uncompressing Linux... Ok Booting the kernel
mount: Mounting /root/sda1 /root failed: No such device
mount: Mounting /root/dev on /dev/.static/dev failed: No such file or directory
[code]....
I haven't changed anything on the system as far as I'm aware, and I ran some HD diagnostics and everything seems fine. however when I try to mount the drive with the following command:
sudo mount -t ext3 -o rw /dev/hda1 /mnt
I get the following error:
mount: wrong fs type, bad option, bad
superblock on /dev/sda1, missing code
page or helper program, or other error
In some cases useful info is found in
syslog - try dmesg | tail or so
I ran fdisk -l and it says the partition type is Linux. The output after running dmesg | tail :
[12207.483801] init_special_inode: bogus i_mode (101)
[12207.483809] EXT2-fs: corrupt root inode, run e2fsck
[12260.427078] init_special_inode: bogus i_mode (101)
[code]...
Update: After running e2fsck -p /dev/sda1, I get the following info:
/dev/sda1: clean, 142449 / 9584640 files, 5402711 / 19161520 blocks
View 1 Replies
View Related
May 8, 2011
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?
View 4 Replies
View Related
Mar 22, 2010
I have a 120 gig drive that I'd like to clone before it fails completely. I was thinking I'd pull the drive from the server and build a separate machine that has it's own os installed and the source and destination drive. Does anyone know of any linux tools will will do a full drive copy? Additionally, If possible, I'd like to move to a larger drive. how I'd migrate the 120 drive to a 400 or so? 1 idea I have is to install os on 2 new drives to where it they will boot, Then boot with one and copy source to the newly created destination drive.
View 6 Replies
View Related
Jun 23, 2010
I 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 Related
Feb 13, 2009
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 Related
Mar 27, 2011
I have Red Hat Enterprise Linux 6 installed on my machine. I am unable to mount an External Hard (NTFS). I have tried several options which are as under:
Option 1:After making a dir /media/windows mount /dev/sda1 /media/windows/ -t ntfs -o nls=utf8,umask=0222
Option 2: mount -t ntfs /dev/sdb1 /media/windows
View 2 Replies
View Related
Jul 29, 2010
I recently installed Damn Small Linux using unetbootin. Booting Linux from unetbootin seems a lot like booting from a liveCD, so I'd like to mount my hard drive and see what I can do. Unfortunately it looks like Damn Small Linux has not mounted it automatically, and I'm having trouble finding my drive and mounting it from the /dev directory. There are several devices named /dev/*da* and I don't know which is my hard drive. My computer is an HP Mini netbook, so the drive is probably one of the new "solid state" drives if that affects anything.What can I do to find and mount my hard drive from unetbootin?
View 3 Replies
View Related
May 29, 2011
I have been running a computer under Windows XP for years, and recently it stopped booting unexpectedly. It tries to load windows, but partway though loading a BSOD flashes and it shuts down. To remedy this and hopefully fix this, my frined lent me some Knoppix CDs that I could boot from. He also lent me some external hard drives. I want to be able to access my files on my old hard drive.
Here's the problem: (in Knoppix 6) When I try to mount my main partition of my hard drive, which shows as sda2 (sda1 is an old recovery partition left over from when I ran vista), the following message pops up: "A job is pending on dev/sda2" A little later another error window pops up: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." I want to be able to mount my hard drive in Knoppix 6.
View 6 Replies
View Related
Jan 7, 2010
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.
View 6 Replies
View Related
Oct 28, 2010
I'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?
View 7 Replies
View Related
Jul 3, 2011
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.
View 3 Replies
View Related
Jul 5, 2011
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.
View 8 Replies
View Related
Mar 13, 2011
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?
View 9 Replies
View Related
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
Dec 22, 2010
I need to clone LVM encrypted to a bigger size hard drive.
Need help with MBR, how should I do it?
View 4 Replies
View Related
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
May 20, 2010
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 Related
Apr 19, 2011
I'm very new to Linux and recently setup a desktop PC with Puppy 5.2.5. only. I chose to have a permanent install on the hard drive and loaded additional PETS and utilities as I thought needed for my use. Last night after immediately booting up the PC I had a power cut lasting a few minutes. When power returned and I repowered the PC, I found during Puppy's boot sequence it reported an error and remained in what appeared to be a console mode - did not carry through and load my desktop. So I inserted the Puppy CD and booted from that but I'm afraid I'm not familiar enough with Linux to understand how I can get back my original desktop setup and run once again from my hard drive without having to go back to scratch.
View 5 Replies
View Related
Aug 21, 2010
I installed ubuntu 10.04 from the CD (downloaded from ubuntu website), all worked very well. until today that I decided to run the software updater. It installed all the updates correctly, I restarted ok, but i experienced a mini locks, for example when i was with firefox, firefox had mini hangs for about 15 seconds then run normally. Then all OS got unstable, windows showing no thing, for example when i tried to restart using the button, it didnot do anything. Well i reset my computer and BOOM!, im stuck after Grub showing me this:
mount : mounting /dev on /root/dev failed : No such file or directory
mount : mounting /sys on /root/sys failed : No such file or directory
mount : mounting /proc on /root/proc failed : No such file or directory
[code]....
I'm able to reproduce this. I installed a fresh 10.4 again, then installed propietary drivers (nvidia), restart, all working flawless here, then updating all packages using the update-manager, restart, here not all working well (same sympthoms) so i decided to restart, then BOOM AGAIN.. I did the process 3 times and, the same, so I think something is BROKEN. So im able to reproduce it but don't know what the hell is causing it.
View 1 Replies
View Related
May 6, 2010
Is there a good way from the shell to copy/clone a usb stick that have several partitions?
View 5 Replies
View Related
Apr 4, 2010
I have recently experienced a problem that occurred after an automatic update. After the update it said restart system. So I did and proceeded as normal. when after the reboot Firefox suddenly stopped working, crashed and upon clicking it again only a blank box appeared. Then my other apps followed and i soon couldn't do anything so i shut down my computer. Upon restart I got a black screen with tons of text and something around the lines of
mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting / sys/ on root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: No such file or dirctory
[code]....
So I rebooted and pressed shift to open that grub thing and booted from an earlier kernel. This time it said checking HD for errors and after booted normally. Everything seemed fine but next day it did it again. Starting with Firefox crashing and then everything else. I again booted from a previous kernel and it worked but upon checking with uname -a it did not list the kernel i chose to boot from. So I decided to upgrade 10.04 to 10.10. This upgraded my kernel and deleted the old ones so i am hoping i am good now.
View 2 Replies
View Related
Jul 4, 2011
I just did a full install of Slackware64 on my netbook. Everything was sweet until I tried switching to the generic kernel. Even before this, I noticed when I ran the mount command it listed not sda3, which really is the root partition, but /dev/root as the root partition. This also appears in mtab, but not fstab. So yeah, here are the errors when I try booting into the generic kernel:
Code: mounting /dev/sda3 on /mnt failed: No such device No /sbin/init found on rootdev (or not mounted) bin/sh: cant access tty: job control turned off
I've tried rebuilding the mkinitrd_command_generator.sh script several times, as well as lilo.conf. But no success I've looked at some similar old threadss here but most of them are related to slackware 12 and older, so I don't know if these issues are related or not.
View 8 Replies
View Related
Mar 20, 2010
I have minor problem with upgrading a hard drive. I am running an old pentium lll with two hard drives. On the first hard drive I have two partitions of around 90GB each. On the first partition is installed winXP and on the second partition I have Suse 10.3, both booted by grub and living happily side by side. My second hard drive (which is formatted for windows is only 4GB.
My problem arises when I try to replace the 4GB with a 80Gb hard drive. When I disconnect the 4GB drive the system fails to boot up and complains with error 21.
View 8 Replies
View Related
Nov 26, 2010
I have a very very insane problem with my ssd sata harddisk. I did fill the harddisk, and Thunderbird complained about "no space left on device". But even if I delete some files from the harddisk, df will still say 0 blocks free. But it will decrease the number of used blocks. So it looks like it is freeing the blocks and deleting the files, but it don't put the blocks back to the free pool.
But here is where things get insane: If I log in with my normal user, I get a "No free space" when I try to write to the harddisk. But If i log in as root I can write to the file system, despite the fact that df is saying 0 blocks free. I did try to run fsck -f but it just run its test and then say that anything is fine. But it run for less then 10 seconds, is this expected on a 40GB ssd partition?.
[Code]...
View 3 Replies
View Related
Feb 9, 2011
After upgrading from 10.04 to 10.10 I have had some problems booting my Ubuntu. It all started when restarting after the upgrade, and I got the error;
Code:
mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting / sys/ on root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: No such file or dirctory
Target filesystem doesn't have /sbin/init.
No init found. Try passing init= boot arg
BusyBox v1.13.3 (Ubuntu 1:1.13.3.1ubuntu11) built-in shell (ash)(initramfs) After searching the Internet, I found a "solution". I just had to boot with a USB stick with the Ubuntu Rescue Remix (the normal Ubuntu USB won't boot either), and i wrote;
Code:
sudo fsck /dev/sdb5
Now I could start my Ubuntu again. So whats the problem? If I turn off my computer the normal way, there is no problem, but if I log off, put it into sleep mode, if something happens and I have to turn it off with the button it goes back to the first problem, and I have to reboot it with the USB stick and fix it all over again! If I don't have the USB stick with me, I probably wont be able to use my laptop!
View 9 Replies
View Related
Feb 21, 2011
since running update manager on my daughters net running 10.04 netbook on boot up I get the following on the screen
mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting /sys on /root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: No such file or directory
Target filesystem doesn�t have /sbin/init.
[code]....
View 2 Replies
View Related
May 14, 2011
Doesn't seem to matter which version, every time I try to install Software raid on an Ubuntu server system, it blows up with this error. Seems I've had trouble for several versions.
Code:
mount: mounting /dev/disk/by-uuid/f35415ee-4c14-4eb1-995f-f19fbcd760c7 on /root
failed: Invalid argument
mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting /sys on /root/sys failed: No such file or directory
[code]...
I've done it on Centos Fine, and followed the many different instructions I've seen for Ubuntu. The only luck I've had was with bios raid, but I would much rather let Mdadm handle things.
My build:
ubuntu-10.04.2-server-amd64 CD install
AMD 1055T 6Core
4GB ram
Asus M4A88TD-MUSB3
[code]...
I install both as letting Ubuntu decide partitions for one drive, do the same for the other, and create a raid, and do them from scratch. No dice, same problem. I've tried that one as logical and as primary too. No difference. Something just doesn't like booting from a raid 1 Mirror. I've tried installing grub on both HDDs (sda1 + sdb1)I've tried several CDs, burned from several machines. Re-downloaded from Torrent and from the website. The DVD drives work since I purchased new DVD drives for both one workstation and the server. Things install fine under CentOS, software raid comes up.
View 1 Replies
View Related
Sep 5, 2010
I have a 16GB Ubuntu Webserver running on a Transcend SMART CF chip (Yes I know all the reasons not to). I want to move that entire system (OS, Files and structure) to an external bootable HD that will probably be closer to 100GB. What's the easiest way to do this and have it be plug and play. By which I mean I can then plug the drive into a new system and boot it up just as it was running on the old system.
View 1 Replies
View Related