Results 1 to 7 of 7

Thread: Might have erased important kernel?

  1. #1
    Join Date
    Apr 2014
    Beans
    6

    Might have erased important kernel?

    Hi everyone,

    I think i might have messed up with my hard drive, yesterday evening i've run ubuntu tweaks in the attempt of cleaning up the hard drive and leave it free for software updates ( i do it weekly), when i started my laptop this morning after i've typed the initial password to decrypt the hard drive, instead of booting it told me that there was an issue into finding the right kernel ( i dont remember the exact message), i've rebooted it and it made a disk check and told me it couldnt find the disk anymore, in full panic i've restarted the machine manually and this time it was able, after another disk check, to regularly load ubuntu.

    Besides backing up immediately, do you have any advice about what to do?

    Many thanks in advance

  2. #2
    Join Date
    Jul 2011
    Beans
    118

    Re: Might have erased important kernel?

    Just reinstall ubuntu and dont do this thing anymore. It will be much faster than searching for the end of the universe.

  3. #3
    Join Date
    Sep 2012
    Location
    UK
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Might have erased important kernel?

    Assuming you have good backups reinstalling is probably the easiest.

    On the assumption you don't have good backups then you may want to look at this question on AskUbuntu

    http://askubuntu.com/a/446949/107450

    To recover your personal data to an external drive before reinstalling.

  4. #4
    Join Date
    Sep 2006
    Location
    France.
    Beans
    Hidden!
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: Might have erased important kernel?

    Quote Originally Posted by startas View Post
    Just reinstall ubuntu and dont do this thing anymore. It will be much faster than searching for the end of the universe.
    Hmm, I would wait of some other input before reinstalling.

    I cannot walk you through debugging, but reinstalling is the last resort option imho. Please do your backups and wait for more activity in this thread, thanks.
    | My old and mostly abandoned blog |
    Linux user #413984 ; Ubuntu user #178
    J'aime les fraises.
    Nighty night me lovelies!

    | Reinstalling Ubuntu ? Please check this bug first ! |
    | Using a ppa ? Please install ppa-purge from universe, you may need it should you want to revert packages back |
    | No support requests / username changes by PM, thanks. |

  5. #5
    Join Date
    Apr 2014
    Beans
    6

    Re: Might have erased important kernel?

    Thanks a lot for the help, im currently backing everything up, so that in the case that i need to reinstall nothing is lost.

  6. #6
    Join Date
    Apr 2011
    Location
    3rd Rock from the Sun
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Might have erased important kernel?

    You can chroot into your Ubuntu install with Ubuntu DVD/USB media. Then you can re-install the kernel if you think you may have messed with it.
    https://help.ubuntu.com/community/BasicChroot

    Code:
    sudo apt-get update && sudo apt-get dist-upgrade
    sudo apt-get install linux
    Hopefully that should restore or fix your kernel...

    You can also reinstall with Ubuntu Live media without losing your settings and data:
    http://askubuntu.com/questions/26988...in-home-folder
    "Evolution is Nature's way of issuing upgrades."


  7. #7
    Join Date
    Apr 2014
    Beans
    6

    Re: Might have erased important kernel?

    I'll try the latter and see how it goes, thanks!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •