LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-12-2004, 11:24 PM   #1
moschi
Member
 
Registered: Mar 2004
Location: boulder, co
Distribution: slack 12, debian 4, ubuntu server 6.10
Posts: 68

Rep: Reputation: 15
fedora won't boot or let me login


i am running fc1

x froze on me, & i couldn't do anything, so i did a hard reboot.

when it came on, it went up until the part where it says all the things it is starting / loading... but then it skips all of that & goes to a command line that says: "(none) login:" so i try my login & pwd, but it doesn't work... then i try root & the root password, but that still says:

login(pam_unix)[18] authentication falilure; logname=LOGIN uid=0 euid=0 tty=tty2 ruser= rhost= user=root
Login incorrect

please help, thanks,
andrew
 
Old 07-13-2004, 05:28 AM   #2
bullwinkle
Member
 
Registered: Jul 2004
Location: USA
Distribution: FC5
Posts: 46

Rep: Reputation: 15
go to single user mode and change the password and create a user account
u can go to the single user mode by appending single to the boot options in grub as u r using fedora
 
Old 07-13-2004, 12:49 PM   #3
moschi
Member
 
Registered: Mar 2004
Location: boulder, co
Distribution: slack 12, debian 4, ubuntu server 6.10
Posts: 68

Original Poster
Rep: Reputation: 15
ok, i know how to go to single from grub, but then what do i do

how can i change the pwd? & more importantly, what can i check to see why it won't boot right... because after i select the kernel, it doesn't load any of the things it's supposed to, & it goes straight to a console that says "(none) login:"

thanks,
andrew
 
Old 07-13-2004, 12:54 PM   #4
moschi
Member
 
Registered: Mar 2004
Location: boulder, co
Distribution: slack 12, debian 4, ubuntu server 6.10
Posts: 68

Original Poster
Rep: Reputation: 15
so when i booted into runlevel 1, it said:

INIT: Version 2.85 booting
INIT: cannot execute "/etc/rc.d/rc.sysinit"
INIT: entering runlevel: 1
INIT: cannot execute "/etc/rc.d/rc"
INIT: no more processes left in this runlevel

& then it stays there, & i can't do anything..

any ideas??
 
Old 07-13-2004, 04:51 PM   #5
cbarbry
LQ Newbie
 
Registered: Jul 2004
Location: Arkansas
Distribution: Fedora and Red Hat
Posts: 6

Rep: Reputation: 0
I would try booting into rescue mode from the CD. Then you should at least be able to get access to the filesystem.

You may know already, but to do this, boot from your CD and type in 'linux rescue' at the prompt.

HIH,
Chad
 
Old 07-13-2004, 07:00 PM   #6
moschi
Member
 
Registered: Mar 2004
Location: boulder, co
Distribution: slack 12, debian 4, ubuntu server 6.10
Posts: 68

Original Poster
Rep: Reputation: 15
if i do that, then what should i do to fix this problem... i am pretty new to this, so even if i had access to the file system, i wouldn't know what to do...

thanks,
andrew
 
Old 07-14-2004, 05:10 AM   #7
bullwinkle
Member
 
Registered: Jul 2004
Location: USA
Distribution: FC5
Posts: 46

Rep: Reputation: 15
boot with the 1st cd
type linux rescue just before it promts u whether to start anaconda.
then type chmod /mnt/sysimage
then it will take u to the super user mode
now try to fix the kernel......and then create the useraccounts
 
Old 07-14-2004, 09:38 AM   #8
moschi
Member
 
Registered: Mar 2004
Location: boulder, co
Distribution: slack 12, debian 4, ubuntu server 6.10
Posts: 68

Original Poster
Rep: Reputation: 15
what do you mean fix the kernel... i don't really understand what's wrong with it. can i just yum-update, because i know there is a newer kernel upgrade? otherwise, what do i need to fix?

thanks,
andrew
 
Old 07-14-2004, 11:29 AM   #9
bullwinkle
Member
 
Registered: Jul 2004
Location: USA
Distribution: FC5
Posts: 46

Rep: Reputation: 15
you can try using yum...
but if u have the source code as rpm of the previous version on the system then try updating with the same..
if u dont then boot as i had said previously and then take out the cd insert a cd which has the source rpm..
install it and then try booting
good luck

P.S. make backup immediately...coz u might require to reinstall if it doesnt work...ur init is not running..
 
Old 07-14-2004, 01:04 PM   #10
moschi
Member
 
Registered: Mar 2004
Location: boulder, co
Distribution: slack 12, debian 4, ubuntu server 6.10
Posts: 68

Original Poster
Rep: Reputation: 15
ok, thanks, i'll give that a shot.

thanks,
andrew
 
Old 07-14-2004, 04:09 PM   #11
moschi
Member
 
Registered: Mar 2004
Location: boulder, co
Distribution: slack 12, debian 4, ubuntu server 6.10
Posts: 68

Original Poster
Rep: Reputation: 15
so i did that, but i couldn't get much done... i don't have much data on the drive, so i was going to burn 2 cd's as backup, & then install fc2. i create the iso's, & do cd record, but it says there are no available cdr drives... so i do "chroot /mnt/sysimage" to be the root so maybe that will work, but it says "chroot: cannot execute /bin/sh: permission denied"

so i tried to ssh to this machine from my other computer, but there are no functioning user accounts to ssh with. so i try to create a user in recovery, but it says "useradd: error opening group file"

so i really don't care about salvaging this installation of fedora anymore, but i need a way to get this data off... via ssh/cd/anything...

please help. thanks,
andrew

Last edited by moschi; 07-14-2004 at 04:44 PM.
 
Old 07-14-2004, 05:41 PM   #12
moschi
Member
 
Registered: Mar 2004
Location: boulder, co
Distribution: slack 12, debian 4, ubuntu server 6.10
Posts: 68

Original Poster
Rep: Reputation: 15
so i went to /mnt/sysimage/bin & changed the permissions on bash to 555 from 554, & then i managed to login to the root filesystem, & basically just browsed around... i don't recall changing anything, except the passwords, & now it boots ok... & everything seems to be working... i don't understand why...but anyway...

thanks for the help you guys,
andrew
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Where is Fedora login screen satimis Fedora 5 04-24-2005 04:58 AM
Cannot select Fedora 2 on Fedora 2 and Windows XP Dual Boot RThomson Fedora - Installation 6 11-05-2004 09:49 PM
Change Fedora Login Screen to KDE login screen ada601 Linux - Software 2 08-15-2004 06:07 PM
Fedora 2 stuck on login hesher Fedora 0 06-04-2004 09:28 AM
Login problem in Fedora vinknow Red Hat 2 03-07-2004 06:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration