12-31-2012
Quote:
Originally Posted by
bluridge
The last file executed before the system boots up is /etc/inittab so does that mean the boot block was successfully executed if I coem to the ok prompt?
I'm no genius but..... Your machine would come to the ok> prompt with no disks in it.... OBP sits beneath the OS and is totally independant of it so the bootblk isn't a factor in getting to the ok> .... :0/
What are you using to mirror the disks SDS/SVM or VxVM?
By rights there should be no need to break the mirrors neatly.... The whole point of mirroring them is to protect against a catestrophic failure in a disk.... Which you would have created by pulling one of them.... I'd have thought both should be bootable, you need to be absolutely sure the boot paths for rootdisk & rootmirror are correct, it's easy to miss a slice or somesuch....
Martin
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
So last week I posted about my system that will not completely boot. It reports a bad trap and reboots in an endless cycle. I'm at a point where I just want to wipe the system clean, reload the software and basically start from scratch.
I can interrupt the boot cycle and get to an ok prompt.... (2 Replies)
Discussion started by: forbin24
2 Replies
2. Solaris
Hi
Im using a Sun blade 1500 with solaris 8 and when the monitor goes to stand by mode, the machine doesnt return to the normal mode anymore. Then i have to reboot it always.
Does anybody have a clue how can i solve it or turn off the stand by mode?
Thanks (2 Replies)
Discussion started by: dougpss
2 Replies
3. UNIX for Dummies Questions & Answers
Hello to all!
In the OK prompt, which command should I use to see RAM memory, CPU, and disks partition and capacity?
I have in my hands an ancient Ultra5 machine, which Im trying to install Solaris, but don't know if the configuration is the original one.
Thanks! (4 Replies)
Discussion started by: Pablo_BR
4 Replies
4. Programming
Suppose that I have some data:
12,30
12,45
2,3
7,8
3,9
30, 8
45,54
56,65
Where (a,b) indicates that a is connected to b. I want to get all connected nodes to one point. For instance, the output of the above
example should be something like:
Group 1
2,3
3,9
Group 2
12,30
12,45... (4 Replies)
Discussion started by: Legend986
4 Replies
5. Solaris
Hi.
I got this message in our sun station and it stuck
Setting default IPv4 interface for multicast: add net 224.0/4: gateway pecsun22
but i can still telenet the station...
who could i fix this..
appreciate your help (7 Replies)
Discussion started by: eykyn17
7 Replies
6. Solaris
Hi all,
I was wondering how to change the PS1 to my liking?
I tried changing it using PS1='my choice'
it worked but the subsequent terminals i open will not have it as the default PS1 ,how do i change it?
also i am running as super user, and i need to exec bash, to get the bash environment...... (4 Replies)
Discussion started by: wrapster
4 Replies
7. Solaris
Hi,
Due to some changes at our company, we lost the password for the root and sms-svc account on the primary system controller (E25K).
We connected a serial console to the system controller but we never managed to break the session to bring it to the OK prompt.
(tried: ~#, ~ b, ~, , a b,... (9 Replies)
Discussion started by: Solarius
9 Replies
8. Solaris
Hi All,
I got a big problem here.
While setting up a sun cluster, I accidentally tried out "bootadm update-archive" as I was unable to bring the cluster up.
After which, i tried a reconfiguration reboot.
Now The system is always booting into maintanence mode with error message... (8 Replies)
Discussion started by: manojsomanath
8 Replies
9. UNIX for Dummies Questions & Answers
how to Change the % prompt to - prompt in unix
:wall:
---------- Post updated at 07:40 AM ---------- Previous update was at 07:38 AM ----------
How To display the last modification time of any file in unix
---------- Post updated at 07:40 AM ---------- Previous update was at 07:40 AM... (2 Replies)
Discussion started by: manjiri sawant
2 Replies
10. Solaris
Hi,
on sunfire v890 unable to move from rsc prompt to ok prompt, i have executed the command break. (9 Replies)
Discussion started by: manoj.solaris
9 Replies
LEARN ABOUT OSF1
installboot
installboot(1M) installboot(1M)
NAME
installboot - install bootblocks in a disk partition
SYNOPSIS
installboot bootblk raw-disk-device
The boot(1M) program, ufsboot, is loaded from disk by the bootblock program which resides in the boot area of a disk partition.
The ufs boot objects are platform-dependent, and reside in the /usr/platform/platform-name/lib/fs/ufs directory. The platform name can be
found using the -i option of uname(1).
The installboot utility is a SPARC only program. It is not supported on the architecture. users should use installgrub(1M) instead.
bootblk The name of the bootblock code.
raw-disk-device The name of the disk device onto which the bootblock code is to be installed; it must be a character device which is read-
able and writable. Naming conventions for a SCSI or IPI drive are c?t?d?s? and c?d?s? for an IDE drive.
Example 1: Installing UFS Boot Block
To install a ufs boot block on slice 0 of target 0 on controller 1 of the platform where the command is being run, use:
example# installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk
/dev/rdsk/c1t0d0s0
/usr/platform/platform-name/lib/fs/ufs
directory where ufs boot objects reside.
/platform/platform-name/ufsboot
second level program to boot from a disk or CD
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
od(1), uname(1), boot(1M), init(1M), kadb(1M), kernel(1M), monitor(1M), reboot(1M), rpc.bootparamd(1M), init.d(4), attributes(5)
WARNINGS
The installboot utility fails if the bootblk or openfirmware files do not exist or if the raw disk device is not a character device.
11 Apr 2005 installboot(1M)