All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Andries E. Brouwer" <Andries.Brouwer@cwi.nl>
To: Mikael Pettersson <mikpe@it.uu.se>
Cc: "Andries E. Brouwer" <Andries.Brouwer@cwi.nl>,
	linux-kernel@vger.kernel.org
Subject: Re: completely hide parts of the partition table from Windows?
Date: Sun, 23 Aug 2009 09:36:33 +0200	[thread overview]
Message-ID: <20090823073632.GA31303@ub> (raw)
In-Reply-To: <19088.30773.367549.73131@pilspetsen.it.uu.se>

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


  reply	other threads:[~2009-08-23  7:32 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2009-08-23 15:19         ` Mikael Pettersson
2009-08-18 22:39 ` Matthias Schniedermeyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090823073632.GA31303@ub \
    --to=andries.brouwer@cwi.nl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mikpe@it.uu.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.