Re: How do I "see" a hard drive?
- From: Keith Keller <kkeller-usenet@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 24 Apr 2006 12:19:48 -0700
On 2006-04-24, Anton Ertl <anton@xxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
"JohnW" <news@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> writes:
1. Having booted the Mac with Linux, should I be able to "see" the Mac hard
drive?
Just type
fdisk /dev/hda
at a shell command line. By pressing "p", you can see the partitions.
This might not work if the Mini is PPC. Try
mac-fdisk -l /dev/hda
2. If I should be able to "see" it, how do I go about that? ie do I need to
mount it from the command prompt before starting Xwindows? If so, exactly
what should I type in?
If your CD does not mount the partitions automatically, you can mount
them manually with
mkdir /mnt/hda2 #make a mount point
mount /dev/hda2 -t ext3 -o ro /mnt/hda2
That's assuming you have an ext3 file system on the partition hda2,
and you want to mount it read-only.
The OP mentioned that there's at least one OS X install on the disk.
It's probably HFS+, so -t hfs or -t hfs+ may or may not work. The
hfstools utilities might work for plain HFS, or his live CD might
include hfs+tools.
However, what I would do is to get an USB disk of at least the size of
the internal disk, and then just copy it over as a whole, like this:
dd if=/dev/hda of=/dev/sda
Assuming the USB disk is known to Linux as sda (you can check this
with dmesg). After you get your new disk, just dump the data back on
the internal disk with
dd if=/dev/sda of=/dev/hda
This isn't a bad idea. If the OP has a spare OS X box lying around, he
can verify that the dd worked by trying to mount the USB disk on that
machine.
--keith
--
kkeller-usenet@xxxxxxxxxxxxxxxxxxxxxxxxxx
(try just my userid to email me)
AOLSFAQ=http://wombat.san-francisco.ca.us/cgi-bin/fom
see X- headers for PGP signature information
.
- Follow-Ups:
- Re: How do I "see" a hard drive?
- From: Anton Ertl
- Re: How do I "see" a hard drive?
- References:
- How do I "see" a hard drive?
- From: JohnW
- Re: How do I "see" a hard drive?
- From: Anton Ertl
- How do I "see" a hard drive?
- Prev by Date: Re: How do I "see" a hard drive?
- Next by Date: Re: How do I "see" a hard drive?
- Previous by thread: Re: How do I "see" a hard drive?
- Next by thread: Re: How do I "see" a hard drive?
- Index(es):
Relevant Pages
|
|