Broken Arch and Grub
So I booted today and "fixed a few broken files" now my pc only starts till the grub rescue prompt. After turning secure boot on I could reboot into windows 8.1 and now I know that my whole / contains just a lost+found folder with a lot of files in it. Well, how do I repair my system now ? Do I just have to insert a boot medium and install Arch as usual or will there be more ? And what caused my system to do weird stuff like this and how do I prevent it in the future
About this post
- Posted
- Archived
- Score
- 1 · 100% up
- Kind
- Text
- ID
- 2hsfve
6 comments
What does "fixed a few broken files" mean?
It means that Arch wanted me to run fsck manually and then reboot
Was / mounted read-only when fsck was run?
What commands, exactly, did you run? And did you read about those commands and how they work beforehand? Because it seems like you may have deleted all of the files on your hard drive. Why/how did Arch 'want' you to run fsck manually?
If I were you, I'd just reformat and reinstall, that would probably be more productive than trying to recover anything. First, though, boot the install medium and see if you can mount your hard drive, try browsing the 'lost+found' files to see if you can find anything.
----------Also...if you want to get good, helpful, productive answers to your questions, you should probably read this sometime soon.
I'm pretty shure I deleted everything. I ran fsck /dev/sda5 which is/were my home directory. I just couldn't boot from a Windows CD to rescue my bootloader GRUB just popped up no matter what I configured in my UEFI.
So now just a simple question: If I wanted to reinstall arch I just could do this with an Arch boot medium and reinstall GRUB as usual and everything will be fine ?
So you didn't read about the command at all before running it...? You have to unmount the drive first, and mount it as read-only - if you don't unmount it, all of your files will be lost, as you have discovered.
You really should read about things in the future if you'd like to avoid stuff like this - try running the command with '-h' or '--help', and read its man page. For fsck, you'd want to run 'fsck --help' and 'man fsck'. Reading the wiki is a good idea, too.
Yes, reinstalling arch would fix everything.