C:>ftp server1
Connected to server1.
220 server1 FTP server ready.
User (server1:(none)): root
331 Password required for root.
Password:
230 User root logged in.
ftp> bi
200 Type set to I.
ftp> cd /path
250 CWD command successful.
ftp> prompt off
Interactive mode Off .
ftp>mget *.*
ftp many files no prompt
Posts in category O.S.
ftp many files no prompt
Solaris : boot from cdrom to solve vfstab
Solaris : boot from cdrom to solve vfstab
Rebooting with command: boot
Boot device: rootdisk File and args:
SunOS Release 5.10 Version Generic_127127-11 64-bit
Copyright 1983-2008 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Hardware watchdog enabled
Hostname: hostname1
Jul 1 17:04:03 svc.startd[7]: svc:/system/sysevent:default: Method “/lib/svc/method/svc-syseventd start” failed with exit
status 95.
Jul 1 17:04:03 svc.startd[7]: system/sysevent:default failed fatally: transitioned to maintenance (see ‘svcs -xv’ for details)
Requesting System Maintenance Mode
(See /lib/svc/share/README for more information.)
Console login service(s) cannot run
Root password for system maintenance (control-d to bypass): <passsword>
# init 0
{0} ok boot cdrom -s <—- boot from cdrom
# fsck /dev/rdsk/c0t0d0s0
# mount /dev/dsk/c0t0d0s0 /mnt
Perform the required operation on mounted disk , now accessible through /mnt
example
# ksh
# TERM=vt100
# export TERM
# env
# vi /mnt/etc/vfstab <—- correct file
unmount the hard disk after you are done ;# umount /mnt
# reboot
Share on Facebook