LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 10-28-2003, 09:56 AM   #1
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381

Rep: Reputation: 47
moving root after install


is it possible to move root after it is installed. If i have linux installed on hda and have a second disc hdd. can i move root from hda to hdd without reinstalling, or what is the best way to install /boot and swap on disk hda and / on disk hdd?

Last edited by bosewicht; 10-28-2003 at 10:02 AM.
 
Old 10-28-2003, 10:28 AM   #2
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
You ca do it but not while you're running the system (at least I think that's a bad idea). You can get knoppix or something like that which runs from a CD, and then basically copy over the stuff from one partition to the other (make sure to preserve attributes). After that, you have to make sure that the bootloader is configured right, and that your /etc/fstab is corrected as well.
 
Old 10-28-2003, 01:39 PM   #3
Fascistchicken
Member
 
Registered: Jul 2003
Location: hellifniknow
Distribution: slackware for chickens
Posts: 182

Rep: Reputation: 30
i have a similar question
if i change disk order, ie i have two hard drives now with the root partition on hdb, and i change hdb to be hda how will that affect my system?
what files would need to be altered?

will the revolution be pay-per-view?
 
Old 10-28-2003, 04:17 PM   #4
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
you'll probably have to reinstall the bootloader to the new hda and also make sure your /etc/fstab is all right (since everything that was on hdb will be on hda and vice versa).
 
  


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
moving root / partition on Slack 10.0 mrhide Slackware 3 04-06-2005 11:21 AM
Moving from root to regular user KingOfDreams Linux - General 1 01-14-2005 04:46 AM
root - anomonous moving Tod_Con Slackware 3 07-07-2004 07:45 PM
moving root / wolfe2554 Linux - General 3 07-06-2004 12:38 PM
Moving software from /root DrDoc Linux - General 1 04-28-2002 12:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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