07-10-2001
...
best boot to single user mode (init s).
cheers, alex...
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello all,
I was wondering is it possible to install Solaris over the network whit jumpstart and just ufsretore a dump file? The clinet's disk would totally be empty. I know that I can use the rules files, would I put the command to uferestore from the server in the pre install rules file. I... (0 Replies)
Discussion started by: larryase
0 Replies
2. UNIX for Dummies Questions & Answers
hi
i would like to backup my OS
what is the exact command to do?
beside backup to tapes can i back up to a directory in another server?
will the command be the same?
thanks. :confused: (4 Replies)
Discussion started by: legato
4 Replies
3. Solaris
Hi,
I want to how to take backup of File system From Disk to Disk using ufsdump?
Wheather we can take the backup of root file system from one disk to another if tape drive is not available? wheather it is reliable to restore root file system? (2 Replies)
Discussion started by: manoj.solaris
2 Replies
4. UNIX for Dummies Questions & Answers
I ran this dump (as root) and got the following.............
# ufsdump 0f /dev/rmt/0n /
DUMP: Writing 32 Kilobyte records
DUMP: Date of this level 0 dump: Tue 11 Dec 2007 06:07:35 AM PST
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /dev/rdsk/c2t1d0s0 (gambler:/) to... (1 Reply)
Discussion started by: shorty
1 Replies
5. UNIX for Advanced & Expert Users
I just completed a level 0 ufsdump of the following files:-
ufsdump 0uf /dev/rmt/0n /
ufsdump 0uf /dev/rmt/0n /usr
ufsdump 0uf /dev/rmt/0n /export/home
ufsdump 0uf /dev/rmt/0n /oracle
ufsdump 0uf /dev/rmt/0n /sapr3
I need to restore ALL the files onto a different machine and continue... (1 Reply)
Discussion started by: charleywasharo
1 Replies
6. Solaris
HI Gurus,
I have a sunfire V445 server running SAP ECC 6.0 with an Oracle database on Solaris 9 (SunOS 5.9). I recently completed a ufsdump to tape of the following files:-
/,
/usr,
/oracle,
/export,
/sapr3,
I want to restore these files from tape onto a different server of the same... (5 Replies)
Discussion started by: charleywasharo
5 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I have 5 soraris boxes and i am trying to backup all to SAN.Which backup is more suitable tar or ufsdump? Also pls mention what are the important folders i need to back up.
Thanks (3 Replies)
Discussion started by: solaris5.10
3 Replies
8. UNIX for Dummies Questions & Answers
People i have 2 sun sparc solaris 10.
I have one filesystem to 98% and i need to do a ufsdump of that filesystem.
THe problem is that i don't have space to allocate the dump of the filesystem.
Thats why i want to do it from the other sun and bring the ufs dump to de /FREE filesystem.
... (4 Replies)
Discussion started by: enkei17
4 Replies
9. Solaris
Experts,
Before patching am advised to take backup :
so am going with:
ufsdump -0uf /dev/rmt0 / ---> to take the whole / bkp to tape.
some servers have /var in diff slice, In this case whether i need to take backup of /var also in tape?
ufsdump -ouf /dev/rmt0 /var ---> to take... (3 Replies)
Discussion started by: fizan
3 Replies
10. Solaris
Hi all,
I have a Solaris 10 running on a M4000.
I wanted to migrate it to M10
q1) can I do a ufsdump on / in the m4000 and restore it on the m10 ?
q2) how do we ufsrestore on the naked M10 without any OS being install/running in the 1st place ?
q3) if the answer to the... (5 Replies)
Discussion started by: javanoob
5 Replies
LEARN ABOUT REDHAT
sulogin
SULOGIN(8) Linux System Administrator's Manual SULOGIN(8)
NAME
sulogin -- Single-user login
SYNOPSIS
sulogin [ -e ] [ -p ] [ -t timeout ] [ tty-device ]
DESCRIPTION
sulogin can be invoked by init(8) when the system goes into single user mode (this is done through an entry in inittab(5)). Init also tries
to execute sulogin when it is passed the -b flag from the bootmonitor (eg, LILO).
The user is prompted
Give root password for system maintenance
(or type Control-D for normal startup):
sulogin will connected to the current terminal, or to the optional device that can be specified on the command line (typically /dev/con-
sole).
If the -p flag was set, the single-user shell will be invoked with a dash as the first character in argv[0]. That will cause most shells to
behave as a login shell. The default is not to do this, so that the shell will not read /etc/profile or $HOME/.profile at startup.
After the user exits the single-user shell, or presses control-d at the prompt, the system will (continue to) boot to the default runlevel.
ENVIRONMENT VARIABLES
sulogin looks for the environment variable SUSHELL or sushell to determine what shell to start. If the environment variable is not set, it
will try to execute root's shell from /etc/passwd. If that fails it will fall back to /bin/sh.
This is very valuable together with the -b flag to init. To boot the system into single user mode, with the root file system mounted
read/write, using a special "failsafe" shell that is statically linked (this example is valid for the LILO bootprompt)
boot: linux -b rw sushell=/sbin/sash
FALLBACK METHODS
sulogin checks the root password using the standard methods first. If the -e option was specified, sulogin examines the next files to find
the root password. If they are damaged, or non-existant, it will use fallback methods that even go so far as to provide you with a shell
prompt without asking for the root password if they are irrepairably damaged.
/etc/passwd,
/etc/shadow (if present)
AUTHOR
Miquel van Smoorenburg <miquels@cistron.nl>
SEE ALSO
init(8), inittab(5).
11 Sep 2000 SULOGIN(8)