http://groups.google.com/groups?selm=39dfa0e0.4940561%40news.inet.tele.dk
Newsgroups: comp.os.linux.setup Date: 2000-10-03 02:03:59 PST
>I want to boot DOS, Win98, and Linux, and I have a problem with the >partition table changes necessary to do this. The only partition types >defined in lilo according to some text file in the docs directory are >DOS_12, DOS_16_small, and DOS_16_big. So what do I do if I want to >hide/unhide a FAT32 partition? Ideally I would hide the Win98 partition >from DOS when DOS boots, and then unhide it when Win98 boots. > >In case it's not clear what I'm asking for, it should eventually look like >this: > >other=/dev/hda1 #this is DOS >the usual... >change > partition=/dev/hda1 > activate > set=DOS_16_big_normal > partition=/dev/dha2 #the Win98 partition > deactivate > set=xxxxx_hidden #here's the problem > #how do I >refer to the FAT32 system? > >Note that this is just from my head, not from lilo.conf so some syntax is >probably off, but I think it's good enough to show what I'm looking for.
From the Lilo readme file it seems as it is possible to define your own change rules. Look for "change-rules".
Primary FAT32 ending cylinder 1024 or later: 0x0C, hidden 0x1C
Other FAT32: 0x0B, hidden 0x1B
Svend Olaf