Solved

Booting RH7.1 in multiboot environment

Posted on 2001-07-14
7
255 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 17

Accepted Solution

by:
psimation earned 200 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Okey, it's solved finally. Latest version of LILO seem to have made the difference.
Thanx Psi! =)
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

744 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

11 Experts available now in Live!

Get 1:1 Help Now