You are not logged in.

#1 2018-01-30 18:17:37

SpX91
Member
Registered: 2017-12-23
Posts: 34

[SOLVED] Backup/Restore Arch Linux with CloneZilla

Hi here,

I have try to BACKUP my installation with CloneZilla => Good

I have try to RESTORE to the same hardware with CloneZilla ISO => Good again

But when i want to RESTORE to another hardware like another computer i have this error on BOOT:

ERROR: device 'UUID=8xxxx' not found. Skipping fsck.
ERROR: Unable to find root device 'UUID=8xxxx'.
You are being dropped to a recovery shell
    Type 'exit' to try and continue booting
sh: can't access tty; job control turned off
[rootfs /]# _

I have try solution for this topic => https://bbs.archlinux.org/viewtopic.php?id=167109
Like use live cd / mount / chroot and run :

mkinitcpio -p linux

Works but....why i need to do this and why is not working to restore to another hardware.

With Ubuntu i dont have this trouble.

Source disk is name => /dev/mmcblxxx
Destination disk is name = /dev/sdxxx

But i repeat...on Ubuntu system is working well like 2 disk naming.

Thanks for help,
Regards,

Last edited by SpX91 (2018-01-31 14:14:18)

Offline

#2 2018-01-30 18:39:13

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,721
Website

Re: [SOLVED] Backup/Restore Arch Linux with CloneZilla

I can't speak for Ubuntu, but Arch optimizes the default initrd for the hardware on the system it is made on, so you only have the modules you need for that specific set of hardware. You should boot the fallback initrd on different hardware, as this includes all modules.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2018-01-30 18:43:40

SpX91
Member
Registered: 2017-12-23
Posts: 34

Re: [SOLVED] Backup/Restore Arch Linux with CloneZilla

WorMzy wrote:

I can't speak for Ubuntu, but Arch optimizes the default initrd for the hardware on the system it is made on, so you only have the modules you need for that specific set of hardware. You should boot the fallback initrd on different hardware, as this includes all modules.

Ok but i if i REBULD grub with mkinitcpio -p linux it's resolve my trouble.

So you think when i BOOT after restore to another computer, just use fallback initrd, but it's load ALL modules versus SPECIFIC modules from image ?

Thanks,
Regards,

Offline

#4 2018-01-30 19:05:51

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,721
Website

Re: [SOLVED] Backup/Restore Arch Linux with CloneZilla

Ok but i if i REBULD grub with mkinitcpio -p linux it's resolve my trouble.

This statement is nonsensical. Your bootloader and your initrds are two different things.

See https://wiki.archlinux.org/index.php/Mkinitcpio (specifically this bit) for more information.

EDIT: and this will help explain the boot process in more detail, so you can see what happens.

Last edited by WorMzy (2018-01-30 19:07:07)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2018-01-30 19:37:01

SpX91
Member
Registered: 2017-12-23
Posts: 34

Re: [SOLVED] Backup/Restore Arch Linux with CloneZilla

WorMzy wrote:

Ok but i if i REBULD grub with mkinitcpio -p linux it's resolve my trouble.

This statement is nonsensical. Your bootloader and your initrds are two different things.

See https://wiki.archlinux.org/index.php/Mkinitcpio (specifically this bit) for more information.

EDIT: and this will help explain the boot process in more detail, so you can see what happens.

Thanks again, i go read this wink

Offline

#6 2018-01-31 14:14:04

SpX91
Member
Registered: 2017-12-23
Posts: 34

Re: [SOLVED] Backup/Restore Arch Linux with CloneZilla

Solved smile i have put by default the Fallback init.

Thanks

Offline

Board footer

Powered by FluxBB