Solved

Booting RH7.1 in multiboot environment

Posted on 2001-07-14
7
277 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
  • 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 17

Accepted Solution

by:
psimation earned 200 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Adding more CPU cores to a Linux VM 5 99
Linux VM 6 90
Backup Raspberri Pi over the netowrk to a Windows Share 5 42
Web resource - Man pages for SUSE Enterprise Linux 11 1 26
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
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…
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.

809 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