A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows 7 » Windows 7 Forum
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Reading Apple Files with a Windows Machine?



 
 
Thread Tools Rate Thread Display Modes
  #16  
Old July 6th 18, 02:20 AM posted to alt.windows7.general
Paul[_32_]
external usenet poster
 
Posts: 11,873
Default Reading Apple Files with a Windows Machine?

Boris wrote:
Paul wrote in news
Boris wrote:
Frank Slootweg wrote in newshbhlg.ri4.1@ID-
201911.user.individual.net:

Boris wrote:
[...]

[N.B. Others have already commented on the need for the Windows system
to 'see' the disk at all, i.e. as a disk, not (yet) the filesystem(s)
on the disk, so I'll skip that.]

She has not yet installed HFS+/HFSExplorer.
In a similar situation - also a daughter :-) - I (successfully) used
'Paragon HFS+ for Windows':

https://www.paragon-software.com/home/hfs-windows/#

'Paragon HFS+ for Windows' is payware, but has a free 10-day trial,
which should be enough.

Paragon has also a product for APFS filesystems (see Paul's
responses).

According to my notes, I had more luck with 'Paragon HFS+ for
Windows'
than with 'HFSExplorer' (http://www.catacombae.org/hfsexplorer).

'HFSExplorer' is more limited/basic than 'Paragon HFS+ for Windows',
but it might be enough for your situation.

Good luck with your recovery efforts.

Hi,

Thanks to all that replied.

Frank, glad you were able to do what we have not been able to do, yet.

My daughter and I were finally able to get together, and I got more
information from her. First, I don't know why the motherboard was
deemed dead by the Apple geniuses, even though they said they did
'tests' on it, because it is not. And I don't know why my daughter was
not able to get the iMac to even sound like it was on, let alone show
anyting, even POST, on the screen. I suspect that the iMac may have
been plugged into a wall outlet that was not hot unless the wall switch
was on.

The iMac did turn on, but had the spinning circle of death. Some
readings say that this could be due to an upgrade in progress that was
aborted. My daughter doesn't remember. That was five years ago.

There are two parts to the story of what we accomplished/didn't
accomplish.

1) Now that the iMac is not completely dead, let's see what we can find
on the hard drive.

With the original hard drive put back in the machine, the iMac did turn
on, with the spinning circle of death. Well, at leasat there's
something going on. We found the iOS disc, and printed on the disc
itself it said to insert disc, power down, power up, 'press C' after
turning on power. This should bring up the disc utilities allowing you
to recover/install anew. Ok, let's try that.

This was a little more difficult than expected, because we found a
music cd was in the Super Drive. Of course we couldn't eject it,
because the iOS woundn't load. We had to remove the Super Drive, and
then use a putty knife to remove the music cd. Once out, we put the
Super Drive back in the machine, and inserted the iOS disc, and pressed
C on the Apple keyboard.

Oops, the original Apple keyboard (bluetooth) was unusable because
after five years of non-use, with the battery still in it, leaky
alkaline build up had cemented the battery compartment shut to the
point where heavy duty twisting with a large blade flat tip screwdriver
wouln't budget the battery compartment door one mm. I had plenty of
extra USB keyboards, which we tried, but none worked. Down to BestBuy
to get a cheap USB keyboard that was Apple compatible. BestBuy's
in-house brand, Insigna for $20, worked.

Pressing the C key while the machine was booting did bring up the disk
utilities most of the time. When it did, we went as far into it as we
could to explore the menus without going the the point of no return.
But, the menus that appeared were not what the instructions said would
appear. We backed out because we wanted to try to move/copy the
pictures/videos from the drive more that recover/reinstall, which could
wipe out the files we wanted to move/copy.

2) So much for trying to read the hard drive while installed in the
machine. Let's see about moving/copying files from the original hard
drive to my daughter's HP laptop.

We removed the Apple hard drive and installed HFS+ along with Java, on
my daughgter's HP Win10 laptop, and connected it to the laptop, and we
could intermittently access the hard drive. The hard drive did show up
in disk manager, but not in Windows Explorer. We did not expect it to
show up in any Windows window. It did show up in HFS Explorer, but
when we tried to extract a file, we'd get a few files extracted to the
HP, but then a Java error would appear, and the process halted. We
were never able to move/copy more than a few files. Here's the error
message:

https://postimg.cc/image/l2d72vcnf/

Next, I loaded Paragon's HFS+ for Windows on to my Win7 desktop, and
connected the Apple hard drive. This time, the Apple hard drive would
not show up anywhere, and Paragon gave me this message:

https://postimg.cc/image/l3n4w946j/

But see where it says 'restart the service'? If I pressed that link,
I'd get connected to the iMac hard drive:

https://postimg.cc/gallery/g75huiu4/

(Ignore file names, for some reason file names didn't carry over to
postimg correctly)

If I pressed the Close button on the Macintosh HD screen, I was sent
back to 'restart service'.

I will try some more later this week.

Thanks for reading this far.

To get past the I/O error, you could try gddrescue from a
Linux LiveCD.


OK. So I went off and did some reading, since I've never done anything
with Linux, but have always been curious. I'd like to try and see how far
I can get. If I don't get far, because this is beyond my skills, or if I
am able to complete this process but the Apple drive is too far corrupted,
I will have at least learned a little about Linux, and may experiment with
a LinuxLive distribution on a spare pc.

Let me see if I understand the first few steps of the mechanics of the
process.

Download (obviously from a working pc) a LinuxLiveCD iso, and create a
bootable set of LinuxLive cds. Possibly from he
https://cdimage.debian.org/debian-cd...64/iso-hybrid/

Connect both the error ridden Apple 500GB hard drive, and another hard
drive with at least 500GB of free space to a working pc (this Win7x64
machine)

Boot the Win7 using the LinuxLiveCD
Once in Linux, run the command:
sudo gddrescue if=/dev/sda of=/dev/sdb

If the above is correct so far, will there be on-screen directions as to
where to direct the retrieved sectors?


The Linuz LiveDVD is about 1.5GB in size and a single-layer
DVD should be sufficient to hold it. You can also use a
USB stick if the disc is known to be a hybrid equipped
with USB boot. It takes a sector-by-sector dd (disk dump)
copy to make a USB stick.

Making the DVD is a bit easier, if you're more familiar with
converting ISO9660 to bootable media.

When the LiveDVD is booted, you need to find a Terminal
to issue the command. In Ubuntu, you use the dash icon,
which is top or bottom left, and type the name of the
command you want ("Terminal").

*******

This is the first example I found. gddrescue is the package
name of ddrescue on some platforms (like maybe Ubuntu or Mint).

http://www.cgsecurity.org/wiki/Damaged_Hard_Disk

man ddrescue

# first, grab most of the error-free areas in a hurry:
sudo ddrescue -n /dev/old_disk /dev/new_disk rescued.log
# then try to recover as much of the dicey areas as possible:
sudo ddrescue -r 1 /dev/old_disk /dev/new_disk rescued.log

In this example, a disk is being transferred to an image file,
rather than to another disk.

-b8M max block size 8MB per transfer, auto-adjusts itself
/dev/sdb source disk
sdb.raw destination image file
sdb.log text file keeps track of progress
-S sparse (only helps if disk was whitened with zeros first, optional)

sudo ddrescue -S -b8M /dev/sdb /mount/external/backup/sdb.raw /mount/external/backup/sdb.log

I've checked my records and I don't seem to have a worked example.
I think the problem was, the example with the -S in it,
all the sectors were collected on the first pass, so there
was no need to do a second pass. If a second pass was
attempted, it would have exited in a microsecond, because
there was no work to do.

You can use

ddrescue

to get the OS to tell you how to install it. Perhaps

sudo apt install gddrescue

is what it answers, as the command to use.

Then

man ddrescue

for the options.

The first major argument is the source (/dev/sdX)

The second argument can be a disk when cloning (/dev/sdY)
or if you have a formatted partition just sitting
there which is 500GB in size, you can dump to
sdb.raw on that partition. That's how you'd make
a backup image.

The disk dump command (dd), which is available on
more platforms, is less polished. It uses if=
for the source disk. It uses of= for the destination disk.

My problem here, is I don't have any disks throwing an
I/O error, to use for making sample runs. I have good
disks or dead disks, and nothing useful for this sort
of work.

Using the manual page, you should be able to figure it out.

The important thing is, the package name is gddrescue,
while the executable is ddrescue, and the "sudo" thing
means to elevate to root user so that physical address
to the disk is possible.

There are backup softwares which promise to do this
sort of thing, but... I don't trust them. One test
showed the maker lied about their capabilities. At
least with gddrescue, I know it does what it says
on the tin. The format they use for the .log file,
shows they thought about how to do this a bit.
This wasn't a ten minute software development effort.

Paul
Ads
  #17  
Old July 7th 18, 12:09 AM posted to alt.windows7.general
Paul[_32_]
external usenet poster
 
Posts: 11,873
Default Reading Apple Files with a Windows Machine?

Frank Slootweg wrote:


Pardon my French######Dutch, but I didn't see Boris mentioning any
*I/O* errors, only 'errors'/messages from Paragon HFS+ for Windows. Am I
overlooking something?


https://postimg.cc/image/l2d72vcnf/

java.lang.RuntimeException:
Error 0x0000045D while attempting to read 262144 bytes
from position 975175680 in file (read 0 bytes).

Could be a tool issue.

https://sourceforge.net/p/catacombae...read/8411b0b2/

It's an error, but maybe it's "self-inflicted" and not
caused by hardware.

https://msdn.microsoft.com/en-us/library/cc231199.aspx

0x0000045D ERROR_IO_DEVICE
The request could not be performed because of an I/O device error.

You can use HDTune 2.55 and the Error Scan tab, select
the drive and see how many red blocks show up. If I was
doing it though, I'd save the effort for a ddrescue run,
to make sure I have a copy of the data.

http://www.hdtune.com/files/hdtune_255.exe

Paul
  #18  
Old July 7th 18, 03:57 AM posted to alt.windows7.general
Paul[_32_]
external usenet poster
 
