Solaris

Solaris knowledge

One of the common problems after boot from a cdrom is accessing the devices or processes that runs from the cd but inside the jail of the chroot. You can bind some already mounted system folders like /dev, inside our root partition. Here's what I usually do: Boot up from a rescue cd Mount root partition to /mnt and boot partition into /mnt/boot. mount --bind /proc /mnt/proc mount --bind /sys /mnt/sys mount --bind /dev /mnt/dev chroot /mnt (you just went live on the system) Now Read more...
If by mistake (or even conscious) you did configure a solaris 10 or bellow with DHCP and you want to disable it and set fixed IP, there are several steps you should follow... There is a file called dhcp.interface_name in /etc that we must delete. Now, create the file /etc/nodename with the hostname inside. # echo webserver > /etc/nodename now, create a file called hostname., where interface is the name of the device in solaris, like bge0, e1000g0, ce0, etc. # echo webserver > /etc/hostname.bge0 Now, Read more...
Probably the funniest way of migrating a fully functional system is doing it while the system is up and running. You can migrate a live system to another remotely machine booted with a recovery cd that can be used to do a P2V (Physical to Virtual) or live system migration to  other physical one. To achive a network migration we can use the TCP/IP swiss army knife, NetCat (nc). First, boot a virtual machine or physical one with a recovery cd (like wifislax), be sure to have a disks with same Read more...
I was trying to migrate a Solaris x86 VMware VM to Xen source, but after move all data and turn on the machine in XEN, I received this error message and a panic: cannot mount root path after some searches i found this solution in vmware communities, valid as well for me. Let's imagine you have changed the default boot disk, as well as the SCSI controller, you have moved from VMware with a specific SCSI device to XEN with another different SCSI device, but your bootarchive looks like it was Read more...