How to move a running MATE installation to a hard disk?

I have a running Mate 15.10 installation on my MicroSDCard. Now I would like to move the PI_ROOT partition to a harddisk by using the dd command.

What files do I need to modify in order to let the PI boot from the partition on the harddisk? The only candidate that I discovered ist the file config.txt, which contains a link to the PI_ROOT partition. Is this correct?

Greetings & Tank you in advance for your answer

Max (christian1000)

I actually had a thread where I was discussing an option about doing this.

There is an awesome link provided by a user on the forums named carriba for a script from adafruit that was designed to do this for Raspbian, that I have used now 5 times and 100% success rate. Cool thing is that /dev/sda1 may or may not always point to your hdd where your root fs is located. It uses GPT to make sure it will always know where root fs is located and you can obtain a copy here...

Only issue is that if you want your splash screen the way its supposed to boot, your have to edit cmdline.txt and make the proper adjustments manually

  • Monery