Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.os.linux > #39326

Re: How to Migrate Mint18 to another motherboard?

From "J.O. Aho" <user@example.net>
Newsgroups alt.os.linux, alt.os.linux.mint
Subject Re: How to Migrate Mint18 to another motherboard?
Date 2016-09-28 21:45 +0200
Message-ID <e52kvmF2sdoU1@mid.individual.net> (permalink)
References <nsgnf2$efg$1@sunce.iskon.hr> <e52aasF8urU1@mid.individual.net> <nsgtsi$k5p$1@sunce.iskon.hr>

Cross-posted to 2 groups.

Show all headers | View raw


On 09/28/2016 07:16 PM, Vaso wrote:
> On 09/28/2016 06:44 PM, J.O. Aho wrote:
>> On 09/28/2016 05:26 PM, Vaso wrote:
>>> I've installed Mint 18.
>>
>> Not used mint myself, but a bunch of other distributions.
>>
>>
>>> Can I simply connect  that disk to another motherboard,
>>> or I should to Install Mint again?
>>
>> In most cases it's just to switch the driver to another system and it
>> will still work, you may have to remove the
>>
>> /etc/udev/rules.d/70-persistent-net.rules
>>
>> before you shut down the old machine if your installation has that file.
>>
>> Also you may to check your /etc/fstab to see if it uses devices or
>> uuid/labels (the later you shouldn't need to change anything). It can be
>> a benefit to place the hard drive in an equivalent slot, so if it was in
>> SATA slot 1 on one machine, then you should set it in slot 1 on the
>> other machine too.
>>
>> Other than that, the rest should be auto detected during boot up.
>>
>>
> 
> It could be a problem?
> On the old machine is IDE/PATA disc.
> I intended to clone it to SATA disc and replace the motherboard?
> 

There can be a slight issue if the fstab uses entries which starts with

/dev/hda1

if they start with

UUID=

or

LABEL=

then cloning the disk should be okey, it should keep the id/name for
partitions. You may need to boot from a rescue disk and reinstall the
bootloader as it may want to boot from the /dev/hda1.

If you have to reinstall bootloader (I assume grub), then boot the
rescue-cd, mount the partitions from the disk (/ and /boot should be
enough, the later only if you have it as a separate partition), then
chroot into your recently mounted partition

assume your / is located on /dev/sda2
assume your /boot is located on /dev/sda1

then:

mount /dev/sda2 /mnt
mount /dev/sda1 /mnt/boot
chroot /mnt /bin/bash

and then
grub-install

Never version of grub will need /dev /sys and /proc to work properly, so
those may need to be mounted before chroot. Take a look at Gentoo
installation manual for proper mount options.

Just remember that the worst thing that can happen, is that id don't
work for you and you have a last resort option, just see to backup your
/home so you can restore it afterwards.

-- 

 //Aho

Back to alt.os.linux | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to Migrate Mint18 to another motherboard? Vaso <branko.vasiljevSPAM@xnet.hr> - 2016-09-28 17:26 +0200
  Re: How to Migrate Mint18 to another motherboard? Mike Easter <MikeE@ster.invalid> - 2016-09-28 09:26 -0700
    Re: How to Migrate Mint18 to another motherboard? Wildman <best_lay@yahoo.com> - 2016-09-28 12:42 -0500
      Re: How to Migrate Mint18 to another motherboard? Mike Easter <MikeE@ster.invalid> - 2016-09-28 10:50 -0700
        Re: How to Migrate Mint18 to another motherboard? Paul <nospam@needed.invalid> - 2016-09-28 17:50 -0400
  Re: How to Migrate Mint18 to another motherboard? "J.O. Aho" <user@example.net> - 2016-09-28 18:44 +0200
    Re: How to Migrate Mint18 to another motherboard? Vaso <branko.vasiljevSPAM@xnet.hr> - 2016-09-28 19:16 +0200
      Re: How to Migrate Mint18 to another motherboard? Z <z@ajbchqjwrn.com> - 2016-09-28 19:20 +0200
      Re: How to Migrate Mint18 to another motherboard? "J.O. Aho" <user@example.net> - 2016-09-28 21:45 +0200
  Re: How to Migrate Mint18 to another motherboard? Alfred Myford <myford100@yahoo.com> - 2016-09-28 14:41 -0500
  Re: How to Migrate Mint18 to another motherboard? Mike Easter <MikeE@ster.invalid> - 2016-09-28 12:52 -0700
  Re: How to Migrate Mint18 to another motherboard? Marcel Mueller <news.5.maazl@spamgourmet.org> - 2016-09-29 07:46 +0200
    Re: How to Migrate Mint18 to another motherboard? William Unruh <unruh@invalid.ca> - 2016-09-29 08:09 +0000
      Re: How to Migrate Mint18 to another motherboard? Kirk_Von_Rockstein <Kirk_Von_Rockstein@nowhere.invalid> - 2016-09-29 12:53 +0000
      Re: How to Migrate Mint18 to another motherboard? Marcel Mueller <news.5.maazl@spamgourmet.org> - 2016-09-29 19:15 +0200
        Re: How to Migrate Mint18 to another motherboard? Jasen Betts <jasen@xnet.co.nz> - 2016-09-30 19:55 +0000

csiph-web