3. Fix HW difference between VMware and VirtualBox VM

3. Fix HW difference between VMware and VirtualBox VM

Process FIX For Solaris 10 using Recovery Console

1. Boot into Solaris Safeboot mode. You can get access at the Grub menu, usually is the 2nd or 3rd option.
2. Mount the found Solaris partition on /a , Safeboot will usually find the slice on the disk with Solaris and
ask if you want it to mount on /a. Select Yes.
3. Move /a/dev, /a/devices, and /a/etc/path_to_inst to another name (I just append .orig) and then create new directories,
(mkdir) /a/dev and /a/devices, and touch file /a/etc/path_to_inst.
3. Run "devfsadm -r /a" , "devfsadm -c disk -r /a", "devfsadm -i e1000g -r /a" to rebuild the device tree
4. set TERM so we can use 'vi', TERM=vt100; export TERM
Now we need to fix boot disk patch changes Edit /a/boot/solaris/bootenv.rc and fix the line with "setprop bootpath '/pci@0,0....' to match
the path you'll find mounted for /a (i.e. run a 'df -k' command, and you should see /a mounted from /dev/dsk/c0d0s0 or something, then
run 'ls -l /dev/dsk/c0d0s0' or whatever your device listed was, and you should see the actual link point to ../../devices/pci@0,0/...ide..)
Fix also disk naming in /a/etc/vfstab to match new "cy(ty)dy" scheme. Change each instance of cx(tx)dxs0 to cy(ty)dys0 etc.
5. Force to reconfigure on next boot with 'touch /a/reconfigure'
6. Recreate archive "bootadm update-archive -v -R /a" to rebuild the boot-archive on /a
7. If is used another net driver then e1000, rename /a/etc/hostname.\* to /a/etc/hostname.e1000g0
and if exist /a/etc/dhcp.\* to /a/etc/dhcp.e1000g0
8. Run "cd /; sync; sync; sync; umount /a"
9. fsck -F ufs /dev/dsk/c0d0s0
10. reboot in normal grub menu with "init 6"