Child pages
  • Creating OpenIndiana EC2 image

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Create /boot/grub/menu.lst file for Amazon's pv-grub.

Code Block

# cat /mnt/boot/grub/menu.lst
timeout 0
default 0
title chainload pv-grub
root (hd0)
kernel /pv-grub.gz (hd0)/menu.lst

Create /menu.lst file for custom zfs enabled pv-grub.

Code Block

# cat /mnt/menu.lst
timeout 0
default 0
title load /rpool/boot/grub/menu.lst
findroot (pool_rpool,0,a)
configfile /boot/grub/menu.lst

...

Initially the instance will not have any network connectivity. I have not investigated why exactly. Missing device links perhaps. Waiting for the instance to start and then rebooting it is a workaround. To check the status of the VM it is possible to look at the console output either by using Elasicfox or cli tools. The output does not appear immediately. There is typically few minute delay.

[1] Device links:

Code Block
oi@openindiana:~$ ls -l /dev/dsk /dev/rdsk

...


/dev/dsk:

...


total 21

...


lrwxrwxrwx 1 root root 29 2011-04-06 01:03 c0t0d0p0 -> ../../devices/xpvd/xdf@2048:q

...


lrwxrwxrwx 1 root root 29 2011-04-06 01:03 c0t0d0p1 -> ../../devices/xpvd/xdf@2048:r

...


lrwxrwxrwx 1 root root 29 2011-04-06 01:03 c0t0d0p2 -> ../../devices/xpvd/xdf@2048:s

...


lrwxrwxrwx 1 root root 29 2011-04-06 01:03 c0t0d0p3 -> ../../devices/xpvd/xdf@2048:t

...


lrwxrwxrwx 1 root root 29 2011-04-06 01:03 c0t0d0p4 -> ../../devices/xpvd/xdf@2048:u

...


lrwxrwxrwx 1 root root 29 2011-04-06 01:03 c0t0d0s0 -> ../../devices/xpvd/xdf@2048:a

...


lrwxrwxrwx 1 root root 29 2011-04-06 01:03 c0t0d0s1 -> ../../devices/xpvd/xdf@2048:b

...


lrwxrwxrwx 1 root root 29 2011-04-06 01:03 c0t0d0s10 -> ../../devices/xpvd/xdf@2048:k

...


lrwxrwxrwx 1 root root 29 2011-04-06 01:03 c0t0d0s11 -> ../../devices/xpvd/xdf@2048:l

...


lrwxrwxrwx 1 root root 29 2011-04-06 01:03 c0t0d0s12 -> ../../devices/xpvd/xdf@2048:m

...


lrwxrwxrwx 1 root root 29 2011-04-06 01:03 c0t0d0s13 -> ../../devices/xpvd/xdf@2048:n

...


lrwxrwxrwx 1 root root 29 2011-04-06 01:03 c0t0d0s14 -> ../../devices/xpvd/xdf@2048:o

...


lrwxrwxrwx 1 root root 29 2011-04-06 01:03 c0t0d0s15 -> ../../devices/xpvd/xdf@2048

...


lrwxrwxrwx 1 root root 29 2011-04-06 01:03 c0t0d0s2 -> ../../devices/xpvd/xdf@2048:c

...


lrwxrwxrwx 1 root root 29 2011-04-06 01:03 c0t0d0s3 -> ../../devices/xpvd/xdf@2048:d

...


lrwxrwxrwx 1 root root 29 2011-04-06 01:03 c0t0d0s4 -> ../../devices/xpvd/xdf@2048:e

...


lrwxrwxrwx 1 root root 29 2011-04-06 01:03 c0t0d0s5 -> ../../devices/xpvd/xdf@2048:f

...


lrwxrwxrwx 1 root root 29 2011-04-06 01:03 c0t0d0s6 -> ../../devices/xpvd/xdf@2048:g

...


lrwxrwxrwx 1 root root 29 2011-04-06 01:03 c0t0d0s7 -> ../../devices/xpvd/xdf@2048:h

...


lrwxrwxrwx 1 root root 29 2011-04-06 01:03 c0t0d0s8 -> ../../devices/xpvd/xdf@2048:i

...


lrwxrwxrwx 1 root root 29 2011-04-06 01:03 c0t0d0s9 -> ../../devices/xpvd/xdf@2048:j

...


lrwxrwxrwx 1 root root 29 2011-04-06 01:03 c0t1d0p0 -> ../../devices/xpvd/xdf@2064:q

...


lrwxrwxrwx 1 root root 29 2011-04-06 01:03 c0t1d0p1 -> ../../devices/xpvd/xdf@2064:r

...


lrwxrwxrwx 1 root root 29 2011-04-06 01:03 c0t1d0p2 -> ../../devices/xpvd/xdf@2064:s

...


