Installing Schillix 0.7.1i

Following on from the previous Blog, I then attempted to install Schillix. I basically followed the README.

Whilst still booted from the Schillix installation media, create 2 filesystems:

root@unknown:~# newfs /dev/rdsk/c0d0s0
newfs: construct a new file system /dev/rdsk/c0d0s0: (y/n)? y
Warning: 2400 sector(s) in last cylinder unallocated
/dev/rdsk/c0d0s0:       20979360 sectors in 3415 cylinders of 48 tracks, 128 sectors
        10243.8MB in 214 cyl groups (16 c/g, 48.00MB/g, 5824 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
 32, 98464, 196896, 295328, 393760, 492192, 590624, 689056, 787488, 885920,
 20055584, 20154016, 20252448, 20350880, 20449312, 20547744, 20646176,
 20744608, 20843040, 20941472

root@unknown:~# newfs /dev/rdsk/c0d0s6
newfs: construct a new file system /dev/rdsk/c0d0s6: (y/n)? y
Warning: 3936 sector(s) in last cylinder unallocated
/dev/rdsk/c0d0s6:       8315040 sectors in 1354 cylinders of 48 tracks, 128 sectors
        4060.1MB in 85 cyl groups (16 c/g, 48.00MB/g, 5824 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
 32, 98464, 196896, 295328, 393760, 492192, 590624, 689056, 787488, 885920,
 7374240, 7472672, 7571104, 7669536, 7767968, 7866400, 7964832, 8063264,
 8161696, 8260128

root@unknown:~# mount /dev/dsk/c0d0s0 /mnt


Copy the CD contents onto the root partition:

root@unknown:~# star -copy -p -sparse -no-fsync -time -xdot bs=1m fs=32m -C /.cdrom/ . /mnt
star: 0 blocks + 1244851712 bytes (total of 1244851712 bytes = 1215675.50k).
star: Total time 50.554sec (24046 kBytes/sec)


Update bootenv.rc to help grub find the root filesystem:

root@unknown:/# genbootpath /mnt >> /mnt/boot/solaris/bootenv.rc


Install the grub config file:

root@unknown:/# cp /mnt/boot/grub/menu.lst.sample  /mnt/boot/grub/menu.lst

Install grub (twice – once on the MBR, and also on the boot code of the bootable partition):

root@unknown:/# installgrub -m  /mnt/boot/grub/stage[12] /dev/rdsk/c0d0s0
Updating master boot sector destroys existing boot managers (if any).
continue (y/n)?y
stage2 written to partition 0, 275 sectors starting at 50 (abs 114)
stage1 written to partition 0 sector 0 (abs 64)
stage1 written to master boot sector

Create the boot-archive:

root@unknown:/# bootadm update-archive -R /mnt
updating /mnt//platform/i86pc/boot_archive
updating /mnt//platform/i86pc/amd64/boot_archive


Create the /dev tree, update the filesystem table, and change ownership of the root directory, then unmount and reboot:

root@unknown:/# devfsadm -r /mnt
root@unknown:/# cp /mnt/etc/vfstab.sample /mnt/etc/vfstab
root@unknown:/# chown root:root /mnt; chmod g-s,u=rwx,g=rx,o=rx /mnt
root@unknown:/# umount /mnt
root@unknown:/# reboot
Advertisements

2 Responses to Installing Schillix 0.7.1i

  1. Pingback: Booting Schillix – Where’s amd64? « Virtually everything

  2. You might be interested in the SchilliX installer I’ve been working on (available to github here: https://github.com/andy-js/schillix-installer). It’s pretty basic but it is able to install SchilliX onto a new zpool.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: