Cannot unmount /mnt after installation & system hangs on shutdown.

Once I exit chroot and run 'umount /mnt' as per the beginner's guide, I get the message:
umount: /mnt: target is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
I am fairly new to Arch and Linux in general. I've installed Arch in 2 other machines with no such problem.
The root of this whole issue is that my laptop hangs when I shutdown. It hangs on either one of these lines:
kvm: exiting hardware virtualization
or
sd 0:0:0:0: [sda] Synchronizing SCSI cache
I can't find anything by googling so I am pretty much clueless. I thought the issue stemmed from my not unmounting /mnt properly after the installation.
Last edited by Synek (2013-09-17 00:11:37)

2ManyDogs wrote:
Synek wrote:The two mounted on /mnt (after having run 'umount /mnt/{boot,home,}') are /dev/sda3 (my /home) on /mnt, and udev on /mnt/dev.
I'm not sure why your /home is mounted at /mnt (that's where your root partition should have been mounted, with your /home then mounted at /mnt/home), but you should not have anything left on /mnt at the end of the installation. The Beginners' Guide tells you to run this command:
umount -R /mnt
This should unmount everthing on /mnt.
I did mount /home at /mnt/home, my mistake.
Running
umount -R /mnt
gives the same result as in the OP.
BUR wrote:Does it keep giving you errors if you try to unmount everything by using /dev/sda* instead of mountpoints? Start from the end (root partition should be touched only after everything else).
Do you mean
umount /dev/sdxy
I ran
umount /dev/sdb3
(this is /home) and it is not mounted. I ran
umount /dev/sda3
(this is /) and I get the same error.
According to
mount
, /dev/sda3 is still mounted on /mnt and udev is still mounted on /mnt/dev. That's the only things still mounted on /mnt.

