Installing into a VMware VM
Overview, for details see separate page with screenshots. We're assuming that VMware is already installed and functional.
- Create a VM for Schillix with the parameters:
- Oracle Solaris 10 (64bit) as Guest OS
- 1x vCPU
- 3G RAM
- 20G Disk (2x 20G if SDS mirroring is to be configured)
- Choose
SchilliX-0.8.en_US.iso
as primary boot device, make sure it is selected as image-device. - Start the VM, open a console, and select an US keyboard layout.
- Wait for the system to complete booting.
- login using the GUI Console (root/root)
- assign an IP Address using the command ifconfig(1)
ifconfig e1000g0 <IP>/24 up
- now login to the system using ssh(1) and the IP address assigned to it in the previous step.
- create a 100% Solaris FDisk Partition (on a previously unpartitioned disk, the default is t set 100% to Solaris2)
fdisk /dev/rdsk/c0t0d0p0
- use format(1m) to partition into the following slices
- create a filesystem for /:
newfs /dev/rdsk/c0t0d0s0
- mount to /mnt:
mount /dev/dsk/c0t0d0s0 /mnt
- copy the initial system to your future root filesystem mounted on /mnt:
star -copy -p -sparse -no-fsync -time -xdot bs=1m fs=32m -C /.cdrom . /mnt
(¿What do these options mean?)
slice | name | size |
---|---|---|
s0 | root | 15GB |
s1 | swap | 3GB |
s7 | stateDB | 500MB |
example:
partition> print
Current partition table (unnamed):
Total disk cylinders available: 3913 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 root wm 1 - 1959 15.01GB (1959/0/0) 31471335
1 swap wu 1960 - 2351 3.00GB (392/0/0) 6297480
2 backup wu 0 - 3912 29.98GB (3913/0/0) 62862345
3 unassigned wm 0 0 (0/0/0) 0
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 0 0 (0/0/0) 0
6 unassigned wm 0 0 (0/0/0) 0
7 reserved wu 2352 - 2415 502.03MB (64/0/0) 1028160
8 boot wu 0 - 0 7.84MB (1/0/0) 16065
9 unassigned wm 0 0 (0/0/0) 0
partition> label
Ready to label disk, continue? y
- write the bootpath into the emulated OpenFirmware Variable list:
genbootpath /mnt >> /mnt/boot/solaris/bootenv.rc
- configure the grub bootloader
cp /mnt/boot/grub/menu.lst.sample /mnt/boot/grub/menu.lst
mkdir /mnt/boot/grub/bootsign
touch /mnt/boot/grub/bootsign/schillix
- in /mnt/boot/grub/menu.lst, all
root (hd0,0,a)
need to be converted tofindroot (schillix,0,a)
- write the boot block:
installgrub -m /mnt/boot/grub/stage[12] /dev/rdsk/c0t0d0s0
- create a boot archive:
bootadm update-archive -R /mnt
- create a device file system on the future root disk mounted at mnt:
devfsadm -r /mnt
\item in {\sl /mnt/etc/vfstab} {\sl /} und swap\footnote{/dev/dsk/c0t0d0s1 - - swap - no - } eintragen \ {\sl /} ist logging (default) zu setzen - fix file ownership and permissions:
chown root:root /mnt
chmod g-s,u=rwx,g=rx,o=rx /mnt
- vfstab
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
/dev/dsk/c0t0d0s0 /dev/rdsk/c0t0d0s0 / ufs 1 no rw,logging
/dev/dsk/c0t0d0s1 - - swap - no -
/devices - /devices devfs - no -
/proc - /proc proc - no -
ctfs - /system/contract ctfs - no -
objfs - /system/object objfs - no -
sharefs - /etc/dfs/sharetab sharefs - no -
fd - /dev/fd fd - no -
swap - /tmp tmpfs - yes -
sample host
::1 localhost
127.0.0.1 localhost loghost
10.10.100.46 schillix sc-7 # VM sahara-c
schillix/24 up
# umount /mnt
# fsck /dev/rdsk/c0t0d0s0
** /dev/rdsk/c0t0d0s0
** Last Mounted on /mnt
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3a - Check Connectivity
** Phase 3b - Verify Shadows/ACLs
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cylinder Groups
59405 files, 1277637 used, 14203808 free (888 frags, 1775365 blocks, 0.0% fragmentation)
sendmail
to stop sendmail from complaining, it can be disabled
svcadm disable -t network/smtp:sendmail