Results 1 to 8 of 8

Thread: Blackscreen at boot, either because of memory upgrade OR full disk ?

Hybrid View

  1. #1
    Join Date
    Dec 2021
    Beans
    5

    Blackscreen at boot, either because of memory upgrade OR full disk ?

    Hi everyone, I've been having trouble with booting on Ubuntu ever since I upgraded my memory ram stick, for roughly a month.

    Machine : ASUS K501UB
    CPU : Intel 17-6500U, dual core
    GPU Nvidia GeFroce 940M
    OSs : dual boot Win10/Ubuntu20.04
    Memory : migrated from 4Gb+4Gb to 4Gb+8Gb
    BIOS : UEFI


    I have been booting on Windows without any problem so far, the memory working well for what it looks. However I am having black screen with blinking underscore right after the GRUB screen ever since when trying to boot on Ubuntu.

    My guesses :
    As I digged on forums, I suspected something had to do with the graphic drivers or memory compatibility.
    To be noted, a disk occupancy might be responsible of the bug as far as I understand it. Indeed, the disk partition was quite full the days around the memory upgrade. The fact that the black screen happened right after the ram stick change could be a coincidence. Does it make sense to anybody ?

    --DEBUG ATTEMPTS--

    *RECOVERY BOOT
    Booting on recovery, I receive the following message at the end of the process:

    Attach1.PNG (488.4 KB)

    *MEMTESTER
    On a Deepin live usb, I ran memtest as followed:

    Code:
    sudo apt-get update
    sudo apt-get upgrade
    sudo apt-get install memtester
    sudo memtester 1024 5
    Attach2.jpg (50.7 KB)
    It returned screens apparently stating evertyhing was great. Is it right ? (sorry for the poor quality of photos)

    *RECOVERY TOOLS
    On the recovery screen, the analyzer tools give the following messages: (those screens are in French in my machine. I hope it is understandable still)

    -disk space-
    Attach3.PNG (503.9 KB)


    -memory-
    Attach4.jpg (31.3 KB)

    *NVIDIA DRIVERS
    On a forum, I got the hint to reinstall nvidia drivers.
    On recovery command line, I entered :

    Code:
    sudo apt-get update && sudo apt-get upgrade
    sudo apt install nvidia-drivers-390
    It returned the following messages :

    Attach5.jpg (117.5 KB)
    As a result, I now no longer boot on a blinking underscore, but a pitch black screen.




    UPDATE:
    Following the last struggle, I performed on recovery CLI a dist upgrade and installed a more recent nvidia driver:
    Code:
    sudo apt-get update && sudo apt-get upgrade
    sudo apt-get dist-upgrade
    sudo apt-get install nvidia-driver-455

    I now can see the Ubuntu load screen! So there is that. Pressing F7, I see the boot process. With the same error message seen back in the Attach1.
    I now end up in a black screen with a not-blinking underscore..




    I am opening this thread as I really dont see where to look now as I cant grasp the problem. I am sorry if it is somehow redundant with other posts.
    Attached Images Attached Images
    Last edited by frederic-c; December 9th, 2021 at 05:55 PM. Reason: mistake in the flavour chosen, imprecision in the title / update in troubleshooting

  2. #2
    Join Date
    Dec 2021
    Beans
    5

    Re: Blackscreen at boot, either because of memory upgrade OR full disk ?

    UPDATE : I, so far, troubleshooted several things.. SPOILER.. without having solved the bigger problem : I still dont boot to Ubuntu.


    *DEPENDENCY FAILED*

    The dependency error seen in Attach1 was resolved as followed:
    - boot on a live USB session. In command line, enter:
    Code:
    sudo blkid
    #write down the UUID corresponding to the failed disks in the error message from the boot screen

    - then, opening /etc/fstab I see differences between UUID entered and the ones from the blkid. Namely, with the /boot/EFI partition.
    - I substitute the IDs with blkid output. 5I make sure to write down the previous IDs before making any change).

    This solved the problem.


    *UPDATE & UPGRADE failures*
    After paying more attention, I realized update and upgrade commands werent as effective as intended.
    -UPGRADE
    The upgrade was having Signatures problems for 3 different repositories. I followed this Tutorial and it got solved.
    https://stackoverflow.com/questions/...t-update-error

    -UPDATE
    The update was was still encountering problem with a Gamemode ppa I had added a while back.
    My first tries were to remove the PPA with add-apt-repository command. However, I was failing to enter the exact name of the ppa required. Following this : https://askubuntu.com/questions/307/...pas-be-removed I deleted the .list file in /etc/apt/sources.list.d corresponding to the PPA. It is not properly removed removed then, but the apt update can go on however.
    *FSCK*

    Fsck either in CLI or with the recovery mode couldnt analyze /dev/sda3 where my Ubuntu partition is, as it returned it was mounted. Using a live USB session, I could bypass this problem. It stated that my Ubunutu partition sda3 was clean.

    *BOOT REPAIR*
    Out of ideas, Iperformed still on the live USB session a (Recommended) Boot Repair fix. It did not solve the error I am encountering.



    Folowing these fixes, I still cant boot. The process goes further as I can now see the "ASUS-Ubuntu" loading screen (just before the normally Ubuntu purple loading screen.

    Booting in nomodeset doesnt change anything..
    I keep digging and will update it here in case it is useful to anyone else.
    Last edited by frederic-c; December 12th, 2021 at 10:28 PM. Reason: forgot to mention the Boot Repair

  3. #3
    Join Date
    Mar 2011
    Location
    U.K.
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Blackscreen at boot, either because of memory upgrade OR full disk ?

    Memory : migrated from 4Gb+4Gb to 4Gb+8Gb
    The fact that the black screen happened right after the ram stick change could be a coincidence. Does it make sense to anybody ?


    I have been running with 8GB and recently purchased an additional 8GB .. still waiting to be added.

    I read that you have upgraded to 4+8GB.
    I'm sure that in my reading about memory upgrades there was mention about matching the sticks.
    You could try uninstalling the old 4GB and try using only 8GB stick.
    It may be that you need to match your 8GB sticks and buy another 8GB. 8+8 GB.
    But that is my best guess.

  4. #4
    Join Date
    Dec 2021
    Beans
    5

    Re: Blackscreen at boot, either because of memory upgrade OR full disk ?

    Thank you for your reply dragonfly !
    Im having this problem ever since I changed my ram set indeed, I am still not finding anything on this.
    The other 4Gb are welded to the board unfortunately :/ Is there a way to disable this stick by in the software level ?
    The fact that I am booting without trouble on Windows10 or several different distros live USB sessions is worth noting also. I dont have much knowkledge about it, I imagine it to be relevant.

  5. #5
    Join Date
    Mar 2011
    Location
    U.K.
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Blackscreen at boot, either because of memory upgrade OR full disk ?

    The fact that I am booting without trouble on Windows10 or several different distros live USB sessions is worth noting also.
    That added fact seems to rule out my theory.
    Can you reverse your tracks and now remove the added 8GB to get back to original working state?

  6. #6
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Blackscreen at boot, either because of memory upgrade OR full disk ?

    You cannot install a different nVidia driver without totally purging any old drivers.
    You get conflicts and typically the black screen.

    If you can boot recovery mode, purge all nVidia & install default.

    If wrong nVidia driver or upgrade, you must purge & install correct driver
    https://ubuntuforums.org/showthread....6#post13649946
    https://ubuntuforums.org/showthread.php?t=2380061
    https://ubuntuforums.org/showthread.php?t=2362351

    #What is installed
    dkms status
    lsmod | grep nvidia

    sudo apt-get remove --purge nvidia-*

    sudo ubuntu-drivers devices
    If you just want default version - recommended one
    sudo ubuntu-drivers autoinstall
    Or you can manually choose any in list.
    sudo apt-get install nvidia-XXX

    Some after a purge need this:
    sudo apt update
    sudo apt install linux-generic
    sudo apt full-upgrade
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  7. #7
    Join Date
    Dec 2021
    Beans
    5

    Re: Blackscreen at boot, either because of memory upgrade OR full disk ?

    Thank you very much oldfred for correcting my installation process of nvidia drivers. I performed a much proper install following your advice and saved the commands in a txt file. The result however wasnt successful, still the exact same boot problem.
    Also, worth-noting that my "nomodeset" boot attempts were as unsuccessful.
    We might safely agree Nvidia drivers should be out of suspicion for now ?

    Thank you dragonfly, it makes sense to try back with the 8Gb settings, and keep or discard the memory cause hypothesis. I will give updates as soon as I put my hands on the old memory stick.
    I keep in mind the memtester report (see first post) that should set out any memory problem, but I dont have much perspective on which conclusions to draw from this report.

  8. #8
    Join Date
    Dec 2021
    Beans
    5

    Re: Blackscreen at boot, either because of memory upgrade OR full disk ?

    UPDATE:
    I finally could switch back to my 4Gb stick... and nothing at all changed.

    The ram problem can be erased from the list of suspects.. and I am definitely puzzled now

Tags for this Thread

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
  •