Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 01-21-2008, 08:11 AM   #1
Senior Member
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,142

Rep: Reputation: 49
copying an entire system - where did I go wrong?

I need the sata hd in this pc to go into the windows pc I'm setting up, because the xp install cd does not recognize the ide adapter, and tells me there is no hd in there.

I created an ext3 and swap partition, set the disk lables,
formated hda1 with mkfs.ext3, and hda2 with mkswap,
set hda1 bootable,
copied everything with sudo cp -rpxv,
Edited fstab accordingly
Edited menu.lst accordingly,
installed grub to hd0,0 (and again from a live cd with the sata hd disconnected to make sure I got it right.)

But grub won't load. When I put in a live cd, and tell it to boot from the first hd, it will, but it hangs half way through the process.

I'm now on the Ubuntu install/live cd, re-installing the system, but I intend to copy the old system over, so if there is something wrong with cp for that purpose, please tell me.

I have four sata ports, and two ide ports on that motherboard, in case you were wondering. The sata is now disconnected.

Last edited by oskar; 01-21-2008 at 08:16 AM.
Old 01-21-2008, 09:08 AM   #2
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Rep: Reputation: 35

I'm having trouble understanding exactly what you are trying to do, but it sounds like you are trying to create an image. I believe the best way to do that is with dd, and the dd target should be unmounted.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Copying entire directory with subdirectory? centosfan Linux - Newbie 1 04-20-2007 09:14 PM
Document Management Syste talat Linux - Software 1 11-23-2006 05:26 AM
Copying ENTIRE MSSQL Datbase acompw General 0 11-07-2004 08:16 PM
Setup VPN server on Sun Java desktop syste hollor Linux - Newbie 2 06-16-2004 11:09 AM
copying entire intallation viniosity Linux - Newbie 4 03-17-2003 11:22 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:59 AM.

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