Posts: 11,873
Default Reading Apple Files with a Windows Machine?

Boris wrote:
Well, I made a Linux Live DVD using the Debian distribution, and booted
into Debian.

I selected Files, and Debian showed the Macintosh HD, but also gave a
notification that the folder contents could not be displayed.

I then went to Terminal to see if I could do anything there. I just
entered 'man ddrescue' to see if the manual had help for ddrescue
commands. Nope. I also entered 'man help' and got a whole list of
commands with syntax.

The Debian distribution that I got said it had ddrescue package. Maybe
not. Maybe I'll give it another try with Knoppix.

But if this distribution doesn't recognize the Macintosh HD folders, I
wonder if ddrescue will see them.





Here are relevant screenshots:


https://postimg.cc/gallery/2k7wuwtcs/


First step is type

ddrescue

as if you want to run it.

The system will find it is missing, and the system
will tell you what the package name is and what
command to use. The command should be similar to

sudo apt install gddrescue

But because distros vary on packaging, that's
why you're relying on the system to tell you what
to install.

After the package is installed, then

man ddrescue

should work, as well as

ddrescue --Version

or similar. You can pummel it with commands, until
it admits to having parameters.

ddrescue -h
ddrescue --help
ddrescue -V
ddrescue --version

*******

The system might have a

disks

or a

gparted
sudo gparted

command. You might then discover the relationship
between the /dev/sdX or /dev/sdY part of things, versus
the file systems involved.

Say your Mac disk is /dev/sdb.
First, issue the command to get the package installer name

disktype

Then it'll say

sudo apt install disktype

Then, try out the command, such as

disktype /dev/sdb

If that's the Mac disk, it'll tell you that partition
number 9 is the Apple_HFS+ volume.

If you use

sudo gparted

it can see the partitions on the Mac disk. You can
go to the nineth partition, right click and see if a
"Mount" option is available. HFS+ volumes can be journaled,
and maybe Linux can see it's messed up and won't touch it.
But the Linux way should be to mount it "ro" or Read Only
in a case like that.

This is me, messing around with my ddrescue-style .dd of my
80GB Macintosh IDE drive. In terminal, first you make
a mount point (where the automounter would normally
be working). That's as good a place as any when working
on a LiveCD.

sudo mkdir /media/macsdb

This particular command assumes the thing to be mounted
is a bitmap file.

sudo mount -t hfsplus -o loop,ro macsdb.dd /media/macsdb

Now, if it was a device, the problem I have is whether
the mounter knows about partition 9 or not. I don't think
this worked for me.

sudo mount -t hfsplus -o ro /dev/sdb9 /media/macsdb

And later

sudo umount /media/macsdb

If you list /dev like this

ls /dev
sudo ls /dev

and look at the sdb entries, you might see whether the
OS respects the Mac partition table or not. Gparted
knows what it is (because GParted *messed up* a
Mac disk for me). You would not be making partition
table changes in there, merely seeing if the "Mount"
option is available in the right-click menu or not,
for the ninth partition.

I think the most encouraging output will come from

sudo disktype /dev/sdb

as it does know a Mac disk when it sees one. You'll
feel "warm all over" when you see the output. That's
because so many other commands are going to give you
a hard time :-)

Paul
  #19  
Old July 7th 18, 06:24 AM posted to alt.windows7.general
Paul[_32_]
external usenet poster
 
Posts: 11,873
Default Reading Apple Files with a Windows Machine?

Boris wrote:
Well, I made a Linux Live DVD using the Debian distribution, and booted
into Debian.

I selected Files, and Debian showed the Macintosh HD, but also gave a
notification that the folder contents could not be displayed.

I then went to Terminal to see if I could do anything there. I just
entered 'man ddrescue' to see if the manual had help for ddrescue
commands. Nope. I also entered 'man help' and got a whole list of
commands with syntax.

The Debian distribution that I got said it had ddrescue package. Maybe
not. Maybe I'll give it another try with Knoppix.

But if this distribution doesn't recognize the Macintosh HD folders, I
wonder if ddrescue will see them.





Here are relevant screenshots:


https://postimg.cc/gallery/2k7wuwtcs/


In these examples, I'm using a bitmap copy of an 80GB
Mac hard drive. Rather than plugging in that hard drive.

In the first picture, you can see gparted giving a representation
of the Mac disk. Partition #9 is the first data partition.
But the partitions can go up to at least #26, if you make
the mistake of putting multiple partitions on one disk.

With a real disk drive, you'd try

sudo gparted /dev/sda

https://s22.postimg.cc/ixnivctb5/gpa...n_mac_disk.gif

*******

In this shot, "disktype" shows the partition table. Partition #9
is the HFSPlus data partition. The "wrapper" mentioned there, is
present so if the disk is plugged into a MacOS 8.5 computer, a
snotty warning message is presented to the user about the contents
not being available.

On a read disk drive, you'd try

sudo disktype /dev/sda

https://s22.postimg.cc/ppdxxqd0h/disktype.gif

*******

In this shot, the partition is being mounted, and the ls command
shows the disk contents.

https://s22.postimg.cc/xw5xpil5d/par...ee_files_2.gif

sudo mkdir /media/macsda

sudo mount -t hfsplus -o ro /dev/sda /media/macsda

df

ls /media/macsda

sudo umount /media/macsda

The questionable part in that sequence, is whether
the mount command is smart enough to jump over the
first eight tiny partitions, and open the only
HFSPLUS which is present. It happened that way for my
loopback mount of the bitmap version of the disk,
but I can't be sure it'll work for your physical disk.

This says nothing about I/O errors.

Linux could still get an I/O error if you
try to copy off files. Using the "ro" option is an
attempt to keep it "read-only" while working on it.

Paul
  #20  
Old July 8th 18, 10:34 AM posted to alt.windows7.general
Paul[_32_]
external usenet poster
 
Posts: 11,873
Default Reading Apple Files with a Windows Machine?

Boris wrote:
Well, I made a Linux Live DVD using the Debian distribution, and booted
into Debian.

I selected Files, and Debian showed the Macintosh HD, but also gave a
notification that the folder contents could not be displayed.

I then went to Terminal to see if I could do anything there. I just
entered 'man ddrescue' to see if the manual had help for ddrescue
commands. Nope. I also entered 'man help' and got a whole list of
commands with syntax.

The Debian distribution that I got said it had ddrescue package. Maybe
not. Maybe I'll give it another try with Knoppix.

But if this distribution doesn't recognize the Macintosh HD folders, I
wonder if ddrescue will see them.

Here are relevant screenshots:

https://postimg.cc/gallery/2k7wuwtcs/


I set up a real hard drive with a Mac image on it.
And I was shocked when the file manager in Linux (Ubuntu 18.04)
understood the multiple partitions on the Mac disk and actually
mounted the partition I selected. This is the release I used.

more /etc/lsb-release

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu Bionic Beaver (development branch)"

In the /etc/mtab file, this is the entry for the mounted file system.
(Mounted by clicking the partition, in the name of science.)
Using the "remount" command, you might be able to change the "-o rw"
to "-o ro" and make the partition read only while working on it. It doesn't
hurt my setup, because my disk is a copy of an existing .img of the thing.

# This is not a command. This is a line in mtab, recording the mount OP.
# The parameters suggest a full-featured manual command line operation instead.

/dev/sda18 /media/ubuntu/MacBak hfsplus rw,nosuid,nodev,relatime,umask=22,uid=999,gid=999, nls=utf8 0 0

If done manually, this is approximately what you'd do. The first actual
HFS+ partition on the Mac disk is 9, and this one is about half
way out. The Mac disk might be able to handle 20 partitions or so.
At a guess.

# make a mount point in slash

sudo mkdir /media/ubuntu/MacBak

# mount it

sudo mount -t hfsplus -o ro,nls=utf8 /dev/sda18 /media/ubuntu/MacBak

Now, you got an "I/O error" at your top level, whereas
I got "Permission Denied", and you can see from the goofy
ownership displayed on the screen, why that happened.

https://s22.postimg.cc/xv1ict42p/my_mac_permissions.gif

In this thread, you can see the conclusion was, that
some flavor of ddrescue run is called for.

https://unix.stackexchange.com/quest...aged-hard-disk

A brief mention of the versions of ddrescue is made here.

https://www.cgsecurity.org/wiki/Damaged_Hard_Disk

# compare the versions here, to the version of gddrescue
# offered in your package manager.

http://download.savannah.gnu.org/releases/ddrescue/

# Version 1.23 was released Feb 2018.

ddrescue-1.23.tar.lz

My copy of Ubuntu offers version 1.22 .

https://s22.postimg.cc/e2zcdcsgx/synaptic_offers.gif

After it's installed, the Properties further down
shows the manual page is "ddrescue".

man ddrescue

*******

You can use the "smartmontools" package to get smartctl.

sudo smartctl -a /dev/sda

That will dump info like this. This is actually a good
disk, so the reallocated is still "0". This has nothing to
do with estimating how many "I/O errors" are present,
because just one I/O error in a file allocation table,
is going to cause havoc.

https://s22.postimg.cc/y059mhyj5/Smart_Mon_Tools.gif

After you've made two safety copies of the disk, you can
experiment with tools like "Disk First Aid" from a Mac
installer CD, and try and repair it. But only work on a
copy, not on the original ("sick") disk.

Paul
  #21  
Old July 9th 18, 05:16 AM posted to alt.windows7.general
Paul[_32_]
external usenet poster
 
Posts: 11,873
Default Reading Apple Files with a Windows Machine?

Boris wrote:
Paul wrote in news
Boris wrote:
Well, I made a Linux Live DVD using the Debian distribution, and
booted into Debian.

I selected Files, and Debian showed the Macintosh HD, but also gave a
notification that the folder contents could not be displayed.

I then went to Terminal to see if I could do anything there. I just
entered 'man ddrescue' to see if the manual had help for ddrescue
commands. Nope. I also entered 'man help' and got a whole list of
commands with syntax.

The Debian distribution that I got said it had ddrescue package.
Maybe not. Maybe I'll give it another try with Knoppix.

