Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Is a USB-key-to-hard-drive-tap-dance-boot possible?
Date: Sun, 27 Dec 2020 02:01:29
Message-Id: 86025bfc-62e5-a578-ef6a-0f5c035c6e18@gmail.com
In Reply to: Re: [gentoo-user] Re: Is a USB-key-to-hard-drive-tap-dance-boot possible? by antlists
1 antlists wrote:
2 > On 25/12/2020 18:24, Neil Bothwick wrote:
3 >> On Fri, 25 Dec 2020 11:41:03 -0500, Walter Dnes wrote:
4 >>
5 >>>    After 20 years on linux, I've been reduced to a newbie.  BIOS boot,
6 >>> Lilo, and fdisk served me well for 2 decades.  Now I'm going to have to
7 >>> learn UEFI, grub, and parted all at once.  I'll start a new thread
8 >>> tomorrow once I have my config files copied off.  Then I'll install
9 >>> UEFI
10 >>> mode properly.
11 >>
12 >> UEFI is dead simple, and you can use gdisk, which is the GPT variant of
13 >> fdisk. So that only leave the boot manager to learn, and if you don't
14 >> already know GRUB, I'd say start with something simpler.
15 >>
16 >>
17 > I got the impression that on newer systems, gdisk and fdisk were the
18 > same thing ...
19 >
20 > Certainly I moved to gdisk because "fdisk can't handle GPTs", and then
21 > someone said "oh yes it can" so I investigated and oh yes it could. I
22 > still use gdisk, but as I say they now appear to be the same thing.
23 >
24 > Cheers,
25 > Wol
26 >
27 >
28
29
30 I think fdisk couldn't handle GPT at first.  I guess that's why gdisk
31 came along.  Then I think the fdisk folks added support for GPT and
32 since then it handles both.  That's my understanding of it.  If
33 possible, you may want to check the time stamps on the info you have
34 found.  I suspect the ones saying fdisk can't handle GPT are older posts
35 or people who don't know it can now.  From the man page:
36
37
38 fdisk is a dialog-driven program for creation and manipulation of
39 partition tables.  It understands GPT, MBR, Sun, SGI and BSD partition
40 tables.
41
42 For gdisk:
43
44 GPT fdisk (aka gdisk) is a text-mode menu-driven program for creation
45 and manipulation of partition tables. It will automatically convert an
46 old-style Master Boot Record (MBR) partition table or BSD disklabel
47 stored without an MBR  carrier  partition  to  the  newer  Globally
48 Unique Identifier (GUID) Partition Table (GPT) format, or will load a
49 GUID partition table.
50
51
52 Odds are, you can likely use either tool but if you are using GPT, you
53 may as well use the tool made for that purpose.  I think a lot of it is
54 very similar as far as options that do the same things in each program. 
55
56 Also, there is also cfdisk and cgdisk too.  The interface is different. 
57 You may want to try the proper one and see which you like.  I use c*disk
58 tools myself.  You may prefer the others.  Same result I guess. 
59
60 Hope that helps.
61
62 Dale
63
64 :-)  :-) 

Replies

Subject Author
Re: [gentoo-user] Is a USB-key-to-hard-drive-tap-dance-boot possible? Thomas Mueller <mueller6724@×××.com>