LinuxQuestions.org
Help answer threads with 0 replies.
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 01-30-2011, 02:26 AM   #1
abcxxx123
LQ Newbie
 
Registered: Jan 2011
Posts: 1

Rep: Reputation: 0
Unhappy Login issue after upgrading Fedora Core 12 to Fedora 14


I upgraded my Fedora Core distribution from 12 to 14. Everything worked fine, except for SQUID which refused to upgrade. I then went to rescue and installed SQUID using yum and then restarted the upgrade. It did finally upgrade the system and then asked for a reboot.

Well, when I selected the new kernel option in the GRUB options, since I also have Winduhs, it gave a kernel panic. I tried booting into the older kernel and it worked.

Now I see the users that are there in the system in the Graphical GUI login greeter screen. But none of the users get authenticated.

I used the rescue option and removed graphical login and changed boot level to 3. I also enabled the root user.

In the rescue mode, if I do a startx, everything works fine.

I logged off rebooted the system.

When I login, I see the version is shown as Fedora Core 14, but the kernel was still the older one with Core 12.

I again went to rescue and checked out GRUB and saw that it had no initrd for the new kernel.

I created a initrd image with the mkinitrd command and then added it to grub.

I again rebooted.

This time it shows the correct kernel, but still the system does not allow any of the users to login. All the Logins fail.

I have tried going to rescue and going to the system using 'chroot /mnt/sysimage' and doing a startx for Graphical.

Everything works, but only with the Rescue mode in the DVD. The normal boot/login sequence does not work.

Incidentally when I do a 'yum distro-sync', I get something like this :

---> Package dialog.i686 0:1.1-9.20080819.fc12 set to be downgraded
---> Package dialog.i686 0:1.1-11.20100428.fc14 set to be erased
---> Package diffstat.i686 0:1.51-1.fc12 set to be downgraded
---> Package diffstat.i686 0:1.51-2.fc14 set to be erased
---> Package diffutils.i686 0:2.8.1-25.fc12 set to be downgraded
---> Package diffutils.i686 0:2.8.1-29.fc14 set to be erased

It still seems to believe its a Fedora Core 12 system.

Another information is that when I leave rescue mode and do a normal boot without installation media, it starts doing some SELinux relabelling and reboots.

Any pointers on how I can get the system working. I am able to work with the rescue mode way, with any user, as it does not ask for any password. I can even do startx and work on the GUI. All my data is also there. I just am unable to get the user authenticated using normal boot/login.

I have tried using passwd -d username, but it gives an error :
passwd: libuser initialization error: could not open configuration file `/tmp/libuser.ElY0r9': No such file or directory

In fact, I am now in rescue mode only when I am writing and sending this.

My GRUB file is :

default=4
timeout=25
splashimage=(hd0,9)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.35.6-45.fc14.i686) with Initrd
root (hd0,9)
kernel /boot/vmlinuz-2.6.35.6-45.fc14.i686 ro root=UUID=c91b69c3-0d89-4242-99db-6e0cc04ce3de LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
initrd /boot/initramfs-2.6.35.6-45.fc14.i686.img
title Fedora (2.6.35.6-45.fc14.i686)
root (hd0,9)
kernel /boot/vmlinuz-2.6.35.6-45.fc14.i686 ro root=UUID=c91b69c3-0d89-4242-99db-6e0cc04ce3de LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
title Fedora (2.6.32.21-168.fc12.i686.PAE)
root (hd0,9)
kernel /boot/vmlinuz-2.6.32.21-168.fc12.i686.PAE ro root=UUID=c91b69c3-0d89-4242-99db-6e0cc04ce3de LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
initrd /boot/initramfs-2.6.32.21-168.fc12.i686.PAE.img
--- snip
 
Old 01-30-2011, 02:54 PM   #2
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 988
Blog Entries: 4

Rep: Reputation: 254Reputation: 254Reputation: 254
Greetingz!

Well, first I have to start with "backup all of your data...NOW!" advice. Once that's out of the way, I'd really suggest just reinstalling the entire Operating System. However, in the interest of addressing the problem, I'd like to suggest two things;

1) Make sure "SElinux" is in "permissive" mode.
Check for /etc/selinux/config and set SELINUX to "permissive"
then

2) Boot you "Fedora (2.6.32.21-168.fc12.i686.PAE)" kernel.
 
  


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
Fedora 10 problems with upgrading from Fedora Core 5 1948chev Fedora 5 01-26-2009 01:56 PM
Upgrading from Fedora Core 3 to Fedora Core 4 paulhoop Fedora 2 06-12-2005 03:59 PM
Upgrading to Fedora Core 2 dvishloff Fedora - Installation 1 09-23-2004 06:38 AM
Upgrading to fedora core 2 corbis_demon Linux - Newbie 3 06-28-2004 07:19 AM
Upgrading via Internet Fedora Core 1 to Fedora Core 2 cdean Linux - Newbie 2 05-30-2004 11:14 PM

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

All times are GMT -5. The time now is 12:41 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