But if this distribution doesn't recognize the Macintosh HD folders, I
wonder if ddrescue will see them.

Here are relevant screenshots:

https://postimg.cc/gallery/2k7wuwtcs/

I set up a real hard drive with a Mac image on it.
And I was shocked when the file manager in Linux (Ubuntu 18.04)
understood the multiple partitions on the Mac disk and actually
mounted the partition I selected. This is the release I used.

more /etc/lsb-release

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu Bionic Beaver (development branch)"

In the /etc/mtab file, this is the entry for the mounted file system.
(Mounted by clicking the partition, in the name of science.)
Using the "remount" command, you might be able to change the "-o rw"
to "-o ro" and make the partition read only while working on it. It
doesn't hurt my setup, because my disk is a copy of an existing .img of
the thing.

# This is not a command. This is a line in mtab, recording the mount OP.
# The parameters suggest a full-featured manual command line operation
instead.

/dev/sda18 /media/ubuntu/MacBak hfsplus
rw,nosuid,nodev,relatime,umask=22,uid=999,gid=999, nls=utf8 0 0

If done manually, this is approximately what you'd do. The first actual
HFS+ partition on the Mac disk is 9, and this one is about half
way out. The Mac disk might be able to handle 20 partitions or so.
At a guess.

# make a mount point in slash

sudo mkdir /media/ubuntu/MacBak

# mount it

sudo mount -t hfsplus -o ro,nls=utf8 /dev/sda18 /media/ubuntu/MacBak

Now, you got an "I/O error" at your top level, whereas
I got "Permission Denied", and you can see from the goofy
ownership displayed on the screen, why that happened.

https://s22.postimg.cc/xv1ict42p/my_mac_permissions.gif

In this thread, you can see the conclusion was, that
some flavor of ddrescue run is called for.

https://unix.stackexchange.com/quest...ir-a-corrupted
-hfs-partition-from-a-damaged-hard-disk

A brief mention of the versions of ddrescue is made here.

https://www.cgsecurity.org/wiki/Damaged_Hard_Disk

# compare the versions here, to the version of gddrescue
# offered in your package manager.

http://download.savannah.gnu.org/releases/ddrescue/

# Version 1.23 was released Feb 2018.

ddrescue-1.23.tar.lz

My copy of Ubuntu offers version 1.22 .

https://s22.postimg.cc/e2zcdcsgx/synaptic_offers.gif

After it's installed, the Properties further down
shows the manual page is "ddrescue".

man ddrescue

*******

You can use the "smartmontools" package to get smartctl.

sudo smartctl -a /dev/sda

That will dump info like this. This is actually a good
disk, so the reallocated is still "0". This has nothing to
do with estimating how many "I/O errors" are present,
because just one I/O error in a file allocation table,
is going to cause havoc.

https://s22.postimg.cc/y059mhyj5/Smart_Mon_Tools.gif

After you've made two safety copies of the disk, you can
experiment with tools like "Disk First Aid" from a Mac
installer CD, and try and repair it. But only work on a
copy, not on the original ("sick") disk.

Paul


By now I have three versions of Linux Live DVDs I've tried them all. But,
I still have not imaged the corrupt Mac HD. I'm don't trust myself enough
yet to be sure I won't completely corrupt the Mac HD, if it's not already
fully corrupt, let alone one of my own HDs.

I tried these LinuxLive dvds in this order:


1) Debianlive 9.4.0 cinnamon
My first look at Linux; ok, I sort of see what Linux is all about, and why
my son wanted to install on a 32GB Lenovo laptop, Win10 was too bulky and
slow HOwever, I couldn't mount the Mac HD with Debian. Maybe it could be
done, but I couldn't see a way to do it. I used the termial and 'help' to
get some commands, but I had no idea what they were. The terminal also
told me that 'ddrescue' was not a recognized command, but I thought since
I couldn't mount the Mac HD, it didn't matter. Later, after I tried
Knoppix, I think that maybe ddrescue had to be loaded as a package from an
online source.

I did lose at a game of chess, though.

https://postimg.cc/gallery/2qkkkgfbw/
debian


2) Knoppix 8.1-2017-09-05
Knoppix seemed to come with a little bit more onboard, and the GUI looked
sleeker. I did do some more reading and in Terminal mode:

sudo apt-get update
sudo apt-get install gddrescue (not 'ddrescue'; different version?)
sudo apt-get install hwinfo (hardware information, which did show the Mac
HD)

gparted did find my WinOS, my thumbdrive (Store N Go), etc, but not the
Mac HD

Still couldn't mount the Mac HD.

Lost another game of chess.

https://postimg.cc/gallery/1i1ackcrg/
knoppix

3) Ubuntu-18.04-desktop-amd64 (Bionic Beaver g)
UbuntuBB had the most applications of the three, and it took the longest
to load up; about five times as long as the first two. The GUI was the
slickest.

In Terminal mode, I found that hwinfo was not included in UbuntuBB, but
'hwinfo --short' returned: Command 'hwinfo' not found, but can be
installed with: 'sudo apt install hwinfo' (That was a little different
command line than with Knoppix.)

Also in Terminal mode, 'gddrescue' returned:
Command 'gddrescue' not found, did you mean
Command 'ddrescue' from deb gddrescue
Try: sudo apt install deb name (No 'get', like in Knoppix)

Knoppix uses gddrescue, and UbuntuBB wants to use ddrescue? I'll have to
figure this one out. I didn't install any more packages (I think they are
called packages, like apps are to Windows, or Skills are to Alexa?)

I don't remeber the tool, I think it ws Drives, that was able to mount all
of the connected drives like my WinOS, thumb drive, CD/DVD, etc. The Mac
HD showed up as having three partitions:

partiton 1
Size: 210MB
Device: /dev/sdf1
Partition Type: EFI System
Contents: FAT (32-bit version--Not Mounted)