Similar Messages

  • System hanging on shutdown

    The home directories on my system are on NFS.
    Most of the times, when users log out of their graphical session, some of their processes keep running (for instance /usr/bin/nepomukserver for KDE users and some processes related to pulse or to chromium).
    When shutting down the system, arch scripts first try unmounting network filesystems, and this fails, since /home is busy; then they send a SIGTERM to processes, and this fails as well (I believe it's because the network has been halted but /home hasn't been mounted), then the system hangs while unmounting non-API filesystems.
    If, before shutting down, I manually kill the user processes (nepomukserver, pulse, chromium, ...), arch is able to shutdown as expected.
    Am I the only one affected by this problem?
    How am I supposed to solve it?
    I'm thinking about writing a script to terminate (`kill` and then `kill -9`) any process using /home (`lsof /home`), but this looks like a terrible hack...

    So, since I couldn't find any other solution, decided to write a script (an init script to add to the DAEMONS array) that kills the processes using /home while halting the machine...
    If anybody will ever need it, here it is:
    /etc/rc.d/pathliberator
    #!/bin/bash
    # Path Liberator
    # kills processes that are using a given path
    DAEMON=pathliberator
    . /etc/rc.conf
    . /etc/rc.d/functions
    [ -r /etc/conf.d/$DAEMON ] && . /etc/conf.d/$DAEMON
    case "$1" in
    start)
    stat_busy "Starting path liberator"
    add_daemon $DAEMON
    stat_done
    stop)
    success=true
    for path in ${PATHS_TO_LIBERATE[@]}
    do
    pids=$( lsof -Fp $path | sed -rs "s/^.(.*)$/\1/g" )
    if [ "$pids" == "" ]
    then
    status "$path was already free" true
    continue
    fi
    # kill -TERM
    stat_busy "Liberating $path"
    kill -15 ${pids[@]} &>/dev/null
    pids=$( lsof -Fp $path | sed -rs "s/^.(.*)$/\1/g" )
    if [ "$pids" == "" ]; then
    stat_done
    continue
    fi
    stat_fail
    pids=$( lsof -Fp $path | sed -rs "s/^.(.*)$/\1/g" )
    # kill -KILL
    stat_busy "Liberating $path with SIGKILL"
    kill -9 ${pids[@]} &>/dev/null
    pids=$( lsof -Fp $path | sed -rs "s/^.(.*)$/\1/g" )
    if [ "$pids" == "" ]; then
    stat_done
    continue
    fi
    stat_fail
    success=false
    done
    status "Paths liberated" $success
    if [ $success ]
    then
    rm_daemon $DAEMON
    fi
    restart)
    $0 stop
    $0 start
    echo "usage: $0 {start|stop|restart}"
    esac
    exit 0
    /etc/conf.d/pathliberator
    # Parameters to be passed to pathliberator
    PATHS_TO_LIBERATE=(/home/)
    It seems to be working, although didn't deeply test it...
    My DAEMONS array now looks like this:
    DAEMONS=(hwclock syslog-ng cpufreq network crond nscd dbus rpcbind nfs-common netfs pathliberator gpm sshd @ntpdate alsa fuse gdm avahi-daemon)
    Last edited by peoro (2012-06-13 11:23:17)

  • System hangs on shutdown

    First, the source of the problem was the startupitem for mysql.
    I removed all system startup items then rebooted fine, after that I eliminated all the options by placing them back 1 by 1.
    What I find strange was that I moved the mysql startup item to the startup folder, set the permissions right and reboot.... And the system immediatly hung... Why is this (called) a startup item if it affects shutdown?
    And how can it affect a shutdown like that.... How exactly are the startupitems used during shutdown?
    MacBook Mac OS X (10.4.8)

    How can something that isnt started, refuse to shut down?
    I dragged the mysql startup item to the startup folder and the system hang at the next reboot..... So it couldnt have been started right?

  • Solaris 9 - INIT: Cannot create /var/adm/utmpx (System Hangs)

    Hello,
    I am unable to boot into solaris 9 after I did a init 0. I did init 0 because shutdown -y -g0 -i0 did not work.
    This is the error message I get
    Hardware watchdog enabled
    INIT: Cannot create /var/adm/utmpx
    INIT: failed write of utmpx entry:" "
    INIT: failed write of utmpx entry:" "
    INIT: SINGLE USER MODE
    Type control-d to proceed with normal startup,
    (or give root password for system maintenance):
    After it asks for the password it HANGS.
    I entered the password, but NOTHING HAPPENS.
    I can go into sc console though.
    I also rebooted using Solaris 9 cdrom in single user mode. Checked the filesystem using fsck, and no faults were found. I also tried creating a new /var/adm/utmpx file but that did not work too.
    Any help would be appreciated,
    Thank you,
    Jacob.

    Hello,
    Check for /var filesystem usage,if it is not mouted as seperate filesystem then check for "/" FS usage.
    There may be chances you get to have this problem if your FS is full.
    If everything normal then follow the below steps, which solved similar kind of issues in the past for me.
    Logon to the system and when you get prompt just run fsck on your root filesystem.
    Check /etc/vfstab file to ensure that you are running fsck on correct fs name.
    After completing fsck just say "reboot". The machine will boot normally.
    In b/w is this machine disks are mirrored?? if so then you may need to choose the disks carefully before you run fsck.
    thanks.

  • Cannot install OS after erasing system

    I recently erased my iMac as it kept shutting down with a kernel error.  When I tried to reinstall the OS it again kept crashing.  I have now removed all but the original 2 ram modules and it stays on but I cannot install the OS
    I managed to get past the rotating globe and followed the instructions to install via internet (Mac came without any discs) I signed in with apple id and was given one otion, to install OS Mavericks.  It then said I have not purchased mavericks on my apple ID and so cant install it, giving me no option than to cancel the download.  There was an OS on the system when I bought it and I had upgraded this to Lion? but I have never used Mavericks.  How do I get past this and install the OS please.
    The iMac is an intel i3 system with just the 4GB of original ram installed
    I have tried signing in to the apple store on other devices to try and purchase the free mavericks os but cannot seem to do this either
    Thanks for any help that you can give

    Contact Apple and purchase replacement discs for the computer. They should have been included from whomever you purchased it.
    You can try Internet Recovery if your model is in this list: Computers that can be upgraded to use OS X Internet Recovery. After installing the firmware update, if needed, here's what you will need to do:
    Install Mavericks, Lion/Mountain Lion Using Internet Recovery
    Be sure you backup your files to an external drive or second internal drive because the following procedure will remove everything from the hard drive.
    Boot to the Internet Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND-OPTION- R keys until a globe appears on the screen. Wait patiently - 15-20 minutes - until the Recovery main menu appears.
    Partition and Format the hard drive:
    1. Select Disk Utility from the main menu and click on the Continue button.
    2. After DU loads select your newly installed hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the process has completed. Quit DU and return to the main menu.
    Reinstall Lion/Mountain Lion. Mavericks: Select Reinstall Lion/Mountain Lion, Mavericks and click on the Install button. Be sure to select the correct drive to use if you have more than one.
    Note: You will need an active Internet connection. I suggest using Ethernet
                if possible because it is three times faster than wireless.

  • Cannot open Editor after installation and sign in to Adobe ID

    I installed elements 13 on two computers. Then as directed, I signed up for an Adobe ID.
    Elements works fine on one computer, but not on the other.  On the one with the problem, I can access the organizer and use the organizer, but when I try to open Editor, I am asked to sign in with Adobe ID to activate the software, which I have done many times but still  nothing happens.  I signed in to check my Adobe account and I have a valid account, but still cannot open the editor.  It just keeps asking me to sign in, which I have done many times and still cannot open the Editor.

    Have you managed to update to 13.1 by loading the organizer, going to the Help menu and selecting Updates.. ?
    The sign in process can be blocked by your system, you can try disabling your firewall to see if that is blocking you.
    The following document is for CS but contains information that will affect elements too.
    Sign in, activation, or connection errors | CS5.5 and later
    Recently, an add on has been found to block the Adobe access - please see this thread.
    How do I get past the required "sign in" requirement on Elements 12 EDITOR after entering my password?
    Good luck
    Brian

  • HT4623 Unable to update applications installed.Error message "unable to connet iTunes" appears after installation icon hanging

    Since last two weeks I am unable to update my applications installed in iPad with iOS 6. Also no new app is getting installed. Installation icon appears but after some time error message "unable to connect iTunes " appears.Can some one guide me to solve this problem please?

    I've had similar problems. Whenever I try and update apps on the iPhone, the app would apparently download ok, but then not install. This didn't happen with new apps - only ones I was updating.
    I got around the issue by downloading the update in iTunes on my Mac, then deleting the app from the phone, then syncing. The problem with this method is that certain apps had saved settings which are lost when following this method.
    However... I seem to have fixed the issue after 2 months of trying.
    I followed the advice of this page:
    http://www.iphoneatlas.com/2008/09/10/itunes-8-workaround-for-5002-unknown-error -when-trying-to-update-apps/
    Then I repaired disk permissions and finally I completely erased and restored my iPhone BEFORE I synced it after the moving of the Mobile Applications folder.
    It's all working perfectly now and made my life much easier (especially with Aurora Feint updates), so I hope that this method works for some others.
    Good luck.
    Dom

  • Cannot shut down due to system preferences canceled shutdown

    iCloud pop up is asking me "do you want to keep a copy of your iCloud contacts on this Mac? The buttons to delete from Mac or keep contacts doesn't work and I cannot shut dialogue box. Tried shutdown of computer but received message that "the application system preferences annealed shut down" any ideas?

    Meant to say "the application system preferences canceled shut down"

  • System hangs at shutdown with rt73usb module [SOLVED]

    Since upgrading to the latest kernel (via standard Arch repos - not testing!) my system now hangs with a general protection fault error when shutting down, or though infrequent, randomly when browsing. Through some searching I have discovered this error is related to the use of the rt73usb module, and am able to reproduce the error by removing it (modprobe -r rt73usb).
    I have seen that others have experienced the same problem, and in some cases reverted to the legacy rt73 drivers, an option I have tried by compiling and installing from AUR source. However, whilst the new module is 'hang free' and able to pick up my dongle, getting a network connection with a WPA encrypted key is not something I have achieved with either wicd or netcfg, in the first instance getting a 'bad password error' and in the latter an "ioctl[SIOCSIWENCODEEXT]: Operation not permitted"; each of these tools use the wext driver to 'talk' to the rt73 module, which I think is where things fall down.
    Before upgrading to the 3.0 kernel (coming from a CD install), the rt73usb and kernel were harmonious, but I had bigger problems in random x-server closures, so downgrading is not a remedy.
    What therefore  is my best solution in terms of (a) getting a connection with the rt73 module, or (b) getting stable rt73usb modules?
    Last edited by Skipper_the_eye_child (2011-11-12 04:11:00)

    I've not investigated the issue within the last few days, but only got so far with rutilit: as before rt73's rausb0 interface was picked up, but no connection was made. Frustratingly, Rultilt gave me nothing in the way of error reporting : all i've so far is an excerpt from /var/log/message:
    [stuart@myhost ~]$ sudo cat /var/log/messages.log* | grep rutilt
    Password:
    Sep 19 16:08:08 myhost kernel: [ 60.675310] rutilt[819]: segfault at 84 ip 00007effa9ac1c64 sp 00007fffa0728660 error 4 in libgdk-x11-2.0.so.0.2400.6[7effa9a53000+ad000]
    libgdk-x11-2.0.so.0 is provided by the GTK2 package, so I am not convinced this error is related to my connection, or lack thereof. This however is all I have.
    If you are wanting to try out  rutilt w/ the rt73 module for your own exploration, to save you some time...
    Rutilt can be got here:
    (snapshots exist at later dates)
    http://arm.konnichi.com/2009/11/01/community/os/ 
    The patched rt73 module can be compiled and installed with yaourt. If you receive an 'smp_lock.h error' at compilation then creating a null file at /usr/include/linux should resolve this:
    http://idratherhack.blogspot.com/2011/0 … lockh.html

  • System hangs during shutdown, blue screen with gear spinning.

    My MBP gets stuck during shutdown/restart process.
    The system acts like it is shutting down, exits the the desktop, goes to a blue screen with a spining gear then never turns off.  It seems the screen falls aslep if you leave it awhile but the system itself won't actually shutdown. If you move the mouse the screen lights back up. but still shos the "death gear"! happens on both shutdowns or restarts.  System must be turned off by holding the power switch for 10 secs.
    Please help!
    Chris

    Seems like a odd thing. If youve downloaded torrents of hacked programs or things like that may have been the cause by the uploader hacking and doinng this. I would bring the Macbook Pro to the apple store and see what they can do. If they cant do anything about it I would backup all the important programs and get rid of anything that seems suspicious. Then upload the stuff back onto the computer after you restore it. Thats the best solution.

  • I cannot connect to the Internet after installation of Windows Vista Ultimate edition.

    I cannot connect to the Internet after installation of Windows Vista Ultimate edition. For some odd reason, it seems my ethernet has not yet been installed to my operating system and I do not know how to do that even with the internet, I have the LAN cable hooked up to my computer but I do not know exactly what to do about it. Is there some sort of driver I need to install, or what? How do I do that without the internet?
     This operating system is on a separate partition to my other operating system that is connected to internet already (Windows Vista Premium) that I do not wish to use anymore because of it's corruption. I tell you this because you may know a way of finding the driver files on my previous operating system that I may be able to transfer to the other.

    In order to avoid board clutter, we ask that you post your topic on one board only.
    Please look ---> HERE for replies to your topic. Thank you.
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer that solved your issue as the accepted solution.

  • Is it possible to change our system SID and NR after installation

    HI TO ALL
    Is it possible to change our system SID and NR after installation os SAP r/3,
    thanks

    Hi,
    It cannot be changed after you have installed the SAP system
    You have the option to chose before you setup the system ie, during the installation.
    Rgds
    Radhakrishna D S
    Edited by: Radhakrishna D S on Sep 9, 2008 7:08 AM

  • I lost my bluetooth after installation of Maverick2. Can anyone help me please, i cannot use my magic mouse on my Mac Book Pro  retina???

    I lost my bluetooth after installation of Maverick2. Can anyone help me please, i cannot use my magic mouse on my Mac Book Pro  retina???

    There is a fix; I finally discovered how to clear the Windows 7 xx64 Device Manager's warning of a missing Bluetooth Peripheral device.
    Thinking Boot Camp 4.0 would correct thid, I installed it ititially today only to have the warning remain.
    The Bluetooth company called Broadcom (you notice the reference during the installation of Boot Camp) offers a BlueTooth "device finder" (my phraseology) that detects all BlueTooth devices in your Apple or PC but withing a Windows operating system; included are Windows 7 , Vista, XP and even 2000 operating systems.
    So download the 3 MB file, from Broadcom.com.  While your Bluetooth equipment is plugged in to the computer, run the program.  The program searches for any BlueTooth peripheral activated equipment and BlueTooth devices that makeup your MacBook Pro, or other Apple or a plain PC computer having a Windows operating system installed.  It then downloads the appropriate software required.
    The company's URL address:
    http://www.broadcom.com/support/bluetooth/update.php
    In my case, I ran the program, rebooted my MacBook Pro (in Windows 7 x64 and with the new Boot Camp 4.0 installed) and the missing BlueTooth peripheral device indication was eliminated.  It took 10 minutes to complete. 

  • System hangs at POST after reboot

    I have a Dell L400 laptop (p3 700mhz 256mb 20gb hd) and have sucessfully installed arch along with xfce and a few other programs. Everytime I reboot via "reboot" cmd or through xfce, the system unmounts everything and reboots but hangs at the POST screen. I cant get into bios or the boot option menu either. I also have a stripped down windows xp installed (before arch) and i can reboot from there. any ideas on whats going on?

    Hi, I have exactly the OPPOSITE problem from you. Windows won't do a warm restart - hangs after the POST. Arch WILL do a warm restart. I still haven't figured it out. I am assuming that Windows is messing up something in the hardware that mucks up the restart and Arch isn't. Since you and I have different hardware for sure, you are likely experiencing the same sort of problem, but from a different source!
    In my case, a simple power cycle resolves the problem and Windows boots properly. However, it will only boot from a power on. It will never boot from a warm restart.

  • Update to 10.6.8 - system hang (mouse issue) after resume from sleep

    I am on older
    MacBook Pro3.1
    Intel Core 2 Duo
    2.6GHz
    Run on 10.6.8 almost flawelessly. Shortly after upgrade to 10.6.8 system started to hang periodically after resuming from sleep. Symptoms are that it stops responding to mouse (be it touch pad or USB mouse). Keyboard seems to be ok but system doesn't seem to be fully functional. I am able to ssh from the other computer and 'shutdown -r now' after reboot system seem to be ok until next resume from sleep. What interesting though is that this problem newer manifests then I am using external monitor.

    Found problem. It was due to magic mouse that I left on. I carry this mouse in the laptop bag but rarely use it. Last time I used it (around the same time I install the update) I left it on in the bag. It was apparently disconnecting/connecting on its own and by some reason sometimes was breaking touch pad and other usb mouse connected to laptop, as soon as I switched magic mouse off broblem was fixed

Maybe you are looking for