Sponsored Content
Full Discussion: Intel Based Solaris
Operating Systems Solaris Intel Based Solaris Post 99264 by zazzybob on Thursday 16th of February 2006 12:07:12 AM
Old 02-16-2006
Insert the Solaris 10 DVD (or CD 1) and boot the system (ensure BIOS is set to boot from CD before HD).

When the installation prompt appears type
b -s

This will boot off the CD-ROM in single user mode.

Then...
Assuming that your root slice is /dev/dsk/c0d0s0

Mount
mount /dev/dsk/c0d0s0 /mnt

Then edit the shadow file
vi /mnt/etc/shadow

Remove the root password from this file
i.e. change
root:blahblahblah:whatever::::::
to
root::whatever::::::
and save the file.

Unmount
umount /mnt

Reboot
shutdown -y -g0 -i6

Remember to remove the DVD/CD as the system reboots Smilie

Once the system comes up, you'll be able to log in as root with no password, and enter a new password with the passwd command.

EDIT: Just noticed the OP is using Solaris 9, not 10. Same procedure applies....

Cheers
ZB

Last edited by zazzybob; 02-16-2006 at 01:40 AM..
 

We Also Found This Discussion For You

1. UNIX for Advanced & Expert Users

ILOM Alert messages to Solaris OS - X4250 (Intel based NO ALOM)

Hi, I have a problem when running some tests. I unplug one power cable from the server. No message is sent to/var/adm/messages On the ILOM GUI, it shows power state deasserted. Anyone knows how to forward this message to the OS, perhaps using the alert management settings? IPMI,snmp?... (1 Reply)
Discussion started by: ulemsee
1 Replies
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)
All times are GMT -4. The time now is 10:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy