LinuxQuestions.org
Review your favorite Linux distribution.
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 08-19-2002, 05:36 AM   #1
chandra
LQ Newbie
 
Registered: Mar 2002
Location: Bangalore
Distribution: Linux
Posts: 11

Rep: Reputation: 0
Linux7.1 stops Booting after Setting Hostname


Hi,

I have RedHat Linux7.1 Installed. It was working fine. I have switched off the system by mistake, now it is not booting only. It stops Booting after " Setting hostname..............OK".
It wont boot at all please tell me where is the problem. Before it was connected to Net. now not.
It is verry critical system I need data on that.

thanx,

Chandru
 
Old 08-19-2002, 04:34 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
Try to run it with
linux single
(from LILO, or failsafe; should be the same result). It won't run all start scripts (among them setting the hostname) and you'll have a chance to get into your system. Now you can change the hostname.
The only thing is that I think it's not a hostname problem. But try it. If it still doesn't work, write.
 
Old 08-19-2002, 11:55 PM   #3
jetblackz
Member
 
Registered: Mar 2002
Location: Debian Galaxy
Distribution: Debian
Posts: 711

Rep: Reputation: 30
Mara is correct. That thing is whatever was trying to run AFTER hostname failed. You can see a list by typing "dmesg". Did you rearrange or add a USB device?
 
Old 08-21-2002, 01:47 AM   #4
chandra
LQ Newbie
 
Registered: Mar 2002
Location: Bangalore
Distribution: Linux
Posts: 11

Original Poster
Rep: Reputation: 0
I have try to boot single user mode, Still it is not booting it stops after Setting hostname.......OK, It won't load USB filesystem, I have just removed 64 MB RAM, before it was 256MB, and also I had tried by putting RAM back, But no use, I have not made any changes to USB part.

Thanx,

Chandru
 
Old 08-21-2002, 07:05 AM   #5
Lazarus
Member
 
Registered: Dec 2001
Location: Kent in UK
Distribution: Fedora 2
Posts: 170

Rep: Reputation: 30
If you switched of your pc without shutting down you may have damaged your filesystem. I do not know what fs you are using I will guess ext2. If you can boot from a recovery disk then
assuming your system is on /dev/hda1 try:-
e2fsck /dev/hda1
This with luck may fix things for you.
Journaling fs such as ext3 and reiserfs do not have this problem
good luck!
 
Old 08-22-2002, 01:12 AM   #6
chandra
LQ Newbie
 
Registered: Mar 2002
Location: Bangalore
Distribution: Linux
Posts: 11

Original Poster
Rep: Reputation: 0
Thanx,
I am using ext2 file system, I have try to boot from cd and entering in to rescue mode, I have done fsck ext2 to all the partition, there is no damage, they all fine..............

I don't understand where this went wrong....
 
Old 08-22-2002, 11:46 AM   #7
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
have you tried booting "failsafe"?
 
Old 08-22-2002, 11:55 AM   #8
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
have you tried booting "failsafe"?
 
Old 08-23-2002, 02:11 AM   #9
chandra
LQ Newbie
 
Registered: Mar 2002
Location: Bangalore
Distribution: Linux
Posts: 11

Original Poster
Rep: Reputation: 0
Please, Let me know how to do it."failsafe"
 
Old 08-23-2002, 05:33 PM   #10
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
When you boot your system you have a boot menu (or boot prompt). Usually you choose 'linux' to boot your Linux. To boot failsafe choose (or type) 'failsafe'.
 
  


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
debain stops when booting up roma Linux - Laptop and Netbook 1 03-03-2005 11:58 PM
New SATA stops me booting. petermcp Linux - Software 0 11-02-2004 11:18 AM
Slackware stops booting... Linux~Powered Linux - Games 2 01-27-2004 06:05 AM
Dual booting RH linux7.3 , xp dark_light Linux - General 1 09-20-2002 06:33 PM
RedHat 7.2 stops booting alexdiablo Linux - General 4 03-19-2002 12:42 PM


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