Solaris 10 x86 and ipod

September 23rd, 2006

After googling a lot I found a solution. The trick is that you obviously have to disable the vold during mount, otherwise it simply won’t mount with an error message that is quite out of touch with any logic.

Here are some *additional pointers*:
* iPod working on Solaris 10
My first stop, found this through google. Sort of concept proof.
* So you actually wanted to use your iPod with Solaris 10?!
Some additional hints, found with the search box on the first blog (after a link there didn’t work).
* Mounting an iPod on Solaris
After a phase of despair this gave me the final kick when I found out with rmformat that my ipod is really there and has a device.
* Information about vold and volmgt
This page actually stops short of telling how to mount an ipod, if you know what you’re after.

Here is the short path:

# plug your ipod in
# verify it’s there
dmesg
# which device?
rmformat -l
Looking for devices…
1. Logical Node: /dev/rdsk/c0t0d0p0
Physical Node: /pci@0,0/pci-ide@6/ide@0/sd@0,0
Connected Device: MATSHITA DVD-RAM SW-9585 B100
Device Type: DVD Reader/Writer
2. Logical Node: /dev/rdsk/c2t0d0p0
Physical Node: /pci@0,0/pci108e,5347@2,1/device@4/storage@0/disk@0,0
Connected Device: Apple iPod 1.62
Device Type: Removable
# stop vold
/etc/init.d/volmgt stop
# mount ipod (note the difference between /dev/rdsk/c2t0d0p0 and /dev/dsk/c2t0d0p2)
mount -F pcfs -o hidden /dev/dsk/c2t0d0p2 /mnt/ipod
# finished!

Solaris 10 Survival Guide

August 28th, 2006

Just my notes …

h2. Xorg

Section "Device"
  Option     "MergedFB" "False"
EndSection

Section "InputDevice"
  Option      "XkbVariant"    "nodeadkeys"
EndSection

h2. Networking

* Automatic DHCP

touch /etc/dhcp.yukonx0
touch /etc/hostname.yukonx0

* Manual DHCP

pkill -x dhcpagent
ifconfig yukonx0 dhcp start

h2. User Administration

* Add a new user:

useradd -m -d /export/home/user -s /bin/bash -g other user

h2. Keyboard Layout

* /boot/solaris/bootenv.rc

setprop kbd-type 'German'

h2. Hardware

* “Marvel Yukon 88E8053″:http://www.sun.com/bigadmin/hcl/data/sol/components/details/1205.html

h2. Software

* “Firefox”:
* “Thunderbird”:

Solaris 10 x86 Install

August 27th, 2006

These were some of the steps I had to take:

h2. GRUB

* I installed it on the second disk and tried to boot it with FreeBSDs easyBoot. This didn’t work the first time so I switched disks in BIOS, booted solaris and re-installed GRUB. Then it suddenly worked.

installgrub -m /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c1d1p0

h2. useradd

* After logging in as root I added the first user:

useradd -m -d /export/home/user -s /bin/bash -g other user

h2. keyboard

* I installed my keyboard layout with

vi /boot/solaris/bootenv.rc

h2. mounting Fat32

* Just in case you don’t have a working network driver and have to bootstrap your solaris, naming conventions of partitions:
** c the disk controller number
** t the target number, that is the SCSI Id. Ignored for ATAPI.
** d the disk on that target, that is 0 for the first disk etc.

*Example*: /dev/dsk/c1d1p2 The 2nd partition (p2) on the second disk (d1). The special p0 denotes the whole disk, this is the reason partitions start at 1.

h2. basic networking

* From another OS I put the network driver on a Fat32 partition, which I was able to mount with the following entry in /etc/vfstab:

/dev/dsk/c1d1p2 /dev/rdsk/c1d1p2 /mnt/data pcfs 2 yes ro

* Assuming your interface is named yukonx0, you can use *DHCP* this way:

touch /etc/hostname.yukonx0
touch /etc/dhcp.yukonx0

* My experience is that DHCP works slow, and a simple ifconfig yukonx0 dhcp doesn’t work most of the time. Instead, I simply rebooted, which was even slower but worked.

h2. locale

* You can modify this in /etc/default/init. For installing new localed see man localeadm, e.g. localeadm -a en_US.