?
Solved

lilo - 2 hard drives

Posted on 2000-02-18
4
Medium Priority
?
226 Views
Last Modified: 2013-12-15
I've just added an additional hard drive on my desktop. The primary drive is RedHat 6.1 and the secondary drive is Win 95... I have tried to edit the lilo.conf file so that I can boot from the secondary drive...can someone give me an example of a lilo file which will work??
0
Comment
Question by:layres
[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
  • 2
4 Comments
 

Expert Comment

by:tecwily
ID: 2537334
I have not an answer for you, but i had the example (works on my computer) of lilo.conf:

boot = /dev/hdc5
timeout = 50
prompt
  vga = normal
  read-only
map=/boot/map
install=/boot/boot.b
image = /boot/vmlinuz-2.2.13-4mdk
  label = linux
  root = /dev/hdc5
other = /dev/hda1
  label = dos
  table=/dev/hda
other = /dev/hdc1
  label = os2

win95 is in my primary disk
os2 is in the first partition on the secondary disk
and linux is in the other partitions on the secondary disk (linux Mandrake 6.0)
0
 
LVL 1

Expert Comment

by:hansendc
ID: 2539454
Windows 9x/DOS must be booted from the first disk.  This is usually the master on the first IDE channel.  If you have it on the second drive, you need to do a map drive in LILO.  You should probably look at the manpage, but I think the syntax is like this:

image=/dev/hdb1
    label=windows
    map-drive=0x81 to=0x80
    map-drive=0x80 to=0x81

This will fool Windows into thinking that it is on the first drive.  In this case, it boots Windows off of the first partition on the second IDE hard disk.

Please give us some more information about exactly how your drives are configured.
0
 

Expert Comment

by:tecwily
ID: 2544342
As comment hansendc, windows must be load in the first drive, when i formatted mi second hard drive (with /s) this not load the system, but when i create the partitions and format the hard drive with the software included on my hard drive, this can be load.

Then if you create partitions or format your hard drive with windows maybe not work, but you can try this possible solution.

(sorry, but i not speak (and write) english)
0
 
LVL 1

Accepted Solution

by:
kartebi earned 60 total points
ID: 2546815
I have the system that you want to make.
First hard drive(hda)=Linux
CD (hdb)
Second hard drive(hdc)=Windows
This is my lilo configuration:
boot=/dev/hda
vga=normal
read-only
prompt
timeout=10

other = /dev/hdc1
   label = Windows
   map-drive = 0x80
   to = 0x81
   map-drive = 0x81
   to = 0x80
   table = /dev/hdc

image = /boot/vmlinuz
   root = /dev/hda6
   label = Linux
This should work with you also.
Try not changing the configuration about linux just add the lines:
other = /dev/hdc1
   label = Windows
   map-drive = 0x80
   to = 0x81
   map-drive = 0x81
   to = 0x80
   table = /dev/hdc
If your second hard drive is hdb just make the appropriate changes.

0

Featured Post

How to Create Failover DNS Record Sets in Route 53

Route 53 has the ability to easily configure DNS record sets specifically for failover scenarios. These failover record sets can be configured to failover to full-blown deployments in other regions or to a static HTML page that informs your customers of the issue.

Question has a verified solution.

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

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month8 days, 18 hours left to enroll

764 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