Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Won’t boot-too many levels of symbolic links

  1. #1
    Join Date
    Jul 2019
    Beans
    5

    Won’t boot-too many levels of symbolic links

    So, I was messing with LFS and I needed to have /bin/sh linked to /bin/bash but it was linked to /bin/dash. So I tried to change the link, I used the terminal, but I can’t remember what exactly the command was. I restarted my computer and when I did, It wouldn’t reboot. I get a failed message saying too many levels of symbolic links. I don’t know what to do.

  2. #2
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Won’t boot-too many levels of symbolic links

    Boot from some live-boot media and fix it.

  3. #3
    Join Date
    Jul 2019
    Beans
    5

    Re: Won’t boot-too many levels of symbolic links

    And how do I go about fixing this?

  4. #4
    Join Date
    Jul 2019
    Beans
    5

    Re: Won’t boot-too many levels of symbolic links

    Update: I got onto another Linux os from a different hardrive. I mounted the other drive but when I try to chroot into it, I get this message “chroot: failed to run command ‘/bin/bash’: Too many levels of symbolic links”


    Now what?

  5. #5
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,199
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Won’t boot-too many levels of symbolic links

    rellyjelly; Hummm -- maybe ----

    Maybe we can do this with a simpler mount.

    From that alternate OS let's identify the target:
    Code:
    sudo fdisk -lu
    from here we set a mountpoint and mount the target partition and have a look at what is set for the bash path.


    we can sure try
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  6. #6
    Join Date
    Jun 2006
    Location
    UK
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Won’t boot-too many levels of symbolic links

    Linux from Scratch

    Thread moved to Any Other OS.
    Ubuntu 20.04 Desktop Guide - Ubuntu 22.04 Desktop Guide - Forum Guide to BBCode - Using BBCode code tags

    Member: Not Canonical Team

    If you need help with your forum account, such as SSO login issues, username changes, etc, the correct place to contact an admin is here. Please do not PM me about these matters unless you have been asked to - unsolicited PMs concerning forum accounts will be ignored.

  7. #7
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Won’t boot-too many levels of symbolic links

    I suspect you deleted the real file and have symbolic links, pointing at symbolic links, pointing at symbolic links.
    At some point, the symlink needs to point at a real file.

  8. #8
    Join Date
    Jul 2019
    Beans
    5

    Re: Won’t boot-too many levels of symbolic links

    Why did my post get moved to any other os? The problem is in ubuntu.

  9. #9
    Join Date
    Jul 2019
    Beans
    5

    Re: Won’t boot-too many levels of symbolic links

    How do I fix the symlink to symlink? I only have access to the other OS.

  10. #10
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,199
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Won’t boot-too many levels of symbolic links

    rellyjelly; hey -

    Quote Originally Posted by rellyjelly View Post
    How do I fix the symlink to symlink? I only have access to the other OS.
    As in my post #5, mount that target partition and have a look at what is present.

    we can do that
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

Page 1 of 2 12 LastLast

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
  •