user intervention when boot different disk


 
Thread Tools Search this Thread
Operating Systems Solaris user intervention when boot different disk
# 1  
Old 07-01-2010
Computer user intervention when boot different disk

Hello All, I got a question, but I can't find where to set it up. I need your help.

The systems are with solaris 10 and with two boot devices (disk 0 and disk1). When the operator wants to boot the different disk then the previous one, i want to get the user intervention to ask operator if this is the boot device that he/she really wants to boot it up.

For example, the current boot device is disk 0. when operator reboot the system from disk1, I want that the system can ask "the old boot device is dks0, are u sure you want to boot disk1 " something like that. I got few systems are have this, few not.

Anyone knows where to set it up?

Thanks a lot!
# 2  
Old 07-02-2010
On OK,

run:
Code:
setenv auto-boot?=false

It will be prompting to choose the boot device.
Let us know it doesn't solve the purpose.

Thanks,
Deepak
# 3  
Old 07-02-2010
Thanks a lot..Deepak,

but it looks like to set auto-boot? to false won't solve the issue, since I got the eeprom outcome for the working tool, and the auto-boot? is true. Any other possibilities?

Here is the eeprom outcome for the tool with user intervention when boot from different disk
-------------------------------------------------------------------
asr-policy=normal
test-args: data not available.
diag-passes=1
local-mac-address?=true
fcode-debug?=false
scsi-initiator-id=7
oem-logo=
oem-logo?=true
oem-banner?=true
ansi-terminal?=true
screen-#columns=80
screen-#rows=34
ttyb-rts-dtr-off=false
ttyb-ignore-cd=true
ttya-rts-dtr-off=false
ttya-ignore-cd=true
ttyb-mode=9600,8,n,1,-
ttya-mode=9600,8,n,1,-
output-device=screen:r1152x900x66
input-device=keyboard
auto-boot-on-error?=true
error-reset-recovery=sync
load-base=16384
auto-boot?=true
network-boot-arguments: data not available.
boot-command=boot
diag-file: data not available.
diag-device=disk0:a
boot-file: data not available.
boot-device=disk1
use-nvramrc?=true
nvramrc=warning off
warning on
devalias LPD disk1
security-mode=none
security-password: data not available.
security-#badlogins=0
verbosity=normal
diag-trigger=error-reset power-on-reset
service-mode?=false
diag-script=normal
diag-level=off
diag-switch?=false
# 4  
Old 07-02-2010
you can't get the ok> prompt to be interactive as if compared to a shell.
you can only make ok> prompt to prompt for password when you need to issue boot commands, which comes with sparc security-mode.
once you set the auto-boot to false, shutdown(init 5) poweroff then on the system, you'll get the ok> prompt. type boot disk or boot disk1
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Use 'dd' to copy boot disk to larger target disk

Hi, I'm looking to copy a boot disk on an old Solaris 8 system using dd. I'll bring the system down to single user mode and begin from there. I'm copying my source disk to a larger target disk. Do I need to do anything other than the 'dd' command below because the target disk is bigger? ... (2 Replies)
Discussion started by: sparcman
2 Replies

2. Solaris

How to specify local boot up disk in CD boot Grub?

Hi Solaris 10 Experts, I am wondering what is the correct syntax to edit in Grub when trying to specify the local ZFS boot disk while booting up from a Solaris 10 x86 64bits DVD installation disk. In other word, I try to boot up from local disk without removing the Solaris installation disk... (0 Replies)
Discussion started by: gjackson123
0 Replies

3. UNIX for Dummies Questions & Answers

To ask for user intervention

hi guys i want my cron to execute for every minute (5 Replies)
Discussion started by: azherkn3
5 Replies

4. Shell Programming and Scripting

How to write a shell script to automatically accept return key with out user intervention?

Hi Friends, i am creating a shell script which is accepting file name as input parameter from Java and invoking finacle service. The service will accpet text file,B2k_session id,etc and upload the text file data in finacle database. My shell script looks like this:- #! /bin/ksh... (2 Replies)
Discussion started by: vadlamudy
2 Replies

5. HP-UX

How to find out boot disk

Hi, I have two disk in a machine # ioscan -funC disk Class I H/W Path Driver S/W State H/W Type Description ================================================================== disk 0 0/2/1/0.0.0.0.0 sdisk CLAIMED DEVICE HP DH072ABAA6 ... (4 Replies)
Discussion started by: ericbj
4 Replies

6. Solaris

Mounting disk at boot

Hi once more :p Yesterday I reinstalled Solaris OS and now I can not mount pcfs HDD SunOS unknown 5.10 Generic_142901-03 i86pc i386 i86pc and what has been added in /etc/vfstab is /dev/dsk/c1t0d0p1:c - /podaci - pcfs - yes rw But as I said , my disk is... (4 Replies)
Discussion started by: solaris_user
4 Replies

7. Shell Programming and Scripting

Script to login to attached SUN Storage through Solaris m/c w/o user intervention

I want to create a shell script to CLI login to attached SUN 6140 storage from Sun Solaris 9 m/c (instead of using CAM ) but that prompts me for password despite the fact that i am adding them in script .. i am using "expect" feature for this .. however as i never used "expect " before .. so... (0 Replies)
Discussion started by: yogesh29sharma
0 Replies

8. Shell Programming and Scripting

How to use ssh command in the shell script without user intervention?

Hello All, I need your help, i would like to know how to use ssh command in the shell scripts? and make the script continue to enter the password without user intervention example of the normal commands written manually: # ssh 172.30.1.256 -l mxread password: mxread Thanks in advance (3 Replies)
Discussion started by: Dendany83
3 Replies

9. UNIX for Dummies Questions & Answers

hit 'enter' with no user intervention

I'd like to write a shell script that will enter '1', for example. How do you do that? You know, so instead of writing echo "Enter 1 or 2" read onetwo and waiting for the user to enter a 1 or 2, I'd like the script to act like someone entered a 1, or 2. Is there a hex value for the... (1 Reply)
Discussion started by: jpprial
1 Replies

10. UNIX for Dummies Questions & Answers

Boot Disk

I have made my boot disk just as the program has instructed, and when I boot from floppy with dual hard drives it locks up and say's kernal error. What am I doing wrong? (1 Reply)
Discussion started by: bobkat
1 Replies
Login or Register to Ask a Question