Re: [OT] bad disk & MacOS reinstall

2024-05-18 Thread Richard L. Hamilton
tes, that was the problem.

Whatever it does automatically to understand what type of drive it sees isn't 
very good, at least with what I've got. I'll stick to the command line tools.

> On May 18, 2024, at 02:51, Ryan Schmidt  wrote:
> 
> On May 18, 2024, at 01:46, Richard L. Hamilton wrote:
>> 
>> dyld[16578]: Symbol not found: (_gtk_plug_construct)
>>   Referenced from: '/opt/local/lib/libgtkmm-3.0.1.dylib'
>>   Expected in: '/opt/local/lib/libgtk-3.0.dylib'
>> Abort
> 
> Are you using the quartz variant? This error was mentioned before here:
> 
> https://trac.macports.org/ticket/65743 
> 


Re: [OT] bad disk & MacOS reinstall

2024-05-18 Thread Ryan Schmidt
On May 18, 2024, at 01:46, Richard L. Hamilton wrote:
> 
> dyld[16578]: Symbol not found: (_gtk_plug_construct)
>   Referenced from: '/opt/local/lib/libgtkmm-3.0.1.dylib'
>   Expected in: '/opt/local/lib/libgtk-3.0.dylib'
> Abort

Are you using the quartz variant? This error was mentioned before here:

https://trac.macports.org/ticket/65743

Re: [OT] bad disk & MacOS reinstall

2024-05-18 Thread Richard L. Hamilton
Ok, I tried that driver, and it doesn't work for any external USB I have.

An external Thunderbolt drive should just work, no driver for SMART support 
needed. My LaCie did, anyway - on the Thunderbolt interface, using Apple's 
Thunderbolt 2 to 3 adapter. Though that drive had a USB interface too, SMART 
support did not work on there.
https://www.smartmontools.org/wiki/Supported_USB-Devices 
 should list which 
drives have the required SCSI/ATA translation support, i.e. may work.

gsmartcontrol crashed on me with

dyld[16578]: Symbol not found: (_gtk_plug_construct)
  Referenced from: '/opt/local/lib/libgtkmm-3.0.1.dylib'
  Expected in: '/opt/local/lib/libgtk-3.0.dylib'
Abort


(this was on Monterey with ports up to date)

but for supported devices, smartctl from the command line works fine.


> On May 17, 2024, at 22:32, Richard L. Hamilton  wrote:
> 
> The port smartmontools includes the command line tool. The port gsmartcontrol 
> provides a GUI on top of that, if you want (I've never tried the latter).
> 
> It won't work on USB drives without a kernel driver (not available in 
> MacPorts).
> 
> https://binaryfruit.com/drivedx/usb-drive-support 
>  may have links and 
> instructions (that site is for a paid product but the kernel driver is open 
> source). I haven't tried that, and in particular don't have High Sierra to 
> try it on.
> 
> 
>> On May 17, 2024, at 18:57, Riccardo Mottola via macports-users 
>> > > wrote:
>> 
>> Hi,
>> 
>> Horst Simon wrote:
>>> I had todo a re-install on my 2010 MacBook Pro with High Sierra from 
>>> scratch, my copy of High sierra I had was corrupted and caused my all kind 
>>> of grief. I finally downloaded a new copy on my iMac using the command line
>> Got a new disk.
>> 
>> Using recovery partition I tried to dump/restore the partiton... but half 
>> during the process I got a disk error and the process aborted. Proof that it 
>> is gone.
>> 
>> at the end, I changed hard disk and had to reinstall. Now salvaging data.
>> I will reinstall MacPorts from scratch. Safer... and also a "test" like 
>> being a new user.
>> 
>> I still am a bit disappointed by SMART.
>> 
>> Does Macports have a tool to get SMART details? On linux  there is one  
>> quite comprehensive!
>> 
>> Riccardo
>> 
> 



Re: [OT] bad disk & MacOS reinstall

