08-25-2012
In case you want know, I can suggest two methods:
Method I)If box is Sun-made:
1. #shutdown -y -g0 -i0 (Go to Boot Prom phase)
2. ok>boot cdrom(Boot with CDROM)
Method II)If not Sun-made(X86):
1. #eeprom bootdevice=<Physical_path_of_CDROM> (System's boot device is now CDROM)
2. #shutdown -y -g0 -i6 (Reboot. System will boot with CDROM)
3. You should again switch back to your default boot device (/dev/dsk/c0t0d0s0).
#mkdir /tmp/root/a ; mount /dev/dsk/c0t0d0s0 (Mount your actual device on a temporary boot disk)
#ls -l /tmp/root/a/cev/dsk/c0t0d0s0 (This will give you the physical address)
#eeprom bootdevice=<physical_path_of_c0t0d0s0>
#shutdown -y -g0 -i6
All, if there is something wrong, please let me know.
This User Gave Thanks to satish51392111 For This Post:
9 More Discussions You Might Find Interesting
1. Solaris
Hi Guru's
Can any want here could explain to me the different between soft reboot and hard reboot .
Best Regards
Seelan (3 Replies)
Discussion started by: seelan3
3 Replies
2. UNIX for Advanced & Expert Users
Sceduled backups with vdump have been delayed as a mounted system had crashed while I was away for 2 weeks. Now there are 5 simultaneous vdumps running very slowly. The full system backup usually takes a whole weekend.
Can I safely kill these? (I will have to live without a backup untill next... (4 Replies)
Discussion started by: nickt
4 Replies
3. AIX
We have an oracle Database on AIX box. We want to delete the database safely.
How can scrubb the datafile prior to delete on AIX? (1 Reply)
Discussion started by: johnveslin
1 Replies
4. Shell Programming and Scripting
Hi all,
Am writing a script that does a rm/mv if a file exist, however, in one scenario, one of the variables which is supposed to a variable for a directory is undefined/blank so instead of the variable resolving to /tmp/logfile.dmp, it resolves instead to / so the rm translates to a rm /... (2 Replies)
Discussion started by: newbie_01
2 Replies
5. Solaris
Greetings,
I need some help performing a system admin function that I have been tasked with. The request seems simple enough, but my feeling is that it might be more complicated than it seems.
Here is what i've been tasked with:
SunOS 5.10 Generic_142900-15 sun4u sparc SUNW,SPARC-Enterprise... (3 Replies)
Discussion started by: Harleyrci
3 Replies
6. Shell Programming and Scripting
I have a string like root=/dev/sda3 noacpi foo "Baz mumble" which I would like to separate into tokens like a shell does. This would be easily done with eval but that would open a security hole big enough to drop a cow through, injecting arbitrary code would be easy as pie. How can I parse this... (15 Replies)
Discussion started by: Corona688
15 Replies
7. Red Hat
I wanted to know whether all files under /tmp can be safely removed. I guess that /tmp may also have temporary files for applications currently being worked on, so at the most those applications may just shut down.
I hope that my question is clear whether all files under /tmp can be safely... (5 Replies)
Discussion started by: RHCE
5 Replies
8. UNIX for Advanced & Expert Users
Hi all,
As time progresses, the number of servers that I have to login to has grown to the hundreds.
Some of the servers has NIS so I can use one single password for this group of servers.
The hard part comes to when you have 20+ other servers that now require different passwords and... (4 Replies)
Discussion started by: newbie_01
4 Replies
9. Shell Programming and Scripting
Hey Guys,
I'm swamped writing code for the forums:
Could someone write a script or command line to safely delete files with special chars in filenames from a directory:
Example:
-rw-r--r-- 1 root root 148 Apr 30 23:00 ?xA??
-rw-r--r-- 1 root root 148... (8 Replies)
Discussion started by: Neo
8 Replies