LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 11-21-2006, 01:10 PM   #1
jimmy512
Member
 
Registered: Oct 2006
Location: London
Distribution: Arch
Posts: 183

Rep: Reputation: 31
Copying one distro on a hard disk to another disk


My computer currently has 2 hard disks, one 120gb disk and 1 4gb disk. I have an old copy of Debian sarge installed on the 120gb disk, and a fresh, correctly configured copy of debian etch on the other (4gb). Is it possible to format the 120gb disk (after backing up files etc.) and copy across the the contents of the 4gb disk, and boot of this so I have more space?

Im sorry if this sounds confusing. The disks will be kept in the same computer, so all the hardware is the same. Is this possible?

Thanks for any replies!
 
Old 11-21-2006, 01:14 PM   #2
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
Yes it should be using dd. But you probably will have to boot into your 4GB drive afterwards and then chroot into the new drive to fiddle with the /etc/fstab file because all the partitions in /etc/fstab will be pointing to the 4GB drive after you copy it over. You may also have to fiddle with grub and the menu.lst file to make sure you're booting the proper kernel.
 
Old 11-21-2006, 01:19 PM   #3
jimmy512
Member
 
Registered: Oct 2006
Location: London
Distribution: Arch
Posts: 183

Original Poster
Rep: Reputation: 31
Thanks for the reply. I will try this.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the best distro for a 1GB Hard Disk? carbontwelve Linux - Distributions 4 06-17-2006 03:59 PM
Running LIVE CD from hard disk, i.e. copying the iso on HD & then booting the same nitinatindore Linux - Newbie 13 03-12-2006 04:35 AM
60GB laptop hard disk & 200GB external USB hard disk linux compatibility powah Linux - Hardware 0 03-07-2006 10:55 AM
a distro under 2GB hard disk space? mannis Linux - Newbie 10 09-21-2004 11:21 AM
dual boot hard disk copying manthram Linux - General 1 05-05-2002 10:08 AM


All times are GMT -5. The time now is 02:53 AM.

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