Thanks for the info, Frank.

The second problem I ran into was mounting the partition in Solaris. I think this is because I just created one primary partition on the fat32 drive, but I should have created a logical partition within that. Does that sound right? I followed the tips on

Shouldn't be necessary. PCFS can mount primary partitions, logical partitions and even unpartitioned media (provided for the latter exists a device, which on a SPARC may sometimes be an issue).

Are you using Solaris/x86 ? If so, try the ...p[1-4] devices as well as ...p0:[c-z] and/or ...p0:<number> - the biggest problem with PCFS is that figuring out which "device" (HAH; don't get me started ...) actually must be mounted :(

Yes, I am using Solaris/x86. I may have been getting the mount command wrong and unfortunately I don't have a way to go back and check what I typed because I was booting an OpenSolaris live CD which doesn't save my command history. It wasn't clear to me what I should put after the ':' when all I had was just a primary partition. If I get a chance, I will try it again.

I did go back and change the disk to have a logical partition within a primary partition which I got to work. The result, using Linux fdisk, was

Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device      Boot  Start  End   Blocks     Id  System
/dev/sdb1         1      30401 244196001  5   Extended
/dev/sdb5         1      30401 244195959+ W95 FAT32 (LBA)

Then, in Solaris, I mounted this with

# mount -F pcfs /dev/dsk/c1d1p0:d /mnt


Thanks,
Haik



http://www.sun.drydog.com/faq/9.html#9.10 regarding mounting dos partitions, but I kept getting an error message saying not a valid FAT partition.

What device specifiers (the horrid "PCFS drive letter" thingies) did you use, and to what effect ?


Using Linux, I have no problems mounting and accessing the fat32 partition. I created the partition using cfdisk and "mkdosfs -F 32".

What device name do you use on Linux ?

As said, should work. I'm curious to see the errors. And, if you'd like to submit us a bug report, I'd need to get the partition table and the first few sectors of the fat partition; extract those on Linux (the part. table via dd if=/dev/hdX bs=512 count=128, the first few sectors of the fat partition via dd if=/dev/hdX[1-15] bs=512 count=128, 'X' == the disk you use, [1-15] the number of the partition you mount as FAT on Linux). With that info, I can try loopback here and investigate what PCFS does with such a table.

Bye,
FrankH.

==========================================================================
No good can come from selling your freedom, not for all gold of the world,
for the value of this heavenly gift exceeds that of any fortune on earth.
==========================================================================
_______________________________________________
opensolaris-discuss mailing list
[email protected]

_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to