Results 1 to 8 of 8

Thread: Black screen after login

  1. #1
    Join Date
    May 2016
    Location
    Chennai, TN, India
    Posts
    76

    Default Black screen after login

    As my yast bootloader is not opening, I changed boot device from sda2(SWAP) to sda1(EFI) in boot options after pressing e. Now I'm able to login, but after that only black screen. What went wrong? How to rectify the issue?

  2. #2
    Join Date
    Jun 2015
    Location
    Toulouse
    Posts
    133

    Default Re: Black screen after login

    Le 17/11/2017 à 20:16, linlen a écrit :
    >
    > As my yast bootloader is not opening, I changed boot device from
    > sda2(SWAP) to sda1(EFI) in boot options after pressing e. Now I'm able
    > to login, but after that only black screen. What went wrong? How to
    > rectify the issue?
    >
    >

    IMHO boot device should be mbr or /, but this shouldn't have meaning if
    you boot with UEFI as the efi partition seems to say

    jdd

  3. #3
    Join Date
    May 2016
    Location
    Chennai, TN, India
    Posts
    76

    Default Re: Black screen after login

    I guess I might have changed other parameters in GRUB accidentally . Please suggest some solution.

  4. #4
    Join Date
    May 2016
    Location
    Chennai, TN, India
    Posts
    76

    Default Re: Black screen after login

    I'm planning to reinstall GRUB2. Do you think below code will work without any issues?
    Code:
     
    mount /dev/sda1 /tmp/mydir
    mount --bind /dev /tmp/mydir/dev
    mount --bind /proc /tmp/mydir/proc
    mount --bind /sys /tmp/mydir/sys
    chroot /tmp/mydir
    grub2-install /dev/sda 
    exit

  5. #5
    Join Date
    May 2016
    Location
    Chennai, TN, India
    Posts
    76

    Default Re: Black screen after login

    Apologies. I didn't know that changing PATH in /home/user/.bashrc will lead to screen loss. Fixed the issue. Many Thanks!

  6. #6
    Join Date
    Jun 2015
    Location
    Toulouse
    Posts
    133

    Default Re: Black screen after login

    Le 18/11/2017 à 04:56, linlen a écrit :
    >
    > I'm planning to reinstall GRUB2. Do you think below code will work
    > without any issues?
    > Code:



    simpler way

    run rescue

    mount /dev/sda1 /mnt
    cd /mnt
    mount --bind /dev dev
    use the arrow and back key to do the same for sys and proc
    chroot . (dot)
    use yast

    jdd


  7. #7
    Join Date
    May 2016
    Location
    Chennai, TN, India
    Posts
    76

    Default Re: Black screen after login

    Without using Yast? I did a complete mess of grub2. Hence, please give me steps to reinstall grub2 from grub command line .

  8. #8
    Join Date
    May 2016
    Location
    Chennai, TN, India
    Posts
    76

    Default Re: Black screen after login

    Use Yast. What are the options to choose over there?

    I brought my system back to normal from grub. Thanks!

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
  •