LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-11-2008, 06:22 AM   #1
Tobas
LQ Newbie
 
Registered: Dec 2003
Posts: 16

Rep: Reputation: 0
adding a new harddisk


Hi there,

I have a sort of a problem and i hope someone can help me.

I have a server ( running on Slackware 12.1 ) with a disk-space / memory problem.

so i bought a new harddrive and new memory, and this are the steps i want to do :

adding the new harddrive to the excisting system
copy all the data to the new hdd
dismantle the system
setup the new system ( OS Debian )
add the new hdd ( including the backed up data )
Run my new server

I want my new hdd with a reiserfs filesystem
I hope someone can help me with the adding (hdd) part

Tobas
 
Old 08-11-2008, 07:06 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,455

Rep: Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353
Presuming you don't have a favourite backup program and want to do this by terminal commands, do as follows
1. power down; add new drive wherever and jumper accordingly. If you don't have space, remove the cdrom to make space.
2. power up; cfdisk or fdisk if you must, and partition.
3. Back up to /home, /var, or some other partitions that won't be filled by your new debian system when it comes along. cp -a works fine. Tar is messy, because you are changing OS, and you run the risk of altering stuff with an overwrite. There are switches to get round it, but it's still messy. K.I.S.S. Then any perms problems yield to chmod -R
4. Install your new drive as hda/sda, remove old drive, and
5. boot on Debian CD and install
6. If you have the hardware space, leave the old drive there for a while, (as hdb or sdb) and add a grub entry to boot from it. You may need it one day.
 
Old 08-11-2008, 07:17 AM   #3
Tobas
LQ Newbie
 
Registered: Dec 2003
Posts: 16

Original Poster
Rep: Reputation: 0
Thx,

im gonna try it as soon im at home.
Its only to backup stuff like scripts, holiday pictures / movies, so thats not distro sensitive.
but my 500 gb is running low on space, now adding 1 tb to do the job

Thx again for the quick response

Tobas
 
  


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
Adding a new RAID HardDisk in a already running CentOS 4.0 romeo_tango Linux - Hardware 5 12-07-2006 04:08 AM
Adding more SWAP after adding memory marc1978 Linux - General 6 03-19-2006 07:13 PM
Adding New Harddisk meetmefar Mandriva 2 10-30-2005 08:07 AM
Low Harddisk space. Can I just transfer the entire Linux to a bigger harddisk? davidas Linux - Newbie 12 04-13-2004 02:03 AM
Adding another harddisk with preloaded OS ahmedf Linux - Software 1 07-31-2003 06:24 PM

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

All times are GMT -5. The time now is 05:49 PM.

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