Mike Spencer <m…@bogus.nodomain.nowhere> writes:
>> Did you also reformat the EFI partition?
> > No. How do I do that?
mkfs.vfat -F 32 on a partition of type EF. *Assuming* it's /dev/sda1, then mkfs.vfat -F 32 /dev/sda1. In your situation, I'd: boot the install media (I'd use the Current snapshot ISO. There's a new version of Slackware coming soon because people are talking about "16 Alpha" and it would be pointless to install something nearing end-of-life) run fdisk /dev/sda (assuming it really is /dev/sda) using fdisk, create a new GPT for /dev/sda (look at its help menu) create /dev/sda1 as EF type partition create /dev/sda2 as whatever Linux type for / create /dev/sda3 as whatever Linux type for /home create /dev/sda4 as Linux swap write those changes and exit fdisk run mkfs.vfat -F 32 /dev/sda1 run mkfs.ext4 /dev/sda2 run mkfs.ext4 /dev/sda3 run setup and install to /dev/sda2. It might ask were to put this, it's "/". Same with /dev/sda3, it's "/home'. finish full install exit setup before installing any bootloader run 'mkbindmounts' or whatever it's called (it's in /sbin) chroot /mnt grub-install /dev/sda check /etc/default/grub edit variable GRUB_CMDLINE_LINUX if needed grub-mkconfig -o /boot/grub/grub.cfg reboot & remove install media hope for the best I'm writing the above from memory, but you get the idea.
> Slackware 15 install dialog refers to "formatting" partitions, offers > to so same for partitions of type 0x83 (Linux filesystem) with a > choice of ext2, ext3, ext4 and other fs types. I'm guessing that > "format" in the install dialog refers to running (in my case) > mkfs.ext4.
Let's stick with ext4. There's no reason to consider others in your case.
> The dialog does not offer to "format" the partition of type "EFI > System" (alleged to be 0xEF but that value doesn't appear anywhere in > the partitioning tools). That partition is reported by cfdisk and > mount(8) as having "Filesystem: vfat" and "type vfat" respectively.
Don't confuse "partition type" with "filesystem type". The filesystem lays on the partition. So, for the first partition, which will likely be the EFI partition, that would be partition type EF and filesystem type FAT32.
> fsck.fat -n -v finds several things it doesn't like but doesn't report > explicitly on mismatch between partition size and fs size, exits 1 > (recoverable errors).
There's no reason to run fsck now. It's not needed during install unless you suspect a broken filesystem - but there wouldn't be any filesystems because you're making them now anew.
>>> I'm tempted to dd /dev/zero to /dev/sda with bignum count but that's >>> probably wrong if not calamitous.
>> >> That will overwrite your partition table as well as file systems.
There's no reason to do this and it helps nothing.
> So I assumed, including the "protective MBR". Does it overwrite > secret/magic/unknown-to-me HD bytes/numbers/data-objects that would > interfere with or completely prevent reconstructing the partition > table with the usual tools?
The MBR does have magic bytes to indicate that it's bootable: 0x55AA. But this doesn't matter to us because we are using GPT. Avail yourself of 21st century progress and forget MBR unless you're working on hobbyist/legacy systems.
-- PGP Key ID: 781C A3E2 C6ED 70A6 B356 7AF5 B510 542E D460 5CAE "The Internet should always be the Wild West!"