• Rsync, backup, grub (Was Re: rsync backups)

    From Jim Beard@2:250/1 to All on Tue Jun 2 15:24:18 2020
    On Tue, 02 Jun 2020 08:46:17 -0500, Bit Twister wrote:
    <big snip>
    grub note: I have a multi-boot install, one of which is Cauldron.
    For testing, I do a clean Cauldron net install and use rsync to backup /,
    and change the boot location from /cauldron/boot to /mga7/boot.
    That way mga7 is the master/production boot manager.

    When I restore /cauldron from backup, and boot cauldron, grub feels
    sad about what it sees.

    I have to boot back into mga7, and reinstall grub with mga7 grub
    and everything goes back to normal.

    After your ssd boot restore, and you want to boot from ssd, then
    you have to tell grub to use the ssd data.

    What happens if you use /usr/bin/update-grub instead of reinstalling
    grub with mga7 grub?

    You are using grub, are you not, rather than grub2?

    update-grub2 possibly followed by dracut -f once booted into the correct
    os, seems to fix any rare problem I have with booting.

    Cheers!

    jim b.





    --
    UNIX is not user-unfriendly, it merely expects users to be computer-friendly.

    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Tue Jun 2 17:39:41 2020
    On Tue, 2 Jun 2020 14:24:18 -0000 (UTC), Jim Beard wrote:
    On Tue, 02 Jun 2020 08:46:17 -0500, Bit Twister wrote:
    <big snip>
    grub note: I have a multi-boot install, one of which is Cauldron.
    For testing, I do a clean Cauldron net install and use rsync to backup /,
    and change the boot location from /cauldron/boot to /mga7/boot.
    That way mga7 is the master/production boot manager.

    When I restore /cauldron from backup, and boot cauldron, grub feels
    sad about what it sees.

    I have to boot back into mga7, and reinstall grub with mga7 grub
    and everything goes back to normal.

    After your ssd boot restore, and you want to boot from ssd, then
    you have to tell grub to use the ssd data.

    What happens if you use /usr/bin/update-grub instead of reinstalling
    grub with mga7 grub?

    You are using grub, are you not, rather than grub2?

    NO, using grub2. grub(1) has been obsolete for awhile.

    update-grub2 possibly followed by dracut -f once booted into the correct
    os, seems to fix any rare problem I have with booting.

    If the OP is going to be booting from the SSD then I suggest
    update-grub2 then grub2-install

    When dinking around in these kinds of activities, it pays to have
    a bootable mageia media where your can run rescue to reinstall grub
    boot loader.


    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)