partition 2
Size: 500GB
Device: /dev/sdf2
Partition Type: Apple HFS/HFS+
Contents: HFS+ Mounted at: /media/ubuntu/MacintoshHD (I don't understand
that path; doesn't seem to point to the physical Mac HD, more to learn)

partiton 3
Size: 134MB
Device: /dev/sdf
Contents: Unallocated Space

Here's some screenshots:

https://postimg.cc/gallery/2j64ffj4s/
ubuntu

The screenshoots for Debian and Knoppix were done with a digital camera.
I found a screenshoot app in Ubuntu, and saved to my thumbdrive.

Internet connection was fine in all three distros, but I couldn't get
wifi/router to work in order to send to wifi printers. I'll figure it
out.

At this point, I'm calling it a day. More fun tomorrow. I have and old
XP machine and lots of hard drives. I may try a dual boot set up.

Thanks for all the help, Paul.


My priority would be to get some ddrescue going first.

If I was doing it, I'd save the mount attempts for a
second thing to try.

Your disk setup is more modern than mine. Yours looks like
a UEFI setup of some sort. Mine has way more Apple specific
small partitions on it. The OS drive has around eight tiny
partitions (at least one has drivers), and the partition
number nine is where the disk starts. Your disk on the other
hand, has the major partition as the second one.

The command line package manager is Aptitude, which might
have been a Debian thing. Older OSes use apt-get for installation.
Newer OSes changed the name to just apt. Synaptic is the
GUI overlay on top of the set of apt commands. Synaptic is
not installed by default on Ubuntu now. You have to go
to the Software (orange file folder) application and turn
on Universe and Multiverse. Drop to a terminal and type
"synaptic" and follow the instructions. And as long as it
installs, you can follow up with "sudo synaptic" and search
for packages. You can type "ddrescue" into the Search box
in synaptic and find the package names.

Once a package is installed, in Synaptic you can go back
to that line in the display and do Properties, and the
freshly installed package will be shown as a file list.
It's there you'd see "/usr/bin/ddrescue" and know the
name was ddrescue. Similarly, if you scroll down, you
can see the name of the manual page. So you can do

man ddrescue

or whatever.

I was surprised to find Ubuntu mounting my Mac disk that I
set up yesterday. It wasn't that long ago, that only
gparted had a foggy notion of Mac disks. I wouldn't
use gparted to change things on the Mac disk, without
a lot more testing, as I found some pretty serious
problems with it (partition table *destroyed*). Luckily,
I was working with a copy. Even the setup I used yesterday
is a copy I can turf when done.

*******

Device: /dev/sdf2

Mount point: /media/ubuntu/MacintoshHD

The physical device is a simple "counting scheme". The
drives are lettered from a to z, as if this was Disk
Management where the disks are numbered 0..9 say.
So "sdf" is the sixth hard drive detected so far.

The digit that comes after it, is the partition number.
Your first partition is EDI, the second is the HFSPlus partition.

/dev/sdf # Starts at offset 0. A good reference point
# when ddrescue copying.

/dev/sdf1 # Points to the very first sector of the
# first partition.

/dev/sdf2 # Points to the very first sector of the
# second partition.

When you mount a partition, it "goes on top" of a
mount point. before mounting, if you

ls /media/ubuntu/MacintoshHD

it would be empty. If there was an actual file in the folder
at this point in time, it "cannot be seen" while the mount
is present. So if we do this...

sudo mount -t hfsplus /dev/sdf2 /media/ubuntu/MacintoshHD

ls /media/ubuntu/MacintoshHD

the contents of the Machintosh HD will be showing in Terminal,
not any file(s) in that folder before it was used as a mount
point.

Even Windows has the notion of mount points, as the namespace
needs a root, and things progress downwards from the root. So
while Windows doesn't expose the details of mounting in quite
the same way, some of the concepts are similar. This is why
the vhdmount utility from Microsoft for mounting .vhd files,
it required that C: be an NTFS partition. and that hints
that this was a byproduct of needing the mount a bitmap
style thing. Several commercial softwares found a way to
do that, without constraints.

I would stick with Ubuntu Bionic Beaver for the moment,
as you'll get some pretty recent versions of packages.
The only thing I don't like, is mounting RW by default,
and then needing to use, say, "sudo remount -o ro" to
make it read only.

But your first priorities right now, are ddrescue to
make a copy, and perhaps "SmartMonTools" and smartctl,
to find out how healthy the SMART table is on the
sick drive. The only kinds of disks that don't
have SMART, might be SCSI and SAS, whereas a lot
if IDE or SATA should have SMART. When you use a USB
tether, that may block SMART passthru. A direct connection
to a desktop disk cable, will enable SMART.

Paul
  #22  
Old July 9th 18, 05:53 PM posted to alt.windows7.general
Frank Slootweg
external usenet poster
 
Posts: 1,226
Default Reading Apple Files with a Windows Machine?

Boris wrote:
[...]
By now I have three versions of Linux Live DVDs I've tried them all. But,
I still have not imaged the corrupt Mac HD. I'm don't trust myself enough
yet to be sure I won't completely corrupt the Mac HD, if it's not already
fully corrupt, let alone one of my own HDs.


Considering you have little to no Linux experience, it's (IMO) rather/
too risky to use Linux for this delicate and important data recovery
attempt.

If I were in your situation, I would first try a disk-cloning
operation on your Windows system, before considering to try unknown
Linux territory.

In case you did not see it, here's part of my earlier response to
Paul on this subject:

quote

Thinking of sector-by-sector copying, couldn't Macrium Reflect FREE's
disk-cloning function be used as an alternative?

The disk-cloning function has in Advanced Options:

"Perform a Forensic Sector Copy. This option will copy all sectors from
the source disk, whether they are is use or not."

Macrium Reflect FREE would both be easier - no Linux boot disk needed
- and safer - easier to see which is the real source/original disk and
which is the to-be-copied-to disk.

/quote

Of course any other (Windows-based) disk-cloning software - such as
Acronis - can be used instead of Macrium Reflect FREE.

Please let me know if you need more help with this [1], but note that
I'll be absent after Saturday.

[1] I've not used the Macrium Reflect FREE disk-cloning function and
don't have a HFS+ disk to experiment with, but I have experience with
Macrium Reflect FREE and disk imaging / disk cloning in general.
  #23  
Old July 9th 18, 08:12 PM posted to alt.windows7.general
pjp[_10_]
external usenet poster
 
Posts: 1,183
Default Reading Apple Files with a Windows Machine?

In article 3,
lid says...

Frank Slootweg wrote in
news
Boris wrote:
[...]
By now I have three versions of Linux Live DVDs I've tried them all.
But, I still have not imaged the corrupt Mac HD. I'm don't trust
myself enough yet to be sure I won't completely corrupt the Mac HD, if
it's not already fully corrupt, let alone one of my own HDs.


Considering you have little to no Linux experience, it's (IMO) rather/
too risky to use Linux for this delicate and important data recovery
attempt.

If I were in your situation, I would first try a disk-cloning
operation on your Windows system, before considering to try unknown
Linux territory.

In case you did not see it, here's part of my earlier response to
Paul on this subject:

quote

Thinking of sector-by-sector copying, couldn't Macrium Reflect FREE's
disk-cloning function be used as an alternative?

The disk-cloning function has in Advanced Options:

"Perform a Forensic Sector Copy. This option will copy all sectors from
the source disk, whether they are is use or not."

Macrium Reflect FREE would both be easier - no Linux boot disk needed
- and safer - easier to see which is the real source/original disk and
which is the to-be-copied-to disk.

/quote

Of course any other (Windows-based) disk-cloning software - such as
Acronis - can be used instead of Macrium Reflect FREE.

Please let me know if you need more help with this [1], but note that
I'll be absent after Saturday.

[1] I've not used the Macrium Reflect FREE disk-cloning function and
don't have a HFS+ disk to experiment with, but I have experience with
Macrium Reflect FREE and disk imaging / disk cloning in general.


Hi, Frank,


I was under the impression that extFat partition is supported by both
OS's. Why not just use a Mac to copy the files to such a formatted disk
and then read them in Windows?
  #24  
Old July 10th 18, 12:57 AM posted to alt.windows7.general
Paul[_32_]
external usenet poster
 
Posts: 11,873
Default Reading Apple Files with a Windows Machine?

pjp wrote:
In article 3,
lid says...
Frank Slootweg wrote in
news
Boris wrote:
[...]
By now I have three versions of Linux Live DVDs I've tried them all.
But, I still have not imaged the corrupt Mac HD. I'm don't trust
myself enough yet to be sure I won't completely corrupt the Mac HD, if
it's not already fully corrupt, let alone one of my own HDs.
Considering you have little to no Linux experience, it's (IMO) rather/
too risky to use Linux for this delicate and important data recovery
attempt.

If I were in your situation, I would first try a disk-cloning
operation on your Windows system, before considering to try unknown
Linux territory.

In case you did not see it, here's part of my earlier response to
Paul on this subject:

quote

Thinking of sector-by-sector copying, couldn't Macrium Reflect FREE's
disk-cloning function be used as an alternative?

The disk-cloning function has in Advanced Options:

"Perform a Forensic Sector Copy. This option will copy all sectors from
the source disk, whether they are is use or not."

Macrium Reflect FREE would both be easier - no Linux boot disk needed
- and safer - easier to see which is the real source/original disk and
which is the to-be-copied-to disk.

/quote

Of course any other (Windows-based) disk-cloning software - such as
Acronis - can be used instead of Macrium Reflect FREE.

Please let me know if you need more help with this [1], but note that
I'll be absent after Saturday.

[1] I've not used the Macrium Reflect FREE disk-cloning function and
don't have a HFS+ disk to experiment with, but I have experience with
Macrium Reflect FREE and disk imaging / disk cloning in general.

Hi, Frank,


I was under the impression that extFat partition is supported by both
OS's. Why not just use a Mac to copy the files to such a formatted disk
and then read them in Windows?


You could use the existing Mac, a new hard drive for the
OS partition, but... you'd need the install media.
Which may have been thrown just about anywhere after
the machine was unpacked.

And the install media isn't "Windows quality" either.

The user is expected to futz with the Installer menu,
find the disk partitioning tool in the Installer
menu, then *guess* what partition type it might like for
installation. I just about popped a blood vessel trying
to use my 10.3 discs to install MacOSX in the thing.
The OPs setup should be GPT, mine was HFSPlus journaled
for the main partition.

Why, it's almost as much fun as Linux :-/

I don't consider Linux to be a big deal. The DEs have
gotten worse over the years for bootstrapping
(figuring out what dash is). I particularly appreciate
and give extra points for any DE that leaves a Terminal
icon in the Task Bar, which takes a lot of pain
out of your first baby steps.

And naming all the tools different things, as you
go from distro to distro, makes me a bit crazy.
Nautilus, Thunar, Caja, Nemo, can you guess from
the name what they might do ? Now, when an environment
has "TextEdit", I award extra points. We need
more "Captain Obvious" in this stuff. Why can't
all distros call it "File Manager" in some menu,
and leave it as a surprise for later, that the
developers call it Thunar. Firefox could be
"Web Browser". The "Captain Obvious" program could
show as "Captain Obvious" in the menu :-)

Paul
  #25  
Old July 10th 18, 03:16 AM posted to alt.windows7.general
Paul[_32_]
external usenet poster
 
Posts: 11,873
Default Reading Apple Files with a Windows Machine?

Boris wrote:

At this time, the iOS disk is in the SuperDrive. I can't get it out


Below the tray on mine, about 1.5" to 2" from the right hand
edge and just below the tray, you'll see a "paper clip hole".
Straight a stainless steel paper clip, to use as a pusher.
(Some of those hold their shape better.)

Place the end of the unraveled paper clip, into the hole.
Push on what is behind the hole. You should see some
movement of the tray.

Now, on mine, just below the paper clip hole, is a pearl
white plastic cover, which might house an activity LED.
I've never bothered to check whether that's working, as
a "tray cover" hides the drive in normal operation on
my G4.

The PC I'm sitting in front of, has the paper clip
hole in exactly the same relative location.

On some Macs, the trim around the drive tray can
hide the paper clip hole.

There are probably Macs that don't have the paper
clip hole. This is the recommended procedure...

Another trick is the force-eject on boot:

This is done by restarting your Mac and holding down
the mouse button (or trackpad button if you have a laptop)
as the system boots. Hold it down until the system boots,
again the disk should come out.

But maybe that won't work, depending on what other
hardware is missing from the machine. The paper clip
method isn't "a lot of fun", but it is more mechanical
and doesn't rely on tricks.

*******

And remember your project status:

1) You've experienced an I/O error on the drive.
(Whereas my test got Permission Denied.)
While there might be a technical explanation for this
that doesn't involve hard drive damage, we don't
know at this point, what shape the drive is in.

2) You haven't evaluated the SMART stats yet.
(HDTune in Windows. SmartMonTools in Linux.)

Mounting a sick disk on a freshly installed Mac,
might give initial joy in the ability to see the
disk icon. But things could rapidly fall apart if
the OS can't actually read the drive. I don't
recommend either CHKDSK or Disk First Aid on
sick drives, as the outcomes are too varied
to take the risk.

If a drive is sick, you want to make a copy of
it first. Maybe clonezilla would work. I don't know.
But use something. And if it's a 500GB drive, verify
that the "thing" the backup program got is 500GB in
size. Proving that you have a snapshot of *everything*.
If a file handle is lost, the file clusters could
still be there. A "conventional" backup might not
capture the "recoverable" files sitting on the disk.
A "ddrescue" style copy, gets as much as possible.
And ddrescue doesn't care about partition types,
as all it does is hoover up sectors. It has a
very simple job to do.

Paul
  #26  
Old July 11th 18, 02:48 AM posted to alt.windows7.general
Paul[_32_]
external usenet poster
 
Posts: 11,873
Default Reading Apple Files with a Windows Machine?

Boris wrote:
Paul wrote in news
Boris wrote:

At this time, the iOS disk is in the SuperDrive. I can't get it out

Below the tray on mine, about 1.5" to 2" from the right hand
edge and just below the tray, you'll see a "paper clip hole".
Straight a stainless steel paper clip, to use as a pusher.
(Some of those hold their shape better.)

