mount & umount in sigle-user mode


 
Thread Tools Search this Thread
Operating Systems Solaris mount & umount in sigle-user mode
# 1  
Old 02-18-2009
mount & umount in sigle-user mode

In Solaris 8, when I boot to single user mode, mount a device and then reboot or init 0, the system unmount it automatically. However, in Solaris 10 it does not seem to do the same. Here is what I did:

Code:
{0} ok boot -s
# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
       0. c1t0d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
          /pci@0/pci@0/pci@2/scsi@0/sd@0,0
       1. c1t1d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
          /pci@0/pci@0/pci@2/scsi@0/sd@1,0
# mount /dev/dsk/c1t0d0s0 /mnt
# cd /mnt
# ls
# reboot
Creating boot_archive for /mnt
updating /mnt/platform/sun4v/boot_archive
syncing file systems... done
rebooting...
Resetting...

Sun Netra T5220, No Keyboard
Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
OpenBoot 4.30.0, 4096 MB memory available, Serial #81044804.
Ethernet address 0:14:4f:d4:a5:44, Host ID: 84d4a544.

Boot device: /pci@0/pci@0/pci@2/scsi@0/disk@0,0:a  File and args:
ERROR: Last Trap: Fast Data Access MMU Miss

{0} ok

I am stuck in the ok prompt and cannot boot anymore, not even to single user mode. You can notice from above that the system "Creating boot_archive for /mnt" instead of un-mounting it. Can anybody help fixing this problem?

Last edited by DukeNuke2; 02-19-2009 at 03:56 PM..
# 2  
Old 02-19-2009
ok>reset-all
# 3  
Old 02-19-2009
I get the ok prompt back... did not solve the problem!

{0} ok reset-all

Sun Netra T5220, No Keyboard
Copyright 2008 Sun Microsystems, Inc. All rights reserved.
OpenBoot 4.30.0, 4096 MB memory available, Serial #81044804.
Ethernet address 0:14:4f:d4:a5:44, Host ID: 84d4a544.

{0} ok
# 4  
Old 02-19-2009
What was the point of mounting the root slice on 2 different directories?

Anyway, at the ok prompt, try
Code:
{}ok  boot -F failsafe

# 5  
Old 02-20-2009
During bootup, do you get any errors "kernel struct change" or something like that?
# 6  
Old 02-20-2009
Quote:
Originally Posted by StarSol
I get the ok prompt back... did not solve the problem!

{0} ok reset-all

Sun Netra T5220, No Keyboard
Copyright 2008 Sun Microsystems, Inc. All rights reserved.
OpenBoot 4.30.0, 4096 MB memory available, Serial #81044804.
Ethernet address 0:14:4f:d4:a5:44, Host ID: 84d4a544.

{0} ok
Of course, you have to issue boot again at the ok> prompt
# 7  
Old 02-20-2009
I did.... but same error
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

Test cases for file system mount/umount performance in HP

Hi Folks, Could anyone please assist me with the what could be the scenarios to test the file system mount/umount performance check in HPUX. Thanks in advance, Vaishey (5 Replies)
Discussion started by: Vaishey
5 Replies

2. Solaris

Unable to mount in failsafe mode in Solaris 10

Hi, A server is running solaris 10. From the OK prompt, I have used the command 'boot -F failsafe' and here I am trying to mount a remote directory using the command: #mount 10.238.233.13:/export/home/ssuser /tmp/mnt but i dont get any response for sometime and then it shows the error... (4 Replies)
Discussion started by: Tayyab101
4 Replies

3. Fedora

What is the right way to mount and umount a usb driver?

I have some questions: 1, I successfully mounted my usb drive with "sudo mount /dev/sdb1 /mnt", but I can't wirte, It says "read-only file system". But I can write it in windows. 2, After I umounted the usb drive the led of it still on, but not blinking. Is it safe to unplug it? How to let it's... (17 Replies)
Discussion started by: vistastar
17 Replies

4. UNIX for Dummies Questions & Answers

Simple way to umount NFS mount in linux

Hello... I've mounted a share using standard nomenclature for the NFS mount command with the following command line: mount -t nfs -o rw {IP address1}:/ /mnt_for_70 / {IP address2}(rw) mnt_for_70 is a mount point I created on {IP address2} I'm confuse and want to be sure I use the... (1 Reply)
Discussion started by: blaine.miller
1 Replies

5. Cybersecurity

Remove need for sudo for mount/umount

Hello, I'm trying to remove the need to use sudo to mount (in particular, binding). Modifying /etc/sudoers using visudo, I have tried: %admin ALL=NOPASSWD: /usr/bin/mount %admin ALL=NOPASSWD: /usr/bin/umountand %admin ALL=(ALL) NOPASSWD: /usr/bin/mount %admin ALL=(ALL) NOPASSWD:... (5 Replies)
Discussion started by: Narnie
5 Replies

6. UNIX for Dummies Questions & Answers

single user mode - user accounts passwords

hello ppl, someone must be able to help with this --> I have an old NCR tower 32 with an ADDS terminal running a unix version 020102 (Im not sure if thats correct but its unix for sure). I have no user names and no passwords and need to login to read a tape. Is there any way to do that? I hear... (3 Replies)
Discussion started by: orestis
3 Replies

7. Linux

How to mount/umount disk from a non-root account

Is it possible to mount a disk from a non-root account? I'm developing a Java application which executes commands in the shell using the java.lang.Runtime.exec api, which runs fine for commands ls, df, etc., but for commands mount and umount, i have problems as I need to be root to eecute these.... (8 Replies)
Discussion started by: brendan76
8 Replies

8. Solaris

adding a user in single user mode

Just got a solaris 8 blade 150 box with no users, only a root account. no one seems to know the password. I'd like to add one user. So I booted into single user mode via cdrom and added one. Can't seem to login using the new account, though. Here's what I'm using: # useradd -d /tmp/"user" -m... (1 Reply)
Discussion started by: ECBROWN
1 Replies

9. UNIX for Dummies Questions & Answers

solaris 8 admin I text ambiguities on mount and umount

i'm prepping for my midterm, which i will bomb. i am scurrying to finish reading the final chapter before i get down into the review. however, i came across something in chapter 8 - "mounting file systems" that has me really confused. the text says the following: then it goes on to... (2 Replies)
Discussion started by: xyyz
2 Replies

10. UNIX for Dummies Questions & Answers

Writing a script to mount and umount a drive in Linux

I have a 1 GB jazz drive. The jazz disk is used daily, both at home and at work on my Win 98 Server. So, I have to keep it in vfat format, which is fine because Linux rocks and will read it no problem. :-) However, I can't just stick the disk in the drive and open up the jazz folder in my mnt... (2 Replies)
Discussion started by: wizkid
2 Replies
Login or Register to Ask a Question