lrwxrwxrwx 1 root root 29 2011-04-06 01:03 c0t1d0p3 -> ../../devices/xpvd/xdf@2064:t

...


lrwxrwxrwx 1 root root 29 2011-04-06 01:03 c0t1d0p4 -> ../../devices/xpvd/xdf@2064:u

...


lrwxrwxrwx 1 root root 29 2011-04-06 01:03 c0t1d0s0 -> ../../devices/xpvd/xdf@2064:a

...


lrwxrwxrwx 1 root root 29 2011-04-06 01:03 c0t1d0s1 -> ../../devices/xpvd/xdf@2064:b

...


lrwxrwxrwx 1 root root 29 2011-04-06 01:03 c0t1d0s10 -> ../../devices/xpvd/xdf@2064:k

...


lrwxrwxrwx 1 root root 29 2011-04-06 01:03 c0t1d0s11 -> ../../devices/xpvd/xdf@2064:l

...


lrwxrwxrwx 1 root root 29 2011-04-06 01:03 c0t1d0s12 -> ../../devices/xpvd/xdf@2064:m

...


lrwxrwxrwx 1 root root 29 2011-04-06 01:03 c0t1d0s13 -> ../../devices/xpvd/xdf@2064:n

...


lrwxrwxrwx 1 root root 29 2011-04-06 01:03 c0t1d0s14 -> ../../devices/xpvd/xdf@2064:o

...


lrwxrwxrwx 1 root root 29 2011-04-06 01:03 c0t1d0s15 -> ../../devices/xpvd/xdf@2064

...


lrwxrwxrwx 1 root root 29 2011-04-06 01:03 c0t1d0s2 -> ../../devices/xpvd/xdf@2064:c

...


lrwxrwxrwx 1 root root 29 2011-04-06 01:03 c0t1d0s3 -> ../../devices/xpvd/xdf@2064:d

...


lrwxrwxrwx 1 root root 29 2011-04-06 01:03 c0t1d0s4 -> ../../devices/xpvd/xdf@2064:e

...


lrwxrwxrwx 1 root root 29 2011-04-06 01:03 c0t1d0s5 -> ../../devices/xpvd/xdf@2064:f

...


lrwxrwxrwx 1 root root 29 2011-04-06 01:03 c0t1d0s6 -> ../../devices/xpvd/xdf@2064:g

...


lrwxrwxrwx 1 root root 29 2011-04-06 01:03 c0t1d0s7 -> ../../devices/xpvd/xdf@2064:h

...


lrwxrwxrwx 1 root root 29 2011-04-06 01:03 c0t1d0s8 -> ../../devices/xpvd/xdf@2064:i

...


lrwxrwxrwx 1 root root 29 2011-04-06 01:03 c0t1d0s9 -> ../../devices/xpvd/xdf@2064:j

...


/dev/rdsk:

...


total 21

...


lrwxrwxrwx 1 root root 33 2011-04-06 01:03 c0t0d0p0 -> ../../devices/xpvd/xdf@2048:q,raw

...


lrwxrwxrwx 1 root root 33 2011-04-06 01:03 c0t0d0p1 -> ../../devices/xpvd/xdf@2048:r,raw

...


lrwxrwxrwx 1 root root 33 2011-04-06 01:03 c0t0d0p2 -> ../../devices/xpvd/xdf@2048:s,raw

...


lrwxrwxrwx 1 root root 33 2011-04-06 01:03 c0t0d0p3 -> ../../devices/xpvd/xdf@2048:t,raw

...


lrwxrwxrwx 1 root root 33 2011-04-06 01:03 c0t0d0p4 -> ../../devices/xpvd/xdf@2048:u,raw

...


lrwxrwxrwx 1 root root 33 2011-04-06 01:03 c0t0d0s0 -> ../../devices/xpvd/xdf@2048:a,raw

...


lrwxrwxrwx 1 root root 33 2011-04-06 01:03 c0t0d0s1 -> ../../devices/xpvd/xdf@2048:b,raw

...


lrwxrwxrwx 1 root root 33 2011-04-06 01:03 c0t0d0s10 -> ../../devices/xpvd/xdf@2048:k,raw

...


lrwxrwxrwx 1 root root 33 2011-04-06 01:03 c0t0d0s11 -> ../../devices/xpvd/xdf@2048:l,raw

...


lrwxrwxrwx 1 root root 33 2011-04-06 01:03 c0t0d0s12 -> ../../devices/xpvd/xdf@2048:m,raw

...


lrwxrwxrwx 1 root root 33 2011-04-06 01:03 c0t0d0s13 -> ../../devices/xpvd/xdf@2048:n,raw

...


lrwxrwxrwx 1 root root 33 2011-04-06 01:03 c0t0d0s14 -> ../../devices/xpvd/xdf@2048:o,raw

...


lrwxrwxrwx 1 root root 33 2011-04-06 01:03 c0t0d0s15 -> ../../devices/xpvd/xdf@2048

