| ... | @@ -28,10 +28,15 @@ s7 | stateDB | 500MB| |
... | @@ -28,10 +28,15 @@ s7 | stateDB | 500MB| |
|
|
|
|
|
|
|
* write the bootpath into the emulated OpenFirmware Variable list:
|
|
* write the bootpath into the emulated OpenFirmware Variable list:
|
|
|
` genbootpath /mnt >> /mnt/boot/solaris/bootenv.rc`
|
|
` genbootpath /mnt >> /mnt/boot/solaris/bootenv.rc`
|
|
|
* configure GRUB
|
|
* configure the grub bootloader
|
|
|
```
|
|
```
|
|
|
cp /mnt/boot/grub/menu.lst.sample \
|
|
cp /mnt/boot/grub/menu.lst.sample /mnt/boot/grub/menu.lst
|
|
|
/mnt/boot/grub/menu.lst
|
|
|
|
|
mkdir /mnt/boot/grub/bootsign
|
|
mkdir /mnt/boot/grub/bootsign
|
|
|
touch /mnt/boot/grub/bootsign/schillix
|
|
touch /mnt/boot/grub/bootsign/schillix
|
|
|
```
|
|
```
|
|
|
|
* in */mnt/boot/grub/menu.lst*, all `root (hd0,0,a)` need to be converted to
|
|
|
|
`findroot (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` |