Thank you very much for the help, I will try all of the solutions that you suggest and let you know of the result. If still it doesnt work,
I'll do the last resort, he he he. . anyways, many thanks!!

HAPPY NEW YEAR!!!

"Andre M. V." wrote:

On Thu, 27 Dec 2001, tolits wrote:

> Any Solaris guru here?
> Sorry for this is an O.T. but maybe someone encountered the same problem
> and has
> some working solution.
> After removing CDE related packages in my Solaris 2.6 server and
> rebooting the
> system I encountered this error message:
>
> Cannot assemble drivers for root....
> Cannot mount root on ...
>
> I have tried several solutions like add_drv -b, but nothing happened.

I can't see any logic why removing
CDE will give you this problem. Though
I Encountered similar problem that you
have.

Did you change the hardware on ur box?
move the HDD to a diff. box?

Basic first step is:
a. halt
b. boot cdrom -s
c. fsck -F ufs /dev/rdsk/<root partition, e.g. c0t0d0s0>

You have backups do you? take a look
at the difference between
/etc/path_to_inst, /etc/system, /dev/*
and /devices/* on the backup and the
HDD root partition.
Next is:

1. halt
2. boot cdrom -s
3. mount /drv/rdsk/<root partition, e.g. c0t0d0s0> /a
4. Add devices/modules. Be careful!
   a. vi /a/etc/path_to_inst
   b. vi /a/etc/system
5. reboot. Try if it boots now on the HDD.
   if it works, Great. If not, We have to
   recreate /devices and /dev. Simply do
   1,2,3 and go to 6.
6. recreate devices.

Solaris 6 or 7:
drvconfig -r /a/devices -p /a/etc/path_to_inst
devlinks -r /a
disks -r /a
tapes -r /a
ports -r /a

Solaris 8:
devfsadm -r /a

7. umount /a
8. halt
9. boot

If you don't have backups or it still
would not work, Drastic measures should
be taken. This will overwrite /dev/*,
/devices/*, and /etc/path_to_inst on the
root partition of your HDD.

1. Do step 1 and 2 on the above.
2. cd /tmp/dev ; tar cvfp - . | ( cd /a/dev ; tar xvfp - )
3. cd /tmp/devices ; tar cvfp - . | ( cd /a/devices ; tar xvfp - )
4. cp /tmp/root/etc/path_to_inst /a/etc/path_to_inst
5. halt
6. boot

If it still would not work, don't worry...
root partition is still there but not
acessible. What I would do next is install
a new OS on a diff. HDD on the same SUN
box. mount the old HDD and salvage what
data you need.

If it does not work still, slit the throat
of a black chicken, and do some vodoo stuff.
or play Counter Strike 24 hours straight.
When you come back, your SUN Box will magically
work! Try it, it worked for me, It will
work for you too! ;)

regards,

---
Andre M. Varon, SCSA
http://andre.lasaltech.com

Fear can hold you prisoner, Hope can set you free.

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED]

-- 
Lito A. Lampitoc                
Foundation on Communication Initiatives         phone:+63(2)8941345
CodeWAN Project                                 http://www.codewan.com.ph
--
"If you think you're good, you're not."
 


Reply via email to