Place the end of the unraveled paper clip, into the hole.
Push on what is behind the hole. You should see some
movement of the tray.

Now, on mine, just below the paper clip hole, is a pearl
white plastic cover, which might house an activity LED.
I've never bothered to check whether that's working, as
a "tray cover" hides the drive in normal operation on
my G4.

The PC I'm sitting in front of, has the paper clip
hole in exactly the same relative location.

On some Macs, the trim around the drive tray can
hide the paper clip hole.

There are probably Macs that don't have the paper
clip hole. This is the recommended procedure...

Another trick is the force-eject on boot:

This is done by restarting your Mac and holding down
the mouse button (or trackpad button if you have a laptop)
as the system boots. Hold it down until the system boots,
again the disk should come out.

But maybe that won't work, depending on what other
hardware is missing from the machine. The paper clip
method isn't "a lot of fun", but it is more mechanical
and doesn't rely on tricks.

*******

And remember your project status:

1) You've experienced an I/O error on the drive.
(Whereas my test got Permission Denied.)
While there might be a technical explanation for this
that doesn't involve hard drive damage, we don't
know at this point, what shape the drive is in.

2) You haven't evaluated the SMART stats yet.
(HDTune in Windows. SmartMonTools in Linux.)

Mounting a sick disk on a freshly installed Mac,
might give initial joy in the ability to see the
disk icon. But things could rapidly fall apart if
the OS can't actually read the drive. I don't
recommend either CHKDSK or Disk First Aid on
sick drives, as the outcomes are too varied
to take the risk.

If a drive is sick, you want to make a copy of
it first. Maybe clonezilla would work. I don't know.
But use something. And if it's a 500GB drive, verify
that the "thing" the backup program got is 500GB in
size. Proving that you have a snapshot of *everything*.
If a file handle is lost, the file clusters could
still be there. A "conventional" backup might not
capture the "recoverable" files sitting on the disk.
A "ddrescue" style copy, gets as much as possible.
And ddrescue doesn't care about partition types,
as all it does is hoover up sectors. It has a
very simple job to do.

Paul


Loaded Ubuntu 18.04.

I went here to get SmartMonTools for Linux, in particular, for Ubuntu 18.04
Bionic Beaver:

https://packages.ubuntu.com/bionic/smartmontools


I clicked the amd64 file, and it took me to the download page for
smartmontools:
https://packages.ubuntu.com/bionic/a...tools/download

which told me:
If you are running Ubuntu, it is strongly suggested to use a package manager
like aptitude or synaptic to download and install packages, instead of doing
so manually via this website.

aptitude was a red link, so I clicked on it (even though I knew I had it
already because I'd used it in terminal mode sudo apt-get etc...); when I
clicked on that link, it took me to the download page for aptitude:
https://packages.ubuntu.com/bionic/aptitude

I clicked the amd64 file, which took me the download page for aptitude:
https://packages.ubuntu.com/bionic/a...itude/download

which told me:
If you are running Ubuntu, it is strongly suggested to use a package manager
like aptitude or synaptic to download and install packages, instead of doing
so manually via this website.

Dizzying, frustrating, PITA.

OK. I kind of remember the sudo apt-get command, so I launch Terminal.

I figure I'll install both gddrescue and smartmontools.

https://postimg.cc/image/y2cmrgm2j/

I press y, and this comes up:

https://postimg.cc/image/6g9v6appn/

The only way I could close this window was to end the terminal command, so I
did.

I went here to find instructions on how to run SmartMonTools:

https://www.thomas-
krenn.com/en/wiki/Analyzing_a_Faulty_Hard_Disk_using_Smartctl#SMART_ Tests


I opened Terminal, and typed (I was pummelling the thing by now)

smartctl -a /dev/sdf2

(The Disks app in Ubuntu had previously identified the iOS partition 2 as
sdf2; the EFI partition was sdf1; the unallocatd partition was sdf

How do I get SmartMonTools to run while in Ubuntu?

Thanks


SmartMonTools has, as a feature, the ability to email you
if a disk is failing. That's what "PostFix" is for.

Just feed PostFix any old baloney. Hit OK or whatever.
Hit enough keys to finish the PostFix step and continue
with the SmartMonTools.

*******

These are some pictures of dealing with a LiveDVD of Ubuntu 18.04 x64.
Turning on the Universe and Multiverse repositories is the first step.
It even makes File Sharing, further in the pictures, work.

https://postimg.cc/gallery/1aecxj10c/

There are nine pictures total in the gallery.

https://s33.postimg.cc/y8ux86hzf/01_repo_man.gif

https://s33.postimg.cc/6y9m07x23/02_...h_terminal.gif

https://s33.postimg.cc/7b106f2h7/03_...rtmontools.gif

https://s33.postimg.cc/pqlh3tw17/04_neuter_postfix.gif

https://s33.postimg.cc/aumxw7prf/05_gddrescue.gif

https://s33.postimg.cc/80jsirvaz/06_..._continued.gif

https://s33.postimg.cc/6li7u29nf/07_..._blank_off.gif

https://s33.postimg.cc/ahvjq2a2j/08_...ith_win_PC.gif

https://s33.postimg.cc/jcwe0jguj/09_..._continued.gif

Paul
  #27  
Old July 13th 18, 12:45 AM posted to alt.windows7.general
Paul[_32_]
external usenet poster
 
Posts: 11,873
Default Reading Apple Files with a Windows Machine?

Boris wrote:
Paul wrote in news
Boris wrote:
Paul wrote in news
Boris wrote:

At this time, the iOS disk is in the SuperDrive. I can't get it out
Below the tray on mine, about 1.5" to 2" from the right hand
edge and just below the tray, you'll see a "paper clip hole".
Straight a stainless steel paper clip, to use as a pusher.
(Some of those hold their shape better.)

Place the end of the unraveled paper clip, into the hole.
Push on what is behind the hole. You should see some
movement of the tray.

Now, on mine, just below the paper clip hole, is a pearl
white plastic cover, which might house an activity LED.
I've never bothered to check whether that's working, as
a "tray cover" hides the drive in normal operation on
my G4.

The PC I'm sitting in front of, has the paper clip
hole in exactly the same relative location.

On some Macs, the trim around the drive tray can
hide the paper clip hole.

There are probably Macs that don't have the paper
clip hole. This is the recommended procedure...

Another trick is the force-eject on boot:

This is done by restarting your Mac and holding down
the mouse button (or trackpad button if you have a laptop)
as the system boots. Hold it down until the system boots,
again the disk should come out.

But maybe that won't work, depending on what other
hardware is missing from the machine. The paper clip
method isn't "a lot of fun", but it is more mechanical
and doesn't rely on tricks.

*******

And remember your project status:

1) You've experienced an I/O error on the drive.
(Whereas my test got Permission Denied.)
While there might be a technical explanation for this
that doesn't involve hard drive damage, we don't
know at this point, what shape the drive is in.

2) You haven't evaluated the SMART stats yet.
(HDTune in Windows. SmartMonTools in Linux.)

Mounting a sick disk on a freshly installed Mac,
might give initial joy in the ability to see the
disk icon. But things could rapidly fall apart if
the OS can't actually read the drive. I don't
recommend either CHKDSK or Disk First Aid on
sick drives, as the outcomes are too varied
to take the risk.

If a drive is sick, you want to make a copy of
it first. Maybe clonezilla would work. I don't know.
But use something. And if it's a 500GB drive, verify
that the "thing" the backup program got is 500GB in
size. Proving that you have a snapshot of *everything*.
If a file handle is lost, the file clusters could
still be there. A "conventional" backup might not
capture the "recoverable" files sitting on the disk.
A "ddrescue" style copy, gets as much as possible.
And ddrescue doesn't care about partition types,
as all it does is hoover up sectors. It has a
very simple job to do.

Paul

Loaded Ubuntu 18.04.

I went here to get SmartMonTools for Linux, in particular, for Ubuntu

18.04
Bionic Beaver:

https://packages.ubuntu.com/bionic/smartmontools


I clicked the amd64 file, and it took me to the download page for
smartmontools:
https://packages.ubuntu.com/bionic/a...tools/download

which told me:
If you are running Ubuntu, it is strongly suggested to use a package

manager
like aptitude or synaptic to download and install packages, instead of

doing
so manually via this website.

