public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* completely hide parts of the partition table from Windows?
@ 2009-08-18 21:22 Mikael Pettersson
  2009-08-18 22:32 ` Alan Cox
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Mikael Pettersson @ 2009-08-18 21:22 UTC (permalink / raw)
  To: linux-kernel; +Cc: Andries Brouwer

The BIOS on my laptop clips disk capacities to 128GB. There's no BIOS
update or BIOS setup option to fix this. Passing libata.ignore_hpa=1
allows the Linux kernel to access larger disks, so Linux does work Ok
with larger disks.

However, the laptop dual-boots Windows (for work-related stuff), and
Windows has a major problem: if any entry in the msdos partition table
refers to a sector above the BIOS 128GB limit, the Windows kernel
crashes and reboots early in its boot sequence. The type of the
partition doesn't matter, the fact that it describes an area above
the stupid BIOS limit is enough to trigger the crash.

So what I'm looking for is some sub-partition table format with the
following two properties:
1. resides in an msdos partition entry of a type that Windows does
   not inspect (for whatever extended partitions or Apple/BSD/Sun
   stuff that Windows may have been taught to recognize)
2. the locations and sizes of the sub-partitions are NOT limited by
   the parent msdos partition entry

I've looked at the code in fs/partitions/msdos.c, and it seems that
most of the extended/BSD/Sun formats don't give me property #2 above.

The minix and Unixware format parsers look like they ignore the parent
msdos partion entry boundaries, but I'm not sure if that's by design
or just sloppy coding.

Any recommendations? If no existing partition table format is suitable
for my use case then I'm perfectly willing to invent a simple new format
and add the corresponding parser to the kernel.

/Mikael

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-08-23 15:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-18 21:22 completely hide parts of the partition table from Windows? Mikael Pettersson
2009-08-18 22:32 ` Alan Cox
2009-08-18 23:49   ` Mikael Pettersson
2009-08-22 22:54     ` Mikael Pettersson
2009-08-18 22:35 ` Andries E. Brouwer
2009-08-18 23:56   ` Mikael Pettersson
2009-08-22 22:59     ` Mikael Pettersson
2009-08-23  7:36       ` Andries E. Brouwer
2009-08-23 15:19         ` Mikael Pettersson
2009-08-18 22:39 ` Matthias Schniedermeyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox