Changing miniroot in OpenSolaris

Several weeks ago I tried to change miniroot in OpenSolaris and prepare image for automation of GUI installer. I tried to use command "root_archive unpack x86.microroot boot_workdir", but it doesn't work for me. So I find out how to unpack OpenSolaris miniroot. The steps are here:

1. Login in OpenSolaris LiveCD

2.  cp boot/x86.microroot /tmp/x86.microroot.gz

3.  gunzip /tmp/x86.microroot.gz

4.  mount -o nologging `lofiadm -a /tmp/x86.microroot` /mnt

5. In this step you can make some changes what you need

6. umount /mnt

7.  lofiadm -d /tmp/x86.microroot

8.  gzip -9 /tmp/x86.microroot

9. The last step is replace old miniroot with the new one

For this changing of miniroot I recommend to use image for USB stick, because in case of CD image you can have some troubles with creating bootable iso image.

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

Solaris l10n & i18n, locales, keyboards, fonts and related topics.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today