From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0C9D81382C5 for ; Sun, 27 Dec 2020 04:22:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 53BBA2BC018; Sun, 27 Dec 2020 04:21:56 +0000 (UTC) Received: from p-impout001.msg.pkvw.co.charter.net (p-impout010aa.msg.pkvw.co.charter.net [47.43.26.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C7339E0B97; Sun, 27 Dec 2020 04:21:55 +0000 (UTC) Received: from localhost ([96.28.177.163]) by cmsmtp with ESMTP id tNZ4k44YMsN3xtNZ4kVdOw; Sun, 27 Dec 2020 04:21:55 +0000 X-Authority-Analysis: v=2.3 cv=HfJqsRM8 c=1 sm=1 tr=0 a=xqrt2BZAGHte7XHhrxJgbA==:117 a=xqrt2BZAGHte7XHhrxJgbA==:17 a=HpEJnUlJZJkA:10 a=DBwwDor5xuMA:10 a=3g4BHOgs6t6h4Ys3ewMA:9 a=E-a61xINTsUT1_lHaBcG:22 a=p-dnK0njbqwfn1k4-x12:22 a=jjky5lfK57Ii_Ajn6BuG:22 From: "Thomas Mueller" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Is a USB-key-to-hard-drive-tap-dance-boot possible? To: gentoo-user@lists.gentoo.org References: <20201225182414.72c6f0c0@digimed.co.uk> <8240e63c-a239-d64c-ddf3-74c43e8040c9@youngman.org.uk> <86025bfc-62e5-a578-ef6a-0f5c035c6e18@gmail.com> X-CMAE-Envelope: MS4wfBgkx2ZrY3X2c1CQjD8BS3AWQOwwZzAc1QcHbwKHCO2jnR1YdUL7newi63NDNF4lIMiVhRyPizgAdMBo7CVzm680rjWrUmR7JY3+0NROLJMsj4M5+uNJ JqdYlrVnWzbci3fkMnWxT2PBxnbki3R06e2E2UR3q6pjaLAybEk81iYzvYulYdROWx75fxILlGNNlOKTH+kKeNf37/k/DCxB4CHC3csfQjAgwXmvgWJXisQB Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply Message-Id: <20201227042156.53BBA2BC018@pigeon.gentoo.org> Date: Sun, 27 Dec 2020 04:21:56 +0000 (UTC) X-Archives-Salt: 4516f238-df4d-4a72-af3e-b38c4c92b76b X-Archives-Hash: 516b08e4a773199f29564c212a48dc39 > I think fdisk couldn't handle GPT at first.  I guess that's why gdisk > came along.  Then I think the fdisk folks added support for GPT and > since then it handles both.  That's my understanding of it.  If > possible, you may want to check the time stamps on the info you have > found.  I suspect the ones saying fdisk can't handle GPT are older posts > or people who don't know it can now.  From the man page: > fdisk is a dialog-driven program for creation and manipulation of > partition tables.  It understands GPT, MBR, Sun, SGI and BSD partition > tables. > For gdisk: > GPT fdisk (aka gdisk) is a text-mode menu-driven program for creation > and manipulation of partition tables. It will automatically convert an > old-style Master Boot Record (MBR) partition table or BSD disklabel > stored without an MBR  carrier  partition  to  the  newer  Globally > Unique Identifier (GUID) Partition Table (GPT) format, or will load a > GUID partition table. > Odds are, you can likely use either tool but if you are using GPT, you > may as well use the tool made for that purpose.  I think a lot of it is > very similar as far as options that do the same things in each program.  > Also, there is also cfdisk and cgdisk too.  The interface is different.  > You may want to try the proper one and see which you like.  I use c*disk > tools myself.  You may prefer the others.  Same result I guess.  > Hope that helps. > Dale I remember from when nobody ever heard of GPT, fdisk was used to partition a hard drive, long before the days of GPT or USB. Then Rod Smith developed a gdisk to partition a drive using GPT; could even be used on a USB hard drive or USB stick. Linux fdisk was much easier to use than FreeBSD or NetBSD versions of fdisk. I don't know how newer versions of Linux fdisk would do with traditional BSD disklabels, which are not compatible between the various BSDs. But now FreeBSD and NetBSD can run on GPT with no traditional BSD disklabel. I am not familiar with Sun or SGI partition tables. Tom