11-13-2006
Yes, do stop-A as ebbi suggested to get to the ok> prompt. Once you have that the boot -s cdrom will boot it from the CD without asking for a password. You could set the root password then using passwd. To make it permanent you'd have to mount up the root filesystem from the hard disk and copy the new encrypted string into /etc/passwd on the hard drive - which would of course require getting fsck to run and being able to mount the hard drive.
However, after reading the thread again it looks like you're just trying to install Solaris 10. You shouldn't need to do anything with the root password for that. I believe if you put the cd in the drive and then boot from the CD-Rom without the -s it should start the Solaris install program. You will answer a bunch of questions about how you want it set up then it will install Solaris for you. One of the questions should be the root password you want to use once the system is installed. It has been a while since I built a machine off of cd though so I could be mistaken . . . .
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all,
Quick question.
Does anyone know what is the compination of buttons that I have to press to stop the start up so I can bring the system in a single user mode?
I use HP Vis 9000
Thanks alot (1 Reply)
Discussion started by: guest100
1 Replies
2. UNIX for Advanced & Expert Users
Every time I reboot our solaris 9 (SunOS 5.9 Generic_118558-19 sun4u sparc SUNW,Sun-Fire-480R) box,
I get the messages below:
# dmesg | grep dump
Mar 24 12:39:55 hostname savecore: initial dump header corrupt
Mar 24 12:39:55 hostname genunix: dump on /dev/dsk/c1t0d0s1 size 700 MB
Mar 24... (2 Replies)
Discussion started by: xnightcrawl
2 Replies
3. 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
4. Solaris
dear all,
I have 2 T2000 with solaris 10 and oracle 10g installed on it. these two servers are rebooted by itself.
could anyone help me investigate the cause.
the message log is attached
thanx, (3 Replies)
Discussion started by: fsmadi
3 Replies
5. HP-UX
Hi all,
Does anybody know what kinds of events can prompt the following?
I found our test db box had rebooted itself. I'd like to know how I can go about finding our why. Thanks folks... (1 Reply)
Discussion started by: Kozmo
1 Replies
6. AIX
Hi,
The apar instructions is to reboot on the ibm site. Is there's a way to update apar w/o reboot? I think I heard something before that it's possible.
Thanks in any idea you will type... (1 Reply)
Discussion started by: itik
1 Replies
7. Shell Programming and Scripting
Hi
What is the best way to reboot a Linux computer?
i) Press the power switch
ii) type 'init 6' as any user, then enter the root password when prompted
iii) Pour metal filings in the top of the computer.
iv) su to root then type 'init 6' (6 Replies)
Discussion started by: tjay83
6 Replies
8. Shell Programming and Scripting
I have two scripts: scriptone.sh & scripttwo.sh
I need to schedule them to run scriptone.sh then scripttwo.sh after the servers is rebooted ( only first reboot )
OS: AIX 6.1 (4 Replies)
Discussion started by: Sara_84
4 Replies
9. AIX
We've got two datacenters and in every datacenter 2 VIOs.
The VIO manages the I/O of the LPARs. So: Is it possible to reboot the VIO without shuting down an LPAR:wall: (4 Replies)
Discussion started by: DiViN3
4 Replies
10. Red Hat
Hi,
The server got rebooted and below messages can be seen in /var/log/messages
Sep 7 10:49:12 minersville kernel: Call Trace: <IRQ> <ffffffff80167420>{__alloc_pages+796}
Sep 7 10:49:12 minersville kernel: <ffffffff80182814>{kmem_getpages+106} <ffffffff80183c16>{fallback_alloc+304}... (3 Replies)
Discussion started by: admin_db
3 Replies
LEARN ABOUT MINIX
installgrub
installgrub(1M) installgrub(1M)
NAME
installgrub - install GRUB in a disk partition or a floppy
SYNOPSIS
/sbin/installgrub [-fm] stage1 stage2 raw-device
The installgrub command is an -only program. GRUB stands for GRand Unified Bootloader.
installgrub installs GRUB stage 1 and stage 2 files on the boot area of a disk partition. If you specify the -m option, installgrub
installs the stage 1 file on the master boot sector of the disk.
The installgrub command accepts the following options:
-f
Suppresses interaction when overwriting the master boot sector.
-m
Installs GRUB stage1 on the master boot sector interactively.
The installgrub command accepts the following operands:
stage1
The name of the GRUB stage 1 file.
stage2
The name of the GRUB stage 2 file.
raw-device
The name of the device onto which GRUB code is to be installed. It must be a character device that is readable and writable. For disk
devices, specify the slice where the GRUB menu file is located. (For Solaris it is the root slice.) For a floppy disk, it is
/dev/rdiskette.
Example 1: Installing GRUB on a Hard Disk Slice
The following command installs GRUB on a system where the root slice is c0d0s0:
example# /sbin/installgrub /boot/grub/stage1
/boot/grub/stage2 /dev/rdsk/c0d0s0
Example 2: Installing GRUB on a Floppy
The following command installs GRUB on a formatted floppy:
example# mount -F pcfs /dev/diskette /mnt
# mkdir -p /mnt/boot/grub
# cp /boot/grub/* /mnt/boot/grub
# umount /mnt
# cd /boot/grub
# /sbin/installgrub stage1 stage2 /dev/rdiskette
/boot/grub
Directory where GRUB files reside.
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
boot(1M), fdisk(1M), fmthard(1M), kernel(1M), attributes(5)
Installing GRUB on the master boot sector (-m option) overrides any boot manager currently installed on the machine. The system will always
boot the GRUB in the Solaris partition regardless of which fdisk partition is active.
24 May 2005 installgrub(1M)