LinuxQuestions.org
Review your favorite Linux distribution.
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 11-25-2003, 07:41 PM   #1
tricky_linux
Member
 
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674

Rep: Reputation: 30
Boot Red Hat Linux 9.0


I was previously using Red Hat Linux 9.0 on my old gateway computer.
But i had accidently did "format /mbr" in dos which gets ride of grub. Meanwhile, i haven't creat any backup file since my installation. So i want to know if there is anyway i could get it working again. Or does anyone have suggest about reinstall my Red Hat Linux 9.0 from hard drive or network? I have a Belkin's PCMCIA F5D5020 ethenet card. But i don't have cable connection and it's connected to my desktop.

%%%Note, my cdrom wasn't working. So, there is no way about install from cdrom. i installed my box before it brokes.
 
Old 11-25-2003, 07:48 PM   #2
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
Get ( d/l ) a Linux boot floppy, boot it, mount your current Red Hat installation to /mnt/hd, then use 'chroot /mnt/hd', logout & login again, and it's like your at the command line of the Red Hat you have installed. Use the bootloader tool RH provides, or run 'grub-install /dev/hda'.
 
Old 11-25-2003, 07:53 PM   #3
tricky_linux
Member
 
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674

Original Poster
Rep: Reputation: 30
but it doesn't boot into the system instead it restarts!!

Last edited by tricky_linux; 11-25-2003 at 08:04 PM.
 
Old 11-25-2003, 10:41 PM   #4
jayakrishnan
Member
 
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992

Rep: Reputation: 30
boot thru the installation disk

go to rescue mode by typing

linux resuce

and then following the instructions
 
Old 11-26-2003, 09:57 AM   #5
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
His cdrom doesn't work. Unless he can download the floppy image for installation/rescue, he can't use 'rescue mode'.
tricky_linux,
What do you mean, 'instead it restarts', is this when you try to boot with floppy? Try this floppy:
http://ncart.scs.ryerson.ca/pub/slac...otdisks/bare.i
Use this to write it in Windows if needed.
http://ncart.scs.ryerson.ca/pub/slac.../RAWRITEXP.EXE
It is just a kernel. Tell it where your RH partition is with 'root=/dev/[disk]', and toss in the 'single' option to boot at a command line. Then use '/sbin/grub-install /dev/hda''
 
Old 11-26-2003, 12:20 PM   #6
stinehart
LQ Newbie
 
Registered: Nov 2003
Location: tulsa
Distribution: XP Pro and Mandrake Linux 9.2
Posts: 14

Rep: Reputation: 0
Ill miss red hat
 
Old 11-26-2003, 08:30 PM   #7
tricky_linux
Member
 
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674

Original Poster
Rep: Reputation: 30
to aaa~
but does it work with redhatlinux ? wasn't for slackware?
 
Old 11-26-2003, 08:33 PM   #8
tricky_linux
Member
 
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674

Original Poster
Rep: Reputation: 30
and how come both of the links was temparily unavailable?
 
Old 11-27-2003, 08:21 AM   #9
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
It is just a Linux kernel on a floppy, no Slackware specific stuff in it.
Try these links, I forgot to check the first two:
ftp://distro.ibiblio.org/pub/Linux/d...otdisks/bare.i
ftp://distro.ibiblio.org/pub/Linux/d.../RAWRITEXP.EXE
 
Old 11-27-2003, 08:11 PM   #10
tricky_linux
Member
 
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674

Original Poster
Rep: Reputation: 30
Corruption!! Hailllllllll

I did what you said and it did workout. But during i was booting my linux kernel. there is an error Modprobe : Can't open dependencies file /lib/modules/2.4.20/modules.dep.
Right here, i don't even think it's possible. I am running redhat linux 8.0 which was running kernel 2.4.18 and the only two thing that's under /lib/modules was /2.4.18 and /2.4.18-custom.
anyway, i want to know how can i recovery the file that's corrupted or how can i found out which file was corrupted?
 
Old 11-28-2003, 01:46 PM   #11
tricky_linux
Member
 
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674

Original Poster
Rep: Reputation: 30
to aaa~~
after i had done what you said. But instead of booting my corrupted file system. I just hit enter. then it asked me for "VFS: Insert root floppy and press ENTER"
Where can i download it?
 
Old 11-29-2003, 08:44 PM   #12
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
So what exactly did you do? You booted with the floppy &...? When you boot from the floppy's kernel (which is 2.4.20) it may complain about not finding it's modules. But when you boot from your original RH kernel after fixing grub it shouldn't complain.
Here's the root disk:
ftp://distro.ibiblio.org/pub/Linux/d...sks/rescue.dsk
It'll boot a rescue system. Take a look at my first post for what to do.
Take a look at this too:
http://www.europe.redhat.com/documen...O/premade.php3
 
  


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
To load/boot Red Hat Enterprise Linux 4 WS from Microsoft's Boot Loader (NTLDR) dhawal Linux - Newbie 15 10-21-2005 10:29 AM
To load/boot Red Hat Enterprise Linux 4 WS from Microsoft's Boot Loader (NTLDR) dhawal Red Hat 1 09-25-2005 07:08 AM
To load/boot Red Hat Enterprise Linux 4 WS from Microsoft's Boot Loader (NTLDR) dhawal Linux - General 1 09-25-2005 07:07 AM
problem with Installing red hat linux dual boot(/boot < for 1024 cylinders ) praveenb Linux - Newbie 2 02-13-2004 08:49 PM
still can't boot to red hat linux 7.0 bobbinbrisco Linux - Software 2 07-19-2001 01:20 AM

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

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