Sponsored Content
Full Discussion: wiping system from ok prompt
Top Forums UNIX for Dummies Questions & Answers wiping system from ok prompt Post 56828 by forbin24 on Tuesday 12th of October 2004 04:45:09 PM
Old 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

Wiping UNIX Hard Drive

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

System Specs in OK Prompt

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

wiping hard drive

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

rouge process wiping files from a directory

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

How to change the system prompt and BG of terminal?

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

Can't bring E25K system controller to OK prompt

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

System is stuck at the OK prompt

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?

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

Unable to move from rsc prompt to ok prompt

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
reboot(1M)						  System Administration Commands						reboot(1M)

NAME
reboot - restart the operating system SYNOPSIS
/usr/sbin/reboot [-dlnq] [boot_arguments] /usr/sbin/reboot [-f [-e environment]] [-dlnq] [boot_arguments] DESCRIPTION
The reboot utility restarts the kernel. The kernel is loaded into memory by the PROM monitor, which transfers control to the loaded kernel. On x86 systems, when the -f flag is specified, the running kernel will load the next kernel into memory, then transfer control to the newly loaded kernel. This form of reboot is shown in the second synopsis, above. Although reboot can be run by the super-user at any time, shutdown(1M) is normally used first to warn all users logged in of the impending loss of service. See shutdown(1M) for details. The reboot utility performs a sync(1M) operation on the disks, and then a multi-user reboot is initiated. See init(1M) for details. On x86 systems, reboot may also update the boot archive as needed to ensure a successful reboot. The reboot utility normally logs the reboot to the system log daemon, syslogd(1M), and places a shutdown record in the login accounting file /var/adm/wtmpx. These actions are inhibited if the -n or -q options are present. Normally, the system reboots itself at power-up or after crashes. OPTIONS
The following options are supported: -d Force a system crash dump before rebooting. See dumpadm(1M) for information on configuring system crash dumps. -e If -f is present, reboot to the specified boot environment. -f Fast reboot, bypassing firmware and boot loader. The new kernel will be loaded into memory by the running kernel, and control will be transferred to the newly loaded kernel. If disk or kernel arguments are specified, they must be specified before other boot arguments. This option is currently available only on x86 systems. See EXAMPLES for details. -l Suppress sending a message to the system log daemon, syslogd(1M) about who executed reboot. -n Avoid calling sync(2) and do not log the reboot to syslogd(1M) or to /var/adm/wtmpx. The kernel still attempts to sync filesystems prior to reboot, except if the -d option is also present. If -d is used with -n, the kernel does not attempt to sync filesystems. -q Quick. Reboot quickly and ungracefully, without shutting down running processes first. OPERANDS
The following operands are supported: boot_arguments An optional boot_arguments specifies arguments to the uadmin(2) function that are passed to the boot program and kernel upon restart. The form and list of arguments is described in the boot(1M) and kernel(1M) man pages.. If the arguments are specified, whitespace between them is replaced by single spaces unless the whitespace is quoted for the shell. If the boot_arguments begin with a hyphen, they must be preceded by the -- delimiter (two hyphens) to denote the end of the reboot argument list. EXAMPLES
Example 1 Passing the -r and -v Arguments to boot In the following example, the delimiter -- (two hyphens) must be used to separate the options of reboot from the arguments of boot(1M). example# reboot -dl -- -rv Example 2 Rebooting Using a Specific Disk and Kernel The following example reboots using a specific disk and kernel. example# reboot disk1 kernel.test/unix Example 3 Fast Rebooting The following examples use the f option to perform fast reboots. The following command reboots to the same kernel. example# reboot -f The following command reboots to another UFS root disk. example# reboot -f -- '/dev/dsk/c1d0s0' The following command reboots to another ZFS root pool. example# reboot -f -- 'rpool/ROOT/root2' The following command reboots to mykernel on the same disk with -k option. example# reboot -f -- '/platform/i86pc/mykernel/amd64/unix -k' The following command reboots to mykernel off another root disk mounted on /mnt. example# reboot -f -- '/mnt/platform/i86pc/mykernel/amd64/unix -k' The following command reboots to /platform/i86pc/kernel/$ISADIR/unix on another boot environment named second_root. example# reboot -f -e second_root The following command reboots to the same kernel with -kv options. example# reboot -f -- '-kv' FILES
/var/adm/wtmpx login accounting file ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
mdb(1), boot(1M), dumpadm(1M), fsck(1M), halt(1M), init(1M), kernel(1M), shutdown(1M), sync(1M), syslogd(1M), sync(2), uadmin(2), reboot(3C), attributes(5) NOTES
The reboot utility does not execute the scripts in /etc/rcnum.d or execute shutdown actions in inittab(4). To ensure a complete shutdown of system services, use shutdown(1M) or init(1M) to reboot a Solaris system. SunOS 5.11 29 Sep 2008 reboot(1M)
All times are GMT -4. The time now is 10:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy