Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Support DOS partitioning #719

Closed
ryao opened this Issue May 3, 2012 · 4 comments

Comments

Projects
None yet
4 participants
Member

ryao commented May 3, 2012

it seems that some EFI implementations refuse to start the MBR bootloader when they see a GPT partition signature:

http://forums.lenovo.com/t5/Linux-Discussion-Knowledge-Base/Configuring-SSD-to-run-with-Linux-Thinkpad-X220/ta-p/584583

This poses a problem for using ZFS as the root filesystem. As such, it would be useful to have an option for DOS partitioning at pool creation.

Contributor

GregorKopka commented May 3, 2012

In case a device claims support for UEFI it must support GPT - since it is a subset of the standard.

In case the Thinkpad X220 dosn't support booting from GPT then its UEFI implementation is broken and the device should be returned to the manufacturer for replacement (or refund, in case they think that it's a good idea to only boot windows).

Member

ryao commented May 3, 2012

As a downstream maintainer, it is not acceptable for me to tell users to return hardware that they might no longer have the ability to return.

Also, this issue was encountered by Daniel Robbins, the creator of Gentoo. I would like to do what I can to address it. Of course, my time is limited and I cannot do something right away, but it is on my list.

Member

ryao commented Dec 8, 2012

I finally found time to install Gentoo Linux on ZFS on my Thinkpad T520i. It suffers from the same issue.

@behlendorf behlendorf removed this from the 0.7.0 milestone Oct 6, 2014

@FransUrbo FransUrbo added a commit to FransUrbo/zfs that referenced this issue May 29, 2015

@FransUrbo FransUrbo Option to disable automatic EFI partitioning.
Sometimes it is desired to not have 'zpool' setup partitioning on
devices it uses for the pool. So add a '-D' option to 'add', 'attach',
'create', 'replace' and 'split' to disable the automatic partitioning.

Signed-off-by: Turbo Fredriksson turbo@bayour.com
Closes #94
Closes #719
Closes #1162
Closes #3452
a25d0a3

@FransUrbo FransUrbo added a commit to FransUrbo/zfs that referenced this issue May 30, 2015

@FransUrbo FransUrbo Option to disable automatic EFI partitioning.
Sometimes it is desired to not have 'zpool' setup partitioning on
devices it uses for the pool. So allow '-o whole_disk={on,off}'
option to 'add', 'attach', 'create', 'replace' and 'split' to
disable or enable, respectivly, the automatic partitioning.

Signed-off-by: Turbo Fredriksson turbo@bayour.com
Closes #94
Closes #719
Closes #1162
Closes #3452
bb82544

@FransUrbo FransUrbo added a commit to FransUrbo/zfs that referenced this issue May 30, 2015

@FransUrbo FransUrbo Option to disable automatic EFI partitioning.
Sometimes it is desired to not have 'zpool' setup partitioning on
devices it uses for the pool. So allow '-o whole_disk={on,off}'
option to 'add', 'attach', 'create', 'replace' and 'split' to
disable or enable, respectivly, the automatic partitioning.

Signed-off-by: Turbo Fredriksson turbo@bayour.com
Closes #94
Closes #719
Closes #1162
Closes #3452
354d6d9

@FransUrbo FransUrbo added a commit to FransUrbo/zfs that referenced this issue Jul 22, 2015

@FransUrbo FransUrbo 3458: turbo/disable_autopart - Option to disable automatic EFI partit…
…ioning.

Sometimes it is desired to not have 'zpool' setup partitioning on
devices it uses for the pool. So allow '-o whole_disk={on,off}'
option to 'add', 'attach', 'create', 'replace' and 'split' to
disable or enable, respectivly, the automatic partitioning.

Signed-off-by: Turbo Fredriksson turbo@bayour.com
Closes #94
Closes #719
Closes #1162
Closes #3452
472f850

@FransUrbo FransUrbo added a commit to FransUrbo/zfs that referenced this issue Jul 24, 2015

@FransUrbo FransUrbo 3458: turbo/disable_autopart - Option to disable automatic EFI partit…
…ioning.

Sometimes it is desired to not have 'zpool' setup partitioning on
devices it uses for the pool. So allow '-o whole_disk={on,off}'
option to 'add', 'attach', 'create', 'replace' and 'split' to
disable or enable, respectivly, the automatic partitioning.

Signed-off-by: Turbo Fredriksson turbo@bayour.com
Closes #94
Closes #719
Closes #1162
Closes #3452
37622a6

@FransUrbo FransUrbo added a commit to FransUrbo/zfs that referenced this issue Jul 24, 2015

@FransUrbo FransUrbo 3458: turbo/disable_autopart - Option to disable automatic EFI partit…
…ioning.

Sometimes it is desired to not have 'zpool' setup partitioning on
devices it uses for the pool. So allow '-o whole_disk={on,off}'
option to 'add', 'attach', 'create', 'replace' and 'split' to
disable or enable, respectivly, the automatic partitioning.

Signed-off-by: Turbo Fredriksson turbo@bayour.com
Closes #94
Closes #719
Closes #1162
Closes #3452
bafec57

@FransUrbo FransUrbo added a commit to FransUrbo/zfs that referenced this issue Jul 26, 2015

@FransUrbo FransUrbo 3458: turbo/disable_autopart - Option to disable automatic EFI partit…
…ioning.

Sometimes it is desired to not have 'zpool' setup partitioning on
devices it uses for the pool. So allow '-o whole_disk={on,off}'
option to 'add', 'attach', 'create', 'replace' and 'split' to
disable or enable, respectivly, the automatic partitioning.

Signed-off-by: Turbo Fredriksson turbo@bayour.com
Closes #94
Closes #719
Closes #1162
Closes #3452
be7eea9

@FransUrbo FransUrbo added a commit to FransUrbo/zfs that referenced this issue Jul 26, 2015

@FransUrbo FransUrbo 3458: turbo/disable_autopart - Option to disable automatic EFI partit…
…ioning.

Sometimes it is desired to not have 'zpool' setup partitioning on
devices it uses for the pool. So allow '-o whole_disk={on,off}'
option to 'add', 'attach', 'create', 'replace' and 'split' to
disable or enable, respectivly, the automatic partitioning.

Signed-off-by: Turbo Fredriksson turbo@bayour.com
Closes #94
Closes #719
Closes #1162
Closes #3452
89fd91a

@FransUrbo FransUrbo added a commit to FransUrbo/zfs that referenced this issue Jul 31, 2015

@FransUrbo FransUrbo 3458: turbo/disable_autopart - Option to disable automatic EFI partit…
…ioning.

Sometimes it is desired to not have 'zpool' setup partitioning on
devices it uses for the pool. So allow '-o whole_disk={on,off}'
option to 'add', 'attach', 'create', 'replace' and 'split' to
disable or enable, respectivly, the automatic partitioning.

Signed-off-by: Turbo Fredriksson turbo@bayour.com
Closes #94
Closes #719
Closes #1162
Closes #3452
3216493

@FransUrbo FransUrbo added a commit to FransUrbo/zfs that referenced this issue Sep 8, 2015

@FransUrbo FransUrbo Option to disable automatic EFI partitioning.
Sometimes it is desired to not have 'zpool' setup partitioning on
devices it uses for the pool. So allow '-o whole_disk={on,off}'
option to 'add', 'attach', 'create', 'replace' and 'split' to
disable or enable, respectivly, the automatic partitioning.

Signed-off-by: Turbo Fredriksson turbo@bayour.com
Closes #94
Closes #719
Closes #1162
Closes #3452
aea9f90
Contributor

rlaager commented Oct 1, 2016

What's the problem here? Partition the disk with an msdos label and put ZFS on the partition.

@rlaager rlaager closed this Oct 1, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment