LILO fails to load DOS on /dev/hdb

LILO fails to load DOS on /dev/hdb

Post by Nickolay Kuzmi » Wed, 03 Mar 1999 04:00:00



You need to remap BIOS drive 81 (hdb) to 80 (hda)
since DOS can start from BIOS drive 80 only.
I can't remember proper options right now but it
shall be somewhere in HOWTOs or LILO man page.


> I've had DOS on /dev/hda for a log time; in fact, it was installed there.
> Now, however, I'd prefer Linux on /dev/hda, so I switched master/slave
> configs on the disks and updated /etc/lilo.conf and /etc/fstab to account
> for the disk switching. However, Lilo won't boot DOS now. I recieve the
> message:

> Non-system disk or disk error
> replace disk and press any key

> When I press a key, I get back the LILO: prompt. Here's the lilo.conf
> file:

> boot=/dev/hda
> map=/boot/map
> install=/boot/boot.b
> root=/dev/hda1
> message=/boot/message
> prompt
> timeout=50
> image=/boot/vmlinuz-2.2.2
>         label=Linux-2.2
>         alias=Linux
>         read-only
> image=/boot/vmlinuz-2.0.36
>         label=Linux-2.0
>         read-only
> other=/dev/hdb1
>         label=Win95
>         table=/dev/hdb
>         loader=/boot/chain.b

> Help?

--
The next day is never so good as the day before.
 Publis Syrus 42 BC, Maxim 815.
 
 
 

1. LILO: booting DOS from /dev/hdb -- SOLVED!

I posted a couple of days ago asking how to configure LILO to boot MSDOS (yuk)
from /dev/hdb1. I had a number of helpful (but ultimately misguided!) replies.
Thanks for your help everyone - it's nice to be a member of such a friendly
community! Anyhow, for those interested, here is the answer: use any_d.b
as a loader ...

/etc/lilo.conf:

         boot=/dev/hda
        install = /boot/boot.b
        compact

        image = /vmlinuz
        label = linux
        root = /dev/hda1
        vga = 1

        other = /dev/hdb1
        loader = any_d.b  <<<< NB:
        label = msdos
        table = /dev/hdb

I got the LILO docs from Sunsite, any_d.b is documented, kind of. It says it
exists and hints that it 'swaps the drives 0 and 1 around, whatever that
means) Anyhow, I thought it worth a try so I did!

This should (IMO) be better documented ...

Thanks everyone.

--
-----------------------------------------------------------------------------
R.J.Manners       Diagnostics & BIOS Development Engineer (!)
                  ICL Intel(tm) SuperServers
-----------------------------------------------------------------------------

2. Help installing kdelibs

3. Can I put DOS as /dev/hdb with LILO ?

4. not able to ompile apache source code

5. LILO that does linux at /dev/hda and BEos at /dev/hdb

6. Localizable apps?

7. Loading Linux on /dev/hdb help!

8. cannot telnet to my redhat 7

9. MBR on HDB? LILO booting from HDB?

10. BIOS-->hdb-->LILO-->{linux(hdb);windows(hda)}

11. LILO, DOS on /dev/hda1, LINUX /dev/hdb1

12. boot /dev/hdb from dos?

13. LILO Boot of /dev/hdb