Solved

Booting RH7.1 in multiboot environment

Posted on 2001-07-14
7
293 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
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 
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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

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 …
Fine Tune your automatic Updates for Ubuntu / Debian
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

733 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