aptitude was a red link, so I clicked on it (even though I knew I had

it
already because I'd used it in terminal mode sudo apt-get etc...); when

I
clicked on that link, it took me to the download page for aptitude:
https://packages.ubuntu.com/bionic/aptitude

I clicked the amd64 file, which took me the download page for aptitude:
https://packages.ubuntu.com/bionic/a...itude/download

which told me:
If you are running Ubuntu, it is strongly suggested to use a package

manager
like aptitude or synaptic to download and install packages, instead of

doing
so manually via this website.

Dizzying, frustrating, PITA.

OK. I kind of remember the sudo apt-get command, so I launch Terminal.

I figure I'll install both gddrescue and smartmontools.

https://postimg.cc/image/y2cmrgm2j/

I press y, and this comes up:

https://postimg.cc/image/6g9v6appn/

The only way I could close this window was to end the terminal command,

so I
did.

I went here to find instructions on how to run SmartMonTools:

https://www.thomas-

krenn.com/en/wiki/Analyzing_a_Faulty_Hard_Disk_using_Smartctl#SMART_ Tests

I opened Terminal, and typed (I was pummelling the thing by now)

smartctl -a /dev/sdf2

(The Disks app in Ubuntu had previously identified the iOS partition 2

as
sdf2; the EFI partition was sdf1; the unallocatd partition was sdf

How do I get SmartMonTools to run while in Ubuntu?

Thanks

SmartMonTools has, as a feature, the ability to email you
if a disk is failing. That's what "PostFix" is for.

Just feed PostFix any old baloney. Hit OK or whatever.
Hit enough keys to finish the PostFix step and continue
with the SmartMonTools.

*******

These are some pictures of dealing with a LiveDVD of Ubuntu 18.04 x64.
Turning on the Universe and Multiverse repositories is the first step.
It even makes File Sharing, further in the pictures, work.

https://postimg.cc/gallery/1aecxj10c/

There are nine pictures total in the gallery.

https://s33.postimg.cc/y8ux86hzf/01_repo_man.gif

https://s33.postimg.cc/6y9m07x23/02_...h_terminal.gif

https://s33.postimg.cc/7b106f2h7/03_...rtmontools.gif

https://s33.postimg.cc/pqlh3tw17/04_neuter_postfix.gif

https://s33.postimg.cc/aumxw7prf/05_gddrescue.gif

https://s33.postimg.cc/80jsirvaz/06_..._continued.gif

https://s33.postimg.cc/6li7u29nf/07_..._blank_off.gif

https://s33.postimg.cc/ahvjq2a2j/08

_share_screenshots_with_win_PC.gif
https://s33.postimg.cc/jcwe0jguj/09_..._continued.gif

Paul


Thanks for the instructions. I was able to update and then install
gddrescue and SmartMonTools yesteray night, and PostFix, but I had to
reboot back to Win7 late last night.

Back this morning and I figured I had to reinstall both packages, since
nothing is saved on the Live version. Also configured PostFix.

But, it seems that Disks recognizes the Mac hard drive partitioni 2 (iOS)
differently from time to time Today it recognized it as sdf2, while
yesterday it was sdb. I got a permissions error. Of course, I could be
approaching this incorrectly.

https://postimg.cc/image/453jdgqd7/7b9d689d/


Smartctl accesses hardware and needs root authority.

Place the word "sudo " as the first thing in front of
your smartctl command.

Paul
  #28  
Old July 14th 18, 03:30 AM posted to alt.windows7.general
Paul[_32_]
external usenet poster
 
Posts: 11,873
Default Reading Apple Files with a Windows Machine?

Boris wrote:
Paul wrote in news
Boris wrote:
Paul wrote in news
Boris wrote:
Paul wrote in news
Boris wrote:

At this time, the iOS disk is in the SuperDrive. I can't get it out
Below the tray on mine, about 1.5" to 2" from the right hand
edge and just below the tray, you'll see a "paper clip hole".
Straight a stainless steel paper clip, to use as a pusher.
(Some of those hold their shape better.)

Place the end of the unraveled paper clip, into the hole.
Push on what is behind the hole. You should see some
movement of the tray.

Now, on mine, just below the paper clip hole, is a pearl
white plastic cover, which might house an activity LED.
I've never bothered to check whether that's working, as
a "tray cover" hides the drive in normal operation on
my G4.

The PC I'm sitting in front of, has the paper clip
hole in exactly the same relative location.

On some Macs, the trim around the drive tray can
hide the paper clip hole.

There are probably Macs that don't have the paper
clip hole. This is the recommended procedure...

Another trick is the force-eject on boot:

This is done by restarting your Mac and holding down
the mouse button (or trackpad button if you have a laptop)
as the system boots. Hold it down until the system boots,
again the disk should come out.

But maybe that won't work, depending on what other
hardware is missing from the machine. The paper clip
method isn't "a lot of fun", but it is more mechanical
and doesn't rely on tricks.

*******

And remember your project status:

1) You've experienced an I/O error on the drive.
(Whereas my test got Permission Denied.)
While there might be a technical explanation for this
that doesn't involve hard drive damage, we don't
know at this point, what shape the drive is in.

2) You haven't evaluated the SMART stats yet.
(HDTune in Windows. SmartMonTools in Linux.)

Mounting a sick disk on a freshly installed Mac,
might give initial joy in the ability to see the
disk icon. But things could rapidly fall apart if
the OS can't actually read the drive. I don't
recommend either CHKDSK or Disk First Aid on
sick drives, as the outcomes are too varied
to take the risk.

If a drive is sick, you want to make a copy of
it first. Maybe clonezilla would work. I don't know.
But use something. And if it's a 500GB drive, verify
that the "thing" the backup program got is 500GB in
size. Proving that you have a snapshot of *everything*.
If a file handle is lost, the file clusters could
still be there. A "conventional" backup might not
capture the "recoverable" files sitting on the disk.
A "ddrescue" style copy, gets as much as possible.
And ddrescue doesn't care about partition types,
as all it does is hoover up sectors. It has a
very simple job to do.

Paul

Loaded Ubuntu 18.04.

I went here to get SmartMonTools for Linux, in particular, for Ubuntu
18.04
Bionic Beaver:

https://packages.ubuntu.com/bionic/smartmontools


I clicked the amd64 file, and it took me to the download page for
smartmontools:
https://packages.ubuntu.com/bionic/a...tools/download

which told me:
If you are running Ubuntu, it is strongly suggested to use a package
manager
like aptitude or synaptic to download and install packages, instead of
doing
so manually via this website.

aptitude was a red link, so I clicked on it (even though I knew I had
it
already because I'd used it in terminal mode sudo apt-get etc...); when
I
clicked on that link, it took me to the download page for aptitude:
https://packages.ubuntu.com/bionic/aptitude

I clicked the amd64 file, which took me the download page for aptitude:
https://packages.ubuntu.com/bionic/a...itude/download

which told me:
If you are running Ubuntu, it is strongly suggested to use a package
manager
like aptitude or synaptic to download and install packages, instead of
doing
so manually via this website.

Dizzying, frustrating, PITA.

OK. I kind of remember the sudo apt-get command, so I launch Terminal.

I figure I'll install both gddrescue and smartmontools.

https://postimg.cc/image/y2cmrgm2j/

I press y, and this comes up:

https://postimg.cc/image/6g9v6appn/

The only way I could close this window was to end the terminal command,
so I
did.

I went here to find instructions on how to run SmartMonTools:

https://www.thomas-

krenn.com/en/wiki/Analyzing_a_Faulty_Hard_Disk_using_Smartctl#SMART_ Tests
I opened Terminal, and typed (I was pummelling the thing by now)

smartctl -a /dev/sdf2

(The Disks app in Ubuntu had previously identified the iOS partition 2
as
sdf2; the EFI partition was sdf1; the unallocatd partition was sdf

How do I get SmartMonTools to run while in Ubuntu?

Thanks
SmartMonTools has, as a feature, the ability to email you
if a disk is failing. That's what "PostFix" is for.

Just feed PostFix any old baloney. Hit OK or whatever.
Hit enough keys to finish the PostFix step and continue
with the SmartMonTools.

*******

These are some pictures of dealing with a LiveDVD of Ubuntu 18.04 x64.
Turning on the Universe and Multiverse repositories is the first step.
It even makes File Sharing, further in the pictures, work.

https://postimg.cc/gallery/1aecxj10c/

There are nine pictures total in the gallery.

https://s33.postimg.cc/y8ux86hzf/01_repo_man.gif

https://s33.postimg.cc/6y9m07x23/02_...h_terminal.gif

https://s33.postimg.cc/7b106f2h7/03_...rtmontools.gif

https://s33.postimg.cc/pqlh3tw17/04_neuter_postfix.gif

https://s33.postimg.cc/aumxw7prf/05_gddrescue.gif

https://s33.postimg.cc/80jsirvaz/06_..._continued.gif

https://s33.postimg.cc/6li7u29nf/07_..._blank_off.gif

https://s33.postimg.cc/ahvjq2a2j/08
_share_screenshots_with_win_PC.gif
https://s33.postimg.cc/jcwe0jguj/09_..._continued.gif

Paul
Thanks for the instructions. I was able to update and then install
gddrescue and SmartMonTools yesteray night, and PostFix, but I had to
reboot back to Win7 late last night.

Back this morning and I figured I had to reinstall both packages, since
nothing is saved on the Live version. Also configured PostFix.

But, it seems that Disks recognizes the Mac hard drive partitioni 2 (iOS)
differently from time to time Today it recognized it as sdf2, while
yesterday it was sdb. I got a permissions error. Of course, I could be
approaching this incorrectly.

https://postimg.cc/image/453jdgqd7/7b9d689d/

Smartctl accesses hardware and needs root authority.

Place the word "sudo " as the first thing in front of
your smartctl command.

Paul


Smartctl tells me that the Mac HD does not have SMART capability.

To be sure Smartctl was reporting correctly, I checked my Win7 OS drive.


https://postimg.cc/gallery/3b5pg9hss/


It should be smartctl and /dev/sda or /dev/sdf.

You don't put the numbers on the end, when specifying
"the whole device".

/dev/sda whole disk === SMART
/dev/sda1 first partition on disk
/dev/sda2 second partition on disk

When you're working on a partition, such as formatting
the partition, then you want the number on the
end, so the wrong partition(s) don't get splattered.

sudo mkfs.ext4 /dev/sda2 # when formatting, specify the exact partition

Sometimes the manual page for a command has working
examples at the bottom of the page, but... not in this case.

https://linux.die.net/man/8/mkfs.ntfs

HTH,
Paul
  #29  
Old July 14th 18, 11:13 PM posted to alt.windows7.general
Paul[_32_]
external usenet poster
 
Posts: 11,873
Default Reading Apple Files with a Windows Machine?

Boris wrote:
Paul wrote in news
Boris wrote:
Paul wrote in news
Boris wrote:
Paul wrote in newsi3nll$19sb$1

@gioia.aioe.org:
Boris wrote:
Paul wrote in newsi14ul$q70$1

@gioia.aioe.org:
Boris wrote:

At this time, the iOS disk is in the SuperDrive. I can't get it

out
Below the tray on mine, about 1.5" to 2" from the right hand
edge and just below the tray, you'll see a "paper clip hole".
Straight a stainless steel paper clip, to use as a pusher.
(Some of those hold their shape better.)

Place the end of the unraveled paper clip, into the hole.
Push on what is behind the hole. You should see some
movement of the tray.

Now, on mine, just below the paper clip hole, is a pearl
white plastic cover, which might house an activity LED.
I've never bothered to check whether that's working, as
a "tray cover" hides the drive in normal operation on
my G4.

The PC I'm sitting in front of, has the paper clip
hole in exactly the same relative location.

On some Macs, the trim around the drive tray can
hide the paper clip hole.

There are probably Macs that don't have the paper
clip hole. This is the recommended procedure...

Another trick is the force-eject on boot:

This is done by restarting your Mac and holding down
the mouse button (or trackpad button if you have a laptop)
as the system boots. Hold it down until the system boots,
again the disk should come out.

But maybe that won't work, depending on what other
hardware is missing from the machine. The paper clip
method isn't "a lot of fun", but it is more mechanical
and doesn't rely on tricks.

*******

And remember your project status:

1) You've experienced an I/O error on the drive.
(Whereas my test got Permission Denied.)
While there might be a technical explanation for this
that doesn't involve hard drive damage, we don't
know at this point, what shape the drive is in.

2) You haven't evaluated the SMART stats yet.
(HDTune in Windows. SmartMonTools in Linux.)

