Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 May 2004 18:40:15 +0100
From:      Mark Ovens <mark@ukug.uk.freebsd.org>
To:        "J. W. Ballantine" <jwb@homer.att.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ntfs mount
Message-ID:  <409BC9FF.1030301@ukug.uk.freebsd.org>
In-Reply-To: <200405071712.i47HCEp10601@akiva.homer.att.com>
References:  <200405071712.i47HCEp10601@akiva.homer.att.com>

next in thread | previous in thread | raw e-mail | index | archive | help
J. W. Ballantine wrote:

> The full fdisk output is:
> ******* Working on device /dev/ad0 *******
> parameters extracted from in-core disklabel are:
> cylinders=4865 heads=255 sectors/track=63 (16065 blks/cyl)
> 

[snip]

I take it that the partition sizees reported are correct?

> It a Dell, but given the configuration, i do not believe it came
> pre-installed from the factory.

I would have thought that a Dell would have had *an* OS pre-installed.

> Only the first partition is bootable, I had two to separate the
> "standard" install from the non-standard (ie the programs I use).
> The multi-os boot manager is Smart Boot Manager, but that doesn't change
> any partiton ids.

Not come across Smart Boot Manager but I wonder if it creates a small 
partition to run from; the OS/2 Boot Manager, which was also shipped 
with older versions of Partition Magic, did but, like "recovery" 
partitions it didn't get a drive letter.

Try running:

# dd if=/dev/ad0 of=/tmp/foo bs=512 count=1
# hd /tmp/foo > /tmp/foo.hd

This copies the first sector of the disk to a file and hd(1) does a 
hexdump of the binary file.

Open /tmp/foo.hd in an editor and look at the last 4 lines, they should 
look similar to:

000001b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 80 01
000001c0  01 00 a5 7f ff 10 3f 00  00 00 41 97 60 00 00 00
000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa
00000200

(there will be the ASCII to the right of each line but I've not included 
it to prevent wrapping in the e-mail)

The partition type is the third hex number in the last 4 lines; the 
example above is 'a5' (FreeBSD) and the disk has only one partition 
which is why the other 3 lines are all zeros.

Post the file /tmp/foo.hd here as other stuff may yield clues.

Regards,

Mark




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?409BC9FF.1030301>