[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Booting RH7.1 in multiboot environment

Posted on 2001-07-14
7
Medium Priority
?
305 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
Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

 
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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
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…
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

656 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