...

 ,raw

...


lrwxrwxrwx 1 root root 33 2011-04-06 01:03 c0t0d0s2 -> ../../devices/xpvd/xdf@2048:c,raw

...


lrwxrwxrwx 1 root root 33 2011-04-06 01:03 c0t0d0s3 -> ../../devices/xpvd/xdf@2048:d,raw

...


lrwxrwxrwx 1 root root 33 2011-04-06 01:03 c0t0d0s4 -> ../../devices/xpvd/xdf@2048:e,raw

...


lrwxrwxrwx 1 root root 33 2011-04-06 01:03 c0t0d0s5 -> ../../devices/xpvd/xdf@2048:f,raw

...


lrwxrwxrwx 1 root root 33 2011-04-06 01:03 c0t0d0s6 -> ../../devices/xpvd/xdf@2048:g,raw

...


lrwxrwxrwx 1 root root 33 2011-04-06 01:03 c0t0d0s7 -> ../../devices/xpvd/xdf@2048:h,raw

...


lrwxrwxrwx 1 root root 33 2011-04-06 01:03 c0t0d0s8 -> ../../devices/xpvd/xdf@2048:i,raw

...


lrwxrwxrwx 1 root root 33 2011-04-06 01:03 c0t0d0s9 -> ../../devices/xpvd/xdf@2048:j,raw

...


lrwxrwxrwx 1 root root 33 2011-04-06 01:03 c0t1d0p0 -> ../../devices/xpvd/xdf@2064:q,raw

...


lrwxrwxrwx 1 root root 33 2011-04-06 01:03 c0t1d0p1 -> ../../devices/xpvd/xdf@2064:r,raw

...


lrwxrwxrwx 1 root root 33 2011-04-06 01:03 c0t1d0p2 -> ../../devices/xpvd/xdf@2064:s,raw

...


lrwxrwxrwx 1 root root 33 2011-04-06 01:03 c0t1d0p3 -> ../../devices/xpvd/xdf@2064:t,raw

...


lrwxrwxrwx 1 root root 33 2011-04-06 01:03 c0t1d0p4 -> ../../devices/xpvd/xdf@2064:u,raw

...


lrwxrwxrwx 1 root root 33 2011-04-06 01:03 c0t1d0s0 -> ../../devices/xpvd/xdf@2064:a,raw

...


lrwxrwxrwx 1 root root 33 2011-04-06 01:03 c0t1d0s1 -> ../../devices/xpvd/xdf@2064:b,raw

...


lrwxrwxrwx 1 root root 33 2011-04-06 01:03 c0t1d0s10 -> ../../devices/xpvd/xdf@2064:k,raw

...


lrwxrwxrwx 1 root root 33 2011-04-06 01:03 c0t1d0s11 -> ../../devices/xpvd/xdf@2064:l,raw

...


lrwxrwxrwx 1 root root 33 2011-04-06 01:03 c0t1d0s12 -> ../../devices/xpvd/xdf@2064:m,raw

...


lrwxrwxrwx 1 root root 33 2011-04-06 01:03 c0t1d0s13 -> ../../devices/xpvd/xdf@2064:n,raw

...


lrwxrwxrwx 1 root root 33 2011-04-06 01:03 c0t1d0s14 -> ../../devices/xpvd/xdf@2064:o,raw

...


lrwxrwxrwx 1 root root 33 2011-04-06 01:03 c0t1d0s15 -> ../../devices/xpvd/xdf@2064

...

 ,raw

...


lrwxrwxrwx 1 root root 33 2011-04-06 01:03 c0t1d0s2 -> ../../devices/xpvd/xdf@2064:c,raw

...


lrwxrwxrwx 1 root root 33 2011-04-06 01:03 c0t1d0s3 -> ../../devices/xpvd/xdf@2064:d,raw

...


lrwxrwxrwx 1 root root 33 2011-04-06 01:03 c0t1d0s4 -> ../../devices/xpvd/xdf@2064:e,raw

...


lrwxrwxrwx 1 root root 33 2011-04-06 01:03 c0t1d0s5 -> ../../devices/xpvd/xdf@2064:f,raw

...


lrwxrwxrwx 1 root root 33 2011-04-06 01:03 c0t1d0s6 -> ../../devices/xpvd/xdf@2064:g,raw

...


lrwxrwxrwx 1 root root 33 2011-04-06 01:03 c0t1d0s7 -> ../../devices/xpvd/xdf@2064:h,raw

...


lrwxrwxrwx 1 root root 33 2011-04-06 01:03 c0t1d0s8 -> ../../devices/xpvd/xdf@2064:i,raw

...


lrwxrwxrwx 1 root root 33 2011-04-06 01:03 c0t1d0s9 -> ../../devices/xpvd/xdf@2064:j,raw