Am 19.11.26 um 06:09 schrieb Mike Spencer:
> My son and grandson got me a good used computer and installed 64bit > Slackware 15, more or less cook-booking by mostly following the > default prompts of the install scripts. It boots and runs as > expected.
Is that an UEFI or BIOS machine?
> I'm about to re-do the installation because it appears easier than > undoing numerous things piecemeal. But I'm stumped by the HD > partitions they created. I don't know the history of the machine -- > what was on the HD previously. > > Details are appended below. > > Mainly, > > + I don't know what a partition of ID=5, Type=extended is, and > > + Why does lsblk(8) say it's 1K while cfdisk says it's 7.9G and > suggests (using graphic chars) that it's related to the swap > partition. > > I can see (from the cfdisk "start" and "end" data) that sda5 overlaps > sda2 by two 512-byte sectors representing a difference of 1K but it > doesn't make any sense to me. > > Can anyone explain what is happening here? > > My current plan is to delete all partitions and start over but not > understanding this weirdness makes me worry that there is something > about that ID=5 partition that I don't understand. > > > Regards, > -Mike > > --- Begin HD partition details --- > > lsblk says: > ------------ > > sda 1000204886016 931.5 G > |-sda1 991757860064 929.6 G > |-sda2 1024 1 K > |-sda5 8444182528 7.9 G > > cfdisk says: > ------------ > > /dev/sda 1000204886016 931 GiB 1953525168 sect [512 b/sect] > > Start End Sectors Size ID Type > ----- --- ------- ---- -- ---- > > /dev/sda1 2048 1937029119 1937027072 923.6 G 83 Linux > /dev/sda2 1937031166 1953523711 16492546 7.9 G 5 Extended > `-/dev/sda5 1937031168 1953523711 16492544 7.9 G 82 Linux Swap > > ^^---- is 0x2514 0x2500 suggesting a tree-like relation to the above line.
MBR partition tables support "extended partitions", as the amount of normal partitions is limited to 4. Such partitions have certain restrictions depending on the OS you want to install. I recommend deleting the partition table. If you want to wipe the data on the disk, use dd or shred on /dev/sda. Otherwise the data is still (partially) readable. Then you need to figure out if the machine supports UEFI. In that case I recommend to do an UEFI install.
-- Gruß Marco Spam bitte an abfa…@stinkedores.dorfdsl.de