10-12-2004
wiping system from ok prompt
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. Is there a way to wipe the hard drive from there? Thanks!
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello all, Maybe someone can help? Please?!?!?
How do I wipe a UNIX hard drive, For dos I use Norton. Is there something like that for UNIX. I am just barley understanding UNIX, so please forgive my ignorance. Also, is there a government approved method of sanitization?
Thanks (10 Replies)
Discussion started by: rocky123
10 Replies
2. 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
3. Solaris
I'm looking for a utility that will wipe data clean from a Solaris hard drive and make the data unreadable and unrecoverable. Any suggestions? Does SUN have something? (3 Replies)
Discussion started by: dangral
3 Replies
4. UNIX for Dummies Questions & Answers
I'm hoping you guys (the experts) can help me.
We have a sweep directory (/opt/application/sweep) critical to our application process. The application will lay down a file in that directory, then about 15 seconds later a post process will come along and pick that file up and continue processing.... (2 Replies)
Discussion started by: hedrict
2 Replies
5. 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
6. 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
7. Solaris
Here is a little background. We have a V240 server that has two disks mirrored (out of 4 disks) and one of the disk complained when booting up. The system complained with /etc/inittab file is truncated or corrupted, cannot create /ar/adm/utmpx failed write of utmpx entry.
Someone tried to fix... (4 Replies)
Discussion started by: bluridge
4 Replies
8. 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
9. 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 FREEBSD
ipcrm
IPCRM(1) BSD General Commands Manual IPCRM(1)
NAME
ipcrm -- remove the specified message queues, semaphore sets, and shared segments
SYNOPSIS
ipcrm [-W] [-v] [-q msqid] [-m shmid] [-s semid] [-Q msgkey] [-M shmkey] [-S semkey] ...
DESCRIPTION
The ipcrm utility removes the specified message queues, semaphores and shared memory segments. These System V IPC objects can be specified
by their creation ID or any associated key.
The following options are generic:
-v If specified once with -W or with -1 for an object, it will show all removed objects. If specified twice with -W or with -1 for an
objects, it will show all removed objects and all failed removals.
-W Try to wipe all specified message queues, semaphores and shared memory segments.
-y Use the kvm(3) interface instead of the sysctl(3) interface to extract the required information. If ipcrm is to operate on the run-
ning system, using kvm(3) will require read privileges to /dev/kmem.
The following options are used to specify which IPC objects will be removed. Any number and combination of these options can be used:
-q msqid
Remove the message queue associated with the ID msqid from the system.
-m shmid
Mark the shared memory segment associated with ID shmid for removal. This marked segment will be destroyed after the last detach.
-s semid
Remove the semaphore set associated with ID semid from the system.
-Q msgkey
Remove the message queue associated with key msgkey from the system.
-M shmkey
Mark the shared memory segment associated with key shmkey for removal. This marked segment will be destroyed after the last detach.
-S semkey
Remove the semaphore set associated with key semkey from the system.
The identifiers and keys associated with these System V IPC objects can be determined by using ipcs(1). If the identifier or the key is -1,
it will remove all these objects.
SEE ALSO
ipcs(1)
HISTORY
The wiping of all System V IPC objects was first implemented in FreeBSD 6.4 and 7.1.
AUTHORS
The original author was Adam Glass. The wiping of all System V IPC objects was thought up by Callum Gibson and extended and implemented by
Edwin Groothuis.
BSD
December 12, 2007 BSD