Announcement

Collapse
No announcement yet.

Unable to boot

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [LAPTOP] Unable to boot

    Hello community, perhaps someone can help me? I accidentally shut down my laptop while it was updating and now it doesn't boot properly, it stops at the kubuntu flashing screen. I tried to turn off automatic updates (https://www.garron.me/en/linux/turn-...ic-update.html) and also remove the memory cache (free && sync && echo 3 > /proc/sys/vm/drop_caches && free) but nothing helped. Any ideas? Thanks in advance. K

    #2
    Did you try booting into the recovery mode (selected via grub)? You could then try to restart the upgrade with

    apt-get update
    apt-get upgrade

    You may need to run

    dpkg --configure -a

    to fix the partially installed packages.
    Using Kubuntu Linux since March 23, 2007
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Thank you for your reply! Everything I did was on the recovery mode. I tried for a couple of hours to connect to the internet via wi-fi but with no luck, and I don't have an ethernet cable at the moment. That's why I tried that options...

      Comment


        #4
        Two ways to make a WIFI connection via the CLI:

        First;

        $ sudo iwlist wlan0 scan
        # this generates a list of ESSID's like "MyConnection"

        $ sudo iwconfig wlan0 essid "MyConnection"
        # this will connect to the access point called "MyConnection"

        $ sudo dhclient wlan0
        # this will set up DNS.

        # In case of WPA encryption:
        $ wpa_passphrase YOURSSID YOURWIFIPASSWORD

        Now you should have access.

        =============================
        Second;

        1. Turn the interface on with the following command:

        sudo ifconfig wlan0 up

        2. Scan for a list of all the available access points:
        $ iwlist wlan0 scanning

        3. Select the access point with the following command:
        $ sudo iwconfig wlan0 essid ACCESSPOINT

        4. Set WEP or WPA passphrase, if needed:
        $ sudo iwconfig wlan0 key PASSPHRASE

        5. Finally, connect to DHCP server and obtain an IP address:
        $ sudo dhclient

        Comment


          #5
          Unfortunately, in the first case the shell never recovers after the command
          $ sudo dhclient wlan0

          and in the second after i hit
          $ sudo iwconfig wlan0 key PASSPHRASE
          i get the message
          $ Error for wireless request "Set Encode" (8B2A): invalid argument "MY PASSWORD"
          ...

          Comment


            #6
            It seems you have to find a wired connection...

            Comment


              #7
              The command for activating WPA is "wpa_supplicant -i wlan0 -c passphrase_file". This puts it in the foreground and you can see its messages. Press CTRL-Z to go background, type "bg" and then enter "dhclient wlan0" when you are connected. I always have WPA keys, it's the most common scenario.
              Last edited by xennex81; Jun 29, 2015, 02:48 AM.

              Comment


                #8
                Let's say it's another wise lesson in how it shouldn't be done (the update process).

                Comment

                Working...
                X