Mounting a sick disk on a freshly installed Mac,
might give initial joy in the ability to see the
disk icon. But things could rapidly fall apart if
the OS can't actually read the drive. I don't
recommend either CHKDSK or Disk First Aid on
sick drives, as the outcomes are too varied
to take the risk.

If a drive is sick, you want to make a copy of
it first. Maybe clonezilla would work. I don't know.
But use something. And if it's a 500GB drive, verify
that the "thing" the backup program got is 500GB in
size. Proving that you have a snapshot of *everything*.
If a file handle is lost, the file clusters could
still be there. A "conventional" backup might not
capture the "recoverable" files sitting on the disk.
A "ddrescue" style copy, gets as much as possible.
And ddrescue doesn't care about partition types,
as all it does is hoover up sectors. It has a
very simple job to do.

Paul

Loaded Ubuntu 18.04.

I went here to get SmartMonTools for Linux, in particular, for

Ubuntu
18.04
Bionic Beaver:

https://packages.ubuntu.com/bionic/smartmontools


I clicked the amd64 file, and it took me to the download page for
smartmontools:
https://packages.ubuntu.com/bionic/a...tools/download

which told me:
If you are running Ubuntu, it is strongly suggested to use a

package
manager
like aptitude or synaptic to download and install packages, instead

of
doing
so manually via this website.

aptitude was a red link, so I clicked on it (even though I knew I

had
it
already because I'd used it in terminal mode sudo apt-get etc...);

when
I
clicked on that link, it took me to the download page for aptitude:
https://packages.ubuntu.com/bionic/aptitude

I clicked the amd64 file, which took me the download page for

aptitude:
https://packages.ubuntu.com/bionic/a...itude/download

which told me:
If you are running Ubuntu, it is strongly suggested to use a

package
manager
like aptitude or synaptic to download and install packages, instead

of
doing
so manually via this website.

Dizzying, frustrating, PITA.

OK. I kind of remember the sudo apt-get command, so I launch

Terminal.
I figure I'll install both gddrescue and smartmontools.

https://postimg.cc/image/y2cmrgm2j/

I press y, and this comes up:

https://postimg.cc/image/6g9v6appn/

The only way I could close this window was to end the terminal

command,
so I
did.

I went here to find instructions on how to run SmartMonTools:

https://www.thomas-

krenn.com/en/wiki/Analyzing_a_Faulty_Hard_Disk_using_Smartctl#SMART_ Tests
I opened Terminal, and typed (I was pummelling the thing by now)

smartctl -a /dev/sdf2

(The Disks app in Ubuntu had previously identified the iOS

partition 2
as
sdf2; the EFI partition was sdf1; the unallocatd partition was sdf

How do I get SmartMonTools to run while in Ubuntu?

Thanks
SmartMonTools has, as a feature, the ability to email you
if a disk is failing. That's what "PostFix" is for.

Just feed PostFix any old baloney. Hit OK or whatever.
Hit enough keys to finish the PostFix step and continue
with the SmartMonTools.

*******

These are some pictures of dealing with a LiveDVD of Ubuntu 18.04

x64.
Turning on the Universe and Multiverse repositories is the first

step.
It even makes File Sharing, further in the pictures, work.

https://postimg.cc/gallery/1aecxj10c/

There are nine pictures total in the gallery.

https://s33.postimg.cc/y8ux86hzf/01_repo_man.gif

https://s33.postimg.cc/6y9m07x23/02_...h_terminal.gif

https://s33.postimg.cc/7b106f2h7/03_...rtmontools.gif

https://s33.postimg.cc/pqlh3tw17/04_neuter_postfix.gif

https://s33.postimg.cc/aumxw7prf/05_gddrescue.gif

https://s33.postimg.cc/80jsirvaz/06_..._continued.gif

https://s33.postimg.cc/6li7u29nf/07_..._blank_off.gif

https://s33.postimg.cc/ahvjq2a2j/08
_share_screenshots_with_win_PC.gif
https://s33.postimg.cc/jcwe0jguj/09

_share_screenshots_continued.gif
Paul
Thanks for the instructions. I was able to update and then install
gddrescue and SmartMonTools yesteray night, and PostFix, but I had to
reboot back to Win7 late last night.

Back this morning and I figured I had to reinstall both packages,

since
nothing is saved on the Live version. Also configured PostFix.

But, it seems that Disks recognizes the Mac hard drive partitioni 2

(iOS)
differently from time to time Today it recognized it as sdf2, while
yesterday it was sdb. I got a permissions error. Of course, I could

be
approaching this incorrectly.

https://postimg.cc/image/453jdgqd7/7b9d689d/
Smartctl accesses hardware and needs root authority.

Place the word "sudo " as the first thing in front of
your smartctl command.

Paul

Smartctl tells me that the Mac HD does not have SMART capability.

To be sure Smartctl was reporting correctly, I checked my Win7 OS

drive.

https://postimg.cc/gallery/3b5pg9hss/

It should be smartctl and /dev/sda or /dev/sdf.

You don't put the numbers on the end, when specifying
"the whole device".

/dev/sda whole disk === SMART
/dev/sda1 first partition on disk
/dev/sda2 second partition on disk

When you're working on a partition, such as formatting
the partition, then you want the number on the
end, so the wrong partition(s) don't get splattered.

sudo mkfs.ext4 /dev/sda2 # when formatting, specify the exact

partition
Sometimes the manual page for a command has working
examples at the bottom of the page, but... not in this case.

https://linux.die.net/man/8/mkfs.ntfs

HTH,
Paul


Ubuntu 18.04 'Disks' app shows the Mac HD with three partitions, an EFI, a
data, and an unallocated. But seems that smartctl doesn't have this Mac
HD in it's database

https://postimg.cc/image/r1j6biliz/

or smartctl doesn't like that the Mac HD is connected via USB, per
article:

https://askubuntu.com/questions/6374...data-and-self-
test-on-external-hard-drive/637465

Perhaps I should connect directly to motherboard, but not sure if this
would make a difference. I doubt it's a USB issue because all other
external HDs are being reported fine with smartctl.

Regardless of what smartctl eventually? reports, I think what really
matters is imaaging with gddrescue.

I've bitten off more than I can (currently) chew.


Absolutely, connecting a hard drive via SATA makes a difference!

The SMART interface is an ATA feature. IDE and SATA follow ATA.
The motherboard ports are excellent for this work.

A kind of drive that doesn't have SMART, is SCSI. But I don't
know if that situation ever changed or not.

USB follows USB Mass Storage, and I don't recollect right
off hand, any "passthru" or "tunneling" interface to
do SMART work via USB.

You do need to be on a SATA port, to get the SATA drive
SMART info. That has the highest probability of working.

And initially, you want the table of numbers (so you
can see Current Pending or Reallocated raw data field
value). As well as the "Health" field that smartctl
offers above that table somewhere. Usually that
value is a joke, in that compromised drives can
show as "Healthy", even when they're not. If
the health summary said "Failing", then you'd know
the drive was actually in serious trouble.

Paul
  #30  
Old July 23rd 18, 04:12 AM posted to alt.windows7.general
Paul[_32_]
external usenet poster
 
Posts: 11,873
Default Reading Apple Files with a Windows Machine?

Boris wrote:
Paul wrote in news
Boris wrote:
Paul wrote in news
Boris wrote:
Paul wrote in news
Boris wrote:
Paul wrote in newsi3nll$19sb$1
@gioia.aioe.org:
Boris wrote:
Paul wrote in newsi14ul$q70$1
@gioia.aioe.org:
Boris wrote:

At this time, the iOS disk is in the SuperDrive. I can't get it
out
Below the tray on mine, about 1.5" to 2" from the right hand
edge and just below the tray, you'll see a "paper clip hole".
Straight a stainless steel paper clip, to use as a pusher.
(Some of those hold their shape better.)

Place the end of the unraveled paper clip, into the hole.
Push on what is behind the hole. You should see some
movement of the tray.

Now, on mine, just below the paper clip hole, is a pearl
white plastic cover, which might house an activity LED.
I've never bothered to check whether that's working, as
a "tray cover" hides the drive in normal operation on
my G4.

The PC I'm sitting in front of, has the paper clip
hole in exactly the same relative location.

On some Macs, the trim around the drive tray can
hide the paper clip hole.

There are probably Macs that don't have the paper
clip hole. This is the recommended procedure...

Another trick is the force-eject on boot:

This is done by restarting your Mac and holding down
the mouse button (or trackpad button if you have a laptop)
as the system boots. Hold it down until the system boots,
again the disk should come out.

But maybe that won't work, depending on what other
hardware is missing from the machine. The paper clip
method isn't "a lot of fun", but it is more mechanical
and doesn't rely on tricks.

*******

And remember your project status:

1) You've experienced an I/O error on the drive.
(Whereas my test got Permission Denied.)
While there might be a technical explanation for this
that doesn't involve hard drive damage, we don't
know at this point, what shape the drive is in.

2) You haven't evaluated the SMART stats yet.
(HDTune in Windows. SmartMonTools in Linux.)

Mounting a sick disk on a freshly installed Mac,
might give initial joy in the ability to see the
disk icon. But things could rapidly fall apart if
the OS can't actually read the drive. I don't
recommend either CHKDSK or Disk First Aid on
sick drives, as the outcomes are too varied
to take the risk.

