?
Solved

Booting RH7.1 in multiboot environment

Posted on 2001-07-14
7
Medium Priority
?
300 Views
Last Modified: 2013-12-06
Hello all!
Im trying to multiboot win98, win2000 and linux red hat.

I have 2 HDs, one is partitioned in two partitions, with win98 on c: and win2k on d:. On the empty HD I've insalled RH7.1 (no probs installing). I made one swap partition and one /-partition which I installed LILO on (so it doesn't overwrite the mbr).
I then used Bootpart to add linux to the win2k loader, no problems there either. I get the boot menu, both windows partitions boot correctly, however when choosing linux in the menu it says:

LI (yep just the first 2 letters)

and it halts completely.

It works fine booting linux with the bootdisk, and in /etc/lilo.conf, LILO points to hda1 which is where / is located. I've run /sbin/lilo again but the problem remains.
Any ideas?
Thnx in advance

/ Gweek


0
Comment
Question by:GWeeK
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 17

Expert Comment

by:psimation
ID: 6282017
Hmm, almost certainly the old 1024 cylinder problem sticking out it's ugly head again.
In order for LILo to boot your Linux , it needs to lie on a partition that is entirely within the first 1024 cylindrs (+/- 8GB).
I am almost certain that the 2nd disk you use for Linux is larger than 8GB and you made the / partition to fill the entire disk, right? If so, then you need to do the following a) either try to get hold of the latest version of Lilo and install it on your Linux partition (luckily you made a boot floppy ;))
or b) to re-partition your 2nd drive, and this time to make a small /boot partition (about 20MB will do) where you can install LILO to.
0
 

Author Comment

by:GWeeK
ID: 6282032
Yep it is a 20Gb disk.
However, rh7.1 warns you about the 1024-cylinder-problem when you try to fill the entire disk,
so it allocates just 8Gb:s anyway. Maybe that wont do it though?
I'll try it with a /boot partition as well when I get home.
I'll be back! =)


0
 

Author Comment

by:GWeeK
ID: 6283167
Strange...
Made a /boot partition of a few Mb which I installed LILO on(hda1), then swap and /. I told the win2k loader to point at the linux boot partition (with bootpart) but when I load LILO from there it still says:
"LI"
..and then halts.

BUT(!) when I told win2k loader to point at the /-partition(hda6) and loaded LILO it says:
"No harddisk found, press any key"
I press a key and then LILO appears in its full and I can boot RH without a problem!

How does that work? And why doesn't it work from the /boot partition? It's on the first partition of the disk and under 20Mb(so its clearly entirely within the first
1024 cylinders).
*still puzzled*

Need more hints psimation =)

thnx
/gweek
0
More Than Just A Video Library

Train for your certification. Learn the latest DevOps tools. Grow your skillset to do better work.

At Linux Academy, we release new training modules every week so you'll always be up to date on the latest tech.

 
LVL 17

Accepted Solution

by:
psimation earned 800 total points
ID: 6283594
Well, the fact that it's only 20MB doesn't mean it's within the first 1024 cylinders! If you made the /boot partition on your 1st hard drive and you already have windows taking up the first 8GB(1024 cylinders) then making the /boot won't help as it will be outside the 1024 cylinders on that disk.
I really think you should try and get hold of the latest LILo and see if can help you.
0
 
LVL 17

Expert Comment

by:psimation
ID: 6283598
PS, what you can also try (what I do myself), is to let LILO be the "master" boot loader. ie, load win98, then win2k, then Linux and tell LILO to install to the MBR. Then you just edit your /etc/lilo.conf file to include

other=/dev/hda1
label=windows

then type lilo to make changes stick. This will bring up ntloader where you can then select between win2k and win98...


0
 

Author Comment

by:GWeeK
ID: 6283666
I have the "windowsHD"(with 98+2000) as secondary master and the "linuxHD"(with RH) as primary master. The /boot partition is on the first partition of the linuxHD, so it is within the first 1024...however I will install the latest version of lilo as you say and try it.
If that doesn't make the trick I'll do as you do; making lilo the master boot loader.
Thnx again so far :)
'be back later.
0
 

Author Comment

by:GWeeK
ID: 6284856
Okey, it's solved finally. Latest version of LILO seem to have made the difference.
Thanx Psi! =)
0

Featured Post

Percona Live Europe 2017 | Sep 25 - 27, 2017

The Percona Live Open Source Database Conference Europe 2017 is the premier event for the diverse and active European open source database community, as well as businesses that develop and use open source database software.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
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.
Suggested Courses
Course of the Month13 days, 23 hours left to enroll

800 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