Wednesday, 30 April 2008

General notes

# to boot past a corrupted /etc/system file use the following.

# it will prompt for the /etc/system file and you can reply /dev/null or /etc/system.backup etc.

# it can be use to recreate /etc/path_to_inst as well.

ok {} boot -as

# show errors on disks

iostat -En


# show when metastat states happened

metastat -t


# to label one disk the same as another

# this will prompt you to save the partition layout as a name. Don't forget the quotes.

# it only lasts as long as format is run

format -> select disk -> partition -> name

# this will prompt you for a name

select disk -> partition -> select

# now write the labelabel


# To show the current kernel config and state use

sysdef

No comments: