[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090823073632.GA31303@ub>
Date: Sun, 23 Aug 2009 09:36:33 +0200
From: "Andries E. Brouwer" <Andries.Brouwer@....nl>
To: Mikael Pettersson <mikpe@...uu.se>
Cc: "Andries E. Brouwer" <Andries.Brouwer@....nl>,
linux-kernel@...r.kernel.org
Subject: Re: completely hide parts of the partition table from Windows?
On Sun, Aug 23, 2009 at 12:59:01AM +0200, Mikael Pettersson wrote:
> > > Make a table that has a Linux extended partition (type 85)
> > > that is short enough not to cause Windows to worry. Have logical
> > > partitions inside of any size and location you desire.
>
> The problem here is that both fdisk and parted refuse to let me
> create a logical partition that exceeds the boundaries of the
> enclosing extended partition entry. So for this approach I'd have
> to find another Linux partitioning tool, or hack e.g. fdisk to
> bypass its safety checks (which do make sense for most use cases,
> just not for mine).
My plan would be (i) create the right logical partitions
(inside a sufficiently large extended one) using any partitioner.
(ii) change the type and size of the outer extended partition only,
for example using sfdisk. The -N option can be used to tell sfdisk
to change only a single partition entry.
Andries
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists