[Arch] Wont boot / Stuck in loop cant login


Recommended Posts

Hi guys,

Ive been using arch for approx 6 months as a primary system (total linux experience starts from the early mandrake and slackware days), i love everything about it: the rolling release and bleeding edge software and i cant forget the package management! However it seems like i have perhaps broke something.

I run arch on both my desktop and eeePC 701 (which im writing on just now), my desktop runs xfce4.10 with SLiM login. I use dwm on my eeepc (repo version not abs).

I decided to run DWM on my desktop because quite frankly i think it is a great window manager. I followed the wiki to install via abs and then recompiled after i changed the "tabs" names to 'www' 'mail' 'term' and 'misc' - I recompiled using the instructions on the wiki, killed dmw and restarted to confirm changes and all was well.

This is where the newbish ways started and this is where i think i have killed my system. As root i issued 'reboot' and it sat for approx 10 mins at which point i think it must of hung up. I ctrl+C and it cancelled the command fine, tried issuing 'reboot' again and same thing happened, hung up. With a lack of patience i have hit the hardware reset button on my tower and upon forced reboot I am met with this:

Failed to mount debug file system
Failed to mount POSIX message queue file system
Failed to mount huge pages file system
Failed to mount configuration file system
Failed to mount temporary directory

<loop>
Welcome to emergancy mode! after logging in , type "journalctl -xb" to view system logs, "systemctl reboot" to reboot, "systemctl default" to try again to boot into default mode"

systemd-remount-fs[310]: failed to execute /bin/mount: no such file or direcotry.
systemd-remount-fs[301]: /bin/mount for / exited with exit status 1.

Welcome to emergancy mode! after logging in , type "journalctl -xb" to view system logs, "systemctl reboot" to reboot, "systemctl default" to try again to boot into default mode"

systemd-fsck[343]: fsck failed with error code 8
systemd-remount-fs[...]: /bin/mount for / exited with exit status 1.
systemd-random-seed[...]: Failed to write new random seed file: Bad file descriptor
</loop>

It loops like this continually, i don't actually get to the login prompt. I have tried booting from a bootable arch usb drive, i can mount my / , /home points fine and my data is there. I have tried chrooting (mounting / to /mnt/arch and running pacman -Syy && pacman -Syu which gives an error and does not install the upgrade. I have tried pacman -S udev / linux and also tried the mkinitcpio -p linux command.

I don't want to loose my data, and would prefer to avoid reinstalling arch. Can anyone add a little insight into this problem as what i find via archlinux wiki and google doesnt seem to be helping or resolving the issue at least - perhaps im not looking at in the right area ofcourse.

Thanks in advance,

-Sean

EDIT

The error given during the chrooted pacman -Syu is as follows:

error: could not open file: /etc/mtab: No such file or directory
error: could not determine filesystem mount points
error: failed to commit transaction (unexpected error)
Errors occured, no packages were upgraded

Edited by sean.ferguson

this is all related to the archlinux change in filesystem. I have followed the instruction on arch page, but still doesnt get anywhere. Ended up booting from install media, chrooting and fixing the install that way via pacman.

Something does seem a miss with this change however, something to look out for if you havent upgraded with pacman Syu recently. *facepalm*

this is all related to the archlinux change in filesystem. I have followed the instruction on arch page, but still doesnt get anywhere. Ended up booting from install media, chrooting and fixing the install that way via pacman.

Something does seem a miss with this change however, something to look out for if you havent upgraded with pacman Syu recently. *facepalm*

Get used to it, you'll have that happen a few times a year with arch.

n_K - the problem is more than likely human error on my part. Doing the upgrade on my eeePC701 running arch was a breeze after ensuring I was aware of all the changes. The total time fixing things from the arch-chroot environment was no longer than 20 mins, not all that bad really.

this is all related to the archlinux change in filesystem. I have followed the instruction on arch page, but still doesnt get anywhere. Ended up booting from install media, chrooting and fixing the install that way via pacman.

Something does seem a miss with this change however, something to look out for if you havent upgraded with pacman Syu recently. *facepalm*

Yeah I've suffered with this update on both my laptop and my desktop (the systemd change only bit me in the arse on my desktop). Arch core upgrades are a bit of a pain in the arse when they happen. Since they're a "rolling release" distro, the idea should be that regular "pacman -Syu" runs should just work, but alas, this is rarely the case. This is less prominent on other distros because the core upgrades usually come in one single giant upgrade, whereas this isn't the case for Arch.

Anyway, I can't say I've encountered your problem, but I'll help where I can...

Hi guys,

