Instead of booting into single user mode, just boot the text installer image like you do now, without the "-s". This will allow you to boot into the text installer menu. From the menu, choose option 3, which will give you a shell with root access.
Hope this helps. --Karen On 08/08/11 10:33, Nandini wrote:
I have installed Solaris 11 Express and trying to restore rpool from snapshot from another system. I could not boot of cdrom into single user mode and login either as root nor with the privileged user added during the install. Could not even configure interfaces with ifconfig or ipadm. I need to boot of cdrom in single user mode , configure interface , NFS mount the snapshot , and restore the rpool from snapshot. If I can make this work , I can restore the root FS from snapshot in case of Disaster or even use the snapshot to build new systems. Is it possible to get it done in Solaris 11 Express? Why can't I login from cdrom in single user mode and configure Interface? I tried 2 times and both times , I have seen 2 different things. Here are the details and output. First time: 1. Booted of cdrom in single user. - Allowed me login as root(role) but not as priviledged user. - Did n't allow me to configure interfaces with either ifconfig or ipadm [b]Second time:[/b] 2. Booted of cdrom in single user: - Didn't allow me to login as root or priviledged user. [u][b]Here is the output[/b][/u] Allowed logging as root and not allowing me to configure interface either with ifconfig or ipadm {0} ok boot cdrom -s Boot device: /pci@0/pci@0/pci@1/pci@0/pci@1/pci@0/usb@0,2/hub@4/device@4/storage@0/disk@0:f File and args: -s SunOS Release 5.11 Version snv_151a 64-bit Copyright (c) 1983, 2010, Oracle and/or its affiliates. All rights reserved. Booting to milestone "milestone/single-user:default". Hostname: solaris Remounting root read/write Probing for device nodes ... Preparing text install image for use Requesting System Maintenance Mode Console login service(s) cannot run Enter user name for system maintenance (control-d to bypass): admin Enter admin password (control-d to bypass): Login incorrect or user admin not authorized Enter user name for system maintenance (control-d to bypass): root Enter root password (control-d to bypass): single-user privilege assigned to root on /dev/console. Entering System Maintenance Mode Aug 8 15:11:32 su: 'su root' succeeded for root on /dev/console -bash: /usr/sbin/quota: No such file or directory Oracle Corporation SunOS 5.11 snv_151a November 2010 -bash: /bin/mail: No such file or directory -bash: /usr/bin/hostname: No such file or directory root@:~# cat /etc/hosts # CDDL HEADER START # # The contents of this file are subject to the terms of the # Common Development and Distribution License (the "License"). # You may not use this file except in compliance with the License. # # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE # or http://www.opensolaris.org/os/licensing. # See the License for the specific language governing permissions # and limitations under the License. # # When distributing Covered Code, include this CDDL HEADER in each # file and include the License file at usr/src/OPENSOLARIS.LICENSE. # If applicable, add the following below this CDDL HEADER, with the # fields enclosed by brackets "[]" replaced with your own identifying # information: Portions Copyright [yyyy] [name of copyright owner] # # CDDL HEADER END # # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # Internet host table # ::1 localhost 127.0.0.1 localhost loghost solaris -bash: /usr/bin/hostname: No such file or directory Root@:~# zfs list no datasets available -bash: /usr/bin/hostname: No such file or directory root@:~# ifconfig -a lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 e1000g0: flags=1004803<UP,BROADCAST,MULTICAST,DHCP,IPv4> mtu 1500 index 2 inet 0.0.0.0 netmask ff000000 ether 0:21:28:c1:43:92 e1000g1: flags=1004803<UP,BROADCAST,MULTICAST,DHCP,IPv4> mtu 1500 index 3 inet 0.0.0.0 netmask ff000000 ether 0:21:28:c1:43:93 e1000g2: flags=1004803<UP,BROADCAST,MULTICAST,DHCP,IPv4> mtu 1500 index 4 inet 0.0.0.0 netmask ff000000 ether 0:21:28:c1:43:94 e1000g3: flags=1004803<UP,BROADCAST,MULTICAST,DHCP,IPv4> mtu 1500 index 5 inet 0.0.0.0 netmask ff000000 ether 0:21:28:c1:43:95 e1000g4: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 6 inet 0.0.0.0 netmask ff000000 ether 0:15:17:f7:6a:6a e1000g5: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 7 inet 0.0.0.0 netmask ff000000 ether 0:15:17:f7:6a:6b lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1 inet6 ::1/128 -bash: /usr/bin/hostname: No such file or directory root@:~# df -h Filesystem size used avail capacity Mounted on /devices/ramdisk-root:a 186M 142M 44M 77% / /devices 0K 0K 0K 0% /devices /dev 0K 0K 0K 0% /dev ctfs 0K 0K 0K 0% /system/contract proc 0K 0K 0K 0% /proc mnttab 0K 0K 0K 0% /etc/mnttab swap 5.6G 1.8M 5.6G 1% /etc/svc/volatile objfs 0K 0K 0K 0% /system/object sharefs 0K 0K 0K 0% /etc/dfs/sharetab /devices/pci@0/pci@0/pci@1/pci@0/pci@1/pci@0/usb@0,2/hub@4/device@4/storage@0/disk@0,0:a 452M 452M 0K 100% /.cdrom -bash: /usr/bin/hostname: No such file or directory root@:~# ifconfig e1000g4 137.200.84.115 netmask 255.255.255.0 up ifconfig: could not create address:Operation not supported -bash: /usr/bin/hostname: No such file or directory root@:~# ipadm root@:~# man ipadm -bash: man: command not found -bash: /usr/bin/hostname: No such file or directory root@:~# ipadm show-if IFNAME STATE CURRENT PERSISTENT lo0 ok -m-v------46 --- e1000g0 failed bm--------46 --- e1000g1 failed bm--------46 --- e1000g2 failed bm--------46 --- e1000g3 failed bm--------46 --- e1000g4 ok bm--------46 --- e1000g5 ok bm--------46 --- -bash: /usr/bin/hostname: No such file or directory root@:~# ipadm create-addr -T static -a 137.200.84.115 e1000g4/v4static ipadm: Could not create address: Persistent operation on temporary object -bash: /usr/bin/hostname: No such file or directory root@:~# init 0 -bash: /usr/bin/hostname: No such file or directory root@:~# svc.startd: The system is coming down. Please wait. svc.startd: 27 system services are now being stopped. svc.startd: Killing user processes. Aug 8 15:21:57 The system is down. Shutdown took 1 seconds. syncing file systems... done Program terminated SPARC Enterprise T5120, Keyboard Present Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved. OpenBoot 4.32.5, 8064 MB memory available, Serial #96551826. Ethernet address 0:21:28:c1:43:92, Host ID: 85c14392. [u][b]Not allowing to login as either root or with the privileged user[/b][/u] {0} ok boot cdrom -s Boot device: /pci@0/pci@0/pci@1/pci@0/pci@1/pci@0/usb@0,2/hub@4/device@4/storage@0/disk@0:f File and args: -s SunOS Release 5.11 Version snv_151a 64-bit Copyright (c) 1983, 2010, Oracle and/or its affiliates. All rights reserved. Booting to milestone "milestone/single-user:default". Hostname: solaris Remounting root read/write Probing for device nodes ... Preparing text install image for use Done mounting text install image USB keyboard 1. Albanian 25. Latin-American 2. Arabic 26. Lithuanian 3. Belarusian 27. Latvian 4. Belgian 28. Macedonian 5. Brazilian 29. Malta_UK 6. Bulgarian 30. Malta_US 7. Canadian-Bilingual 31. Norwegian 8. Croatian 32. Polish 9. Czech 33. Portuguese 10. Danish 34. Romanian 11. Dutch 35. Russian 12. Dvorak 36. Serbia-And-Montenegro 13. Estonian 37. Slovak 14. Finnish 38. Slovenian 15. French 39. Spanish 16. French-Canadian 40. Swedish 17. Hungarian 41. Swiss-French 18. German 42. Swiss-German 19. Greek 43. Traditional-Chinese 20. Icelandic 44. TurkishF 21. Italian 45. TurkishQ 22. Japanese-type6 46. UK-English 23. Japanese 47. US-English 24. Korean To select the keyboard layout, enter a number [default 47]: 1. Arabic 12. Hungarian 2. Catalan 13. Indonesian 3. Chinese - Simplified 14. Italian 4. Chinese - Traditional 15. Japanese 5. Czech 16. Korean 6. Dutch 17. Polish 7. English 18. Portuguese - Brazil 8. French 19. Russian 9. German 20. Slovak 10. Greek 21. Spanish 11. Hebrew 22. Swedish To select the language you wish to use, enter a number [default is 7]: User selected: English Configuring devices. Requesting System Maintenance Mode SINGLE USER MODE Enter user name for system maintenance (control-d to bypass): root Enter root password (control-d to bypass): Login incorrect or user root not authorized Enter user name for system maintenance (control-d to bypass): admin Enter admin password (control-d to bypass): Login incorrect or user admin not authorized Enter user name for system maintenance (control-d to bypass):
_______________________________________________ install-discuss mailing list install-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/install-discuss