LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-11-2003, 04:05 AM   #1
barrowaj
LQ Newbie
 
Registered: Jan 2003
Location: Austin, TX
Distribution: Redhat 8.0
Posts: 5

Rep: Reputation: 0
System hang on boot (rc.sysinit)


Hey guys. I'm pretty much stumped on this one.

I decided to comment out Redhat's code for setting the system font out of rc.sysinit because it takes away my penguin on my high-res console. However, I inadvertantly hosed rc.sysinit, and now my system hangs on "starting syslog."

So I tried to get around this by passing params to my kernel such as: "emergency" "single" and "rescue" but to no avail. I can get a single user prompt, but the / filesystem is mounted in readonly mode (automatically on boot), and therefore I can't change back rc.sysinit. Unfortunately, I can't unmount /. When I type umount / nothing happens... so I can't manage to get the filesystem to come back in a writeable mode. I even have a bootdisk, but it tries to use the rc files from the h/d so the situation does not change.

Anyway, I would appreciate help on this issue... basically I need to get my filesystem back in read/write mode so I can fix the stuff.

Thanks folks,
Andrew

Last edited by barrowaj; 01-11-2003 at 11:02 AM.
 
Old 01-11-2003, 09:21 AM   #2
deadbug
Member
 
Registered: Oct 2002
Location: San Antonio, Texas
Distribution: MDK 8.0, 9.0; RH 7.2, 8.0, 9.0, FC3, FC4, FC5
Posts: 355

Rep: Reputation: 30
You might get lucky and someone has a miracle cure for you. From what I see, if you weren't a big believer in backups, you probably will become a fanatic for them.

Boot the Red Hat CD and see if you can use it's rescue capability to start your system.

If not, try a Custom reinstall with no partitioning or extra software install.

Good luck
 
Old 01-11-2003, 11:00 AM   #3
barrowaj
LQ Newbie
 
Registered: Jan 2003
Location: Austin, TX
Distribution: Redhat 8.0
Posts: 5

Original Poster
Rep: Reputation: 0
Hmm... well I beleive that there has to be a way to get a read/write mount (at least with a bootdisk) without loading my drive's rc.sysinit. Otherwise it would be impossible debug the init files unless they were on another drive...

Unfortunately I don't have the Redhat CD as I did a 'net install on my machine. Thanks for the suggestion though

Last edited by barrowaj; 01-11-2003 at 11:03 AM.
 
Old 01-11-2003, 11:10 AM   #4
qanopus
Senior Member
 
Registered: Jul 2002
Location: New York
Distribution: Slackware
Posts: 1,358

Rep: Reputation: 45
Why don't you use a mini linux distro? Get one of them linux distro's that fit on a floppy and boot from that. Or if you have a knoppix cd lying around some where, use that.
 
Old 01-11-2003, 05:01 PM   #5
Malicious
Member
 
Registered: Jan 2002
Location: Galveston Island
Distribution: suse, redhat
Posts: 208

Rep: Reputation: 30
Use:

mount -oremount,rw /

This will umount/mount the named filesystem with the new options.
 
Old 01-11-2003, 05:34 PM   #6
barrowaj
LQ Newbie
 
Registered: Jan 2003
Location: Austin, TX
Distribution: Redhat 8.0
Posts: 5

Original Poster
Rep: Reputation: 0
Malicious, thanks for the tip!

I was unawaure of how to to that. I was reading the man files for mount and umount, but it seems I could not unmount the file system because it was my root filesystem. But if mount has an option for remounting, thats great.

Anyway, I fixed this problem using a Mandrake 8.1 disk I had laying around. If anyone wants to know I hated Mandrake, its like all the stuff most people complain about Redhat except worse!
 
  


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
iptables causing system to hang @ boot blackdragonblood Linux - General 2 06-23-2005 04:57 PM
FC3 boot hang: Read-only file system error? batard Fedora 2 04-05-2005 06:28 AM
System hang on boot jmrich Mandriva 7 06-18-2004 06:53 AM
System hang during boot ( Fedora Core 1) omid1979 Linux - General 2 05-14-2004 03:32 AM
File-system check on boot fails-- ALSA hang vivalinux Mandriva 6 11-25-2003 08:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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