LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-13-2004, 08:53 AM   #1
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
replacing scsi hard drive


Lo all,

I've bought a new more silent (finally) scsi drive. I was wondering how i can replace the one i currently have with it, without the need to reinstall everything... Is it possible to do so?

Yes this drive is the main one.

Tank you please.
 
Old 11-13-2004, 09:38 AM   #2
fsbooks
Member
 
Registered: Jan 2002
Location: Missoula. Montana, USA
Distribution: Slackware (various)
Posts: 464

Rep: Reputation: 52
Add it in the chain, the easiest is the last one so it does not displace any of your existing drives if you don't have labels or use LVM. Make partitions that will take the partitions from the existing drive. Mount up the new partitions and copy the data over. Shut the machine down, remove the old drive, change SCSI ID of the new drive to that of the original. Reboot.

Further information: I usually mount the "new tree" on say /mnt/Alt, then use rsync to copy, as thus:

sudo rsync -acvSHx --delete / /mnt/Alt
sudo rsync -acvSHx --delete /var /mnt/Alt
rsync -avcRSHx --exclude /usr/share --delete /usr /mnt/Alt

You may prefer some other method. (dd, tar, cp -a, etc.), and of course must change for your partitions.
 
Old 11-13-2004, 09:58 AM   #3
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Original Poster
Rep: Reputation: 45
Thanks, will give it a go tonight, and keep this thread updated with the result.
 
  


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
Second Hard Drive IDE vs SCSI OrganicX General 7 01-17-2006 07:23 AM
Scsi Hard Drive BittaBrotha Linux - Hardware 6 11-20-2005 06:12 PM
Installing a SCSI Hard drive tbartolucci Linux - Newbie 5 08-31-2004 12:50 PM
SCSI hard drive _ben_deb_ Debian 4 12-22-2003 08:03 AM
Replacing Hard Drive Dallam Linux - Software 1 01-01-2002 09:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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