Solaris 10 single user mode

Hi,
I had just install a solaris 10 update 9 in the SUN v240. Do i need this same version of update in order for me to run in Single User Mode?
Or it can do also with the current latest version= solaris 10 update13?
Thanks,

994409 wrote:
Hi,
I had just install a solaris 10 update 9 in the SUN v240. Do i need this same version of update in order for me to run in Single User Mode?
Or it can do also with the current latest version= solaris 10 update13?
Thanks,If you are asking whether you can boot that system using a CD/DVD of a newer release...
... then go do system maintenance tasks...
Yes, that is perfectly acceptable.
If you are asking whether you can boot that box using a CD/DVD of a newer release...
... then copy files fom that CD/DVD and overwrite existing files...
No, that would possibly muck up your system and you would have to wipe it and reinstall fresh.

Similar Messages

  • How to mount USB & CDROM drives from single user mode - Solaris boot disk?

    Hi All,
    I need to carry out ufsrestore on a single newly replaced system disk (no redundancy / mirroring) from either USB or CDROM drives from the following steps:
    ( i ) GRUB => e, e, cdrom –s, Enter, b (boot from Solaris 10 x86 media).
    ( ii ) Choose menu 1 for Install Solaris Interactive Mode to reach single user mode.Below are the commands that I have tried in single user mode without success:
    mount –r –F pcfs /dev/dsk/c1t0d0p0 /cdrom (after unmount Solaris CD)
      mount: /dev/dsk/c1t0d0p0 is not a DOS filesystem.
    svcadm –v enable smserver
      svcadm: Pattern ‘smserver’ doesn’t match any instances
    svcadm enable autofs
      svcadm: Pattern ‘autofs’ doesn’t match any instances
    devfsadm
      devfsadm: mkdir failed for /dev 0s1ed: Read-only file system
    mkdir /mnt
      mkdir: Failed to make directory “/mnt”; Read-only file systemPart of the problem is due to the current READ ONLY filesystems which does not allow the creation of mount point such as /mnt.
    I have been able to create both / root (/dev/dsk/c1t0d0s0) and /export/home (/dev/dsk/c1t0d0s0) filesystems with newfs that are awaiting for restore using ufsrestore.
    The only option I am left with is to attach a secondary disk to install Solaris 10 on either of them before bring the system to multi-user mode so that service such as volmgt, autofs, volfs are available to access USB & CDROM drives.
    Any suggestion on how to resolve this issue?
    Many thanks,
    Jack

    Hi JKGN,
    Is the directory a located under the root filesystem. ie /a? Are there any other mount point for say USB drive as well? I am not in a position to try it out right now but will get back
    to you soon on whether /a exist or not.
    Btw, the last thing I managed to do on this system at the time was added a secondary 1TB internal disk with the intention to restore both / and /export/home data onto this disk while
    making use of all the disk device management services such as the following services only available in a fully installed Solaris system (both single & multi-user modes) installed on the
    primary disk:
    # svcs smserver
    STATE          STIME    FMRI
    online         Jun_08   svc:/network/rpc/smserver:default
    # svcs autofs
    STATE          STIME    FMRI
    online         Jun_08   svc:/system/filesystem/autofs:default
    # devfsadm
    # iostat -En
    c1t0d0           Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
    Vendor: ATA      Product: SAMSUNG HD321KJ  Revision: 0-11 Serial No: 
    Size: 320.07GB <320072932864 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 41 Predictive Failure Analysis: 0
    c0t0d0           Soft Errors: 0 Hard Errors: 5 Transport Errors: 0
    Vendor: PHILIPS  Product: DVD+-RW DVD8801  Revision: AD21 Serial 
    Size: 17.54GB <17538875392 bytes>
    Media Error: 0 Device Not Ready: 5 No Device: 0 Recoverable: 0
    Illegal Request: 10 Predictive Failure Analysis: 0
    c2t0d0           Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
    Vendor: JetFlash Product: Transcend 16GB   Revision: 1100 Serial No: 
    Size: 0.00GB <0 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 7 Predictive Failure Analysis: 0
    # rmformat
    Looking for devices...
         1. Volmgt Node: /vol/dev/aliases/cdrom0
            Logical Node: /dev/rdsk/c0t0d0s2
            Physical Node: /pci@0,0/pci-ide@1f,1/ide@0/sd@0,0
            Connected Device: PHILIPS  DVD+-RW DVD8801  AD21
            Device Type: DVD Reader/WriterHowever, I was disappointed that "iostat -En" has not found the secondary disk (1 TB) even though it was available earlier, for Solaris installation as the only disk on the same system.
    As a result, I am left with no option but the need to rebuild this system with only a single primary disk while in single user mode. However, the single user mode that I am in is the
    one from Solaris installation disk with restrictive (_cannot create folder for mount point or running disk management utilities_) capability such as those services just covered, compared to one from a completed Solaris installation system with full access to all filesystems and utilities / commands in general.
    I would very much value your assistance on how to mount both CD & USB in this restrictive limited Read Only OS (assume that it is running from memory) in order to get complete access to
    the blank primary disk so that full restore with ufsrestore could take place.
    Thanks in advance,
    Jack
    Edited by: 797805 on 9/06/2012 04:15

  • Automatic scrip execution on the console in single user mode on Solaris 10

    Hi All,
    On Solaris 8, I am able to launch my script automatically on the console when the system comes up into single user mode without having to enter the password. However, on Solaris 10, the script is display in the foreground on the console. When i do a ps -ef , I see the process running. Can someone please tell me how to get this to work on solaris 10?
    To automatically boot the system into single user mode:
    # svcadm milestone -d milestone/single-user:default
    Files edited for this to work on solaris 8:
    To login without a password:
    # cat > /etc/default/sulogin <<EOF
    PASSREQ=NO
    CONSOLE=/dev/console
    ALTSHELL=YES
    EOF
    # echo "/sbin/su -" > /sbin/rc1
    (Solaris 10, I used rcS instead of rc1)
    my script is called from the /.profile when the system comes up into single user mode.
    I did the same on solaris 10, but no success.
    Please let me know if you have any suggestions.
    Thank you,
    Brian

    try
    - add 'set -x' to your /etc/profile
    - add 'set -x' to /etc/rc? scripts
    - check /etc/vfstab for a nfs mountpoint not using 'bg'

  • Applying Solaris Patches that Require Single User Mode

    Some OS patches require single user mode and reboot. Does the standard Solaris plugin patch management handle this? If not, could I write my own patch component and simply add "init 1; patchadd; init 6" to the execnative?
    Thanks - Jay

    I can't speak about the Solaris plugin, unfortunately, but a single execnative call wouldn't cover what you're trying to accomplish. There's an RFE for the core SPS system to add this capability, but I don't know that it will be added soon. Remember that when you switch runlevels, a number of start and stop scripts are invoked, shutting down and starting up a number of services. To do what you want to do, you'd have to have a start script for the RA in runlevel 1. You'd also have to have a way for the RA to execute a command on startup which isn't possible today. There'd have to be a way for the MS to deposit a command for the RA to execute, restart the RA in runlevel 1, the RA would have to read the command on startup and execute it, then restart the RA to runlevel 3 (or 6, whatever is your default or previous runlevel). It's all doable, to be sure, but not with changes to the core product.

  • Cannot  mount USB disk in SIngle-user mode (solaris 10)

    Hi all ,
    I need some help please :
    I can read/write to my USB disks when i'm in muti-user mode but when to I swith to single-user mode ( init S ), I cannot mount it.
    in Single-user mode , i started volume management daemon :
    #/etc/init.d/volgmt start
    #volcheck
    but i'm still not able to mount it.
    I tried to mount manually:
    #mount /dev/dsk/c2t0d0p0 /testpoint , i have this error: < mount : not a UFS magic number ( 0x0) , dev/dsk/c2t0d0p0 is not of this fstype.
    My system recognizes the USB device though in single-user mode:
    This is an output of #iostat -En
    c2t0d0 Soft Errors: 1 Hard Errors: 0 Transport Errors: 0
    Vendor: BUFFALO Product: ClipDrive Revision: 2.00 Serial No:
    Size:0.07GB <65339392 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 1 Predictive Failure Analysis: 0

    Hi ,
    thanks for your advice. My problem is resolved.
    The USB drive was actually a FAT filesystem.
    so I did # mount -F pcfs /dev/dsk/c2t0d0p0:c /testpoint and everything went fine
    I can read/write to my USB disks when i'm in
    muti-user mode but when to I swith to single-user
    mode ( init S ), I cannot mount it.
    in Single-user mode , i started volume management
    daemon :
    /etc/init.d/volgmt start
    #volcheck
    but i'm still not able to mount it.It probably requires other items to be started
    first.
    I tried to mount manually:
    #mount /dev/dsk/c2t0d0p0 /testpoint , i have
    this
    error: < mount : not a UFS magic number ( 0x0) ,
    dev/dsk/c2t0d0p0 is not of this fstype.
    Looks like it's assuming UFS. If this is a pcfs
    filesystem, give it the type on the mount line.
    # mount -F pcfs /dev/dsk/c2t0d0p0 /testpointYeah, this was the right command, I had to specify option < -F pcfs >.
    but I read somethere on this forum i had to specify :c as the drive for FAT at the end of c2t0d0p0 , so the full command was:
    # mount -F pcfs /dev/dsk/c2t0d0p0:c /testpoint
    >
    DarrenThanks,
    Sakolan.

  • Proper procedure for patching from Single User mode

    Typically when I install a patch cluster from Sun, I do a sanity reboot from the console of the server using:
    shutdown -y -g0 -i6
    When the system comes back online, I log into the console again and then do:
    shutdown -y -g0 -i0 (to go into OBP)
    then
    boot -s (to go into single user mode)
    The procedure above was given to me from a Sun technician.
    Then I install the patch cluster and reboot. It has come to my attention that Sun recommends breaking any mirrors between your disks before patching. I wanted to know what is the best way to do this for both Veritas Volume Manager and Solaris Volume Manager. For Veritas Volume Manager, I was thinking of going into the vxdiskadm menu driven utility and choosing the option to "Remove a disk for replacement" for the rootmirror disk and then after a reboot to check that the patches did not cause a problem, go back into vxdiskadm and choose the option "Replace a failed or removed disk" and select the rootmirror which should then begin to automatically resync itself to the primary rootdisk. Any comments on if this is a proper way to do this or if someone has a better method, I would love to hear it. I am assuming a system with just two internal disks: c1t0d0s2 and c1t1d0s2
    Also, if anyone can comment on how to do this with Solaris Volume Manager or if it is required would be great also.
    Thanks much for any advice.

    Typically when I install a patch cluster from Sun, I
    do a sanity reboot from the console of the server
    using:
    shutdown -y -g0 -i6
    When the system comes back online, I log into the
    console again and then do:
    shutdown -y -g0 -i0 (to go into OBP)
    then
    boot -s (to go into single user mode)
    The procedure above was given to me from a Sun
    technician.Not a bad thing to check reboot before patching, but I don't think it's in any official documentation that I'm aware of.
    Then I install the patch cluster and reboot. It has
    come to my attention that Sun recommends breaking any
    mirrors between your disks before patching.Again, I don't know if it's "official", but if you have a backup copy that you could boot from, it does reduce the possibilities of critical problems from a bad patch.
    I wanted
    to know what is the best way to do this for both
    Veritas Volume Manager and Solaris Volume Manager.
    For Veritas Volume Manager, I was thinking of going
    into the vxdiskadm menu driven utility and choosing
    the option to "Remove a disk for replacement" for the
    rootmirror disk and then after a reboot to check that
    the patches did not cause a problem, go back into
    vxdiskadm and choose the option "Replace a failed or
    removed disk" and select the rootmirror which should
    then begin to automatically resync itself to the
    primary rootdisk. Any comments on if this is a proper
    way to do this or if someone has a better method, I
    would love to hear it. I am assuming a system with
    just two internal disks: c1t0d0s2 and c1t1d0s2
    Also, if anyone can comment on how to do this with
    Solaris Volume Manager or if it is required would be
    great also.Well, it'll work as you've described, but what if the patches fail? The disconnected mirror is not bootable. You'd have to go through an unencapsulation and other things from a CD.
    I've often simply pulled one side of the mirror while the machine was shutdown. Since the mirror was valid prior to pulling, it will boot. If there's a problem, I shut down, swap disks, and boot from the untouched mirror. If no problem, I re-insert, reattach the disk to the diskgroup, then recover the volumes.
    I don't know of any nice supported method of booting from an offline VxVM mirror that doesn't involve a very long series of steps. My method isn't supported, but it does work. If you have both disks in the machine at the same time though, it'll update the private regions. Don't do that until you're ready to sync up one way or the other. Test before doing it in production.
    In any event, you should have a backup ready to go.
    Darren

  • Smf / sometimes does not configure network interfaces in single-user mode?

    From http://groups.yahoo.com/group/solarisx86/message/14785
    When booting into single user mode, I often get a message
    on the console
    t_optmgmt: System error: Cannot assign requested addressand only the loopback interface is configured (lo0 inet, and lo0 inet6).
    The system's dnet0 interface is not plumbed any more. Configuration
    for the dnet0 network interface is via a static ip address; hostname
    in /etc/hostname.dnet0, and and ip v4 address for that hostname in
    /etc/hosts. This was a Solaris 10 x86 system, but the same problem
    has also been observed on Solaris 10 sparc, and the hme0
    interface.
    svcs -x in single-user mode reports no problems.
    Changing to multi-user mode by typing Ctrl-D still does not
    configure the real network interface.
    One thing that I've noticed is that smf's log file
    /etc/svc/volatile/network-physical:default.log
    is missing, when the nic interface was not configured.
    It seems that the problem with unconfigured network interfaces
    does not happen when I boot directly into multi-user mode.
    Why isn't the physical interface plumbed and configured when
    booting into single user mode on S10 b69?

    Hi everyone,
    I too have internet connection problem
    I have installed Solaris 10 on my Compaq Presario M2000 series
    Solaris Management Console Details:
    Hostname: HOME
    Host ID: 116c4141
    Model: i86PC
    no of CPUs: 1
    CPU: 0
    Type: Genuine Intel 6.13.8
    Clock Speed: 1,500 MHz
    Usage: 1%
    Status: Online
    Software SunOS 5.10
    Physical Mem: 222 MB
    Virtual Mem: 729 MB
    Virt MEM used: 41 % (298/729) 413 MB available
    IP address: 172.19.16.96
    Network Connection rtls0: Sending & Receiving Packets
    When running WinXP in my laptop before for same IP:
    IP address: 172.19.16.96
    Subnet mask: 255.255.240.0
    Default Gateway: 172.19.31.254
    while booting the OS said NFS+ version 4 was detected and the router IP is automatically configured or there is no specific individual router IP, says something like this
    # ifconfig -a:
    lo0: flag = 2001000849<UP,LOOPBACK, RUNNING,MULTICAST,IPv4,VIRTUAL>mtu 8232 index 1
    inet 127.0.0.1 netmask ff000000
    rtls0: flags = 1000843<UP, BROADCAST,RUNNING,MULTICAST,IPv4>mtu 1500 index 2
    inet 172.19.16.96 netmask ffff0000 BROADCAST 172.19.255.255
    ether 0:c0:9f:8c:c9
    lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL>mtu 8252 index 1
    inet 6 :: 1/128
    rtls0: flags = 2000840<RUNNING,MULTICAST,IPv4>mtu 1500 index 2
    inet fe80::2c0:9fff:fe9a:8cc 9/10
    ether 0:c0:9f:9a:8c:c9
    I have modified the files and checked them:
    1. etc/hosts
    127.0.0.1 local host
    172.19.16.96 HOME loghost
    2. etc/hostname.rtls0
    HOME
    3. etc/hostname6.rtls0
    HOME
    4. etc/netmasks
    172.19.16.255 255.255.240.0
    I don't know the network IP so i just write this, can anyone tell me how to find the network IP
    5. etc/defaultrouter
    172.19.31.254
    I made this file and wrote the default gateway IP address, can anyone tell me how to find default router IP since the NFS+ version 4 auto detects or auto assigns router IP
    6. etc/resolv.conf
    domain myhost.com
    nameserver: 172.19.16.12
    nameserver: 172.19.16.13
    still domain name has't been set, i just wrote this, can anyone tell me how to find the domain name or create one. also the name server is just a fake, but how to find one. If i will be connecting my laptop to various IP whereever i go, so do i need to configure network setting again and again ? isn't there any auto network configuration so that i can connect internet where ever i go and let the system auto configure network settings like in windows XP auto IP configuration detect.
    7. etc/nsswitch.conf
    in this i can't see "hosts: files" but i could see rest of the details. so I inserted "hosts: files dns" in the third line and saved.
    I ran the following command in the terminal to find the details:
    #ypmatch host-name hosts
    ypmatch: the domainname hasn't been set on this machine
    (how to set domain name can anyone tell me?)
    #move/etc/netmasks: not found
    #uname -n
    HOME
    #cat/etc/nsswitch.conf
    cat/etc/nsswitch.conf: not found
    #domain name
    domain: not found
    #ypwhich
    ypwhich: the domainname has'nt been set to this machine
    #nismatch nameserver-name hosts.org-dir
    hosts.org-dir: Error in accessing NIS+ cold file.......is NIS+ installed?
    actually during installation i selected DNS type for network giving a wrong nameserver and domain got skipped later
    #getent ipnodes dns (no response)
    so all these things i did and found by seeing the forum guidelines. I can see the network connection has receivinh and sent packets seems to be working but can't browse internet, also can't ping a website.
    if anyone had the same problem but found the answer than kindly let me know. I am new to solaris but i am trying my best.
    awaiting reply from gurus
    bye for now.................

  • Unable to boot from cdrom in single user mode

    I have lost the root password for solaris 9.So, I tried booting the system with solaris 8 CD in single user mode(i.e, at ok prompt, boot cdrom -s)
    But I get the following error.
    rebooting with command :boot cdrom -s
    boot device :/pci&#64;1e,600000/ide&#64;d/cdrom&#64;0,0:f file and args -s
    boot:cannot open kernel/sparcv9/unix
    Enter filename:&#91;kernel/sparcv9/unix&#93;:
    Please let me know why is this error?.Is it becos the CD is corrupted?

    Also, the particular Solaris 8 you've chosen could be a distribution that's too old for your particular computer's design.
    For example, a Sunfire V440 would need Solaris 8 HW 7/03 or newer.
    http://sunsolve.sun.com/handbook_pub/Systems/SunFireV440/Sun FireV440.html
    Solaris 8 HW 2/02 would not work.
    What model system, and what version Solaris are you trying to use?

  • Help needed: Lion boots only in single user mode after a kasperksy unsuccefull installation

    Hello everyboby,
    I used to be a Sun Solaris sysadmin with root privileges, but I can't fix the Macbook of my girlfriend...
    WHAT I WISHED:
    I wished I could restore the boot INI/config files of a MacBook (the old one, made of white plastic, not the pro, made of "steel"), so that Lion started at boot, like it used to do, before a "fatal" kasperky installation.
    WHAT HAPPENS:
    the macbook plays the chord, shows the Apple logo, seems to load the OS (Lion) and then switches to graphic mode, BUT the desktop (is "desktop" the name of the screen of the operating system, once it's fully started, like on a PC?) doesn't appear, only a grey screen, then nothing happens.
    I guess that probably Lion is fully running under the grey screen, but without the screen/video been correctly setup, I cannot interact with the notebook.
    I CAN boot in single user mode, mount the file system in writing mode and read and write the disk.
    WHAT HAPPENED:
    my girlfriend upgraded to Lion from Snow Leopard and used the notebook for a while (one month?), then she decided to upgrade kaspersky, but the installation failed somehow and now the notebook is stuck.
    WHAT I TRIED TO DO:
    - I read this: http://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/BPSystem Startup/Chapters/CustomLogin.html#//apple_ref/doc/uid/10000172i-SW10-BAJCGEGG
    - and that: http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/ man5/launchd.conf.5.html#//apple_ref/doc/man/5/launchd.conf
    - and removed from the disk all the folders and files dealing with startup items AND kaspersky, but nothing changed: at boot the grey screen appears and Lion's interface is not loaded (or if it is, it's not shown).
    - then I looked for some logs, found the kernel's one and found something that looks like an error message dealing with video inizialization... So, it really seems something is not working at video level.
    WHAT I AM ASKING YOU:
    some help, please... : is there anybody that can give me some specific advice on how the boot is done on a macbook with Lion? Are there some INI files I can copy into the macbook, so that it starts in grphic mode?
    whatever...
    thank you in advance!
    Dario

    Linc Davis wrote:
    I used to be a Sun Solaris sysadmin...
    Then you backed up
    I didn't: it's my girlfriend's notebook and she not using a timemachine external disk. She did all by herself

  • Booting in Single User Mode

    Hello All,
    Just want to prepare ahead of time for possible server-down cases where a drive fails etc. What I want to do is find out a bit more about how the boot sequence is completed.
    If for example the primary boot partition was to become corrupted, is there an easy way to boot from the cdrom and enter single-user mode? From there I could mount a drive, bring up the nic, and transfer files etc, as needed.
    Normally with the bootprom on Sun hardware the stop-a then boot -s cdrom would work. What's the comparable command for Solaris 8 x86?
    Thanks,
    Mike

    This link might be helpful.
    http://sun.pmbc.com/faq/7.html

  • Can boot to disk in single user mode.  But not regular boot.

    I setup an alias called md-rootdisk for booting my Solaris 10 System on a V440.
    I tried to reboot using the alias md-rootdisk twice. It only worked once.
    The first attempt was to single user mode. The sytem booted but there was a krtld error.
    The Second attempt was a regular boot.
    I'm trying to figure out why the first attempt "worked" and the 2nd didn't.
    The details are below.
    First Boot_
    {1} ok boot -s md-rootdisk
    Boot device: /pci@1f,700000/scsi@2/disk@0,0:a File and args: -s md-rootdisk
    krtld: Unused kernel arguments: `md-rootdisk'.
    SunOS Release 5.10 Version Generic_120011-14 64-bit
    Second boot_
    {1} ok boot md-rootdisk
    Boot device: pci@1f,700000/scsi@2/disk@0,0:a File and args:
    Can't locate boot device
    {1} ok boot md-rootdisk

    If the disk is a normal disk, this will get you to single user mode:
    boot disk -s
    In the second case, it looks like there is something wrong with the device path aliased.

  • Stuck keys in single user mode

    I am running Solaris 2.6. on an Ultra10. When in single user mode, I am getting "stuck keys". If I type a y to answer a question, I get yyyyyyyyyyyyyyyyyyyyyy. If I try to delete some of the repeated letters, the delete key removes them all.
    What's up with that? I am trying to perform a restore, and need to be in single user mode.
    Thanks for any help,
    Phil

    Welcome to  discussions, shaolson.
    Have you done anything recently that could have caused this?
    What Operating system do you have 10.2, 10.3, 10.4 ??
    1. Try starting up in safe mode, by holding down the Shift Key.
    2. else, if you can get the Install DVD in, startup using the 'C' key to boot into the Install DVD and run repair Disk from Disk utility. I know you have already tried fsck in single usermode, but the benefit of using Disk Utility is you can get useful feedback about what it has done.
    The procedure, in case you are unfamiliar with it is;
    To do this: Insert the Install Disk 1 into the drive and then select Restart; when you hear the chime hold down C key until the apple logo appears.
    This will take you to the installation software, but you do not want to install.
    Select your language, then go up to the top menu bar to Utilities in 10.4 (or Installer in 10.3) and navigate to the Disk Utility application.
    Select the start up drive, then go to the First Aid pane where you can click on Repair Disk.
    If it finds errors, repeat the process until it reports no errors.
    After these repairs, quit the application, and restart normally.
    3. If it still will not start up normally, restart with the Install DVD and do an *Archive and Install* to preserve your existing files. If successful, these will be located in a folder called Previous System on your hard drive.
    4. If Archive and Install is not possible, because you have insufficient Disk space to complete that operation, then you will need to connect your eMac to another Mac and and retrieve the important files via that means.
    regards roam

  • Single user mode: Argument List is too long, PLEASE HELP

    Hey guys,
    I recently posted a topic asking if any1 knew how to delete all png files on the desktop,
    Nt many people replied,
    But anyway, I did some research and now I know how to do it,
    but in single user mode (cmd + S),
    When I typed in rm *.png
    While I ws on the desktop in single user mode,
    It came up saying Argument list too long,
    Does any1 know how to fix this,
    Plz reply ASAP,
    &amp; if possible addme on Skype mark.davidson19, it wld b extremely helpful

    If there are too many files expanded via the *.png wildcard, then the argument list length maximum can be exceeded.  The last time I checked, Mac OS X had a 256K line length limitation. (AIX was 1M, Linux 128K, Solaris 1M, Windows 8K (Cygwin env) - your mileage may vary with each operating system release).
    If you have too many files to expand on the command line, then you can delete them in batches.  There are several ways to do this
    cd ~/Desktop
    rm [a-m]*.png
    rm [n-z]*.png
    rm [A-M]*.png
    rm [N-Z]*.png
    Or finer increments.
    You could use something like
    find ~/Desktop  '*.png' -print0 -depth 1 | xargs -0 rm
    And you can also use
    find ~/Desktop '*.png' -depth 1 -delete
    This being a Unix environment, there are most likely a dozen additional ways to delete all the .png files and avoid command line length limits.
    As MrHoffman says, using rm and wildcards is a very dangerous thing to do unless you really REALLY know what you are doing.  If not, I strongly suggest having a recent full backup handy.  I actually suggest a backup regardless of how good you are in the Unix environment (I have multiple via different backup utilities preformed on a very regular basis;  years of experience has taught me you cannot be too careful with your data - it is worth far more than the cost of backup equipment).

  • Data back up from Single User Mode

    Hello,
    I have a problem with my 700 MHz iBook, dual USB, with OS X 10.3.9.
    Unfortunately the OS doesn't start up because of "overlapped extent allocation" problem...
    I would like to re-install the complete OS but before doing it, I would like to back up some directories.
    Is it possible to save some data, by connecting an Ipod or some sort of external peripheral, from the Single User mode?
    If yes, how can I do it?
    Thank you in advance from your kind support.

    Before giving up the ghost check out these:
    http://docs.info.apple.com/article.html?artnum=25770.
    Manually fix Overlapped Extent Allocation Errors without Disk Warrior
    Overlapped overlapped extent allocation errors can be the bane of any Mac user's existence. Often, these errors go unnoticed until the problem becomes visible: your Mac might refuse to boot, crash unexpected, or worse, critical data might disappear from the Finder. Disk Utility can detect, but not fix overlapped extent allocation errors, and certain third-party utilities, such as Alsoft Diskwarrior, can fix them, but generally without reporting the consequences.
    Overlapped extent allocation error occur when the file system thinks that two files are occupying the same area on the hard disk, hence overlapping on the same "inode," which is the structure which holds the location of the data blocks the file occupies, and also file permissions and flags.
    Clearing the "overlapped" or "overallocated" extent allocation essentially means that you'll have to lose some data, because the only way to remove the overlap is to delete the file that's occupying the inode. So, if you suspect, or find out, that the guilty file is a critical system file that resides in one of the hidden system directories such as /etc /var /usr/ or visible system directories such as /System or /Library, and you don't want to reinstall the whole OS (which might not fix the overlapped extent allocation anyway), it's good to have another disk available to copy the files back to your original disk if necessary: a second bootable hard drive or a firewire drive connected to your Mac when you remove the misbehaving file. Just make sure that when you copy the file back to your boot disk that the permissions are correct, so it's best to use the "ditto" command, so that all sticky bits, flags, and permissions are preserved.
    In case you didn't know, you don't have to boot from an install CD in order to check for overlapped extent allocations. All you need to do is restart your Mac, while holding down command + S to boot in "single-user mode."
    At the command prompt that appears, type:
    $ fsck -fy
    If you have an overlapped extent allocation, you'll see:
    "Overlapped Extent Allocation" (File 123456d)
    No matter how many times you run fsck -fy, you'll never be rid of the error.
    So, simply issue the following command:
    find / -inum 123456 -print
    Note the "d" was dropped, or any extra letter that appears after the inode number.
    The find will return a file name that matches with the inode number, and the path to that file. If you remove the file then the fsck will not return this error next time you run it.
    However, before you can delete the file(s) in single-user mode, you'll need to mount the file system. Type:
    $ mount -uw /
    When done, issue the "sync" command, and that will flush the write cache so that all pending writes are written from memory to the disk. Also, since most OS X 10.3 Macs use the HFS+ Journaled file system, it might be a good idea to disable the journal before booting into single-user mode by typing:
    $ sudo diskutil disableJournal /
    then re-enable it when done fixing the overlapped extents and rebooting normally:
    $ sudo diskutil enableJournal /
    Chris Anderson is a long-time Linux propellerhead who just got his first Mac, an ibook G4, and can't keep his hands off of it. He currently works as a "The Architect" and general visionary for a maker of world-class collectibles.
    If you own Disk Warrior then it should be able to repair a drive with overlapped extents.
    There are two backup utilities included in Unix - psync and rsync. You will find them in the /usr/bin/ directory. For documentation simply enter: man psync or man rsync. In order to write data while in single-user mode you need to issue the command: /sbin/mount/ -uw / (Note: there is a "space" between the "uw" and the "/".) To mount an external drive you will need to provide the mountpoint for it in place of the "/", e.g., "/Volumes/volname") without the quotes.

  • How do i repair my hard drive in single user mode when disk is full?

    Hi there Apple Community!
    I have an old Macbook Pro 17" with an upgraded 500GB harddrive and 4GB memory. I'm running Mac OSX Lion.
    Was hoping you could help me out.  THis is the situation:
    Long story short I spilt wine on my macbook and the screen went a bit blobby. Switched it off for a few days, removed the battery etc. etc. Opened it up cleaned out as much of the wine as possible, but unfortunately some of it came in behind the LCD, so now the screen has a nice red stain.  Obviously I'm not going to try to clean that out of the LCD. 
    My Macbook Pro still worked for a few days after that, but then my harddrive gave up.  I booted in the Recovery HD menu, verified the drive and I got the error "Keys out of order - This disk needs to be repaired, click Repair Disk." I attempted to repair the disk but got the error "Keys out of order - Disk Full Error - The volume could not be repaired".
    Unfortnately of this 500GB I only have about 7GB free on it, as I have a huge iPhoto and iTunes library. I did make a TIme Machine backup of my user directory, but not the system files.  I don't really want to do a clean install because:
    1) I'm paranoid that there's something I did not fully back up
    2) I don't want to have to download the whole Mac OSX Lion again. I should have made a USB bootable backup when I had the chance.  I don't have access to a broadband connection.
    What I feel are my viable options, are as follows:
    1) I did buy a replacement internal 500GB harddrive, so I can probably try to make an image of the hard drive to this new drive, but not sure how. I believe it's through the Disk Utility with the "New Image" option but not sure how to go from there.
    2) Start up in Single User Mode and delete some unnecessary files and re-attempt to run the fschk -fy utility again (I tried this earlier and got the same Disk Full Error).  - the problem with this is, I'm not familiar with the command line and have no clue how to delete files.  I don't know my way around Unix.
    3) I can also probably attempt to make a Ghost Image or Acronis Image of the failed drive to this new drive, but not sure if Norton Ghost or Acronis True Image will be able to read this HFS drive - I believe it's possible as it's a simple hard drive clone. 
    If you can guide me in the best option - probably there is a better solution than my proposed ones above, I appreciate any feedback and comments you might have!

    hi Baltwo,
    So I ended up copying my user folder to another harddrive. I managed to download the whole osx lion again, reinstalled, and recovered my home folder using this discussion:
    http://support.apple.com/kb/HT1428
    I have managed to get all my files back. My iTunes library works fine, but my iPhoto library when I open it, get the following error:
    iPhoto cannot be opened because of a problem.
    Here's the error log
    Process:         iPhoto [1540]
    Path:            /Applications/iPhoto.app/Contents/MacOS/iPhoto
    Identifier:      com.apple.iPhoto
    Version:         8.1.2 (8.1.2)
    Build Info:      iPhotoProject-4240000~8
    Code Type:       X86 (Native)
    Parent Process:  launchd [209]
    Date/Time:       2012-09-19 19:56:45.528 +0200
    OS Version:      Mac OS X 10.7.4 (11E53)
    Report Version:  9
    Sleep/Wake UUID: 7948ABE2-5294-4F87-B6E3-777095A2F2EE
    Interval Since Last Report:          4780 sec
    Crashes Since Last Report:           9
    Per-App Crashes Since Last Report:   9
    Anonymous UUID:                      70117D38-03EA-4F9C-B810-50B743864B9E
    Crashed Thread:  0
    Exception Type:  EXC_BREAKPOINT (SIGTRAP)
    Exception Codes: 0x0000000000000002, 0x0000000000000000
    Application Specific Information:
    dyld: launch, loading dependent libraries
    Dyld Error Message:
      Library not loaded: /System/Library/PrivateFrameworks/iLifeSlideshow.framework/Versions/A/iLifeSlid eshow
      Referenced from: /Applications/iPhoto.app/Contents/MacOS/iPhoto
      Reason: image not found
    I've done an Apple Software Update but it didn't find an update for iPhoto.
    One thing to note is, this library was originally created on iLife 08, upgraded to '09 and it stayed on that version. It hasn't een upgraded to iLife '11.  It worked fine on my previous install of OSX Lion.  How do I recover the library without upgrading to '11 ?

Maybe you are looking for

  • Compaq Presario CQ56-115DX Problems

    Hello, I have a Compaq Presario CQ56-115DX Laptop. It is still under warranty. Within the last week the power of the laptop has been messed up. When I have the laptop unplugged, which I don't very often, the laptop shuts down after an hour without an

  • Is it possible to print archived Purchase Orders

    We are archiving business complete PO's which are beyond 24 months old. However, for Data retention and audit trail purposes, there is a busineess requirement to retreive the print format as needed even after the PO is archived. Transaction SARI does

  • Desktop Software 6.0

    I just installed the Desktop Manager 6.0 and it seems to be causing problems with my 64 bit XP PC. I get a stop error (blue screen and reboot) about half the time I open it. It doesn't seem to make a difference if I've connected with my Blackberry 85

  • Need Serial Number. Can Someone Help?

    Just what the title says. I can't find it anywhere in my transactions, and the email I received it in is missing. May have deleted it by accident. I'm planning to use Adobe Flash CS6 after it accidentally got uninstalled. Can someone help?

  • User specific deletion of Workitem

    Hi experts , I want to delete a perticular workitem specific to agent . One workitem (ex: 12345)  is in  SAP inbox of 2 users  say ( User A and User B ). I want to delete from only user A  SAP inbox . How i will do the same . Note : I have tried the