Ive been using arch for approx 6 months as a primary system (total linux experience starts from the early mandrake and slackware days), i love everything about it: the rolling release and bleeding edge software and i cant forget the package management! However it seems like i have perhaps broke something.

As you said, this is the filesystem upgrade. They've merged all of /bin, /sbin and /usr/sbin into the /usr/bin directory, and it looks like something went awry for you. (In my case, I had to upgrade my bootloader, which was about as much fun as it sounds).

Failed to mount debug file system
Failed to mount POSIX message queue file system
Failed to mount huge pages file system
Failed to mount configuration file system
Failed to mount temporary directory

<loop>
Welcome to emergancy mode! after logging in , type "journalctl -xb" to view system logs, "systemctl reboot" to reboot, "systemctl default" to try again to boot into default mode"

systemd-remount-fs[310]: failed to execute /bin/mount: no such file or direcotry.
systemd-remount-fs[301]: /bin/mount for / exited with exit status 1.

Welcome to emergancy mode! after logging in , type "journalctl -xb" to view system logs, "systemctl reboot" to reboot, "systemctl default" to try again to boot into default mode"

systemd-fsck[343]: fsck failed with error code 8
systemd-remount-fs[...]: /bin/mount for / exited with exit status 1.
systemd-random-seed[...]: Failed to write new random seed file: Bad file descriptor
</loop>

It loops like this continually, i don't actually get to the login prompt.

Did you --force the upgrade, or ignore dependency checks? Sounds like the filesystem upgrade may been forced through without doing everything else first, although I think pacman still wouldn't allow it in this case, even if forced.

The upgrade should have been run as...

pacman -Syu --ignore filesystem,bash
pacman -S bash
pacman -Su

