Results 1 to 1 of 1

Thread: Booting Failure and error with repair boot

  1. #1
    Join Date
    2016-Apr
    Posts
    2

    Booting Failure and error with repair boot

    I installed Kali onto my secondary hard drive, a small 65GB SandDisk SSD, and after that I could not boot my Windows or Kali OS. So after searching I got recommended to use boot repair. However I am now getting a problem when trying to remove and reinstall a new grub. It says
    Code:
    Error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PackageKit was not provided by any .service files
    Then it says
    Code:
    W:  --force-yes is depreciated, use one of the options starting with --allow instead
    Should I be changing my commands or be doing something different to avoid this?

    Also here is a pastebin with the error stuff. PasteBin. I think the problem is on lines 1131-1132 but I am not sure since I am new to this. I would really appreciate any help because my computer is completely not working at the moment as I can't boot either OS

    Edit: These are the commands I am given to use to do this

    To Remove:

    sudo chroot "/mnt/boot-sav/mapper/kali--vg-root" dpkg --configure -a
    sudo chroot "/mnt/boot-sav/mapper/kali--vg-root" apt-get install -fy
    sudo chroot "/mnt/boot-sav/mapper/kali--vg-root" apt-get install -y --force-yes dmraid
    sudo chroot "/mnt/boot-sav/mapper/kali--vg-root" dmraid -ay
    sudo chroot "/mnt/boot-sav/mapper/kali--vg-root" apt-get install -y --force-yes lvm2
    sudo chroot "/mnt/boot-sav/mapper/kali--vg-root" apt-get purge -y --force-yes grub*-common

    To install:

    sudo chroot "/mnt/boot-sav/mapper/kali--vg-root" apt-get install -y --force-yes grub-pc

    Update 2: By repeating the process but allowing boot repair to deal with flexnet it fixed the problem. Whilst the errors still occurred it allowed me to get my grub working and boot into Kali. I now just need to get windows 10 working again. If you have any suggestions for this I would appreciate it. Also for the second repair boot, here is the PasteBin.
    Last edited by Vusa360; 2016-11-02 at 13:30.

Similar Threads

  1. GRUB Boot-Repair Issue
    By lukasr78 in forum Installing Archive
    Replies: 1
    Last Post: 2017-01-19, 05:54
  2. Replies: 0
    Last Post: 2016-03-13, 06:04

Tags for this Thread

Posting Permissions

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