06-20-2003
You need to boot your machine with a boot disk. If you do not have one, you can create one using Toms Root Boot.
--Link-- Once you boot with Toms, mount your root partition and check to see that your /etc/passwd file is ok (i.e. you havent deleted or messed up your login entry). At the very least you will get access to your drive and you can poke around a bit.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi...
Can anyone help! I am in dire need to change the "login:" prompt to "username:" any ideas?
Thanks in advance :) (6 Replies)
Discussion started by: juilan
6 Replies
2. UNIX for Dummies Questions & Answers
Hello
When I login as root - my prompt is # I want to change this and I understand the setting (PS1=) needs to go into a file called .profile, but I don't know where this file is for the root user. The root users home folder is / when I type env.
Should I be creating a home folder for the... (4 Replies)
Discussion started by: deedaz
4 Replies
3. Linux
Hi, We currently have a problem on a centos server when i try to ssh to it there is a significant delay in getting a login prompt. What would be the steps in troubleshooting this issue? I have try to narrow down a possible network issue but cannot see anything obviously wrong in the routing table,... (4 Replies)
Discussion started by: borderblaster
4 Replies
4. Solaris
Hi All,
I have created a new user. Using the below command I have created the user successfully.
useradd -c "Test user" -d /tmp/test -g Testgroup -s /bin/ksh -u 601 Test
I don't want to set the password using “passwd” command after creating a user.
I want to prompt for the new... (2 Replies)
Discussion started by: kalpeer
2 Replies
5. Ubuntu
Hi Team,
I am using DRBL environment on Ubuntu. When my machine starts some times it's not starting lxdm & nslcd service. Because of that i didn't get graphic mode & also not able to authenticate user as nslcd is also stops. I have to login as root and restart these two services, then i am able... (0 Replies)
Discussion started by: paragnehete
0 Replies
6. Shell Programming and Scripting
Hi,
How i can pass the login details to the URL which is password protected with the htaccess using command line or script (perl,or shell,or php).
Any help or hint appreciated.
Thanks,
SJ (4 Replies)
Discussion started by: SilvesterJ
4 Replies
7. Shell Programming and Scripting
Hey guys, trying to create a script that will run in the background until a user logs in and then present them with different options to proceed further.
It is on an Ubuntu 10.04 Amazon ec2 system.
The system runs 24/7 as it is and just needs to feed the prompt to whoever logs in.
Is this... (3 Replies)
Discussion started by: 3therk1ll
3 Replies
8. Red Hat
Hi,
we have a server that runs on redhat linux. It was working fine until last year and all of sudden we are not able to ssh on to that server. we are getting the ping response but not getting the login prompt when tried to connect via ssh.
Port 22 is opened and i have tested it out using... (6 Replies)
Discussion started by: phanidhar6039
6 Replies
9. HP-UX
Hi, I'm a normal user in hp-ux box. today i'm unable to get prompt after i successfully logged in into the hp-ux box. what could be the problem? what should should i check? (4 Replies)
Discussion started by: sam_bd
4 Replies
10. HP-UX
When I login as root or any user it prompts for the Login again. never prompts for password.login: root
Login incorrect
login:
Does not matter what user login I try I get the same response (3 Replies)
Discussion started by: KMRWHUNTER
3 Replies
LEARN ABOUT PHP
installboot
installboot(1M) installboot(1M)
NAME
installboot - install bootblocks in a disk partition
SYNOPSIS
installboot bootblk raw-disk-device
The boot(1M) program, ufsboot, is loaded from disk by the bootblock program which resides in the boot area of a disk partition.
The ufs boot objects are platform-dependent, and reside in the /usr/platform/platform-name/lib/fs/ufs directory. The platform name can be
found using the -i option of uname(1).
The installboot utility is a SPARC only program. It is not supported on the architecture. users should use installgrub(1M) instead.
bootblk The name of the bootblock code.
raw-disk-device The name of the disk device onto which the bootblock code is to be installed; it must be a character device which is read-
able and writable. Naming conventions for a SCSI or IPI drive are c?t?d?s? and c?d?s? for an IDE drive.
Example 1: Installing UFS Boot Block
To install a ufs boot block on slice 0 of target 0 on controller 1 of the platform where the command is being run, use:
example# installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk
/dev/rdsk/c1t0d0s0
/usr/platform/platform-name/lib/fs/ufs
directory where ufs boot objects reside.
/platform/platform-name/ufsboot
second level program to boot from a disk or CD
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
od(1), uname(1), boot(1M), init(1M), kadb(1M), kernel(1M), monitor(1M), reboot(1M), rpc.bootparamd(1M), init.d(4), attributes(5)
WARNINGS
The installboot utility fails if the bootblk or openfirmware files do not exist or if the raw disk device is not a character device.
11 Apr 2005 installboot(1M)