Now this command trio is somewhat risky IMO, as failure at any step could be catastrophic, but that's what I ran, and this is how I did it for my laptop, and it broke with an unrelated error :p. If you forced the filesystem change, you might have a problem and you'll probably need to reinstall the core utilities (this sounds likely anyway if mount couldn't be found). You might get lucky if you just do pacman -Su from the install media.

I have tried booting from a bootable arch usb drive, i can mount my / , /home points fine and my data is there. I have tried chrooting (mounting / to /mnt/arch and running pacman -Syy && pacman -Syu which gives an error and does not install the upgrade. I have tried pacman -S udev / linux and also tried the mkinitcpio -p linux command.

I don't want to loose my data, and would prefer to avoid reinstalling arch. Can anyone add a little insight into this problem as what i find via archlinux wiki and google doesnt seem to be helping or resolving the issue at least - perhaps im not looking at in the right area ofcourse.

Thanks in advance,

-Sean

EDIT

The error given during the chrooted pacman -Syu is as follows:

error: could not open file: /etc/mtab: No such file or directory
error: could not determine filesystem mount points
error: failed to commit transaction (unexpected error)
Errors occured, no packages were upgraded

The errors your seeing is because you haven't quite mounted everything, although they don't mention this on the Arch site as far as I could see. When mounting your file systems, you need to do a couple of extra mounts...

# Mount the filesystems as you have been doing into /mnt/arch...
# ... then...
mount --bind /dev /mnt/arch/dev
mount --bind /proc /mnt/arch/proc
mount --bind /run /mnt/arch/run
mount --bind /sys /mnt/arch/sys

Then, assuming your networking is up and running, you can chmod and pacman should work fine.

Hope this helps :)

This topic is now closed to further replies.
  • Posts

    • Motrix Next 3.9.6 by Razvan Serea Motrix Next is a modern, open-source cross-platform download manager built as the official next-generation successor to the original Motrix project. It has been completely rewritten using Tauri 2, Vue 3, TypeScript, and Rust, while still relying on the powerful Aria2 download engine for high-speed multi-protocol transfers. The app supports HTTP, HTTPS, FTP, BitTorrent, ED2K and magnet links, offering advanced features like multi-connection acceleration, task scheduling, bandwidth control, and batch download management. With a significantly reduced install size (around 20MB), it focuses on being lightweight, fast, and resource-efficient compared to traditional Electron-based download tools. Designed for Windows, macOS, and Linux, Motrix Next delivers a clean, modern UI inspired by Material Design 3 principles, with smooth animations and a minimal workflow. It improves usability through better download organization, system tray integration, and enhanced torrent handling including selective file downloads and tracker management. Motrix Next features: Multi-protocol downloads — HTTP, FTP, BitTorrent, Magnet, .torrent, ED2K, and Metalink tasks BitTorrent — Selective file download, DHT, peer exchange, encryption controls, metadata caching, GeoIP peer flags, and tracker probing Browser extension integration — Embedded Extension API with independent authentication, download confirmation, smart auto-submit, filename hints, referer/cookie forwarding, and real-time controls (Chrome Web Store · Edge Add-ons) Safe filename handling — Content-Disposition, RFC 2047, non-UTF-8, percent-encoded, and extensionless URL resolution with path traversal sanitization Download organization — Favorite and recent folders, optional file-type categorization, stale-record cleanup, and completed history backed by SQLite Concurrent downloads — Independent controls for active tasks, HTTP connections per server, segments per file, and BT peer limits Speed control — Global and per-task upload/download limits with day-of-week and time-of-day scheduling System integration — Tray operation, optional tray speed display, macOS Dock badge/progress, protocol handlers for magnet://, thunder://, and motrixnext:// Lightweight mode — Destroys the WebView on minimize-to-tray while Rust keeps the engine, task monitor, notifications, history, and extension routing alive Notifications and power options — Native task start/complete/failure notifications, keep-awake during downloads, and optional shutdown after completion Network controls — Scoped proxy support for downloads, app updates, and tracker updates, plus system proxy detection Auto-update channels — Stable, Beta, and Latest Across Channels policies with separate download and install phases Diagnostics — Structured logs, exportable diagnostic ZIPs, database integrity checks, automatic DB rebuild, and Linux GPU rendering fallback Personalization — Light/dark/system theme, 10 color schemes, 26 languages, and first-launch system language detection Motrix Next 3.9.6 changelog: New Features Clipboard management — App-owned copy actions no longer trigger the Add Task auto-detect popup. aria2 input compatibility — Multi-line aria2-style task input is supported for URLs with per-task options such as out=. BitTorrent IPv6 DHT — Added IPv6 DHT support and related configuration. File category URL patterns — File category rules can match URL patterns with validation and localized hints. Task status tags — Added clearer waiting and sharing states for task cards. Download event bridge — Added an aria2 WebSocket event bridge for faster download notifications. Improvements Improved task list transitions and preserved task state during tab switches. Kept RPC origin access enabled for local integrations. Restored AppImage stripping in release builds after beta validation. Added localized preference guidance across supported languages. Download: Motrix Next 64-bit | ARM64 | macOS ~20.0 MB (Open Source) Links: Website | macOS / Linux | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Segra 1.6.2 by Razvan Serea Segra is a free, open-source OBS-powered game recorder offering fast gameplay capture, instant clips, AI highlights, deep game integration, and seamless uploads—perfect for gamers, streamers, and content creators. Lightweight, fast, zero bloat. Segra key features: Automatic Game Recording: Begin capturing gameplay the moment your game launches, with zero manual setup. Instant Clipping: Save important moments instantly using a customizable hotkey—perfect for highlights, montages, or quick shares. Segra AI Highlights: Let Segra automatically detect kills, assists, deaths, and key events to generate polished highlight reels without manual editing. Gameplay Uploads: Upload recordings and clips directly to Segra.tv for fast sharing and cloud access. Deep Game Integration: Enjoy advanced game-data tracking across hundreds of supported titles, enabling smart highlight generation and stat-informed clipping. High-Performance Capture: Record up to 4K at 144 FPS using OBS-powered technology with minimal performance impact, supporting NVENC, AMD VCE, and custom quality controls. Segra Editor: Edit recordings easily with timeline controls, segment management, and event-based navigation to build the perfect clip. Customization Options: Adjust hotkeys, output formats, storage paths, codecs, capture quality, and performance settings for a tailored recording experience. Segra 1.6.2 changelog: UI: Improved the transition from the loading skeleton to the real content card. Security: Added Segra.dll code signing and automatic VirusTotal upload. Settings: Fixed the settings header to highlight Account when scrolled to the top. Recording: Updated OBSKit.NET to 1.4.1. Download: Segra 1.6.2 | 74.5 MB (Open Source) View: Segra Homepage | Github | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Hey Google, these are the Gemini features I want in 2026 by Aditya Tiwari Google Gemini has been around for over three years. The AI chatbot started its journey back in 2023 (as Bard) when ChatGPT was already a talk of the town. However, it quickly attracted criticism after misrepresenting facts about the James Webb Space Telescope. The search giant spent a year fine-tuning Bard before rebranding the chatbot and its underlying generative AI model to Gemini, drawing inspiration from NASA's first human spaceflight program. Note that Bard was initially powered by LaMDA and PaLM 2; Google has since added several new features and integrations to Gemini. That said, there is scope for improvement and a gap for new features. I have been using Gemini for a while now and have realized that the chatbot lacks several features, making it harder for me to research across topics. These are mostly function-over-form updates that can improve the overall experience. Delete individual messages from a conversation Image via DepositPhotos.com One good thing about Gemini is that it can maintain context throughout the conversation. But things might get chaotic when you want to ask a related question, but don't want it to be part of your conversation in the long run. You can't ask that related question in a fresh chat because Gemini will lose the active conversation context of what you're trying to research. If Google allowed you to delete individual question/answer pairs, you could simply ask about a sub-topic and remove it from the conversation to create a smooth flow of important stuff. Offline mode Image via DepositPhotos.com A big pain of using Gemini daily is that everything loads from the cloud. It takes time for your chats to appear, and you can't view your conversation history while offline. To get a better idea, you can open the Gemini app and see how it looks without an internet connection. While Gemini models run in the cloud, it wouldn't hurt if Google could store chats (at least the text part) on the device so we can refer to them when offline. Google can also offer a lightweight version of its AI model to help with basic drafting, summarization, and other tasks. It has the Gemini Nano model, which can perform on-device processing on Google Pixel, Samsung, and some other Android brands, but it's a system feature and not related to the cloud-based Gemini app. Make temporary chats permanent I can't thank Google enough for taking the time and effort to add incognito mode or temporary chat mode to the Gemini app. It lets you have conversations without worrying that the topics will end up in your chat history or used for model training (at least on paper). Google claims that it doesn't use your temporary chats to "personalize your Gemini experience or train Google’s AI models." However, the data is stored "up to 72 hours to respond to you and to process any feedback you choose to provide." That said, I often start researching something in a temporary chat, only to realize the chatbot's answer is good enough to refer to later. Sadly, Gemini doesn't have an option to make such temporary chats permanent. In other words, I won't be able to follow up on it if I close the temporary chat. I'm left with alternatives like copying the answers into notes or another app. My digital life will get a lot better if Gemini gets a button to make temporary chats permanent. Collapse answers for a cleaner view You're heavily invested in your research game and suddenly feel the need to go up in the chat to recall something. This is when the conversation thread starts to feel like an overwhelming, unending wall of questions and answers. What if Google added a way to collapse Q&A pairs in the Gemini chat thread? It would look quite clean and easy to navigate. You'll quickly get an overview of everything you have discussed with the chatbot. Add buttons to jump between messages Suggested mockup of the feature. This reminds me of a small but useful Gemini feature that Google could add to its chatbot: the ability to hop between prompts in a conversation. Just add simple up- and down-arrow buttons, similar to YouTube Shorts, so people can quickly scroll through the messages. A table of contents or Chat Overview It's hard to get a bird's-eye view of everything you have discussed with the chatbot during a lengthy conversation. This is where a table of contents, or Chat Overview, displayed at the top of the screen, possibly in a drop-down button, might come in handy. You'll be able to get an overview of the chat and jump between messages, serving as an alternative to the up/down arrow buttons. Temporary mode for Gemini Live Image: Google You can use Gemini Live to have real-time conversations with the chatbot, which feels like you're talking to someone in the same room. However, a downside is that Gemini Live doesn't work in Temporary Chat mode, so all your conversations end up in the chat history. Google should consider expanding the temporary chat mode to include Gemini Live. Default to a specific chat One thing that feels somewhat annoying to me is that Gemini always opens in a new chat, whether on web or mobile. Sometimes, you want to return to your last chat. Google can take cues from web browsers, which let you choose whether you want to go to a new tab or a specific web page(s). Gemini can also have options to default to a specific chat when reopened. That said, generative AI chatbots have endless possibilities given the vagueness of their work. You can mold them the way you want by attaching different connectors, adding custom instructions, and including source files. It remains to be seen what Google has in store for future updates and whether anything from this wishlist gets the green light. The search giant released a stream of new Gemini updates in recent months, including Gemini 3.5 Flash and Gemini Omni Spark, adding that it now has 13 products with more than a billion users each. What do you want to see in the Gemini app? Tell us in the comments.
    • Thank you for the post. Just a FYI that links to an outside site or promoting specific software is considered spamming here. Asking general questions is fine.
  • Recent Achievements

    • Conversation Starter
      sumytbe earned a badge
      Conversation Starter
    • One Year In
      B4dM1k3 earned a badge
      One Year In
    • One Year In
      DarkWun earned a badge
      One Year In
    • Dedicated
      Almohandis earned a badge
      Dedicated
    • Dedicated
      JuvenileDelinquent earned a badge
      Dedicated
  • Popular Contributors

    1. 1
      +primortal
      507
    2. 2
      +Edouard
      181
    3. 3
      PsYcHoKiLLa
      86
    4. 4
      Michael Scrip
      78
    5. 5
      Steven P.
      76
  • Tell a friend

    Love Neowin? Tell a friend!