Skip to search.
xosl · General discussion list for Extended Operating System Loader (XOSL).

Group Information

? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Messages

  Messages Help
Advanced
HOWTO - booting from extended partitions   Message List  
Reply Message #2864 of 5184 |
There are some problems booting from extended partitions. Here are my
simple workarounds:

1. Booting Win95 OSR2 / Win98 / WinME
It is not possible to boot from extended partition above cylinder
1023. The reason is that code in the boot record (both for FAT16 and
FAT32) uses LBA addressing (INT 13 Extensions) only if the partition
type is 0C or 0E - but it checks PRIMARY partition table only.

Workaround:
Modify boot record code from 75 06 to B2 0E at specific location:
FAT16 Win95 OSR2: location 89h
FAT16 Win98Gold/SE/WinME: location 80h
FAT32 Win95 OSR2/Win98Gold/SE/WinME: location A8
(Windows 95 (first edition) has no support in boot record for INT 13
extensions)

This modification causes using INT 13 Extensions regardless on
partition type.

2. Booting of Windows 2000 / XP from extended partition
The following is valid for FAT32 partition, but maybe for FAT16 too.
sector 0-1 - 1st copy of boot record (loaded at 7C00h)
sector 4-5 - 2nd copy of boot record
sector 12 - second part of boot loader, loaded at 8000h

Black screen is caused by the fact, that 2000/XP boot record looks
for its second part using field "Hidden Sectors" - quadword at
position 1C in BPB. In primary partition everything works as
expected, but in extended partition, there is a difference. Win98 and
other OS fill this field with number of sectors from the beginning of
the hard disk, but Win 2000 / XP fill this field with number of
sectors from the beginning of current Extended partition (EMBR),
which is 63. So the boot loader is not able to find its second part
and dies quietly.

Workaround:
Manually fill the quad word at address 1Ch with number that is
identical with number of this boot sector. The easiest way is to
format the partition with Win98 FORMAT and it will fill this field
correctly. Then you can write the number down an correct it in case
of overwriting by Win 2000 / XP.

I verified this with WinXP only, but the loader is the same as in Win
2000.

I have to check this with NTFS file system.

After these small workarounds (that took much of my time) I'm able to
boot any OS from any partition using XOSL.

I hope this helps to anybody who needs booting from these areas.

Best Regards,

Petr Soucek

Petr Soucek
Ryston Electronics s.r.o.
Modranska 621/72
CZ-143 00 Praha 4, Czech Republic
tel +420-2-25272222 fax +420-2-25272211
Email: petr@... http://www.ryston.cz



Sat Sep 7, 2002 10:05 pm

petr@...
Send Email Send Email

Message #2864 of 5184 |
Expand Messages Author Sort by Date

There are some problems booting from extended partitions. Here are my simple workarounds: 1. Booting Win95 OSR2 / Win98 / WinME It is not possible to boot from...
Petr Soucek
petr@... Send Email
Sep 7, 2002
10:06 pm

Hi,Petr Soucek I thank you for your explanation and I will try it. Regards A. S. __________________________________________________________________________ ...
asigma
novoasigma Offline Send Email
Sep 8, 2002
2:13 pm

Hi I found formatting with win98 and then converting to NTFS with W2K works OK. I now have 2 NT NTFS and one W2K NTFS logical partitions on my 2nd drive ...
Norman Back
vcspb2 Offline Send Email
Sep 8, 2002
7:19 pm

... How do you modify the boot record code? ... How to do this (manually) workaround?...
Jojo BERAGO
jojo_berago@... Send Email
Sep 9, 2002
11:39 pm

... There are at least 2 possibilities a) directly by using disk editor (I use Norton's diskedit). There are probably many nice disk editors. For Windows it is...
Petr Soucek
petr@... Send Email
Sep 10, 2002
9:50 am
Advanced

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help