Next Previous Contents

6. Sharing data

6.1 Using a shared partition

If you have build your kernel with Sun disk label support and UFS support as mentioned in section building your new kernel, you are now able to mount your Solaris partitions. During boot up, you should get something similar to:

  hda: [PTBL] [523/255/63] hda1 hda2 < hda5 hda6 hda7 hda8 > hda3 <Polaris: [s0]
  hda9 [s1] hda10 [s2] hda11 [s3] hda12 [s6] hda13 [s7] hda14 >
Meaning (in this case): partition 3 (hda3) is a Solaris partition with 6 slices (s0,s1,s2,s3,s6,s7). They are mapped to Linux devices hda9 to hda14.

Try mounting your Solaris partitions. When mounting UFS partitions, you always have to add an -oufstype= argument, in this case -oufstype=sunx86. So the command to mount a partition is something like:

  mount -oufstype=sunx86 /dev/hda14 /mnt
Now, test your partition. Please note: The write support on UFS partitions is very experimental. Please don't trust any data you write on your UFS partitions!

If you want your Solaris partitions automatically mounted at boot time, you can add a line like

  /dev/hda14 /solaris ufs ufstype=sunx86 0 0
to your /etc/fstab

6.2 Alternative ways

And, of course there are always other ways of sharing data:

Floppy disk

I don't know which floppy disk file systems are supported by Solaris. Do you? Mail me.

Network

Solaris knows NFS. Linux knows NFS. This might actually be the best way of sharing data


Next Previous Contents

Hosting by: Hurra Communications Ltd.
Generated: 2007-01-26 17:58:03