If a drive is sick, you want to make a copy of
it first. Maybe clonezilla would work. I don't know.
But use something. And if it's a 500GB drive, verify
that the "thing" the backup program got is 500GB in
size. Proving that you have a snapshot of *everything*.
If a file handle is lost, the file clusters could
still be there. A "conventional" backup might not
capture the "recoverable" files sitting on the disk.
A "ddrescue" style copy, gets as much as possible.
And ddrescue doesn't care about partition types,
as all it does is hoover up sectors. It has a
very simple job to do.

Paul

Loaded Ubuntu 18.04.

I went here to get SmartMonTools for Linux, in particular, for
Ubuntu
18.04
Bionic Beaver:

https://packages.ubuntu.com/bionic/smartmontools


I clicked the amd64 file, and it took me to the download page for
smartmontools:
https://packages.ubuntu.com/bionic/a...tools/download

which told me:
If you are running Ubuntu, it is strongly suggested to use a
package
manager
like aptitude or synaptic to download and install packages, instead
of
doing
so manually via this website.

aptitude was a red link, so I clicked on it (even though I knew I
had
it
already because I'd used it in terminal mode sudo apt-get etc...);
when
I
clicked on that link, it took me to the download page for aptitude:
https://packages.ubuntu.com/bionic/aptitude

I clicked the amd64 file, which took me the download page for
aptitude:
https://packages.ubuntu.com/bionic/a...itude/download

which told me:
If you are running Ubuntu, it is strongly suggested to use a
package
manager
like aptitude or synaptic to download and install packages, instead
of
doing
so manually via this website.

Dizzying, frustrating, PITA.

OK. I kind of remember the sudo apt-get command, so I launch
Terminal.
I figure I'll install both gddrescue and smartmontools.

https://postimg.cc/image/y2cmrgm2j/

I press y, and this comes up:

https://postimg.cc/image/6g9v6appn/

The only way I could close this window was to end the terminal
command,
so I
did.

I went here to find instructions on how to run SmartMonTools:

https://www.thomas-

krenn.com/en/wiki/Analyzing_a_Faulty_Hard_Disk_using_Smartctl#SMART_ Tests
I opened Terminal, and typed (I was pummelling the thing by now)

smartctl -a /dev/sdf2

(The Disks app in Ubuntu had previously identified the iOS
partition 2
as
sdf2; the EFI partition was sdf1; the unallocatd partition was sdf

How do I get SmartMonTools to run while in Ubuntu?

Thanks
SmartMonTools has, as a feature, the ability to email you
if a disk is failing. That's what "PostFix" is for.

Just feed PostFix any old baloney. Hit OK or whatever.
Hit enough keys to finish the PostFix step and continue
with the SmartMonTools.

*******

These are some pictures of dealing with a LiveDVD of Ubuntu 18.04
x64.
Turning on the Universe and Multiverse repositories is the first
step.
It even makes File Sharing, further in the pictures, work.

https://postimg.cc/gallery/1aecxj10c/

There are nine pictures total in the gallery.

https://s33.postimg.cc/y8ux86hzf/01_repo_man.gif

https://s33.postimg.cc/6y9m07x23/02_...h_terminal.gif

https://s33.postimg.cc/7b106f2h7/03_...rtmontools.gif

https://s33.postimg.cc/pqlh3tw17/04_neuter_postfix.gif

https://s33.postimg.cc/aumxw7prf/05_gddrescue.gif

https://s33.postimg.cc/80jsirvaz/06_..._continued.gif

https://s33.postimg.cc/6li7u29nf/07_..._blank_off.gif

https://s33.postimg.cc/ahvjq2a2j/08
_share_screenshots_with_win_PC.gif
https://s33.postimg.cc/jcwe0jguj/09
_share_screenshots_continued.gif
Paul
Thanks for the instructions. I was able to update and then install
gddrescue and SmartMonTools yesteray night, and PostFix, but I had to
reboot back to Win7 late last night.

Back this morning and I figured I had to reinstall both packages,
since
nothing is saved on the Live version. Also configured PostFix.

But, it seems that Disks recognizes the Mac hard drive partitioni 2
(iOS)
differently from time to time Today it recognized it as sdf2, while
yesterday it was sdb. I got a permissions error. Of course, I could
be
approaching this incorrectly.

https://postimg.cc/image/453jdgqd7/7b9d689d/
Smartctl accesses hardware and needs root authority.

Place the word "sudo " as the first thing in front of
your smartctl command.

Paul

Smartctl tells me that the Mac HD does not have SMART capability.

To be sure Smartctl was reporting correctly, I checked my Win7 OS
drive.
https://postimg.cc/gallery/3b5pg9hss/
It should be smartctl and /dev/sda or /dev/sdf.

You don't put the numbers on the end, when specifying
"the whole device".

/dev/sda whole disk === SMART
/dev/sda1 first partition on disk
/dev/sda2 second partition on disk

When you're working on a partition, such as formatting
the partition, then you want the number on the
end, so the wrong partition(s) don't get splattered.

sudo mkfs.ext4 /dev/sda2 # when formatting, specify the exact
partition
Sometimes the manual page for a command has working
examples at the bottom of the page, but... not in this case.

https://linux.die.net/man/8/mkfs.ntfs

HTH,
Paul

Ubuntu 18.04 'Disks' app shows the Mac HD with three partitions, an EFI, a
data, and an unallocated. But seems that smartctl doesn't have this Mac
HD in it's database

https://postimg.cc/image/r1j6biliz/

or smartctl doesn't like that the Mac HD is connected via USB, per
article:

https://askubuntu.com/questions/6374...data-and-self-
test-on-external-hard-drive/637465

Perhaps I should connect directly to motherboard, but not sure if this
would make a difference. I doubt it's a USB issue because all other
external HDs are being reported fine with smartctl.

Regardless of what smartctl eventually? reports, I think what really
matters is imaaging with gddrescue.

I've bitten off more than I can (currently) chew.

Absolutely, connecting a hard drive via SATA makes a difference!

The SMART interface is an ATA feature. IDE and SATA follow ATA.
The motherboard ports are excellent for this work.

A kind of drive that doesn't have SMART, is SCSI. But I don't
know if that situation ever changed or not.

USB follows USB Mass Storage, and I don't recollect right
off hand, any "passthru" or "tunneling" interface to
do SMART work via USB.

You do need to be on a SATA port, to get the SATA drive
SMART info. That has the highest probability of working.

And initially, you want the table of numbers (so you
can see Current Pending or Reallocated raw data field
value). As well as the "Health" field that smartctl
offers above that table somewhere. Usually that
value is a joke, in that compromised drives can
show as "Healthy", even when they're not. If
the health summary said "Failing", then you'd know
the drive was actually in serious trouble.

Paul


Finally got down behind desk and cracked opened pc, connected MAC HD directly
to motherboard SATA port, and loaded Win7 first. (Drive would not slide into
bay because it had two permanent 2-3mm pegs on one side of the drive sticking
out, that couldn't be removed, but power and data cables were long enough to
connect, leaving drive outside of pc case, resting on floor.) I was now
curious to see how Windows would report this MAC HD.

Normally, when doing a cold boot, I never see a POST. Not that it goes by
fast, just that it never appears on screen. There doesn't seem to be a
setting to enable this to appear on my screen.

This time, with the MAC HD connected to SATA 2, the first POST notice to
appear showd a SMART Event for the MAC HD, ST3500418ASQ. Pressing CTRL-I
gets to RAID setup. I didn't go there.

After a few seconds, the next POST screen automatically appeared showing AHCI
Port1 Device Error
Press F2 to Resume

I pressed F2 and got thrown into the CMOS, but escaped out and Windows
loaded. Windows said ST3500418ASQ was installed, but kept "searching
preconfigured driver folders". After about five minutes, I closed that
window.

Device manager told me that ST3500418ASQ was working properly, and Disk
Manager told me that I had to initialize the MAC disk (disk1) before Disk
Manager could access it.

Here's some screen shots of the above:

https://postimg.cc/gallery/lvvmu73w/


I rebooted to Ubuntu 18.04 Live. Ubuntu Live loaded normally. I launched
Disks, but the MAC HD did not show up. I remembered that when the MAC HD was
tethered via USB, the drive would only show up in Ubuntu if the drive was
powered up after launching Disks. Since the MAC HD was connected directly to
the motherboard (power and data), I didn't want to disconnect power and
reconnect it. Instead, I disconnected data and reconnected. Disks now
recognized the MAC HD, and said "Disk is likely to fail soon".

https://postimg.cc/image/mukn27m8r/


Anyway......here's a cut and paste of just the first part of what SmartCtl
reported:

ubuntu@ubuntu:~$ sudo smartctl --all /dev/sdg --test=short -T permissive
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-20-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model: ST3500418ASQ
Serial Number: 9VMF20R6
LU WWN Device Id: 5 000c50 0207370c3
Firmware Version: AP24
User Capacity: 500,107,862,016 bytes [500 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: 7200 rpm
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: ATA8-ACS T13/1699-D revision 4
SATA Version is: SATA 2.6, 3.0 Gb/s
Local Time is: Sun Jul 22 19:37:10 2018 UTC
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: FAILED!
Drive failure expected in less than 24 hours. SAVE ALL DATA.
See vendor-specific Attribute list for failed Attributes.

Boris


Well, if you absolutely cannot get the table with smartctl
in Linux, go back to windows and use the Health tab
of HDTune 2.55.

http://www.hdtune.com/files/hdtune_255.exe

While Linux could be mis-interpreting some parameters
in SMART, it's possible the disk itself has some way
of indicating imminent failure after "doing the short
test" on its own. It could be a failure indicated by
short test, rather than an analysis of the SMART
parameter table to reach the same conclusion.

You really need to get working on your ddrescue/gddrescue.
And try and get as much data off the disk as possible.
Perhaps the active surface of the disk is toast, but
you'll discover that when you try. The thing is, the
disk would not have responded, unless the disk heads
loaded and the controller was able to read the
Service Area. So *some* portion of the platters
is readable. But we don't know how much.

Paul
 




Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off






All times are GMT +1. The time now is 01:05 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.