Skip to contentSkip to conversation

fdisk vs. BSD disklabels and slices

DISCUSSION Bob Tracy 2 participants 3 messages Jan 6, 2019 Alpha port

lore
Share & tools
lore

Bob Tracy

author
#0 lore raw

Has anyone reading this used a recent version of "fdisk" to create a BSD disklabel and disk slices from scratch on an Alpha? If so, would you please describe the procedure in enough detail that relevant Linux installation documentation could be updated? It would seem to be anything *but* intuitive :-(.

If "fdisk" is the wrong utility, I need a pointer to the correct one(s). At this point, I'm seriously considering digging out my old Debian 4.0 CDs and harvesting the essential pieces.

As always, thanks in advance.

For what it's worth, the new Gentoo "install-alpha-minimal" image fixed the "qla1280" firmware loading issue for the most part (a module reload is required to get the firmware to load).

--Bob

maintainer
#1 lore raw
Quoted 6 lines · Bob Tracy

Has anyone reading this used a recent version of "fdisk" to create a BSD disklabel and disk slices from scratch on an Alpha? If so, would you please describe the procedure in enough detail that relevant Linux installation documentation could be updated? It would seem to be anything *but* intuitive :-(.

fdisk's BSD disklabel support has been unusable raw disks, as far as I understand, since v2.23. See
https://www.spinics.net/lists/util-linux-ng/msg11869.html

Quoted 5 lines

If "fdisk" is the wrong utility, I need a pointer to the correct one(s). At this point, I'm seriously considering digging out my old Debian 4.0 CDs and harvesting the essential pieces.

As always, thanks in advance.

Use 'parted' instead. It works well. Reminds me that I need to change the Gentoo handbook to reference parted instead of fdisk.

Quoted 3 lines

For what it's worth, the new Gentoo "install-alpha-minimal" image fixed the "qla1280" firmware loading issue for the most part (a module reload is required to get the firmware to load).

Good to hear. I suspect the module is in the initramfs but the firmware is on the root file system. Hmm..

author
#2 lore raw
Quoted 21 lines · Matt Turner
Quoted 6 lines · Bob Tracy

Has anyone reading this used a recent version of "fdisk" to create a BSD disklabel and disk slices from scratch on an Alpha? If so, would you please describe the procedure in enough detail that relevant Linux installation documentation could be updated? It would seem to be anything *but* intuitive :-(.

fdisk's BSD disklabel support has been unusable raw disks, as far as I understand, since v2.23. See
https://www.spinics.net/lists/util-linux-ng/msg11869.html

Quoted 5 lines

If "fdisk" is the wrong utility, I need a pointer to the correct one(s). At this point, I'm seriously considering digging out my old Debian 4.0 CDs and harvesting the essential pieces.

As always, thanks in advance.

Use 'parted' instead. It works well. Reminds me that I need to change the Gentoo handbook to reference parted instead of fdisk.

Quoted 6 lines
Quoted 3 lines

For what it's worth, the new Gentoo "install-alpha-minimal" image fixed the "qla1280" firmware loading issue for the most part (a module reload is required to get the firmware to load).

Good to hear. I suspect the module is in the initramfs but the firmware is on the root file system. Hmm..

Re: parted. Thanks. Presumably included in the i-a-m image: count on me to say something if not :-). Appreciate the steer.

--Bob