Results 1 to 6 of 6

Thread: Unable to boot

  1. #1
    Join Date
    Sep 2024
    Beans
    5

    Unable to boot

    Hi everyone. I was working on a C++ project and made some serious mistake while trying to iterate the folder, so the OS froze and I had to turn off the laptop. But when I turned it on, it appeared that Ubuntu doesn't start. Actually, after I select the OS in the list, it just shows sort of a grey screen instead of loading. Are there any suggestions on how to fix it or at least how to turn on a text boot mode in order to understand the error? I realize that there might be dozens of the same questions here on the forum, but since it doesn't look like an expected behaviour of a stable OS, I guess it's useful to talk about it as much as possible and attract attention to this issue until it is fixed by the developers

  2. #2
    Join Date
    May 2008
    Beans
    4,376
    Distro
    Ubuntu 24.04 Noble Numbat

    Re: Unable to boot

    If you power off the PC while the file systems are still mounted, you run the risk of file system damage.
    Boot into a "Try Ubuntu" live session
    Open a terminal
    Identify your partitions
    Code:
    sudo parted -l
    Run fsck on all partitions (brief example below)
    Code:
    sudo fsck /dev/sda1
    sudo fsck /dev/nvme0n1p1

  3. #3
    Join Date
    Sep 2024
    Beans
    5

    Re: Unable to boot

    Thank you for the reply. It found and fixed a lot of errors, but now there's no option to select OS and Windows boots right away So I first need to somehow fix the Grub in order to check the result

  4. #4
    Join Date
    May 2008
    Beans
    4,376
    Distro
    Ubuntu 24.04 Noble Numbat

    Re: Unable to boot

    Does Windows have priority in your PC (UEFI) boot menu?

  5. #5
    Join Date
    Sep 2024
    Beans
    5

    Re: Unable to boot

    Yes, for some reason it had a higher priority. Thank you for your answers, now it works. Although I insist that it is a bug and Linux should be more stable than Windows in this situation according to its reputation But it's not for this topic. I'm new on this forum, so a few additional questions not related to the main question.
    1) I am working on a custom game engine on a quite low level, using different XWindow stuff for creating window and handling input. Looks like it's not the easiest thing to work with. Are there specialists in this topic on this forum or should I look for a special C++ programmers forum?
    2) Just curious about /dev/sdaN, where N is a number. Is it possible to change a number and not break the OS?

  6. #6
    Join Date
    May 2008
    Beans
    4,376
    Distro
    Ubuntu 24.04 Noble Numbat

    Re: Unable to boot

    Quote Originally Posted by vladimir1128 View Post
    Yes, for some reason it had a higher priority. Thank you for your answers, now it works.
    Good news
    Please mark thread as solved - it's very useful for other users/searchers - already done, thank you
    https://wiki.ubuntu.com/UnansweredPo.../SolvedThreads
    Although I insist that it is a bug and Linux should be more stable than Windows in this situation according to its reputation
    Please start a new thread with a complete description of this "bug"
    Alternatively, report the bug against a package on https://launchpad.net/ubuntu
    I am working on a custom game engine on a quite low level, using different XWindow stuff for creating window and handling input. Looks like it's not the easiest thing to work with. Are there specialists in this topic on this forum or should I look for a special C++ programmers forum?
    https://ubuntuforums.org/forumdisplay.php?f=310 or https://ubuntuforums.org/forumdisplay.php?f=93
    Just curious about /dev/sdaN, where N is a number. Is it possible to change a number and not break the OS?
    Start a new thread with full details about why there is a need to activate a change of disk identity

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
  •