Dear friends:

Here is a lilo trick taught me by one of our premier gurus.

PROBLEM:

How do you configure lilo to handle a dual-boot Linux/Windows system,
where Windows is NOT on the first drive (hda) but on the second or third
(hdb or hdc). In my case, I have a system with Linux installed on hda
and hdb and Windows installed on hdc. How to configure it without
physically switching the Linux hda and the Windows hdc disks. In fact, I
recently tried to do this, and it failed.

SOLUTION:

Unbelievably simple, that is, if you are a Linux master like Jose M.
Sanchez:

Just open the lilo.conf file in a text editor and change 0 X 81, 81 X 0
to 0 X 82, 82 X 0.

Here is my lilo.conf file:


[sher@adsl-77-233-178 sher]$ cat /etc/lilo.conf
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
vga=normal
default=linux
keytable=/boot/us.klt
prompt
timeout=50
message=/boot/message
other=/dev/fd0
        label=floppy
        unsafe
other=/dev/hdc1
        label=Win98
        table=/dev/hdc
         map-drive = 0x80
            to = 0x82
         map-drive = 0x82
            to = 0x80
    image=/boot/vmlinuz
    label=linux
    root=/dev/hda7
    append=""
    read-only
 

Very ingenious, but it works -- EVERY TIME. It's a way of fooling Linux
into thinking that Windows is on hda instead of really being on hdc.

Hope this helps those of you who have this problem.

Yours,

Benjamin



-- 
Sher's Russian Web
http://www.websher.net
Benjamin and Anna Sher
[EMAIL PROTECTED]

Reply via email to