Tuesday, May 7, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 399  / 3 Years ago, sat, september 4, 2021, 5:37:42

I am a beginner and hence did a child's mistake and now i cant enter my system and when I try to enter recovery shell it says "Kernel panic - not syncing attempted to kill init?" and i didn't find any answer on how to solve my error online . I am desperate ...


More From » boot

 Answers
5

You can save your personal files (to another drive), if you have enough drive space, save the whole file tree /home preserving the ownership and permissions.



  • Simple example, boot from another system, for example a live system in a USB drive, mount the partition of your broken installed system to a mountpoint and backup to a tarball,


    cd /mountpoint
    sudo tar -cvf /path/home-backup.tar home


  • Maybe make a compressed tarball (slower, but needs less drive space),


    cd /mountpoint
    sudo tar -cvJf /path/home-backup.tar.xz home



Then you can re-install and later on restore your settings and personal files from the [compressed] tarball.


You can restore by



  • Change directory to /


    cd /


  • Run the following command to extract everything from the tarball,


    sudo tar -xvf /path/home-backup.tar

    or


    sudo tar -xvf /path/home-backup.tar.xz



[#1304] Sunday, September 5, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
bjecterless

Total Points: 59
Total Questions: 96
Total Answers: 105

Location: Argentina
Member since Thu, Mar 18, 2021
3 Years ago
bjecterless questions
Sun, Feb 5, 23, 17:04, 1 Year ago
Tue, Jul 26, 22, 18:42, 2 Years ago
Mon, May 9, 22, 00:28, 2 Years ago
Tue, Sep 21, 21, 04:00, 3 Years ago
;