Solaris > Boot system into single user mode

in Categories News last updated January 25, 2005

IA32 system:
1) At boot, prompt type
b –s : To boot system into single mode
b –a : To boot system step-by-step i.e. interactively.

SPARC System:
1) At Ok, prompt type:
boot –s : To boot system into single mode
boot –a : To boot system step-by-step i.e. interactively

See also Solaris > How to boot system into emergency mode

(Check out all of our posts on Solaris)

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter, Facebook, Google+.

Share this on (or read 8 comments/add one below):

8 comment

  1. Sir, To boot Solaris machine in rescue mode.. we can use following command.
    boot cdrom -s
    Please include this command also!
    Thanks!
    Ashish

  2. If you add the following to /boot/grub/menu.lst, it will appear in the grub menu.

    $ echo “

    title Solaris 10 1/06 Single User Boot
    root (hd0,2,a)
    kernel /platform/i86pc/multiboot -s
    module /platform/i86pc/boot_archive

    ” >> /boot/grub/menu.lst

  3. Vivek,
    I literally lost count of how many times your site’s come up at the right moments and saved me a ton of time. good content = good seo? 😉

  4. @Diabolic,

    Heh.. glad to know it saved your tons of time 😀 I do not use any seo plugins or any sort of optimization such as All in One SEO Pack.

  5. Vivek,
    Its always been like that and I’ll tell you, its content that matters the most, content that people rely on, that people come back for. 🙂 btw i put one of your links to my blogroll, but tell me if you prefer any other to be put there instead. its one way to thank you i suppose, even though my readers never reached teh 50 mark 😛

  6. Please help, Just I bought Sun fire v-215, I am trying to install Solaris-10 since last couple of weeks, when I boot with cdrom ” boot cdrom -s” I got this Error as I mentioned below. Even I am unable to go on single user to format the hard drive and labeling it. My all efforts failed. I have two Seageat hard drive of 73 GB Scsi.

    {1} ok show-disks
    a) /pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/disk
    b) /pci@1e,600000/pci@0/pci@1/pci@0/ide@1f/cdrom
    c) /pci@1e,600000/pci@0/pci@1/pci@0/ide@1f/disk
    q) NO SELECTION
    Enter Selection, q to quit:

    {1} ok boot -s
    Boot device: /pci@1e,600000/pci@0/pci@9/pci@0/network@4 File and args: -s
    Timed out waiting for Autonegotiation to complete
    Check cable and try again
    Link Down
    Timed out waiting for Autonegotiation to complete
    Check cable and try again
    Link Down
    Timed out waiting for Autonegotiation to complete
    Check cable and try again
    Link Down

    Can’t open boot device

    {1} ok boot cdrom -s
    Boot device: /pci@1e,600000/pci@0/pci@1/pci@0/ide@1f/cdrom@0,0:f File and args:
    -s
    Bad magic number in disk label
    Can’t open disk label package
    Can’t open boot device

    {1} ok
    SC Alert: DHCP negotiation failed, perhaps misconfigured or no DHCP server avail
    able

    Have a question? Post it on our forum!