Solaris Safe Mode

January 16, 2009 | 4 Comments

Sources :

http://flux.org.uk/howto/solaris/fix_boot_archive
http://docs.sun.com/app/docs/doc/817-5506/grub-1?a=view
http://www.tek-tips.com/viewthread.cfm?qid=1417401&page=7
http://www.sun.drydog.com/faq/7.html
http://www.unix.com/sun-solaris/52129-help-root-partition-crashed-fsck-failed-disk-problem.html
http://sysunconfig.net/unixtips/solaris.html
http://forums.sun.com/thread.jspa?threadID=5073121&start=15&tstart=0

===============================================

Beberapa baris perintah yang penting. Kalo pas ada kejadian, terpaksa harus googling dulu. Nah kalo dah di-rekap begini kan lebih mudah carinya.

# fsck /a
# newfs -Nv /dev/dsk/c0d0s0
# fsck -F ufs -o b=32 /dev/dsk/c0d0s0
# rm -f /a/platform/i86pc/boot_archive
# bootadm update-archive -R /a

! I’m on x86, and it still won’t give me a graphical login (dtlogin). However, I did finally get a desktop:

# PATH=/usr/sbin:/usr/bin:/usr/dt/bin:/usr/X11/bin:/opt/sfw/bin:/usr/openwin/bin

# /usr/X11/bin/xorgconfig
! follow instructions, used manual. Didn’t find my video card, but [radeon] driver seems to work.

# kdmconfig
! chose Xorg
! Note that it still tells me it can’t read the Xorg config info, I just ignore that.

# /usr/openwin/bin/xinit /usr/bin/gnome-session
! Xsession won’t work, neither will dtlogin

# ./usr/dt/bin/dtlogin -D
! (dtlogin become daemon)

# ./usr/dt/bin/dtconfig -e
! (enable startx)


Comments

4 Comments so far

  1. reedho on January 22, 2009 3:50 pm

    Pak Profesor saya ini masih rajin ngoprek juga toh, jadi serasa barusan kemaren masuk bbs nih :)

    Mengikuti jejak mu Pak, mampir kesini kalo sempat: http://reedho.stayonhere.com/2009/1/20/finally_here_i_am

  2. plgsekip on January 23, 2009 2:44 am

    @reedho –> berlebihan neh manggil professor. thanks doa-nya Dho’. Eniwey, itu kenapa stayonhere.com nya “404 Not Found”?

  3. reedho on January 23, 2009 8:19 am

    Wah, salah nembak si nginx nya pak, maklum masih pagi buta ngonfignya :) , semoga sudah stay live sekarang.

  4. plgsekip on January 23, 2009 9:01 am

    Siip Om Reedho… Permission to add your link, ya? Keren banget tuh posting tips & tricks-nya… keep on posting, mate!

Name (required)

Email (required)

Website

Speak your mind