LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 11-23-2015, 06:37 AM   #1
mgrah
LQ Newbie
 
Registered: Jan 2010
Posts: 14

Rep: Reputation: 0
upgrade from fedora 20 to fedora 21 failed!!!


Hi there,
Need a help.
I tried to upgrade from fedora 20 to fedora 21 after reboot fedora 21 can't start. When trying to use the old kernel I got the same error. Can't launch fedora 20 neither.
I'm in grub but can't figure out how to fix the issue.

grub> ls
grub>(hd0) (hd0,msdos3) (hd0,msdos2) (hd0,msdos1) (fd0)
when trying to set proper /boot
/grub2/locale/en.mo.gz

can some one help?

Thanks
 
Old 11-23-2015, 06:44 AM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,504

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
You did not post whatever error you got, that would be a good starting point?
 
Old 11-23-2015, 06:50 AM   #3
mgrah
LQ Newbie
 
Registered: Jan 2010
Posts: 14

Original Poster
Rep: Reputation: 0
the thing is that I can't load fedora 21 after my upgrade.
I can access grub2
and even from there I tried solve and reboot, I get a kernel panic.
I can find some old kernel and some new one.
some error code:
error: file '/grub2/locale/en.mo.gz' not found.
 
Old 11-23-2015, 03:24 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
BE WARNED!!!

Fedora 21 is not supported any longer
please do a clean fresh install with the current version
Fedora 23
 
Old 11-23-2015, 07:49 PM   #5
tomwest
Member
 
Registered: Aug 2013
Distribution: debian
Posts: 63

Rep: Reputation: Disabled
Hello mgrah. You could try re-installing grub. Use the rescue option on the install disk. The commands you'll likely need are:
Code:
chroot /mnt/sysimage
grub2-install /dev/sda
grub2-mkconfig -o /boot/grub2/grub.cfg
Exit the chroot and reboot.
 
Old 11-26-2015, 03:22 PM   #6
mgrah
LQ Newbie
 
Registered: Jan 2010
Posts: 14

Original Poster
Rep: Reputation: 0
chroot /mnt/sysimage
chroot: cannot run command /bin/sh: No such file or directory
 
Old 11-26-2015, 03:38 PM   #7
un1x
Member
 
Registered: Oct 2015
Posts: 645

Rep: Reputation: Disabled
/mnt is a space separate from chroot !

Code:
chroot /mnt/sysimage
 
Old 11-27-2015, 03:04 AM   #8
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by mgrah View Post
chroot /mnt/sysimage
chroot: cannot run command /bin/sh: No such file or directory
That looks very sick. How about
Code:
ls -F /mnt/sysimage
ls -F /mnt/sysimage/bin
Or perhaps not sick, and you just didn't tell the rescue environment to set everything up automatically. At least the Red Hat or Centos rescue does ask this question before running the shell.

Last edited by berndbausch; 11-27-2015 at 03:06 AM.
 
Old 11-27-2015, 12:24 PM   #9
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
the fedora install dvd WILL TELL YOU TO "chroot /mnt/sysimage"
if you use it in RESCUE MODE like you were asked to do

use the install dvd to reinstall grub

but fedora 21 is NOT SUPPORTED any longer

please do a new install using Fedora 23
 
Old 11-27-2015, 03:49 PM   #10
mgrah
LQ Newbie
 
Registered: Jan 2010
Posts: 14

Original Poster
Rep: Reputation: 0
even for a new install I tried to download Fedora 23 but get an error , failed to download.
I'm using a win7 workstation.
I really don't know how to solve the issue.
I'm kind of stuck.

I can also see that there is more than 3 kernel install on the machine.
 
Old 11-27-2015, 04:15 PM   #11
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
[QUOTE=mgrah;5456119]even for a new install I tried to download Fedora 23 but get an error , failed to download.
[/quota]
Download failed? Try again

[QUOTE=mgrah;5456119]
I really don't know how to solve the issue.
I'm kind of stuck.
[/quota]
If you are unable to get Rescue to work, how about checking the ststus of the system with a LiveCD?
Quote:
Originally Posted by mgrah View Post
I can also see that there is more than 3 kernel install on the machine.
That's no problem in itself.
 
Old 11-27-2015, 04:16 PM   #12
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by mgrah View Post
even for a new install I tried to download Fedora 23 but get an error , failed to download.
Download failed? Try again.

Quote:
Originally Posted by mgrah View Post
I really don't know how to solve the issue.
I'm kind of stuck.
If you are unable to get Rescue to work, how about checking the status of the system with a LiveCD?
Quote:
Originally Posted by mgrah View Post
I can also see that there is more than 3 kernel install on the machine.
I would expect to have 4 grub menu entries at least - normal and rescue boot for the old kernel, normal and rescue boot for the new kernel. And mor than that if you updated your kernel at some time. In other words, this is not a problem in itself.

Last edited by berndbausch; 11-27-2015 at 04:19 PM.
 
Old 11-27-2015, 07:04 PM   #13
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
even for a new install I tried to download Fedora 23 but get an error , failed to download.
by chance are you using Microsoft Internet Explorer
and trying to save a 1.4 Gig iso to your DESKTOP!!!

and what are you trying to download ?
the 1.4 Gig LIVE image ? ( Fedora-Live-Workstation-x86_64-23-10.iso )

or
one of the spins
https://spins.fedoraproject.org/

and did you go over the install guide
https://docs.fedoraproject.org/en-US...llation_Guide/




Quote:
I can also see that there is more than 3 kernel install on the machine.
that has been NORMAL!!!!! for the past 10+ years
the DEFAULT is to save the last two kernels as a EMERGENCY BACKUP!!!
but might end up getting set to 5 sometimes
 
Old 11-30-2015, 06:08 AM   #14
mgrah
LQ Newbie
 
Registered: Jan 2010
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks for your help.
I think that the problem is still there because I couldn't give you the right info.
When I launch F21 everything seems to go good till I get that message.
error message

1.5520231 ata1: softreset failed (device not ready)

Do you have an idea how to solve it?
thanks in advance.
 
Old 11-30-2015, 05:39 PM   #15
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
How do you know that this is an error message?
What do you want to solve?
Is there any other message after this one?
 
  


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
LXer: How To Upgrade From Fedora 18 To Fedora 19 With FedUp (Desktop & Server) LXer Syndicated Linux News 0 07-28-2013 09:42 PM
LXer: Upgrade Fedora 18 to 19 using fedora-upgrade or FedUp LXer Syndicated Linux News 0 07-03-2013 03:40 PM
LXer: How To Upgrade From Fedora 17 To Fedora 18 With FedUp (Desktop & Server) LXer Syndicated Linux News 0 01-24-2013 07:00 AM
[SOLVED] Upgrade fedora 1 to fedora 8; problem with dual boot mounting partition. alan sherwood Linux - Newbie 6 05-19-2010 06:31 PM
Can't install Fedora 11 directly, or upgrade from Fedora 10. Anaconda won't detect HD sheepy Fedora - Installation 11 10-06-2009 08:11 AM

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

All times are GMT -5. The time now is 06:35 PM.

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