LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-28-2008, 11:31 AM   #1
dzollinger
LQ Newbie
 
Registered: Dec 2007
Posts: 19

Rep: Reputation: 0
Upgrading Hard Drive in FTP Server


I have a CentOS 5 server that is just a simple FTP server. Problem is that the hard drive is giving me bad sector errors. So I have a new (and larger) hard drive to replace it with.

So my question is, what is the best way to upgrade your hard drive size while keeping the system intact? (ie: Not reinstalling OS). For example on a Windows box you can use Norton Ghost and it will automatically adjust your partition size to use entire new hard drive. I know that the dd command in linux works great when the drives are the same size. I'm not using LVM.

So to summarize, how can I clone my system to a new and larger hard drive?


Thanks!
David
 
Old 03-28-2008, 11:46 AM   #2
allied air
LQ Newbie
 
Registered: Feb 2008
Distribution: Slackware
Posts: 16

Rep: Reputation: 0
essentially, you copy everything to the new drive, chroot your system root to the new drive and then fiddle with the boot loader to point to it.

the slax forum has a guide on how do to just that for the live cd (i've tried, it works and i'm a linux noob), and theres no real reason that it wouldnt work on a manly installation

said forum post am here
 
Old 03-28-2008, 05:29 PM   #3
MQMan
Member
 
Registered: Jan 2004
Location: Los Angeles
Distribution: Slack64 14.1
Posts: 568

Rep: Reputation: 38
Use Ghost for Linux, or gparted.

Cheers.
 
  


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
Hard drive upgrading Abnoba12 Linux - Hardware 1 08-03-2006 10:20 AM
ftp server - hard drive format rndilger Linux - Networking 1 02-13-2005 02:27 PM
upgrading hard drive pi_squared Linux - Hardware 5 12-21-2004 08:12 PM
Setting up a 120gb NTFS Hard Drive and sharing it as an ftp server AnarKi Linux - Newbie 1 11-12-2003 05:30 PM
Upgrading Hard Drive Comatose51 Linux - General 1 09-06-2003 01:42 AM

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

All times are GMT -5. The time now is 07:14 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration