Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

failed with hybrid MBR under Windows (Users)

posted by RayeR Homepage, CZ, 11.05.2026, 07:47
(edited by RayeR on 11.05.2026, 13:40)

Oh sh... even worse with Win7 and hybrid MBR. I found that Windows is actively corrupting the GPT at LBA 2 (offset 400h) whenever I run command "attributes volume clear hidden" in diskpart - this is necessary to unhide my legacy MBR partitions because Windows hides automatically them at boot when detect hybrid MBR with EEh entry. So definitely not possible both legacy and GPT partition together. I hate this windows behavior to silently write something somewhere in a God/good intention. All that crap started by Win95 unexpectedly writting to floppies...

So I wiped the GPT and roll back to old good MBR. I just defined 4th partion entry to some dummy to prevent fdisk and similar to create new partition on unused space. Legacy OSes just ignore it.
Under Win7x-64 I use IMDISK to mount the hidden (undefined) NTFS partition, a bit rude with hardcoded offset but I don't expect to change partitions layout further...
imdisk -a -P -f \\.\PhysicalDrive1 -b 2199022206976 -x 63 -y 255 -o hd -m N:
Under WinXP it's not possible to enter 64b offset (exptected that)...

Linux is smart it already has offset option so I can just do
mount -o offset=$((512*4294965248)) /dev/sdb /mnt/n
or place in my /etc/fstab
/dev/sdb /mnt/n ntfs,iocharset=iso8859-2 loop,offset=2199022206976

---
DOS gives me freedom to unlimited HW access.

 

Complete thread:

Back to the forum
Board view  Mix view
23453 Postings in 2214 Threads, 407 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum