LinuxQuestions.org
Visit Jeremy's Blog.
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-03-2014, 01:04 PM   #1
Dran
LQ Newbie
 
Registered: Oct 2014
Posts: 4

Rep: Reputation: Disabled
how to transfer the root file system of one linux harddisk to another?


At the same PC I do have two disks.
At harddisk 1 (1TB) I could install Linuxmint17 64 alongside Win8.1 both at their own partiotions of course.
The problem arised "no root file system" what could be solved by using the GParted Live DVD.
Thus LinuxMint17 is running well at HD1.
Hdisk 2 (500GB only Linux) does give problems also during installation by telling no "root file system".
I have tried to solve this with the GParted Live DVD without any succes.
Hoped that transferring the Linux partitions from HD1 to HD2 would solve the problem.
The Linux partitions did transfer well, but the problem no Root File System has remained.
My question: "How to transfer the root file system from HD1 to HD2 ?"
Or maybe one of you knows a better solution.
Looking forward to a reply, thanks in advance.
Dran.
 
Old 10-03-2014, 04:18 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,374

Rep: Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198
I assume you mean / and all of the sub directories below it. You may really have other issues here by the way.


/ generally but not always is a physical partition. In this choice you have two ways to move data. One is a file by file copy of the files and two is a bit by bit copy. Many people may use a clone software to copy it. Things like gparted and clonezilla and redobackup or even cpio and tar all tend to work.

One should avoid booting to either media. Use a live cd or live usb to avoid some issues.


Depending on version you may have to make stuff generic first or fix later. Many of the references in an installed system are specific to things like disk by name or uuid or position in bios.
 
1 members found this post helpful.
Old 10-03-2014, 04:30 PM   #3
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
If manually partitioning you have to set a mount point as / & set the boot flag to it unless you intend to create seperate /boot, which the boot flag would be set to it. Also is the hdd1 gpt? If so you may have to do the same with hdd2.
 
1 members found this post helpful.
Old 10-05-2014, 06:23 AM   #4
Dran
LQ Newbie
 
Registered: Oct 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hello Eddy1 and all other people who reacted to my question.

Thank you greatly.
Using gparted I discovered that the mountpoint / was already set but not the boot-flag.
After having set the boot-flag Linux started without any problem.
Thanks again and all of you reacting to my question.
Have a nice Sunday hopefully a sunny day, anyhow for me it is.
 
Old 10-05-2014, 06:24 AM   #5
Dran
LQ Newbie
 
Registered: Oct 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thumbs up problem solved

Hello Eddy1 and all other people who reacted to my question.

Thank you greatly.
Using gparted I discovered that the mountpoint / was already set but not the boot-flag.
After having set the boot-flag Linux started without any problem.
Thanks again and all of you reacting to my question.
Have a nice Sunday hopefully a sunny day, anyhow for me it is.
 
Old 10-05-2014, 01:18 PM   #6
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Congrats, glad to know you got it working.
Please mark thread as solved using the Thread Tools at top of page.
 
Old 10-05-2014, 02:46 PM   #7
Dran
LQ Newbie
 
Registered: Oct 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thumbs up Jefro Thanks very much

Jefro thanks very much for your extensive reaction. I have made notice of it what may be useful in the near future.
Thanks a lot indeed,
Dran

Quote:
Originally Posted by jefro View Post
I assume you mean / and all of the sub directories below it. You may really have other issues here by the way.


/ generally but not always is a physical partition. In this choice you have two ways to move data. One is a file by file copy of the files and two is a bit by bit copy. Many people may use a clone software to copy it. Things like gparted and clonezilla and redobackup or even cpio and tar all tend to work.

One should avoid booting to either media. Use a live cd or live usb to avoid some issues.


Depending on version you may have to make stuff generic first or fix later. Many of the references in an installed system are specific to things like disk by name or uuid or position in bios.
 
  


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
Encrypting my root file system in Linux ajayan Linux - Newbie 1 09-16-2010 03:50 AM
Need help regarding data transfer between UML and linux file system husham Linux - Networking 0 11-04-2006 10:43 AM
What file system for an extra harddisk ? Babe963 Linux - Hardware 1 09-16-2006 04:55 AM
how to transfer file from windows to linux on a dual booting system shupi Linux - Newbie 5 08-13-2006 01:29 AM
Low Harddisk space. Can I just transfer the entire Linux to a bigger harddisk? davidas Linux - Newbie 12 04-13-2004 03:03 AM


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