LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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-09-2003, 05:40 AM   #1
wrathyimp
LQ Newbie
 
Registered: May 2003
Posts: 15

Rep: Reputation: 0
Cannot Boot in Redhat 9


Hi all,

After a hell of time i over came the installation of redhat 9 on my old Gateway PC.

I installed redhat (happily), on setup, when configuring firewall setting, i remembered that i forgot to add a NIC to the PC.
I configured all my setting except for netwoking, after adding the
NIC, i started my PC, it stucks at teh Boot, after doing run BOIS, it stop at a letter L with a cusor blinking.

I tried to boot with a boot disk, teh boot disk boot all right, it even finds the NIC, but from the hard disk, it fails.

Do i have to reinstall RH 9 again...

Help....
 
Old 07-09-2003, 05:53 AM   #2
BlackT
LQ Newbie
 
Registered: Jul 2003
Distribution: Mandriva LE 2005
Posts: 18

Rep: Reputation: 0
If you use LILO as boot loader, try this:
boot from your boot disk, then in a shell execute "lilo" command...remove the boot disk and reboot your pc.

HTH
 
Old 07-09-2003, 05:59 AM   #3
qanopus
Senior Member
 
Registered: Jul 2002
Location: New York
Distribution: Slackware
Posts: 1,358

Rep: Reputation: 45
So let me get this straight. When you boot the computer, instead of lilo comming up you just see an "L". Is that right? IF (and only if) that's true, try running "/sbin/lilo -b /dev/hda -v" as root.
I thought redhat uses grub. That's why i'm not sure if it will work.
 
Old 07-09-2003, 06:16 AM   #4
wrathyimp
LQ Newbie
 
Registered: May 2003
Posts: 15

Original Poster
Rep: Reputation: 0
thats right, schatoor;
but i cant get into redhat at all, the let tryBlackT's trcik.
 
Old 07-09-2003, 06:30 AM   #5
BlackT
LQ Newbie
 
Registered: Jul 2003
Distribution: Mandriva LE 2005
Posts: 18

Rep: Reputation: 0
Another way you can get into RH, is using the installation CDs
Boot from CD1 and choose "linux rescue"
When you'll get the command line, chroot to the folder specified there and run "lilo"...this worked for me!
 
Old 07-09-2003, 06:33 AM   #6
wrathyimp
LQ Newbie
 
Registered: May 2003
Posts: 15

Original Poster
Rep: Reputation: 0
BlackT, i try ur tip;
but got error,

Wraninh: /dev/hdb1 is not on the frist disk
Added Linux *
Unexpected dirty buffer encountered at do_get_write_access:616 (03:41 blochnr 0)

i dont know wat does this mean, during installation, redhat could not auto pratition the HD, so i used Druid to create new partition.
i created the whole HD to single pratition and installed RH over it.

now i dont know where am i?

can u help me out.
 
Old 07-09-2003, 06:47 AM   #7
wrathyimp
LQ Newbie
 
Registered: May 2003
Posts: 15

Original Poster
Rep: Reputation: 0
hi BlackT,

i tried CD1 to rescue, now it is in test mode
it has done chroot /mnt/sysimage

know wat shall i do?
 
Old 07-09-2003, 06:49 AM   #8
BlackT
LQ Newbie
 
Registered: Jul 2003
Distribution: Mandriva LE 2005
Posts: 18

Rep: Reputation: 0
Now you should execute "lilo" command, but I doubt will work!
Suggestion: re-install RH, re-partitioning yuor HDD
 
Old 07-09-2003, 06:52 AM   #9
wrathyimp
LQ Newbie
 
Registered: May 2003
Posts: 15

Original Poster
Rep: Reputation: 0
sorry blackT,

i am at the sh-2.05b# prompt, i tried lilo command, but it gives the following
/etc/lilo.conf: no sucj file or directory

shall i reboot teh machine or do i have to give some commands to exit this prompt(test mode)

thanx
 
Old 07-09-2003, 06:54 AM   #10
wrathyimp
LQ Newbie
 
Registered: May 2003
Posts: 15

Original Poster
Rep: Reputation: 0
the rescue command helped me configure the NIC, and i setted an IP for this NIC.
 
Old 07-09-2003, 07:00 AM   #11
BlackT
LQ Newbie
 
Registered: Jul 2003
Distribution: Mandriva LE 2005
Posts: 18

Rep: Reputation: 0
Well...I'm linux newbie, and I suggested you those stuffs only because I had the same problem and I did solve it...but I think you have a wrong lilo configuration...and this is overwhelming me
Sorry...I think someone more experienced will help ya
 
Old 07-09-2003, 07:02 AM   #12
wrathyimp
LQ Newbie
 
Registered: May 2003
Posts: 15

Original Poster
Rep: Reputation: 0
Thanx any way,
I apperisiate you time that u devoted to me.
thanx very much,
i try to restart teh pc, if it work its gr8, or else have to again reinstall for the 6 th time.

thanx again
 
Old 07-09-2003, 07:30 AM   #13
BlackT
LQ Newbie
 
Registered: Jul 2003
Distribution: Mandriva LE 2005
Posts: 18

Rep: Reputation: 0
No problem...I'd suggest you, if you'll reinstall RH, to make another HDD partitioning:

/boot => 100 Mb
swap => ~600 Mb
/ => 6 Gb (you won't have problems with the system)
/home
/tmp
/var

You can make this using Druid in the RH installation process.

Good luck!
 
Old 07-09-2003, 07:38 AM   #14
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Hi!



Ok, first off, I cannot think of a single reason that strapping in a NIC would cause errors with LILO. The only thing that came to mind, did you move your drives around while having the case open? If so, that would definitely cause errors.

Second, if you do choose to re-install, I suggest not making any more than 2 seperate partitions. As a newbie you won't be able to tell how much of what you will be using and where. If you dedicate most of your empty space to a single partition (leaving a small amount for swap as shown above) and just have that be the / of your system, then you won't have to worry about running out of space on any partition.

It's probably the best setup/idea until you get a feel for your needs/system and can really know what you need space in different areas for.

HTH

Cool
 
Old 07-09-2003, 08:37 AM   #15
captainstorm
Member
 
Registered: Jun 2003
Location: Oricola, Italy
Distribution: RH 9, so far
Posts: 261

Rep: Reputation: 31
Ha MaterC you'll get your 8000th message today!
 
  


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
problem, dual boot, xp/redhat, cdtray kept ejecting, del redhat part. wont boot a OS mraym84 Linux - General 2 08-22-2004 01:46 PM
XP Pro will not boot dual boot Redhat 9 one hard drive mamoose Linux - Newbie 10 03-29-2004 08:28 PM
Dual boot for Redhat 9 and Solaris 9 boot manager problems steve_2010 Red Hat 1 01-30-2004 09:14 PM
Redhat 9 & winxp dual boot -xp won't boot opivy Red Hat 3 01-02-2004 01:08 PM
Error after boot with REDHAT LINUX boot disk...HELP PLEASE! Creightin Linux - General 0 03-12-2001 07:38 PM

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

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