LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-10-2017, 09:47 AM   #1
apollo1980
LQ Newbie
 
Registered: Oct 2017
Posts: 4

Rep: Reputation: Disabled
Linux 64 bit fresh install, created clone on cd, want to use clone on another laptop...


Greetings.

I have Linux Mint 64 bit on a laptop, fresh install. I cloned the drive for backup purposes.

If I were to take that clone cd, and use it to install on another laptop, similar hardware, both systems capable of running 64 bit OS, will the only hurdle be having to download and install drivers for the second laptop's hardware?

Thanks in advance.

Last edited by apollo1980; 10-10-2017 at 09:49 AM. Reason: typed in wrong info.
 
Old 10-10-2017, 02:52 PM   #2
DVOM
Member
 
Registered: Nov 2010
Posts: 223

Rep: Reputation: 48
I don't think drivers are a problem. I've frequently installed a linux OS on one machine, imaged the OS with clonezille, then restored the image on another machine. It has always fired right up. Other than installing "grub" I don't do anything else.

I don't know but I suspect that a Windows install only installs the drivers necessary to your hardware, linux, I believe, installs all of the drivers.

Last edited by DVOM; 10-10-2017 at 02:54 PM.
 
Old 10-10-2017, 03:26 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,978

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
I'm kind of surprised that you were able to clone an install to a disc.

Exactly how did you clone this install to a disc?
 
Old 10-10-2017, 05:08 PM   #4
apollo1980
LQ Newbie
 
Registered: Oct 2017
Posts: 4

Original Poster
Rep: Reputation: Disabled
Clonezilla.
 
Old 10-10-2017, 10:16 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,978

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
If you were able to clone a modern linux install to a disc then you could for the most part take it to a new similar system and clonezilla it to this new drive of equal size or larger.

Now what may happen next is one of two things. One it will work fine. Two it won't.

Too many variables if it won't so try it and tell us. Can we get it working? Most likely.

Generally the way to clone a system it to make some references generic before you clone. Also you'd install the new device drivers before you clone.
 
Old 10-11-2017, 02:12 AM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
misconceptions:
- a cd can hold at most 750MB - a gnu/linux with graphical desktop is MUCH larger. so let's just suppose you use a much larger usb stick, or a dvd ( although even a dvd might be too small)
- doing what you propose, you would NOT get a so-called installation medium. you would have to boot the target system by some other means, then 'dd' the contents of that "disk" to the target system's hard drive.
- i have done this, but usually i had to adjust the UUID's in /etc/fstab and regenerate grub
 
Old 10-11-2017, 03:17 AM   #7
apollo1980
LQ Newbie
 
Registered: Oct 2017
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
misconceptions:
- a cd can hold at most 750MB - a gnu/linux with graphical desktop is MUCH larger. so let's just suppose you use a much larger usb stick, or a dvd ( although even a dvd might be too small)
- doing what you propose, you would NOT get a so-called installation medium. you would have to boot the target system by some other means, then 'dd' the contents of that "disk" to the target system's hard drive.
- i have done this, but usually i had to adjust the UUID's in /etc/fstab and regenerate grub
Clonezilla boots off of a cd. The image I created is on a usb drive. I load the clonezilla cd on bootup, it then tells me to insert the usb drive, it detects it, I then tell it to make a clone on the hard drive from the usb.

I tried it yesterday, but the usb drive image I have is larger than the hard drive on the laptop, so for that reason, it refused to clone over. So I'd just need an equal or larger sized hard drive to install the clone.
 
Old 10-11-2017, 12:26 PM   #8
DVOM
Member
 
Registered: Nov 2010
Posts: 223

Rep: Reputation: 48
Of all the people who have responded to this thread, only one has actually done this type of transfer. Several times.

The only sensible thing to do is to ignore that guy.
 
Old 10-11-2017, 10:04 PM   #9
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,978

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
We didn't ignore you. Not sure the OP fully explained the issue.

Linux doesn't install all the drivers and doesn't fully work perfectly on clones. Even clones to identical hardware can have some problems especially without predictive naming. Boot issues could cause a failure. Clones to dissimilar hardware can't be determined.

