IP setting can be done temporary or persistent.
in the fist case, the interface must be plumbed in the following way:
# ifconfig nxge0 plumb
# ifconfig <intferface> <ip address> broadcast <bcast address> netmask <netmask>
If you want your configuration to persist across reboots you'd need to do the following... Each machine on a TCP/IP network gets its configuration information from the
following TCP/IP configuration files and network databases:
/etc/hostname.interface Read more...
Archives
All posts by Carlos Villabrille
Sometimes a disk fails and need to be replaced with a new one, to do that we need to know which device is...
# cfgadm -al
Ap_Id Type Receptacle Occupant Condition
c0 scsi-bus connected configured unknown
c0::dsk/c0t0d0 CD-ROM connected configured unknown
c1 scsi-bus connected configured unknown
c1::dsk/c1t0d0 disk connected configured unknown
c1::dsk/c1t1d0 disk connected configured unknown
c2 fc connected unconfigured unknown
c3 scsi-bus connected unconfigured unknown
usb0/1 unknown empty Read more...
Labeling partitions y is very useful to identify volumes by naming rather than by partition number.
To add the label "root" to the root partition, /dev/sda2, you should run:
# tune2fs -Lroot /dev/sda2
# tune2fs -Lvar /dev/sda3
labeling swap partitions can be done with
# mkswap -L label /dev/sda4
Once you've got a label you can check it running
# cfdisk /dev/sda
Now, some file must be updated to use this new naming.
/etc/fstab - this file lists the partitions/file-systems which should Read more...
To allow hibernate mode, you should have the same mount of free space as physical memory plus 750Mb.
Here are possible values:
hibernatemode 0 = suspend to RAM only (default on desktops)
hibernatemode 1 = suspend to disk only
hibernatemode 3 = suspend to disk + RAM (default on laptops)
To see your current hibernatemode
# pmset -g | grep hibernatemode
So, to enable Sleep Safe, open a Terminal console (spotlight search for Terminal) and enter
# sudo pmset -a hibernatemode 3
It will ask Read more...
if running grub-install it shows this error message
Error /dev/sda does not have any corresponding BIOS drive and Solution
Run
grub-install --recheck /dev/sda
It will probe a device map even if it already exists.