Ask Your Question
1

Fedora 20 won't boot

asked 2014-09-24 01:40:09 -0500

Sunglare54 gravatar image

updated 2014-09-24 09:38:02 -0500

mether gravatar image

Today i was trying to install something for Google Fonts and the installation failed, so i tried to uninstall the file and restart. So i entered into the terminal "yum erase /googlefontdirectory". After that, it started uninstalling all sort of important files, such a gnome tweak, VLC and all sorts of important system files. It crashed shortly after that.

I booted up my computer again, where Fedora won't boot into my login screen. Instead it kept on asking for my username and password, which i entered. The screen just looked like a terminal screen and won't go into the login screen. So after experimenting around, I decided to continue the installation that had crashed earlier and restart my computer. After doing so, my computer started again, and it continued to show the loading screen.

Unfortunately, it won't go out of the loading screen. It just stays at the fedora symbol. After pressing "Ctrl + F2", the screen shows the words "[ 5.693748] systemd[1]: failed to execute /bin/sh, giving up: No such file or directory". I don't know how to proceed. What i really need to do is retrieve a few important files, and if i can do that, I am willing to uninstall Fedora 20 and reinstall the whole thing. But i can't seem to access the linux partition and access the files.

P.S. I am a total noob and amateur when it comes to this, so layman terms would be appreciated. Thanks in advance.

edit retag flag offensive close merge delete

Comments

You will be able to access your existing partitions on harddisk if you boot from a LiveCD or Live USB.

Jomoos gravatar imageJomoos ( 2014-09-24 03:28:21 -0500 )edit

Actually, if you are a complete noob this is probably a much easier option for you - boot up from live media and backup whatever you want...

jcuenod gravatar imagejcuenod ( 2014-09-25 01:55:48 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-09-24 03:07:42 -0500

It's very likely that you don't need to start from scratch but if you're willing to do that, it will probably be easier. One thing to note though, when you told yum to uninstall googlefontdirectory it would have printed out a whole bunch of stuff that it was preparing to uninstall and then asked [y/N] so be careful when you just say "yes".

If you're going to start from scratch:

Start up your computer and when it gets as far as it can hit "Ctrl+Alt+F2". This will take you into a TTY which is basically a terminal (command line) interface that runs parallel to X (which, on Fedora, you could switch to using "Ctrl+Alt+F1").

You should be able to log in, I can't imagine removing googlefontdirectory would have wrecked anything that severely.

Once you are logged in you can plug in a flash drive. You will probably need to mount it. There is plenty of help online on how to mount flash drives but it will probably be something like # mount /dev/sda1 /mnt/myflashdrive (I started that command with # not because you need to type it in but because it implies you need to have superuser rights to mount.

If you've successfully logged in and mounted a flash drive you can copy stuff to your flash drive using cp to copy and cd to change directory (folder). All your stuff is probably in /home/whatever-your-username-is/

You can probably recover this install though:

  1. This will involve logging in as above, in a TTY.
  2. Making sure you have an internet connection (try ping google.com)
  3. Figuring out what packages you need to reinstall (I would probably just try # yum install gnome) and see what happens from there.
edit flag offensive delete link more

Comments

I really just can't log in. It just hangs at the fedora load screen.

I have also tried to access the files through the LiveCD, but it just comes up when I click on the file that it cannot mount the drive, so i can't access the files.

Also, when I press the commands to get into TTY, nothing happens now.

When I went to the live CD and used the terminal to try and install gnome again, it just came up with an error like "no enabled repos" and such

Sunglare54 gravatar imageSunglare54 ( 2014-09-24 06:09:32 -0500 )edit

If you're using the live cd, anything you install is for the live session - not the install on your hard drive so that's not the way to do it. If you boot up with a livecd, you need to use root permissions to mount your hdd and get access to it. The TTY thing is just if you're trying regular startup (although it should normally work). The TTY doesn't need gnome or gdm to load so it may work while the splash screen is hanging. It seems like your best bet would be to use the livecd to backup the files you want and then start from scratch though.

jcuenod gravatar imagejcuenod ( 2014-09-25 08:09:52 -0500 )edit

Question Tools

Stats

Asked: 2014-09-24 01:40:09 -0500

Seen: 941 times

Last updated: Sep 24 '14