05-13-2008
It sounds like you'll be ok doing a single user mode boot (init 1 or init s).
If all else fails, reboot from a cdrom or network and mount your root device onto /a.
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. Ubuntu
Hi,
I am tryin to install custom software during the linux reboot.
So,I have changed rc.local file, but unfortunately I have added a code that
is going on a infinite loop. And now I am in a pick.
Is there anyway that I can avoid rc.local file while reboot.
Can anyone help me... (1 Reply)
Discussion started by: eamani_sun
1 Replies
3. UNIX for Dummies Questions & Answers
I don't know if there's a better name for what I call "file collision"... Basically, I have a script that I'm using for quick and dirty MySQL testing. Here's the idea...
#!/usr/local/bin/bash
for num in `jot $1` ## Yep, jot... this is FreeBSD
do
/usr/bin/time mysql --user=root... (2 Replies)
Discussion started by: treesloth
2 Replies
4. Solaris
Hi All,
I have a station in solaris 10 in a environnemet NIS. after reboot of the station the file ". rhosts" has the UID / GID nobody.
Could you please help me to find the solution?
Thx.
Vince (0 Replies)
Discussion started by: Vince78
0 Replies
5. Solaris
Does anyone know what is the binary file for seeing the last reboot since my wtmpx file has been dumped as of now and i am not able to see the last reboot with the command "last reboot".
Please don't say uptime, since i want to see the last 4-5 reboots for this server.
Thanks in advance (4 Replies)
Discussion started by: aksijain
4 Replies
6. Shell Programming and Scripting
Hi,
I have a script which has the below line:
ps -ef | grep ${SCRIPT_NAME} | grep ksh | grep -v grep >> /tmp/instance.tmp
When the script is invoked through CRON, I get 2 lines in instance.tmp when actually only one instance is running:
cdrd 17790 17789 0 15:14:01 ? 0:00 /bin/ksh... (8 Replies)
Discussion started by: cavallino4u
8 Replies
7. UNIX for Dummies Questions & Answers
In bash shell, how we can avoid the commands getting recorded in history file.
One way i can think of is :
export HISTSIZE=0
Is there any other way to achieve this?
Thanks (1 Reply)
Discussion started by: pandeesh
1 Replies
8. Shell Programming and Scripting
Hi,
I have written a small script to transfer a file from one unix server to other using scp command which is working fine. As I know with scp, if any file with the same name is already present on destination server, it would get overwritten without any notification to user. Could anyone help me... (14 Replies)
Discussion started by: dsa
14 Replies
9. Shell Programming and Scripting
Hello,
I am using Awk in UBUNTU 12.04.
I have a file as following with 48,432,354 lines and 4 fields.
The file has this structure (There are repetitions of the first column in several lines)
AB_14 S54 A G
AB_14 S55 A A
AB_14 S56 G G
GO_15 S45 T A
GO_15 S46 A A
PT_16 S33 C C
PT_16 ... (4 Replies)
Discussion started by: Homa
4 Replies
reboot(2) System Calls Manual reboot(2)
NAME
reboot - boot the system
SYNOPSIS
DESCRIPTION
causes the system to reboot. howto is a mask of reboot options (see specified as follows:
A file system sync is performed (unless
is set) and the processor is rebooted from the default device and file.
The processor is simply halted.
A sync of the file system is performed unless the flag is set. should be used with caution.
On systems with cellular architecture, all cells in the partition are
rebooted in order to reconfigure the stable complex configuration data. On systems with non-cellular architec-
ture, the default is A sync of the file system is performed unless the flag is set.
Shut down the system firmware to a "ready to reconfigure" state and do not
reboot. This option can be used only in combination with
A sync of the file system is not performed.
Unless the flag has been specified, reboot(2) unmounts all mounted file systems and marks them clean so that it will not be necessary to
run fsck(1M) on these file systems when the system reboots.
Only users with appropriate privileges can reboot a machine.
RETURN VALUE
If successful, this call never returns. Otherwise, a -1 is returned and is set to indicate the error.
ERRORS
fails if this condition is encountered:
[EPERM] The effective user ID of the caller is not a user with appropriate privileges.
DEPENDENCIES
The default file and device for is on the current root device.
AUTHOR
was developed by HP and the University of California, Berkeley.
SEE ALSO
reboot(1M), privileges(5).
reboot(2)