Solved

Cant boot up after install!

Posted on 1998-01-10
12
218 Views
Last Modified: 2013-12-15
Ack!! It's my first time installing Linux. I got the Red Hat 5.0 CD's. Had to figure out what the hell a mount point was. It copies all the files over successfully. Then it gets to the LILO installation. I try to put it in the MBR but I get an error. So I dont install LILO the next time. Whether or not I try to install it, I reboot after it says "Congradulations, Red Hat Linux has been successfully installed." Then it reboots and says PRESS A KEY TO REBOOT. AHHHH!!!! What's going on here?!?!?! I put back Winblows 95 but I really want to get what I paid for here, so Linux has got to get on here! Also, is it possible to boot from the slave drive say if I use a boot disk or something? Cuz I would like to put linux on my hdb if possible and boot 95 on my hda. Maybe I'd need LILO. But first I need to install this damn operating system. Thanx...
0
Comment
Question by:KLined
  • 5
  • 3
  • 2
  • +1
12 Comments
 
LVL 2

Expert Comment

by:mlev
ID: 1631226
Could you post the error you get from LILO?
As for putting Linux on hdb, it's definitely possible,
I have a friend who did so (booting with LILO from the MBR on hda).
0
 
LVL 32

Expert Comment

by:jhance
ID: 1631227
You do want to use LILO in this setup.  It will boot both linux and Win95 for you.  Did you disable your BIOS level virus protection?  If not, then LILO could not install the boot loader.
0
 

Author Comment

by:KLined
ID: 1631228
Jhance and all, the answer was good, but didn't fix the problem. I do indeed have virus checking turned off in the BIOS. If you have any other ideas, please let me know... thanx.
0
 

Author Comment

by:KLined
ID: 1631229
OK.... so I installed it on hdb "successfully" but LILO just wont install. It says an error occurred on the step Installing boot loader. So I'm still sitting here with no Linux.
0
 

Author Comment

by:KLined
ID: 1631230
Adjusted points to 150
0
 
LVL 32

Expert Comment

by:jhance
ID: 1631231
Can you provide any details on what error LILO (or it's installation program) is reporting.  Without more information it's just shooting in the dark.
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 2

Expert Comment

by:mlev
ID: 1631232
If you cannot see the error because you run lilo from the setup, try this:
1. Boot from a floppy (you got one for installation, right?) and choose rescue mode.
2. Mount your root filesystem. If you installed Linux on hdb, first partition, do
      mknod /dev/hdb b 3 64
      mknod /dev/hdb1 b 3 65
      mount -t ext2 /dev/hdb1 /mnt
      (If second partition, then /dev/hdb2 b 3 66 etc.)
3. Make sure lilo.conf is ok:
      cat /mnt/etc/lilo.conf
4. If it does seem fine, run lilo manually:
      /mnt/sbin/lilo -r /mnt
      And tell us what error messages you get,
      together with the contents of your lilo.conf.
0
 

Author Comment

by:KLined
ID: 1631233
OK... I did what mlev said.Here's the contents of my lilo.conf:

boot=/dev/hda
map=/boot/map
prompt
timeout=50
image=/boot/vmlinuz 2.0.31
label=linux
root=/dev/hdb1
read only

other=/dev/hda1
label=windows 95
table=/dev/hda

So I ran /mnt/sbin/lilo -r /mnt and got:

Added linux *
Added Windows 95
Syntax error near line 12 in file /etc/lilo.conf

Hope you can shed some light...
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 150 total points
ID: 1631234
is your kernel realy named (with a blank):
  /boot/vmlinuz 2.0.31
you should write in lilo.conf:
  image="/boot/vmlinuz 2.0.31"
0
 
LVL 2

Expert Comment

by:mlev
ID: 1631235
It seems like LILO doesn't like your space-containing label "windows 95", too.
0
 

Author Comment

by:KLined
ID: 1631236
Oh my god!!! The whole problem ws the space between windows and 95... works fine now. Perhaps red hat should put something in the installation manual about that.
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1631237
did you write lilo.conf yourself, or was it generated by the RH-installation procedure?
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now