2024-05-17 Thread Richard L. Hamilton
The port smartmontools includes the command line tool. The port gsmartcontrol 
provides a GUI on top of that, if you want (I've never tried the latter).

It won't work on USB drives without a kernel driver (not available in MacPorts).

https://binaryfruit.com/drivedx/usb-drive-support 
 may have links and 
instructions (that site is for a paid product but the kernel driver is open 
source). I haven't tried that, and in particular don't have High Sierra to try 
it on.


> On May 17, 2024, at 18:57, Riccardo Mottola via macports-users 
>  wrote:
> 
> Hi,
> 
> Horst Simon wrote:
>> I had todo a re-install on my 2010 MacBook Pro with High Sierra from 
>> scratch, my copy of High sierra I had was corrupted and caused my all kind 
>> of grief. I finally downloaded a new copy on my iMac using the command line
> Got a new disk.
> 
> Using recovery partition I tried to dump/restore the partiton... but half 
> during the process I got a disk error and the process aborted. Proof that it 
> is gone.
> 
> at the end, I changed hard disk and had to reinstall. Now salvaging data.
> I will reinstall MacPorts from scratch. Safer... and also a "test" like being 
> a new user.
> 
> I still am a bit disappointed by SMART.
> 
> Does Macports have a tool to get SMART details? On linux  there is one  quite 
> comprehensive!
> 
> Riccardo
> 



Re: [OT] bad disk & MacOS reinstall

2024-05-17 Thread Ryan Schmidt
On May 17, 2024, at 17:57, Riccardo Mottola wrote:
> 
> Does Macports have a tool to get SMART details?

The one that occurs to me is:

https://ports.macports.org/port/smartmontools

Re: [OT] bad disk & MacOS reinstall

2024-05-17 Thread Riccardo Mottola via macports-users

Hi,

Horst Simon wrote:
I had todo a re-install on my 2010 MacBook Pro with High Sierra from 
scratch, my copy of High sierra I had was corrupted and caused my all 
kind of grief. I finally downloaded a new copy on my iMac using the 
command line

Got a new disk.

Using recovery partition I tried to dump/restore the partiton... but 
half during the process I got a disk error and the process aborted. 
Proof that it is gone.


at the end, I changed hard disk and had to reinstall. Now salvaging data.
I will reinstall MacPorts from scratch. Safer... and also a "test" like 
being a new user.


I still am a bit disappointed by SMART.

Does Macports have a tool to get SMART details? On linux  there is one  
quite comprehensive!


Riccardo


Re: [OT] bad disk & MacOS reinstall

2024-05-05 Thread Horst Simon via macports-users
I had todo a re-install on my 2010 MacBook Pro with High Sierra from scratch, 
my copy of High sierra I had was corrupted and caused my all kind of grief. I 
finally downloaded a new copy on my iMac using the command line

softwareupdate --list-full-installers
softwareupdate --fetch-full-installer --full-installer-version 10.13.6

After the download I created a bootable image on a USB stick.

I did a new install of mac ports and my applications. 
Regards,
Horst

> On 5 May 2024, at 17:46, Riccardo Mottola via macports-users 
>  wrote:
> 
> Hi all,
> 
> I have a slightly off-topic question.
> 
> I think the Hard Disk of my older MacBook Pro is failing. The computer has 
> long delays sometimes, in random moments. Maybe at login, maybe at 
> application startup. I never see error and when activity resumes, everything 
> goes fine, including GIT usage, browsing, compilation. No "pattern". Disk 
> Utility reports a verified SMART status and Disk First Aid says all is OK.
> 
> However Console reports:
> kernel[0]: disk0s2: I/O error.
> 
> about the same time when he delay started. I suppose some kind of issues (eg. 
> going out of calibration, head reset...), maybe nothing is corrupted yet, 
> but... I suppose the only fix is a disk replacement. I wonder why SMART 
> doesn't alert anything, but maybe the detailed status should be inspected. Is 
> there a command line utility that can give more detail?
> 
> My question is your experience in reinstall.
> 
> First way would be to able to format, partition and copy all files to an 
> external hard disk, swap and reboot. I have done this once 10 years ago in 
> PowerPC times and it was not trivial and they sell software to do that, which 
> I don't want to buy.
> 
> Second way would be to reinstall MacOS 10.11 (no DVD available...) from 
> scratch and then copy or reinstall things  (including MacPorts, of course).
> 
> With a "new" hard disk, what is the best way to reinstall OS like Apple 
> supplied? In the past I had some bad experiences with Internet install not 
> working/completing with weird errors.
> Also, I'd like to have disk utility and recovery working. I wonder if it will 
> work or some magic partition needs to recreated?
> Hardware Diagnostic Tools need to be installed extra, I have read.
> 
> Riccardo