grub installation packages or backup OS

Discussion in 'General Linux' started by Tiago Almeida, Mar 22, 2014.

  1. Tiago Almeida

    Tiago Almeida New Member

    Joined:
    Mar 22, 2014
    Messages:
    14
    Likes Received:
    3
    Hi, a few weeks ago i had a power failure in my house that has damaged my desktop, since this had corrupted my OS. I couldn't do anything on grub rescue, so i had to reinstall Linux again. In order to prevent losing all my stuff and recover my OS, should i install some grub packages in order to obtain more resources for when that happen again or should i backup my OS?

     
  2. arochester

    arochester Super Moderator Staff Member

    Joined:
    Nov 23, 2012
    Messages:
    1,142
    Likes Received:
    378
    1) It is very probable that your stuff was still there after the power failure, could be copied off and reinstated in a new install.

    2) It is possible that just Grub was broken and could re-installed.

    3) Backup. Backup. Backup.

    4) Keep a LiveCD handy for emergencies...
     
  3. Tiago Almeida

    Tiago Almeida New Member

    Joined:
    Mar 22, 2014
    Messages:
    14
    Likes Received:
    3
    should i do both then? Install all necessary grub packages and then backup periodically my OS? I'd like to backup to my usb pen, could you show me some tutorials to do that?
     
  4. ryanvade

    ryanvade Administrator Staff Member Staff Writer

    Joined:
    Aug 4, 2012
    Messages:
    1,863
    Likes Received:
    655
    It depends on which distro you are using. Debian based systems have a program available called SystemBack. It can be used similarly to Windows Backup/Restore. The program can create OS backups that can be run live on USB or DVD. But it does not backup personal data.

    I would check out a program called Deja-dup. https://wiki.gnome.org/action/show/Apps/DejaDup?action=show&redirect=DejaDup
    Definitely my favorite backup program.
     
  5. Tiago Almeida

    Tiago Almeida New Member

    Joined:
    Mar 22, 2014
    Messages:
    14
    Likes Received:
    3
    I'm using Mint. Does your favorite backup program backup all data?
     
    ryanvade likes this.
  6. Darren Hale

    Darren Hale Active Member

    Joined:
    Aug 3, 2013
    Messages:
    554
    Likes Received:
    221
  7. ryanvade

    ryanvade Administrator Staff Member Staff Writer

    Joined:
    Aug 4, 2012
    Messages:
    1,863
    Likes Received:
    655
    All User data.
     
  8. Tiago Almeida

    Tiago Almeida New Member

    Joined:
    Mar 22, 2014
    Messages:
    14
    Likes Received:
    3
    Mint has a program available called Backup Tool and i think it's enough for me.
     
  9. labrat

    labrat Active Member

    Joined:
    Feb 26, 2014
    Messages:
    104
    Likes Received:
    44
    You could probably have chroot'ed into that system, run fsck on all partitions, fixed file system errors and just rebooted...
     
  10. Tiago Almeida

    Tiago Almeida New Member

    Joined:
    Mar 22, 2014
    Messages:
    14
    Likes Received:
    3
    I couldn't do that because on grub rescue, my system files could not be found in any partition and i was limited up to a half-dozen commands, that was bad
    as bad
     
  11. Tiago Almeida

    Tiago Almeida New Member

    Joined:
    Mar 22, 2014
    Messages:
    14
    Likes Received:
    3
    Is it enough to backup only my installed applications or should i backup all file system? All my important personal data is inserted on my Dropbox.
     
  12. labrat

    labrat Active Member

    Joined:
    Feb 26, 2014
    Messages:
    104
    Likes Received:
    44
    You can chroot in from a livecd or another running system - of course you cannot chroot in from grub rescue...

    Backup /home and maybe /etc (or just the config files from there which you have modified) the rest can be reinstalled when the OS is reinstalled.
     

Share This Page