Results 1 to 5 of 5

Thread: Ubuntu reboot doesn't work.

  1. #1
    Join Date
    Nov 2023
    Beans
    1

    Ubuntu reboot doesn't work.

    Hi. I have installed windows 11 and ubuntu 22.04 in dual boot. the boot loader of them are located in different efi partitions I can reboot from windows but I cannot restart or shutdown ubuntu. It gets stuck. Please help me to repair it. Here is the report from boot repair:
    https://paste.ubuntu.com/p/67HgYJpVSC/

  2. #2
    TenPlus1's Avatar
    TenPlus1 is offline Grande Half-n-Half Cinnamon Ubuntu
    Join Date
    May 2005
    Location
    Scotland, UK
    Beans
    921
    Distro
    Lubuntu

    Re: Ubuntu reboot doesn't work.

    Have you disabled fast boot in Windows 11 and in the bios ?

  3. #3
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Ubuntu reboot doesn't work.

    I notice in your folder /etc/grub.d there are several proxy files which probably means you are, or have been, using Grub-Customiser.

    This complicates repairing grub and the simplest way to help yourself may be to remove GC and then completely reinstall grub.

    However, I have no personal experience of GC or repairing grub after it has caused problems so before getting totally bogged down, have a search through the forum where you will find many users troubled by using GC and where possible solutions are mentioned,

    There is also a long post in the forums.linuxmint.com at https://forums.linuxmint.com/viewtop...?f=42&t=319789 which might be helpful to you.
    See also the warnings and information at https://easylinuxtipsproject.blogspo...ustomizer.html

    Most importantly, learn how to manage grub without GC; it's really not too complicated to make changes by editing text files in the system.
    Last edited by ajgreeny; November 19th, 2023 at 10:59 AM. Reason: Added useful link

  4. #4
    Join Date
    Jun 2014
    Beans
    7,416

    Re: Ubuntu reboot doesn't work.

    the boot loader of them are located in different efi partitions
    No, they aren't. The EFI boot files for both windows and Ubuntu are on /dev/nvme0n1p1 which you can see in the boot repair output, lines 8-18. Lines 42-48 show another vfat partition and line 161 indicates it is 244M. So that second vfat partition is probably what you though would be a separate EFI parittion for Ubuntu which is/was not needed.. All the required EFI boot files for windows and ubuntu are on /dev/nvme0n1p1. Partition 5 on that drive is useless/empty so should be deleted. Line 236 shows your Ubuntu fstab file pointing to the EFI partition, /dev/nvme0n1p1 NOT to partition 5.

    I"d agree with the post above about getting rid of Grub Customizer and reinstalling Grub to start with and see what happens. Also, it would help if you could be more specific about what "it gets stuck" means. Do see a warning/error message, do see a grub prompt (grub>), a black screen or ???

    I imagine you read a tutorial indicating you needed an EFI partition to install a current Ubuntu but they neglected to inform readers this was not necessary if an EFI partition already existed. Installing Linux on a machine with a windows EFI install willl not overwrite the boot files as was generally done with MBR installs of either system. Separate directories are created on the EFI partition for each OS so that is not a problem.

  5. #5
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Ubuntu reboot doesn't work.

    Quote Originally Posted by aliamani View Post
    I can reboot from windows but I cannot restart or shutdown ubuntu. It gets stuck. Please help me to repair it.
    I have been hanging back, waiting... ^^^That is not a booting problem.

    I am not a fan of Grub Customizer. That "is" a problem just waiting to happen, but that is not remotely connected to your issue of not being able to reboot nor shutdown... It will be a problem eventually. Just not at the moment.

    With that out of the way, if you look at the end of your journal entries on the last booted session, did it just stop at which message? Post the output of this, posted within CODE Tags:
    Code:
    journalctl -b 2 --g 'target' --no-pager | tail -n200
    I would visit this bug report and go to the link near the upper left and mark it as that it affects you: https://bugs.launchpad.net/bugs/2036987
    Last edited by MAFoElffen; November 20th, 2023 at 07:41 AM.

    "Concurrent coexistence of Windows, Linux and UNIX..." || Ubuntu user # 33563, Linux user # 533637
    Sticky: Graphics Resolution | UbuntuForums 'system-info' Script | Posting Guidelines | Code Tags

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
  •