LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-19-2009, 12:48 AM   #1
ant_psydurix
LQ Newbie
 
Registered: Jun 2006
Location: isolated mountain country mid north coast australia
Distribution: kubuntu/xubuntu 14.04
Posts: 16

Rep: Reputation: 0
no boot after cloning hdd


Cloned a laptop[msi-gsx700] hdd from 5400 rpm to 7200 rpm drive using acronis 2009 clone tool.Both hdds 250GB. sda1=xp;sda2=vista;sda3=ubuntu64-8.10;sda8=swap;sda6=/slack 12.2;sda7=slack /home. several other partitions ntfs + fat.
Xp & vista both boot with no problems using Easy bcd from vista,though boot files are on xp partition.
Ubuntu & slack refuse to boot.All files seem to be in order viewed from puppy live cd.
fsck sees all partitions, oddly except sda2[vista] maybe because when in xp ,xp=C;\...when in vista vista=C:\ ie their drive letters seen from windows swap around, depending which you boot into.
fsck sees sda3 ext3 0x83.
Error on trying to boot into either linux
"Bootpart 2.60 Bootsector (c) 1993-2005 etc.
Loading new partition
Bootsector from c.h.hockstatter
Cannot load from harddisk
Insert system disc & press any key. PXE-EC8. !PXE structure not found in UNDI driver code segment. PXE-M0F: Exiting PXE ROM"
Grub disc 'find'command can't find menu.1st or vmlinuz or stage 1 on the disk.error 15
Ran e2fsck -v on sda3 &sda6 & found timestamps set in the future & it repaired them.
Tried to chroot into / at sda3 with no luck, to repair grub on root partitions.
Any ideas would be welcome.
 
Old 07-19-2009, 01:19 AM   #2
jmite
Member
 
Registered: Jun 2008
Distribution: Ubuntu
Posts: 266

Rep: Reputation: 36
You need to somehow restore the windows bootloader from the looks of it. I'm not sure how that would work, I'm not expert, but oyu could try installing GRUB then chainloading...
Alternately, if your files are intact, back them up, wipe your harddriv and start from scratch. ONLY AS A LAST RESORT!!!!
 
Old 07-21-2009, 05:29 AM   #3
ant_psydurix
LQ Newbie
 
Registered: Jun 2006
Location: isolated mountain country mid north coast australia
Distribution: kubuntu/xubuntu 14.04
Posts: 16

Original Poster
Rep: Reputation: 0
The windows boot loader seems to work ok. Super grub disc is reporting the errors from grub. I found that giving 'UUID' command in grub returned nothing....it can't find vmlinuz or initrd etc. cylinders & blocks numbers match on both drives from fsck -v.
 
Old 07-21-2009, 01:24 PM   #4
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
i've done this with success on usb drives and fedora live:
Code:
bunzip2 fedora-9-live-usb.bz2 | dd bs=8192 of=/dev/sda
perhaps you can do:
Code:
dd bs=8192 if=/dev/sda of=/dev/sdb
do not get sda and sdb confused:
http://www.linuxquestions.org/questi...ommand-362506/
 
Old 07-21-2009, 08:45 PM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,534

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
How are you trying to boot Slackware and Ubuntu? You indicate you boot xp and vista using EasyBCD, do you have entries in the windows files (BCDEdit?) for Ubuntu and/or Slackware? Is there some way to chainload using EasyBCD. I would assume that you have the windows bootloader in the mbr?

If you are getting file not found error from the Grub prompt something went wrong.
 
Old 07-21-2009, 09:10 PM   #6
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,671
Blog Entries: 4

Rep: Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945
My best-guess would be that the Master Boot Record (MBR) has not been copied. This is a critical block of information that the BIOS reads when booting from a volume in order to locate the boot-loader ... be it LILO or Grub.

If the MBR is missing or corrupt, the BIOS will be "unable to find a bootable drive."

The solution is... to rewrite the MBR. Unfortunately, the answer to "how do I do that?" is ... "it depends."

Have no fear: your data is (probably...) quite safe. Just "a minor technical difficulty. Do not adjust your TV set..."
 
Old 07-23-2009, 05:39 AM   #7
ant_psydurix
LQ Newbie
 
Registered: Jun 2006
Location: isolated mountain country mid north coast australia
Distribution: kubuntu/xubuntu 14.04
Posts: 16

Original Poster
Rep: Reputation: 0
thanyou all for your input,I returned to my puzzle with puppy & ran fdisk -l on the partitions in limbo & was told "doesn't contain a valid partition table" so I guess this to be the root of the problem. All the linux partitions have grub or lilo on their / partition, which booted fine with Easy BCD before cloning..Ran e2fsck -CO -p -f -v /dev/sda* which returned "1901 non contiguous inodes"[#ind/tind/dind/blocks 9247/99/0] Yes data is safe as I can read/write to partitions no worries. Just trying to save a great setup .
 
Old 08-01-2009, 10:33 PM   #8
ant_psydurix
LQ Newbie
 
Registered: Jun 2006
Location: isolated mountain country mid north coast australia
Distribution: kubuntu/xubuntu 14.04
Posts: 16

Original Poster
Rep: Reputation: 0
OK--Solved.Thankyou all for your input.
Used dd if=/dev/sdb of=/dev/sda bs=1024
this worked though dd ran an error[I/O write] at~160GB into transfer..this covered xp@sda1-75GB vista@sda4-50GB. Used watch to view progress from another post here[*@# watch -n10 kill -USR1 (PID number of dd)].
This must have repaired the missmatched block numbers returned by fdisk -l on the 2 drives.
Used dd & watch to reclone slax & ubuntu64 on other partitions.
Probably I took the long route to this puzzle but have learned heaps,fdisk,e2fsck,CLI is not my strength...DEFINITELY will only use dd from now.dd_rescue may have been better but not familiar to me...yet.
 
Old 08-02-2009, 06:18 AM   #9
mrrangerman
Member
 
Registered: Oct 2007
Location: MI
Distribution: Debian Slackware
Posts: 528

Rep: Reputation: 59
Cloning Tips
 
  


Reply



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
hdd cloning fareedreg Linux - Newbie 8 05-17-2011 08:49 AM
Cloning in External HDD fareedreg Linux - Newbie 1 12-18-2007 06:38 AM
Required help in HDD Cloning fareedreg Linux - Newbie 25 12-16-2007 12:07 PM
cloning both partitions, dual boot system, master boot record, logical volume manager saranga2000 Linux - Hardware 3 01-10-2005 11:04 AM
No cdrom after cloning to another HDD stelmed Slackware 12 05-17-2003 09:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:33 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration