Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3560

General Questions • [Software] Recover/Reinstall In Emergency Mode? Unable to Boot

$
0
0
From what I can tell, none of the USB ports are recognized. I did just resign to re-installing Debian 11 from the USB drive I originally used; then, my thinking went, I could restore from the the backup tar.gz. However, when I tried to boot from USB, the USB drive I had didn't show up.
This is a show stopper. As sunrat says, you're not going to be able to restore a backup from the recovery mode console. You can't run fsck from there either. By the way, here's a direct link to the recovery instructions Aki mentioned above. Do you know someone with a computer who can assist? Ideally, you would download a live version of Debian,* burn that to flash drive (different from the one you have now), and use it to repair and/or restore. Easier and more flexible than the installer's recovery tool. If the friend uses Windows rather than Linux, Rufus is an easy way to burn the ISO to flash drive (use the defaults); available as a portable, so friend doesn't even need to install it.

* If there's a way to download a live version of Bullseye, I can't find it. For your purposes, though, the current live version should be fine.

As for the file system check, I think dlu2021 is right, it's a red herring. If you want to be sure, there's a way to run fsck from Grub. As mentioned, press "e" for edit. Rather than replace or delete anything, arrow key down to where it says quiet and type in break (with a space between the two words). This will take you to an initramfs prompt. Run blkid, from which you should be able to confirm which is your system partition. Then run fsck -yv /dev/sdxn (e.g., sda2). Will report if the check comes back clean or, if not, what had to be fixed. Type exit to resume boot.

Statistics: Posted by pbear — 2023-12-24 04:33 — Replies 18 — Views 334



Viewing all articles
Browse latest Browse all 3560

Trending Articles