LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-13-2004, 02:41 PM   #1
gerrymatbeacon
LQ Newbie
 
Registered: Aug 2004
Posts: 1

Rep: Reputation: 0
HardDrive to HD image copy


Id like to copy everything (RH Linux 7.1, Win 98, boot loader, etc) from my existing (master IDE) hard drive to a new (slave IDE) harddrive. The copy can have identical partition sizes even though the new HD will probably be bigger. Hopefully, I can get Partition Magic or some Linux utility to adjust the partition sizes later.

So, Id consider it a success if I can copy from one drive to another and after changing the second drive to master, the second drive boots to Linux or Win98.

Ultimately I may want to move to another computer without reinstalling everything. Do you think I could do this? Id need to install the appropriate drivers in both Linux and Win98 after limping alive with the old wrong ones.

I once experimented with a now forgotten byte by byte copy (one HD to another) command. Could anyone tell me if this is the way to go (including what it is) and what would I input to make sure the boot sector information (ie the HD from beginning to end) gets copied?

I checked this forum for solutions and immediately ran into problems.
For example:
>fdisk -l
Cannot open /dev/hda
Cannot open /dev/hdc

Is there something else I need to know about the fdisk command and RedHat Linux 7.1? (Im still stuck at 7.1 because it just took too long to update and get everything working in the past Ill get around to it eventually).

For your info

> dmesg | head -n 1
Linux version 2.4.2-2 (root@porky.devel.redhat.com) (gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-79)) #1 Sun Apr 8 20:41:30 EDT 2001
 
Old 08-13-2004, 03:18 PM   #2
charliecron
LQ Newbie
 
Registered: Nov 2003
Posts: 8

Rep: Reputation: 0
You should give fdisk -l a device name,

fdisk -l /dev/hda /dev/hdc
 
  


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
Making image of harddrive crxgames Suse/Novell 2 04-11-2005 07:13 AM
copy harddrive Scrotonomous Linux - Hardware 5 11-04-2004 10:38 PM
how to copy mandrake rescue from cdrom to harddrive? TimeFade Mandriva 4 12-31-2003 12:16 AM
Slackware LIVe Cd copy to harddrive dude_228 Slackware 8 09-05-2003 01:51 PM
How Do I copy data from the cdrom to my harddrive TransAmJugo Linux - Newbie 2 07-18-2003 03:09 PM


All times are GMT -5. The time now is 08:40 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