As we found out the OP didn't clone to a disc in fact.


Long story.

Modern linux tends to be offered in a distro that targets a set of hardware. It doesn't exactly configure drivers as such from a pool.
It does however make not of some unique naming in generally two places.
Once is boot loader.
Two is storage naming.
Possibly a problem will be video as modern linux uses modesetting to try to maintain video across boot loader to gui.
Various drivers are not offered as they are not open.
Network may be an issue too as to naming conventions.
If you were to use some older software some oddities may exist.

I said before it will either work or not. Unless we know exact hardware we can't guess.

Last edited by jefro; 10-11-2017 at 10:12 PM.
 
Old 10-12-2017, 01:40 AM   #10
DVOM
Member
 
Registered: Nov 2010
Posts: 223

Rep: Reputation: 48
Quote:
Originally Posted by jefro View Post
We didn't ignore you. Not sure the OP fully explained the issue.

Linux doesn't install all the drivers and doesn't fully work perfectly on clones. Even clones to identical hardware can have some problems especially without predictive naming. Boot issues could cause a failure. Clones to dissimilar hardware can't be determined.

As we found out the OP didn't clone to a disc in fact.


Long story.

Modern linux tends to be offered in a distro that targets a set of hardware. It doesn't exactly configure drivers as such from a pool.
It does however make not of some unique naming in generally two places.
Once is boot loader.
Two is storage naming.
Possibly a problem will be video as modern linux uses modesetting to try to maintain video across boot loader to gui.
Various drivers are not offered as they are not open.
Network may be an issue too as to naming conventions.
If you were to use some older software some oddities may exist.

I said before it will either work or not. Unless we know exact hardware we can't guess.
How many times have you done this? Seriously, how many times have you done this? I've installed on one machine and imaged and restored the image onto another machine about 15 times. I've also installed in VirtualBox, then imaged, then restored the image onto the HDD about 20-25 times. This VB to HDD thing is ongoing and gets done about once a week. So far I've got a 100% success rate. So I know how to accomplish what the OP first asked about. However, no one in this thread is interested in how to actually do what the OP asked, so I'll quit bothering you guys and get out of your way. Good luck.
 
Old 10-12-2017, 02:12 AM   #11
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
^ i did "this" once or twice, and was amazed at how easiliy it worked, after some minor editing.


Quote:
Originally Posted by ondoho View Post
misconceptions:
- a cd can hold at most 750MB - a gnu/linux with graphical desktop is MUCH larger.
i should have clarified:
a fully installed gnu/linux with desktop is MUCH larger.
 
Old 10-12-2017, 04:54 AM   #12
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
I tend to rsync to clone. That way size of drives isn't as much of an issue. As long as the difference is made up for in free space. Partition, format, mount, and rsync. Once the copy is made, change /etc/fstab to match the UUID of the partition it was installed to. Chroot, then install the bootloader from inside the chroot. Then exit the chroot and shutdown. Unplug the installation medium(s), and power on to glorious linux. A bit over simplified and there are complications depending on your hardware. But it can be "that simple" with a little familiarity.
 
Old 10-12-2017, 02:59 PM   #13
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,978

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
? How many times have I cloned a system?? A few hundred times. I've cloned almost every known common OS. I've used linux for a very long time. Dang nabit if many haven't failed along the way.

I suggest that the OP try it. It will either work or it won't. Or they could use some known steps to help it work. Or they could use some other means to clone.

Last edited by jefro; 10-12-2017 at 03:04 PM.
 
  


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
Taking Linux Mint 64bit OS clone, fresh install, moved from one laptop to another apollo1980 Linux - Software 1 10-11-2017 10:05 PM
Clone Harddisk Linux Install to Bootable DVD? bat_boy11112233 Linux - Software 2 09-04-2011 10:54 PM
I need to Clone a Red Hat drive and install clone in HP server drummer54 Linux - Newbie 14 03-07-2009 04:15 PM
I need to clone a laptop hard drive mike160 Linux - Laptop and Netbook 9 04-23-2006 05:23 PM
used dd to clone linux install - problems after infinity42 Linux - Software 7 07-06-2005 01:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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