LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 03-25-2004, 05:14 PM   #1
Tiyogi
Member
 
Registered: Nov 2003
Location: Hyde Park, Ny
Distribution: Ubunta
Posts: 117

Rep: Reputation: 15
how do you use the rescue disk for Red Hat 8.0?


I made a mistake in my networks set up.
I set the modem to activate at start up.
Now I can not boot it just sits there waiting for ppp0 to become active.
I have a rescuce disk but I do not know how to use it.
Could some one enlight me on it use.

At the beginning it say to wait 10 seconds or type in "linux <parmas>
I tryed both thing but it still hanges.

How do I correct this problem?
I have also have a copy "damn small linux" can I use this to edit the file that is hanging up?
 
Old 03-25-2004, 05:16 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
if you insert the floppy disk it should boot your system no problem. however you really shouldn't need it at all. When the message appears on screen, press "I" to enter interactive mode, this will then let you not load that specific service. once in you can disable it just fine. you can also add a "1" to the lilo boot prompt and that will get you in on single user mode, where those services will not be attempted at all.
 
Old 03-25-2004, 09:31 PM   #3
Tiyogi
Member
 
Registered: Nov 2003
Location: Hyde Park, Ny
Distribution: Ubunta
Posts: 117

Original Poster
Rep: Reputation: 15
Thanks for the reply, only problem I am using GRUB as my loader.

On the main screen is my choice of
Linux
dos[list=1][*] 'e' to edit the command before booting[*]'a' to modify the kernel arguments before booting [*]'c' for a command line[/list=1]

Then another menu shows up with the following:
[list=a][*]root (hd1,0)[*]kernel /boot/vmlinuz-2.4.18-4 ro root=LABEL=/[*]initrd /boot/initrd -2.4.18-14.img[/list=a]
And the choice for this are[list=1][*]'b' boot[*]'e' edit the selected command in the boot sequence[*]'c' for command line[*]'d' to remove the selected line [/list=1]


Sorry but none of this makes and sense to me.

If it helps the line that is causing me problems is

Bringing up interface ppp0


This is the line that it hangs at. It just sits there waiting for something to happen. I was having problems getting with my browser, I keep getting "google or anything else can not be found." So I checked the "network device" and I saw that that "ppp0" was not active and I thought it should be active so I changed it to be active at boot up. Well I know now not to do that again.

So what do I do ? Can I get in and edit it so it does not try to become active?
 
Old 03-27-2004, 01:50 PM   #4
mlp68
Member
 
Registered: Jun 2002
Location: NY
Distribution: Gentoo,RH
Posts: 333

Rep: Reputation: 40
You can do it without the rescue CD. The idea is to get into run level 1.

pick "e" to edit the grub boot command

pick
kernel /boot/vmlinuz-2.4.18-4 ro root=LABEL=/

and (I believe it's "e" again?) there's some option to edit this one.

add " 1" at the end so it reads

kernel /boot/vmlinuz-2.4.18-4 ro root=LABEL=/ 1

that is the run level. run level 1 gets you straight to a (root) shell without starting any network services (and without hanging). Your chance to set it right.

For jobs that actually require a rescue CD (say, you overwrite your master boot record), the RH8 or 9 rescue mode gets the job done, but there are better ones around. I myself maintain

http://www.phenix.bnl.gov/~purschke/RescueCD/

and there are several references to other nice Rescue CD sets in there.

Good luck
mlp
 
Old 03-27-2004, 06:44 PM   #5
Tiyogi
Member
 
Registered: Nov 2003
Location: Hyde Park, Ny
Distribution: Ubunta
Posts: 117

Original Poster
Rep: Reputation: 15
Hi mlp68,

I did not put in a space the first time I tried and got a Kernel panci.
kernel /boot/vmlinuz-2.4.18-4 ro root=LABEL=/ 1

Ok it work I am sitting in shell

sh-2.05b#

The problem is I have no idea as to where and what file I need to edit.
Also I have never edited any thing in a shell before.

Sorry but I am new have not had much experience with shells and line comnnand work.

The last time I used a line command was DOS 4.0 or somewhere around there.

So now what?

1) where is the file located that I have to edited?
2) What do you use to edit it with?
3) How do you start and stop the program?

I have used gedit before would this be of any use here. However it has always been inside a GUI.

I would try finding out information on it in google but I do not even know what it is called. So I would appriecate your continued good help.
 
Old 03-27-2004, 08:08 PM   #6
mlp68
Member
 
Registered: Jun 2002
Location: NY
Distribution: Gentoo,RH
Posts: 333

Rep: Reputation: 40
Ok, so now it becomes fuzzy because what you need to do depends on how exactly you set your ppp0 to be active. Do a ls -l /etc/sysconfig/network-scripts and see if there is a file called
ifcfg-ppp0. (I don't use ppp except on demand, there could be other ways - can someone chime in? )

Look at that file if it exists. ("cat" more "more" is the command to view the file). See if there is a line that says "ONBOOT=YES" or so - the task will be then to change that to NO.

First see if that's how it's done.

mlp
 
Old 03-28-2004, 11:37 AM   #7
Tiyogi
Member
 
Registered: Nov 2003
Location: Hyde Park, Ny
Distribution: Ubunta
Posts: 117

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by mlp68
Ok, so now it becomes fuzzy because what you need to do depends on how exactly you set your ppp0 to be active. Do a ls -l /etc/sysconfig/network-scripts and see if there is a file called
ifcfg-ppp0. (I don't use ppp except on demand, there could be other ways - can someone chime in? )

Look at that file if it exists. ("cat" more "more" is the command to view the file). See if there is a line that says "ONBOOT=YES" or so - the task will be then to change that to NO.

First see if that's how it's done.

mlp
Hi mlp,

I am happy to say this post is being sent on the linux machine that was looked up.

I would like to thank you very much for you help in solving this problem.
I do not think I could have done it on my own.
So again thank you for help me out.

I did find the ifcfg-ppp0 file and was able to edit once I found out how to use the vi editor.

It is amazing what changing one 3 letter word can lead to such pain and hair pulling. And I can not afford to lose any more hair.

I hope I can return the favor some day to someone else who need the help like I needed .
Once again thanks.
 
  


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
How can I remove root logons using Linux Single and Linux Rescue from Red Hat startup LHRM Linux - Security 9 04-09-2004 07:07 PM
Red Hat 9 disk 2 htschu Red Hat 1 03-27-2004 11:30 AM
Red Hat 9 disk 2 HELP! 777JR Red Hat 12 01-04-2004 09:47 PM
How to rescue Mandrake like Red Hat Dr Thrall Mandriva 3 11-09-2003 12:31 PM
red hat 8.0 disk 3 chrismiceli Linux - General 1 10-02-2002 05:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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