LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-14-2002, 11:54 PM   #1
StarMoose
LQ Newbie
 
Registered: Jan 2002
Distribution: RH 7.2
Posts: 9

Rep: Reputation: 0
Exclamation Big Boot Problem


Here is the whole story:

My computer came with WinME installed. I installed red Hat 7.2 (my first linux distro) on the last few gigs of my HD. I used grub to multiboot. There were some things I did not like about it, so I started considering trying other distros. Then one day I defragged my Win partition. The next time I booted, grub did not work. Its been a while, so I do not remember entirely, but I think it threw up a command prompt that did nothing.

So I installed Mandrake 8.1, expecting LILO to overwrite grub. No such luck: no more command prompt, just the word GRUB printed in the top left corner of an otherwise blank screen. Mandrake still worked with a boot disk though. Then I got a boot disk for windows and did "fdisk /mbr". Now when I try to boot I just the message no operating system present.

Anybody got any suggestions?

Also, before I was accessing the internet via network. Now I nead to do it via cable modem (still going through my NIC card) but it does not work. It just hangs when I reach the initializing eth0 line of startup (or whatever). I know I can bypass this, but I nead the internet with Linux.
 
Old 05-14-2002, 11:56 PM   #2
ph33r
LQ Newbie
 
Registered: Mar 2002
Posts: 20

Rep: Reputation: 0
Install lilo in the MBR and you should be fine..

As for the Internet, its 'ok. Takes me a long time too =)
You can just press ctrl+c and then (as root) do pump, to save time.
 
Old 05-15-2002, 02:00 AM   #3
StarMoose
LQ Newbie
 
Registered: Jan 2002
Distribution: RH 7.2
Posts: 9

Original Poster
Rep: Reputation: 0
I tried installing Lilo using the rpm with the line rpm -ivh lilo...rpm, and that did not fix it. Is there something else I need to do?
 
Old 05-15-2002, 02:28 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
I recently (like yesterday) did my first kernel upgrade. I followed all the instructions and did a good job. All the way up until I tried to to boot into it. It wouldn't boot. So I read the instructions again and it said /sbin/lilo So I did that and it did something in lilo. But now I can boot into my new kernel. So maybe that's what you need to do. run /sbin/lilo in a Console.
 
Old 05-15-2002, 07:32 AM   #5
Config
Member
 
Registered: Jan 2001
Location: Switzerland
Distribution: Gentoo
Posts: 376

Rep: Reputation: 30
Yes, you also need to set up your /etc/lilo.conf file in Mandrake, or whatever you want. Then you need to run lilo (as root). Then, the boot loader should install itself into mbr.
You did fdisk /mbr. This erazed all the contents from the bootsector from the HD and that's why it can't find an operating system. Once you have lilo or grub installed, it should work fine.
 
Old 05-15-2002, 11:38 AM   #6
jglen490
Member
 
Registered: Apr 2002
Location: The next brick house on the right.
Distribution: Kubuntu 18.04, Bodhi 5.0
Posts: 691

Rep: Reputation: 45
Quote:
I tried installing Lilo using the rpm with the line rpm -ivh lilo...rpm, and that did not fix it. Is there something else I need to do?
What you did was to install the Lilo software, which is the first step. Then you must actually RUN Lilo to set the correct instructions onto the MBR. Just follow Config's instructions, and Lilo should be in charge of your boot in no time .
 
Old 05-15-2002, 12:07 PM   #7
StarMoose
LQ Newbie
 
Registered: Jan 2002
Distribution: RH 7.2
Posts: 9

Original Poster
Rep: Reputation: 0
I did that, but it still says the OS is missing.

BTW, the eth0 thing did finish when I gave it enough time, but it took about 3 minutes, which means that by itself it would just about double my boot time if I was not using a boot disk. Is there any way to speed it up? Will it be faster when I am not using a boot disk?
 
Old 05-15-2002, 12:26 PM   #8
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
give us the contents of how your drive is laid out, we might be able to help with the lilo.conf file.
cat /etc/fstab

And the no operating system found problem. Is windows still loaded? Have you tried looking at your windows partition info using a windows boot disk and running fdisk just to view the info?
 
Old 05-17-2002, 05:59 PM   #9
StarMoose
LQ Newbie
 
Registered: Jan 2002
Distribution: RH 7.2
Posts: 9

Original Poster
Rep: Reputation: 0
Its my Fat partition, then boot, then swap, then / partitions. Windows is definitely still there. I am really confused because for some reason Lilo is not writing to my MBR, which means it should not matter what is going on with the rest of the disk.
 
Old 05-17-2002, 09:36 PM   #10
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
Post a copy of your /etc/lilo.conf file and the output of this command
fdisk -l /dev/hda
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Big Problem. KDE Freezes on boot. bignosedwonder Linux - Newbie 1 06-20-2004 07:27 AM
New kernel... Can't boot... Big Problem redhatman Linux - Newbie 8 02-07-2004 05:08 PM
Very Big Problem With Dual Boot Fathonkey Linux - General 11 05-24-2003 11:39 AM
Bit of a BIG boot problem robtheJobNorflk Slackware 5 05-19-2003 04:15 PM
Big Init boot problem Scotty2435 Linux - General 2 06-05-2002 12:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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