GNU Parted 3.6
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: ATA Intenso SSD Sata (scsi)
Disk /dev/sda: 256GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 20.5kB 210MB 210MB fat32 EFI System Partition boot, esp
2 210MB 255GB 255GB hfs+
3 255GB 256GB 650MB hfs+
(parted) mklabel gpt
Warning: The existing disk label on /dev/sda will be destroyed and all data on this disk will be lost. Do you
want to continue?
Yes/No? y
(parted) print
Model: ATA Intenso SSD Sata (scsi)
Disk /dev/sda: 256GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
(parted) quit
Information: You may need to update /etc/fstab.
╭─garuda@garuda in ~ as 🧙 took 54s
╰─λ sudo parted /dev/sda
GNU Parted 3.6
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: ATA Intenso SSD Sata (scsi)
Disk /dev/sda: 256GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 20.5kB 210MB 210MB fat32 EFI System Partition boot, esp
2 210MB 255GB 255GB hfs+
3 255GB 256GB 650MB hfs+
(parted)
As you can see we haven't solved anything because once we reopen parted we notice that nothing changes.
I encounter this problem with any attempt to make a change to the SSD of this computer.
The system behaves as if everything went well, but in reality it did nothing
Okay, it looks like the partition table is not wiping the disk so let's try this:
Back in parted, after you set the GPT disk label and it shows an empty disk try making a partition and let's see what it says.
mkpart
It doesn't matter what filesystem you choose, it can be ext2 or ext4 or whatever it offers as the default. Put 0% for the start and 100% for the end, and we will see if it succeeds.
GNU Parted 3.6
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: ATA Intenso SSD Sata (scsi)
Disk /dev/sda: 256GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 20.5kB 210MB 210MB fat32 EFI System Partition boot, esp
2 210MB 255GB 255GB hfs+
3 255GB 256GB 650MB hfs+
(parted) mklabel gpt
Warning: The existing disk label on /dev/sda will be destroyed and all data on this disk will be lost. Do you
want to continue?
Yes/No? y
(parted) mkpart
Partition name? []? Garuda
File system type? [ext2]? ext4
Start? 0
End? 100
Warning: The resulting partition is not properly aligned for best performance: 34s % 2048s != 0s
Ignore/Cancel? Ignore
(parted) print
Model: ATA Intenso SSD Sata (scsi)
Disk /dev/sda: 256GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 17.4kB 100MB 100MB ext4 Garuda
(parted)
So, quit and restart console
GNU Parted 3.6
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: ATA Intenso SSD Sata (scsi)
Disk /dev/sda: 256GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 20.5kB 210MB 210MB fat32 EFI System Partition boot, esp
2 210MB 255GB 255GB hfs+
3 255GB 256GB 650MB hfs+
(parted)
Nothing, as you can see
it seems like every attempt to touch the drive is not accepted
GNU Parted 3.6
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: ATA Intenso SSD Sata (scsi)
Disk /dev/sda: 256GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 20.5kB 210MB 210MB fat32 EFI System Partition boot, esp
2 210MB 255GB 255GB hfs+
3 255GB 256GB 650MB hfs+
(parted) mkpart
Partition name? []? garuda
File system type? [ext2]? ext4
Start? 0%
End? 100%
Warning: You requested a partition from 0.00B to 256GB (sectors 0..500118191).
The closest location we can manage is 17.4kB to 20.0kB (sectors 34..39).
Is this still acceptable to you?
Yes/No? yes
Warning: The resulting partition is not properly aligned for best performance: 34s % 2048s != 0s
Ignore/Cancel? Ignore
(parted) sudo mkfs.ext4 /dev/sda1
align-check TYPE N check partition N for TYPE(min|opt) alignment
help [COMMAND] print general help, or help on COMMAND
mklabel,mktable LABEL-TYPE create a new disklabel (partition table)
mkpart PART-TYPE [FS-TYPE] START END make a partition
name NUMBER NAME name partition NUMBER as NAME
print [devices|free|list,all] display the partition table, or available devices, or free space,
or all found partitions
quit exit program
rescue START END rescue a lost partition near START and END
resizepart NUMBER END resize partition NUMBER
rm NUMBER delete partition NUMBER
select DEVICE choose the device to edit
disk_set FLAG STATE change the FLAG on selected device
disk_toggle [FLAG] toggle the state of FLAG on selected device
set NUMBER FLAG STATE change the FLAG on partition NUMBER
toggle [NUMBER [FLAG]] toggle the state of FLAG on partition NUMBER
type NUMBER TYPE-ID or TYPE-UUID type set TYPE-ID or TYPE-UUID of partition NUMBER
unit UNIT set the default unit to UNIT
version display the version number and copyright information of GNU Parted
align-check TYPE N check partition N for TYPE(min|opt) alignment
help [COMMAND] print general help, or help on COMMAND
mklabel,mktable LABEL-TYPE create a new disklabel (partition table)
mkpart PART-TYPE [FS-TYPE] START END make a partition
name NUMBER NAME name partition NUMBER as NAME
print [devices|free|list,all] display the partition table, or available devices, or free space,
or all found partitions
quit exit program
rescue START END rescue a lost partition near START and END
resizepart NUMBER END resize partition NUMBER
rm NUMBER delete partition NUMBER
select DEVICE choose the device to edit
disk_set FLAG STATE change the FLAG on selected device
disk_toggle [FLAG] toggle the state of FLAG on selected device
set NUMBER FLAG STATE change the FLAG on partition NUMBER
toggle [NUMBER [FLAG]] toggle the state of FLAG on partition NUMBER
type NUMBER TYPE-ID or TYPE-UUID type set TYPE-ID or TYPE-UUID of partition NUMBER
unit UNIT set the default unit to UNIT
version display the version number and copyright information of GNU Parted
align-check TYPE N check partition N for TYPE(min|opt) alignment
help [COMMAND] print general help, or help on COMMAND
mklabel,mktable LABEL-TYPE create a new disklabel (partition table)
mkpart PART-TYPE [FS-TYPE] START END make a partition
name NUMBER NAME name partition NUMBER as NAME
print [devices|free|list,all] display the partition table, or available devices, or free space,
or all found partitions
quit exit program
rescue START END rescue a lost partition near START and END
resizepart NUMBER END resize partition NUMBER
rm NUMBER delete partition NUMBER
select DEVICE choose the device to edit
disk_set FLAG STATE change the FLAG on selected device
disk_toggle [FLAG] toggle the state of FLAG on selected device
set NUMBER FLAG STATE change the FLAG on partition NUMBER
toggle [NUMBER [FLAG]] toggle the state of FLAG on partition NUMBER
type NUMBER TYPE-ID or TYPE-UUID type set TYPE-ID or TYPE-UUID of partition NUMBER
unit UNIT set the default unit to UNIT
version display the version number and copyright information of GNU Parted
(parted) lsblk /f
align-check TYPE N check partition N for TYPE(min|opt) alignment
help [COMMAND] print general help, or help on COMMAND
mklabel,mktable LABEL-TYPE create a new disklabel (partition table)
mkpart PART-TYPE [FS-TYPE] START END make a partition
name NUMBER NAME name partition NUMBER as NAME
print [devices|free|list,all] display the partition table, or available devices, or free space,
or all found partitions
quit exit program
rescue START END rescue a lost partition near START and END
resizepart NUMBER END resize partition NUMBER
rm NUMBER delete partition NUMBER
select DEVICE choose the device to edit
disk_set FLAG STATE change the FLAG on selected device
disk_toggle [FLAG] toggle the state of FLAG on selected device
set NUMBER FLAG STATE change the FLAG on partition NUMBER
toggle [NUMBER [FLAG]] toggle the state of FLAG on partition NUMBER
type NUMBER TYPE-ID or TYPE-UUID type set TYPE-ID or TYPE-UUID of partition NUMBER
unit UNIT set the default unit to UNIT
version display the version number and copyright information of GNU Parted
align-check TYPE N check partition N for TYPE(min|opt) alignment
help [COMMAND] print general help, or help on COMMAND
mklabel,mktable LABEL-TYPE create a new disklabel (partition table)
mkpart PART-TYPE [FS-TYPE] START END make a partition
name NUMBER NAME name partition NUMBER as NAME
print [devices|free|list,all] display the partition table, or available devices, or free space,
or all found partitions
quit exit program
rescue START END rescue a lost partition near START and END
resizepart NUMBER END resize partition NUMBER
rm NUMBER delete partition NUMBER
select DEVICE choose the device to edit
disk_set FLAG STATE change the FLAG on selected device
disk_toggle [FLAG] toggle the state of FLAG on selected device
set NUMBER FLAG STATE change the FLAG on partition NUMBER
toggle [NUMBER [FLAG]] toggle the state of FLAG on partition NUMBER
type NUMBER TYPE-ID or TYPE-UUID type set TYPE-ID or TYPE-UUID of partition NUMBER
unit UNIT set the default unit to UNIT
version display the version number and copyright information of GNU Parted
(parted) quit
Information: You may need to update /etc/fstab.
╭─garuda@garuda in ~ as 🧙 took 21m57s
╰─λ lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
loop0 squashfs 4.0 0 100% /run/miso/sfs/livefs
loop1 squashfs 4.0 0 100% /run/miso/sfs/mhwdfs
loop2 squashfs 4.0 0 100% /run/miso/sfs/desktopfs
loop3 squashfs 4.0 0 100% /run/miso/sfs/rootfs
sda
├─sda1 vfat FAT32 EFI 67E3-17ED
├─sda2 hfsplus MacOs 658da1e5-576e-3827-b74e-4c41cc3faa44
└─sda3 hfsplus Recovery HD 300b38d2-6474-3d84-88d6-438875687ac7
sdb iso9660 Joliet Extension GARUDA_DR460NIZED_RAPTOR 2023-05-01-21-27-23-00
├─sdb1 iso9660 Joliet Extension GARUDA_DR460NIZED_RAPTOR 2023-05-01-21-27-23-00 0 100% /run/miso/bootmnt
└─sdb2 vfat FAT12 MISO_EFI CC34-06DF
sdc
sr0
zram0 [SWAP]
╭─garuda@garuda in ~ as 🧙 took 40ms
╰─λ
Shut down your computer and disconnect all USB devices (except wired keyboards).
Press the power button to turn on your Mac.
Immediately press and hold the Option, Command, P, and R keys on your keyboard.
Hold down these keys for 20 seconds, during which time your Mac will appear to restart.
On older Macs that chime upon startup, hold down the keys until you hear a second chime.
For Macs with the Apple T2 Security Chip, hold the keys until the Apple logo appears and disappears a second time. Here’s a list of Mac models with the T2 chip.
Release the keys and let your Mac finish rebooting.
Then boot back to the live environment and see if the installer is able to get any further.
Although Windows and Mac keyboards feature most of the same keys, there are a few that differ. When using a Windows keyboard on a Mac, the Windows key is used instead of the Command key, and the Alt key is used in place of the Option key. For example, the Undo shortcut would use Windows+Z instead of Command+Z. It’s also worth noting that their positions are reversed on the two types of keyboards.
Nothing changes.
I cleaned the pram I think. I pressed ctrl + windows/mac + r + p.
The computer started loading and then shut down. I think it went well.
But allow me, I keep thinking, what if the problem is that some components are missing from the partition manager?
When I open it it tells me that it needs some tools, and it sends me back to the link I left in the first messages with some files that I don’t know how to open
Edit.Forgive me, I now realize that I made a mistake with the commands. Now I’ll try again
Edit. Ok i tried with the right command. Nothing changes.
So, there’s possibility that the problem is this message:
No support tools were found for file systems currently present on hard disks in this computer:
|Partition|File System|Support Tools|URL|
| --- | --- | --- | --- |
|/dev/sda3|hfsplus|diskdev_cmds|https://opensource.apple.com/tarballs/diskdev_cmds/|
As long as the support tools for these file systems are not installed you will not be able to modify them.
You should find packages with these support tools in your distribution's package manager.
it appears when i open kde partition manager, and in the link there’s some downlodable files, but i don’t know how eventually use them
You need additional utilities installed if you want to interact with an HFS+ filesystem from Linux because support is not built in to the kernel. In your case, you are trying to completely reformat the disk so it doesn’t matter one bit what filesystems are on there. You do not need to install HFS+ support to reformat a drive. Note also the FAT32 partition similarly resists being deleted or reformatted, and that is a filesystem well-supported by Linux.
Your issue is something is preventing you from making changes to the disk. It doesn’t seem like you can delete or change the contents of the disk in any way. I have to guess this is some kind of Apple intervention, but searching around I can’t seem to find anything about it. It doesn’t seem like a common problem people have with Macs.
It’s probably a long shot, but there is another Apple utility you can reset called the SMC. You can try resetting that to see if it makes any difference: How to reset NVRAM, PRAM, SMC on a Mac | Macworld
If that doesn’t work, I’d be interested in seeing if you have better luck after swapping out the hard drive.
In Recovery Mode/Disk Utility did you select “View-Show All Devices” and then select the drive icon at the top of the list to actually erase the drive? (instead of only erasing volumes) This is NOT something I have to do when I’ve installed Garuda on old iMacs but worth a try.