LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 07-01-2011, 08:10 PM   #1
boguspersin
LQ Newbie
 
Registered: Sep 2009
Location: Australia
Distribution: Kubuntu
Posts: 3

Rep: Reputation: 0
Best way to correct Hard drive clone gone wrong


This is my first post. What a disaster.

I had a 80G hard drive split with Kubuntu 11.04 and Win XP 64.

I needed more space.

a. I added in a spare 250G HD drive.
b. Used Seagate clone tool to clone entire drive.
c. Disconnected 80G drive.
d. Reboot and received Grub rescue prompt.
e. Tried a few articles to fix grub but no success.
e. Reconnected 80G drive and disconnected 250G drive.
f. Booted using original drive.

I should have stopped there. It was late and I was tired. I decided to wipe the 250G drive and do a fresh install.

a. Oops, I deleted the linux swap partitions off the 80G instead of the 250G.
b. Realised my mistake but it was too late, so I recreated the swap partitions.
c. Rebooted and back to GRUB rescue prompt on reboot.

I didn't want to lose the data on the original drive, so I did a fresh install of Natty on the 250G from DVD.

So I can access my data (now backed up). But I can't disconnect either drive without getting the GRUB rescue prompt.

Optimally, I only want one drive in the machine (250G). I have two copies of Natty (one highly customised the way I like 80G), a cloned copy of NAtty from 80G on the 250G and the fresh one on the 250G. Independent partitions of Win XP 64 also exist on each drive.

Can I have some advice on the best way forward?

The simpliest choice seems to do a wipe on each drive and entire fresh install.

But I have extremely limited broadband and want to retain both drives but in independent PC's. Having to download all the apps and customise them again is undesirable (and expensive). Additionally, I'll have to re-install Windows XP 64 as well, but I can live with that. I don't want to lose Kubuntu.

Is there some way to recover the way each drive menu boots? I want one set of bootable menus on each drive - Linux, linux recovery and Win XP 64, Memtest?

I realise that some of you would shake your heads at the above but I'm still a noob with Linux.
 
Old 07-01-2011, 09:22 PM   #2
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,628

Rep: Reputation: 725Reputation: 725Reputation: 725Reputation: 725Reputation: 725Reputation: 725Reputation: 725
The best starting point would be to provide more detailed information on your drives/partitions. You can go to the site below and download the bootinfoscript and run it. I'm not sure if you can boot anything now??. Read the instructions.

http://bootinfoscript.sourceforge.net/
 
1 members found this post helpful.
Old 07-01-2011, 09:45 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,201

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
No harm in fsck'ing up if you still have (all) your data. Great way to learn.
Get the data yancek asked for, but the probable reason you need both disks installed to boot is that the (latest) install took the default to install to the MBR of the first (80 Gig) disk. Can be rectified fairly easily.
 
Old 07-01-2011, 09:47 PM   #4
boguspersin
LQ Newbie
 
Registered: Sep 2009
Location: Australia
Distribution: Kubuntu
Posts: 3

Original Poster
Rep: Reputation: 0
Results from Boot Info Script

Results in attachment:

Also two screenshots of KDE Partition. I'm a visual sort until I get the handle on command line.
Attached Images
File Type: jpeg Kde Partition 80G.jpeg (113.6 KB, 5 views)
File Type: jpeg Kde Partition 250G.jpeg (120.3 KB, 6 views)
Attached Files
File Type: txt RESULTS.txt (27.1 KB, 5 views)

Last edited by boguspersin; 07-01-2011 at 10:06 PM. Reason: Add additional information
 
Old 07-01-2011, 10:45 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,201

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Hmmmm - let's see what the BIOS thinks. Re-boot and hit escape at the boot menu. Then "c" to get into command prompt (as it says at the bottom).Then "ls" (no quotes), and post the output; you'll need to write it down by hand.
A couple of <Esc> should get you back to the menu.

Last edited by syg00; 07-01-2011 at 10:51 PM. Reason: Added last sentence
 
Old 07-02-2011, 08:15 PM   #6
boguspersin
LQ Newbie
 
Registered: Sep 2009
Location: Australia
Distribution: Kubuntu
Posts: 3

Original Poster
Rep: Reputation: 0
Output:

(hd0) (hd0,msdos7) (hd0,msdos6) (hd0,msdos5) (hd0,msdos1)
(hd1) (hd1,msdos9) (hd1,msdos8) (hd1,msdos7) (hd1,msdos6) (hd1, msdos5) (hd1,msdos1)
(hd2) (hd2,msdos1) (fd0)

Thinking (hd2)is USB pendrive I left plugged in hub.
 
Old 07-02-2011, 09:22 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,201

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Is that one (E)IDE and one SATA drive by any chance ?. Debian/Ubuntu don't seem to handle that very well in the initscripts.

If it was me, I'd pull the 80 Gig out, boot the Ubuntu liveCD and chroot into your preferred copy of Ubuntu on the hard disk. Then re-install grub properly to the MBR of the 250 Gig drive. Have a read of this - go to the "Reinstalling grub2" section. I prefer chroot, but that GUI tool might work, haven't seen it.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Clone Hard Drive lindylex Linux - General 8 03-05-2009 01:58 PM
clone hard drive to smaller hard drive digity Linux - Newbie 8 01-11-2009 06:29 PM
Clone a dual booting IDE hard drive to a SATA hard drive namida12 Linux - Distributions 1 07-14-2008 10:01 AM
Using dd to clone my hard drive Tommo Linux - Hardware 15 05-20-2007 03:49 PM
Clone a hard drive twantrd Solaris / OpenSolaris 10 02-05-2005 02:15 AM


All times are GMT -5. The time now is 05:31 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration