LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation
User Name
Password
Fedora - Installation This forum is for the discussion of installation issues with Fedora.

Notices


Reply
  Search this Thread
Old 07-01-2016, 08:54 PM   #1
bednarjm
Member
 
Registered: Jul 2005
Location: Franklin, PA
Distribution: Fedora 24
Posts: 76

Rep: Reputation: 19
system upgrade fails


I attempted to upgrade to version 24 through dnf. It downloaded and did its thing. After it rebooted, it got hung up in emergency mode. I'm at a loss at this point and don't know where to go from here. Any suggestions?

Thanks.
 
Old 07-02-2016, 12:46 AM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Hi:

Type in your root password and than type in:
Code:
fsck
Do you get errors like this when running that command?

Code:
 /dev/mapper/fedora_XXX--root is mounted
      e2fsck: Cannot continue, aborting.
If not what errors if any?
 
Old 07-02-2016, 04:13 PM   #3
bednarjm
Member
 
Registered: Jul 2005
Location: Franklin, PA
Distribution: Fedora 24
Posts: 76

Original Poster
Rep: Reputation: 19
Quote:
Originally Posted by Ztcoracat View Post
Hi:

Type in your root password and than type in:
Code:
fsck
Do you get errors like this when running that command?

Code:
 /dev/mapper/fedora_XXX--root is mounted
      e2fsck: Cannot continue, aborting.
If not what errors if any?
I get
/dev/sda2 is mounted.
e2fsck: Cannot continue, aborting.
 
Old 07-02-2016, 04:57 PM   #4
bednarjm
Member
 
Registered: Jul 2005
Location: Franklin, PA
Distribution: Fedora 24
Posts: 76

Original Poster
Rep: Reputation: 19
Maybe this attachment will help too.
Attached Thumbnails
Click image for larger version

Name:	IMG_20160702_174849.jpg
Views:	27
Size:	197.5 KB
ID:	22290  
 
Old 07-02-2016, 05:23 PM   #5
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
If there are questions about fixing, ignoring, forcing, salvage, etc, always answer y (yes)

I think you will have to unmount your /dev/sda2 in order to run "fsck"

To unmount it run:
Code:
unmount /dev/sda2
Than re-run "fsck"

You might need to post the entirety of your /etc/fstab file and see if that's ok.
-::-If fsck fails you'll need a Live CD or USB to perform a fresh installation.-::-

Here are threads that have the same errors that you have going on that may be of help.

http://www.linuxquestions.org/questi...ng-4175512277/
http://foobaring.blogspot.com/2014/0...y-mode-on.html
https://bbs.archlinux.org/viewtopic.php?id=115407
 
Old 07-02-2016, 05:35 PM   #6
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
http://bitsofmymind.com/2014/03/14/h...into-on-linux/
 
Old 07-02-2016, 06:20 PM   #7
bednarjm
Member
 
Registered: Jul 2005
Location: Franklin, PA
Distribution: Fedora 24
Posts: 76

Original Poster
Rep: Reputation: 19
Here's what I got.
Attached Thumbnails
Click image for larger version

Name:	IMG_20160702_190403.jpg
Views:	26
Size:	141.7 KB
ID:	22291   Click image for larger version

Name:	IMG_20160702_190709.jpg
Views:	23
Size:	154.5 KB
ID:	22292  
 
Old 07-02-2016, 10:56 PM   #8
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Your /dev/sda2 and /dev/sda6 are ok.

I'm not sure what's wrong with sdb1 and sdb2 which look like your Fedora partitions.

When you upgraded from Fedora 23 to Fedora 24 it could be that your Fedora partitions got misconfigured or corrupted somehow. <OR> superblocks might be missing and I don't know how to repair that; sorry.

It appears that you have more than one drive on that machine.
Is that correct?
Did you have to do a forced shutdown?

When I install the new releases of Fedora I always download the .iso and perform a fresh installation with either a CD/DVD or a Live USB. I don't trust upgrades; never have.

http://forums.fedoraforum.org/showthread.php?t=284465
 
Old 07-02-2016, 11:06 PM   #9
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Code:
no such file or directory while trying to open sdb1 possibly none existent device?
Is an indication that one of the drives are not present on the system, maybe there is hardware failure (or the USB port where it is plugged in has a failure) or simply that the fs corrupted by a forced shutdown.

I would do a fresh install from CD or USB.
<OR> wait for other members to chime in and give you suggestions.

You should also check the logs for errors.
 
Old 07-03-2016, 08:39 AM   #10
bednarjm
Member
 
Registered: Jul 2005
Location: Franklin, PA
Distribution: Fedora 24
Posts: 76

Original Poster
Rep: Reputation: 19
Quote:
Originally Posted by Ztcoracat View Post
Your /dev/sda2 and /dev/sda6 are ok.

I'm not sure what's wrong with sdb1 and sdb2 which look like your Fedora partitions.

When you upgraded from Fedora 23 to Fedora 24 it could be that your Fedora partitions got misconfigured or corrupted somehow. <OR> superblocks might be missing and I don't know how to repair that; sorry.
sda2 is root and sda6 is my home partition.
sd1 and sdb2 are on my data drive.


Quote:
It appears that you have more than one drive on that machine.
Is that correct?
Did you have to do a forced shutdown?

When I install the new releases of Fedora I always download the .iso and perform a fresh installation with either a CD/DVD or a Live USB. I don't trust upgrades; never have.

http://forums.fedoraforum.org/showthread.php?t=284465
I usually do a fresh one but last few releases I did the upgrade through fedup. this time i tried the dnf system upgrade.

I ran into this problem to when i tried to boot into rescue.
https://unix.stackexchange.com/quest...er-dnf-upgrade
 
1 members found this post helpful.
Old 07-03-2016, 08:48 AM   #11
bednarjm
Member
 
Registered: Jul 2005
Location: Franklin, PA
Distribution: Fedora 24
Posts: 76

Original Poster
Rep: Reputation: 19
Quote:
Originally Posted by Ztcoracat View Post
[CODE]
I would do a fresh install from CD or USB.
<OR> wait for other members to chime in and give you suggestions.

You should also check the logs for errors.
Since I do have a separate home partition, I did do a mostly fresh install last night. It installed fine and rebooted into the new install. I did my dnf updates. Installed my usual dropbox, virtualbox and crossover. Also installed nvidia drivers through rpmfusion. I rebooted and straight to the emergency mode i went. I had to set enforcing=0 on the grub boot script to get past it. Something with SELinux is giving me a hard time.
 
Old 07-04-2016, 12:53 AM   #12
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Jeesseeee-
Sorry to hear that.

You can temporarily turn off SELinux by putting it in permissive mode but I've never tried it.
I hope theses links help.

http://www.cyberciti.biz/tips/enable...g-purpose.html

http://www.cyberciti.biz/faq/how-to-...nhanced-linux/
 
Old 07-24-2016, 07:20 PM   #13
bednarjm
Member
 
Registered: Jul 2005
Location: Franklin, PA
Distribution: Fedora 24
Posts: 76

Original Poster
Rep: Reputation: 19
So i decided to totally wipe my system. Backed up my data of course.

I reinstalled and as i did things i rebooted and kept track of what was going on. Well I edited my fstab file to mount my other partitions on boot and that created the system panic into emergency mode.


Code:
/dev/sdb1 /run/media/jaison/windows_apps ext4 defaults 0 2
/dev/sdb2 /run/media/jaison/data	 ext4 defaults 0 2
That should be correct? I never had any issues in the past with it.
 
Old 07-25-2016, 07:03 AM   #14
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Yes that looks correct.

Did you make a swap partition?
 
Old 07-25-2016, 11:14 AM   #15
bednarjm
Member
 
Registered: Jul 2005
Location: Franklin, PA
Distribution: Fedora 24
Posts: 76

Original Poster
Rep: Reputation: 19
This is my whole fstab


Code:
UUID=89dee6d7-ea31-4e4e-8834-7014a22aaa77 /                       ext4    defaults        1 1
UUID=edcaa262-ee43-4f4e-9f3a-7f89ccc5dae9 /boot                   ext4    defaults        1 2
UUID=62225ed2-257c-4a09-929e-0447d992aeed /home                   ext4    defaults        1 2
UUID=9b6fd0e0-25cf-480b-a19c-f12e01c9263c /var                    ext4    defaults        1 2
UUID=3e942889-d61a-4d6d-849a-a88da14c7aa0 swap                    swap    defaults        0 0
UUID=5b44c44b-36ac-4144-9a41-063e65e2d1e4 /run/media/jaison/windows_apps                    ext4    defaults       0 2
UUID=a6b7a8ee-1146-4221-a32b-213708223d7e /run/media/jaison/data                    ext4    defaults        0 2
Now if I comment out the ones I added, it will boot fine. Otherwise I have to edit the grub script to add enforcing=0 so it will mount those at boot without tripping the emergency mode.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Upgrade from Wheezy to Jessie fails after apt-get dist-upgrade Angoid Debian 17 01-07-2016 02:25 AM
[SOLVED] system upgrade caused kernel upgrade and now system doesnt boot nitecrawler Slackware 26 08-10-2015 06:53 AM
after MATE 1.4.2 upgrade my system fails booting fabiox Linux Mint 1 11-09-2012 09:33 AM
upgrade from 10.04 to 10.10 fails with msg could not calculate the upgrade tkmsr Ubuntu 10 10-13-2010 09:45 PM
Slackpkg fails on upgrade-all albhaf Slackware 1 12-02-2006 10:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation

All times are GMT -5. The time now is 08:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration