Modifying miniroot to boot via pxe

My laptop had network card which is almost supported by Solaris (read oem version of well known card), as of late I've been doing some work with jumpstart and my laptop has become my test machine. Since my card is unsupported I need to modify the miniroot so that I can pxe install the system. And I also need to add the entry as part of my postinstall script to allow me use the networking on my system.

The process of modifying the install miniroot is straight forward once you remember that the system is little endian so do the mods on a little endian box.


gunzip < solaris_build/boot/x86.miniroot >/tmp/miniroot
lofiadm -a /tmp/miniroot
/dev/lofi/2
# mount /dev/lofi/2 /mnt
#   echo 'iprb "pci8086,1050"\\n' >>/mnt/etc/driver_aliases
# tail -2 driver_aliases
iprb "pci8086,1050"
umount /mnt
# lofiadm -d /dev/lofi/2
# gzip < /tmp/miniroot > solaris_build/boot/x86.miniroot

Comments:

Post a Comment:
Comments are closed for this entry.
About

nickyv

Search

Archives
« April 2014
MonTueWedThuFriSatSun
 
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