Filesystem from sdcard won't mount via fstab, will with rc.local

Since receiving my laptop back from RMA, I've installed my SSD and set up Arch.  I wanted to put /var on a separate reiserfs partition on my 8GB sdcard to prevent extra write activity from logs and pacman, however it wouldn't mount.  I tried using both label and dev (haven't tried uuid yet) and it always failed, causing me to enter admin mode.
I then set up a 1.5GB partition with reiserfs on the SSD for the time being, changing the pacman cache option to a directory on the sdcard in /media.  I set the command to mount in rc.local and it mounts fine there.  I can't get the other media partition to mount via fstab either.
Is there another hook I need to add to mkinitcpio.conf and rebuild the init ram image in order for this to work?  Any ideas?  I'm going to try adding usb to the hooks and rebuilding for now.
Here is my setup:
fstab:
devpts /dev/pts devpts defaults 0 0
shm /dev/shm tmpfs nodev,nosuid 0 0
LABEL=boot /boot ext2 defaults 0 1
LABEL=home /home ext4 defaults,noatime,discard 0 1
LABEL=root / ext4 defaults,noatime,discard 0 1
LABEL=var /var reiserfs defaults,noatime 0 1
#LABEL=sdcard /media/sdcard ext4 defaults,noatime 0 2
none /tmp tmpfs nodev,nosuid,noatime,size=1000M,mode=1777 0 0
rc.local
mount /dev/disk/by-label/sdcard /media/sdcard
mkinitcpio.conf hooks line:
HOOKS="base udev autodetect pata scsi sata filesystems"
EDIT:
I tried adding usb to the HOOKS array between sata and filesystem, rebuilt the image, uncommented my sdcard entry in fstab, and rebooted.  It didn't fix it.
I see someone made a hook in the AUR:
http://aur.archlinux.org/packages.php?ID=31150
Last edited by DarksideEE7 (2011-05-08 13:18:56)

I'm a little confused, so maybe I'll learn something here.  It is my impression that /var is not, and need not be mounted while in using the initrd.  It will be mounted in init after the kernel has been loaded, / has been mounted/ and init started.  rc.local definitely is not executed until long after the initrd has been cast aside.
Things to look at:
Does the mount point /media/sdcard exist at the time rc.local runs?  I'd wager not.
Look at the output of ls -l /dev/disk/by-label and recheck the disk labels.

Similar Messages

  • LaCie External Harddrive suddenly won't mount via Firewire 400 or 800

    My LaCie External d2 Quadra suddenly won't mount via Firewire 400 or 800, but will mount via USB 2.0.
    I have:
    Tested the harddrive on another computer and it works fine via firewire.
    Shut down and re-boot. It had no effect.
    Updated all software.
    Note: My MBP will not boot if the Firewire 800 cable is connected.

    I've had a whole heap of strife with my two macally enclosures over FW. I've only got them working twice together, regardless of jumper settings on the harddrives. I can plug either in fine, but if I use both together, my mac shuts down and refuses to boot. One drive is bus powered, the other is powered via the mains
    I wish you luck

  • G drive mini won't mount via firewire 800. usb ok

    It hasnt been too long i bought myself a gdrive mini to benefit from the firewire 800 port. It seems that once my macbook gets warm the drive won't mount. It mounts just fine via usb. I've been to the genius bar twice and it worked both times, thats when i noticed it only happens when its warm. I was convinced its a software issue, but i dont know what to think anymore.
    Has anyone encounter this issue? Any ideas of whats causing this?
    Any help would be greatly appreciated

    WAIT WAIT EVERYONE....READ THIS....VERY SIMPLE FIX!
    My G mini 750GB drive stopped mounting.....I tried a million methods to get the G mini drive to mount and searched a ton of forums but never found this VERY EASY FIX.  Try powering down your computer (imac in my case), then UNPLUG the power supply from the back of the computer....VERY IMPORTANT TO UNPLUG COMPUTER FROM ELECTRIC SOURCE. Nothing else worked for me.
    Wait a minute, then plug back in and re-boot....MAGIC - freakin G mini showed up on desk top!
    Good Lord why is this simple fix not all over the G mini site??????  It ought to be on the front of the box when you buy this thing!  Seems no one at G mini sites talk about this and people are sending drives all over for repair! 
    Hope this helps!

  • External Hard Drive Won't Mount Via USB

    I have a Western Digital (Model #WD2500...) Hard Drive that is about 3 years old. I initially set it up on a PowerBook running Mac OS 10.3.x. I have two newer laptops both running Snow Leopard, and neither will recognize my drive via USB 2.0.
    The weird part is that the drive will mount when connected via Firewire (400 in this case). My newest laptop is on of the new MacBook Pros and it only has Firewire 800. I'm guessing I could probably get a 400 to 800 Firewire cable, but it would be much easier to just use the USB 2.0 connection. Any idea why the drive won't mount over USB 2.0?
    I went to the Western Digital site, and there didn't appear to be any new drivers or firmware for this product. The drive seems to run perfectly well over the Firewire connection, so I don't see what the issue is with USB. The documentation that came with the drive indicates that it should work with USB. This is very baffling to me, so any help would be greatly appreciated.
    Thanks so much!!

    In most external drive enclosures that have both USB and Firewire interfaces, the Firewire interface is able to draw enough power to run the drive. Firewire can provide up to 45 watts and up to 30 volts of power per port (not all devices supply the full wattage; my MacBook model provides up to 8 watts). USB 2.0 and earlier can only provide 5 volts at 500 milliamps (up to 2.5 watts). Some newer laptop drives are at or under 500 milliamps, but just barely, and the enclosure itself needs some power.
    It sounds like the USB port on your enclosure is bad. Firewire is going to provide faster transfer rates anyway, and you don't have to bother with the power supply. Based on your comments, I suspect it still might be a bad power supply, or maybe it's not the right one for the drive. Those things are easy to mix up.
    If you're brave enough to crack the external drive open, what you'll find inside is a standard off-the-shelf hard disk drive, with either a SATA or PATA interface, in an enclosure. You can move the drive to a new enclosure easily.

  • Media won't mount via external optical after 10.4.4 update

    I did a search of the forums and found nothing related to my problem, sorry if this has already been covered. This is my first post on the support forums, so please forgive me if this is posted in the wrong area, and feel free to point me in the right direction if I should be asking this queston elsewhere.
    The subject heading says it all. I have an external Firewire DVD writer, and since I updated to 10.4.4 it won't mount any media when connected second in a chain after my external hard drive. If I disconnect the hard drive and plug the optical drive directly to the iBook, discs mount just fine, but when it is second in the chain ... nothing.
    Additionally, neither Disk Utility nor Toast will recognise the optical drive in order to burn data unless the device is plugged directly into the computer.
    The obvious solution would be to reverse the order of the devices, so the optical drive comes before the hard drive, but I have experienced problems with hard drive access and speeds of transfer to the hard drive when I've hooked things up in that order, so it is not an ideal solution.
    Any help would be greatly appreciated and thanks in advance.

    Dear Joel,
    for me I have a solution. I had to turn spotlight off with "sudo mdutil -i off" and then to delete all the files in the hidden /.Spotlight-V100 folder and then turn spotlight on again. And then wait for the computer to index again BEFORE the restart. Can be observed in the activity monitor: task mdimport.
    I found my solution on the following page:
    http://www.macintouch.com/readerreports/macosx10_4tiger/topic3036.html
    Click on May 11, 2005.
    Good luck to you!
    Alex

  • [Solved] sshfs can't mount via fstab on startup

    I have an HDD mounted in my RPI which I've mounted as a filesystem in my desktop via sshfs (through fstab).
    If I do "sudo mount -a", it seems to mount just fine, so I researched a bit (even though I'm still an newbie in Arch and Linux distros in general) and found out that it's most probably is caused due to the network not being initialized fast enough for the sshfs fstab entry to be discovered (due to having no network and therefore no access to it).
    I'm really not sure how to provide any info which would help you guyz help me so I'm just gonna provide the sshfs entry from my fstab file and the journalctl logs that seem to be relevant.
    Jun 23 22:32:00 home systemd[1]: home-username-media-downloads-mydrive.mount mount process exited, code=exited status=1
    Jun 23 22:32:00 home systemd-udevd[168]: renamed network interface eth0 to enp0s25
    Jun 23 22:32:00 home systemd[1]: Failed to mount /home/username/media/downloads/mydrive.
    Jun 23 22:32:00 home systemd[1]: Dependency failed for Remote File Systems.
    Jun 23 22:32:00 home systemd[1]: Unit home-username-media-downloads-mydrive.mount entered failed state.
    Jun 23 22:32:00 home dhcpcd[236]: eth0: waiting for carrier
    Jun 23 22:32:00 home dhcpcd[236]: eth0: removing interface
    [email protected]:/media/mydrive/ /home/username/media/downloads/mydrive fuse IdentityFile=/home/username/.ssh/mykey,uid=1000,gid=1000,reconnect,_netdev,allow_other,transform_symlinks,user,idmap=user,BatchMode=yes 0 0
    ps: This issue might be related to a recent attempt I've had to enable? the Gnome NetworkManager service, I'm not sure if it's related but I've first noticed the issue the same day I tried to enable that service (which I've later disabled because I couldn't get my network connected).
    Last edited by Varemenos (2014-06-27 23:44:00)

    It just doesn't want to work...
    # systemctl status home-username-media-downloads-mydrive.mount
    ==>
    ● home-username-media-downloads-mydrive.mount - mydrive Sshfs mount
    Loaded: loaded (/etc/systemd/system/home-username-media-downloads-mydrive.mount; enabled)
    Active: failed (Result: exit-code) since Thu 2014-06-26 16:45:21 EEST; 31s ago
    Where: /home/username/media/downloads/mydrive
    What: [email protected]:/media/mydrive/
    Process: 281 ExecMount=/bin/mount [email protected]:/media/mydrive/ /home/username/media/downloads/mydrive -t fuse.sshfs -o IdentityFile=/home/username/.ssh/mykey,uid=1000,gid=1000,reconnect,_netdev,allow_other,transform_symlinks,user,idmap=user,BatchMode=yes (code=exited, status=1/FAILURE)
    Jun 26 16:45:21 home mount[281]: read: Connection reset by peer
    Jun 26 16:45:21 home systemd[1]: home-username-media-downloads-mydrive.mount mount process exited, code=exited status=1
    Jun 26 16:45:21 home systemd[1]: Failed to mount mydrive Sshfs mount.
    Jun 26 16:45:21 home systemd[1]: Unit home-username-media-downloads-mydrive.mount entered failed state.
    The file:
    [Unit]
    Description=mydrive Sshfs mount
    Requires=network-online.target
    After=[email protected]
    [Mount]
    What=[email protected]:/media/mydrive/
    Where=/home/username/media/downloads/mydrive
    Type=fuse.sshfs
    Options=IdentityFile=/home/username/.ssh/mykey,uid=1000,gid=1000,reconnect,_netdev,allow_other,transform_symlinks,user,idmap=user,BatchMode=yes
    [Service]
    Restart=on-failure
    RestartSec=10
    [Install]
    WantedBy=multi-user.target
    Note that running
    systemctl start home-username-media-downloads-mydrive.mount
    , works just fine...
    Last edited by Varemenos (2014-06-26 14:00:23)

  • HT201064 Fresh Mavericks install, iPhoto installed from DVD - won't update via the App Store

    Hi all
    I did a fresh install of Mavericks, then installed a few apps from the App store.
    I then remembered iPhoto etc. that I have from the original install discs (2012 MBP)...but whilst iPhoto says an update is available (9.5.1), and launches the App store it won't show as an update via the App store.
    Anyone got any ideas?
    Thanks in advance.

    Sadly you're mistaken. A 2012 MacBook Pro has no install DVDs. Apple stopped issuing install disks with new Macs soon after the permanent advent of the Mac App Store with OS X Snow Leopard 10.6.8. Additionally, the version of the iLife apps; iPhoto, iMovie and GarageBand that last came on install disks are not the Mac App Store (MAS) versions and are not compatible with being updated through the MAS.
    The apps from that old disk that you have from another Mac may be updatable however, using the Software Update facility in the Apple menu.

  • 3rd Gen iPod won't mount via firewire - any ideas?

    After working for a brief spell when I first hooked it up, the progress bar would freeze while I was trying to copy files across to the HD. I unplugged, reset the iPod and tried it in my old clamshell iBook, where it worked fine again.
    I tried resetting the PMU on the Macbook, but this only made things worse - the iPod now refuses to mount, despite still working fine on my old iBook. Tried resetting PRAM too but no difference.
    Do I have a duff port? Or could it be an issue with 10.4.6 on the Macbook?

    I tried a JVC digital handycam while on the phone to AppleCare, which it recognised in iChat, and showed a live picture in iMovie. I don't know how I would check for consistency with this device, but it seemed to be working ok.
    I'm connecting via a dock but have also tried connecting direct - all official Apple cables. No difference.
    I'm now noticing new behaviour. When I plug the iPod in it mounts very briefly, triggers iTunes, then unmounts. It stays charging from the Macbook's firewire port, but the 'do not disconnect' disappears and I can use it as if it was only connected to AC. This is reproducible, and is the same if I turn off the launch iTunes option.
    Once again, it works flawlessly with the old iBook.
    I'm almost tempted to go down to the Apple Store in Regent St. and plug my iPod into a Macbook there to rule out software - unless you have any other suggestions?
    Thanks for your continued support.

  • DVD from iDVD won't mount

    I made a project in iDVD, burned it and now it doesn't show up (mount) on my desktop when I try to view it on my iBook. But it DOES play in a regular DVD player.
    Anyone have an idea why?
    Thanks in advance.
    Randy

    Hi,
    I`ve got the same problem. DVD format is -R or -RW, plays on my old G4 and any other stand alone DVD player, it was created with my new Power MAC Dual 2,3 Tiger 10.4.1 DVD Player 4.6.1, newest iDVD. So the DVDs play anywhere, except on the computer they were made with. This is a bit strange, the update of DVD player that should help this problem did not change anything.

  • USB device mounting via 'fstab'

    OK, ... just wondering which option, below, is appropriate/preferred for Arch using USB file systems in 'fstab':
    #1 
    none /dev/pts devpts gid=5,mode=620 0 0
    #2 
    usbfs /proc/bus/usb usbfs defaults 0 0
    #3 
    usbdevfs /proc/bus/usb usbdevfs defaults 0 0
    Thanx.

    Sorry for the late answer .
    marin_linuxer:
    This is for usbfs (aka info for usb devices under /proc/bus/usb dir) :
    none /proc/bus/usb usbfs defaults 0 0
    rasat:
    make sure you have usb-storage, sd_mod in your /etc/rc.conf, then add the line you mention in /etc/fstab, changing 'auto' with the actual fs of your usb device

  • SL won't mount via USB disc drive

    Hi there
    I am desperate to load SL. My internal disc drive is broken so I use a Ritmo external trouble is I pop in the SL disc and it does not recognize there is a disc there. I have popped in other discs with no problems... tried to find it through disc utility not there.... I copied the SL disc on my PC to a thumb drive and popped it in but the format did not work..... how am I going to get SL onto my Macbook! Any help appreciated......

    One way are another you are going to need to find a Mac that will read the disk. If you can gain access to an appropriately equipped Mac or PC for each, then you still have these install options:
    1. Use [firewire target disk mode|http://support.apple.com/kb/HT1661].
    2. Use the [remote install method|http://docs.info.apple.com/article.html?path=Mac/10.6/en/21219.html].
    3. Clone the installer DVD to an external drive; attach it to your machine; and install using the clone.

  • How to stream from iPad to apple tv via airport express with the airport express being connected to the internet

    I have an apple tv, iPad 3 and airport express. Im at school and the apple tv is technically not supported by the network. Ive read that one could use AirPlay to apple tv via AE.
    Can someone help me make this work? Step by step process if possible.
    Thanks in advance,

    The router does provide WIFI, but the thing is the Apple TV will be out of reach. I want to avoid having two routers / networks. That's why Apple TV is hardwired. The AirPort (also hardwired) should only work as a receiver for the iPhone - streaming iPhone content to the Apple TV.
    BOTH the Apple TV and the AirPort Express are AirPlay "speakers." That is, you can stream from iTunes to either device. You don't need both if the Apple TV is hardwired to an existing router. That provided the necessary networking for AirPlay to stream over. Wi-Fi is NOT required for AirPlay if you have a wired connection between the AirPlay "server" (i.e., iTunes host) and the AirPlay "speaker."
    The Apple TV would work as a "receiver" for your iPhone.
    If AirPlay is an application layer software, how may two AirPlay device communicate directly? Normally all communication is relayed by the access point.
    AirPlay is a streaming protocol that runs over TCP/IP. AirPlay "speakers" DO NOT communicate with each other directly. The basic communication path is between an AirPlay "server" and an AirPlay "speaker" or multiple "speakers." Again the path between them can be either be wired or wireless or some combination of each.

  • Kindle Fire won't mount on iMac 27"  with Mountain Lion

    I purchased a kindle fire and I am trying to connect the Kindle Fire to iMac using the USB port.  I connect to the USB.  I have tried having the kindle fire powered down and then plug the unit to the USB.  The Kindle Fire automatically opens up and I unlock the Kindle Fire but does not Mount.  I have tried Restarting my iMac while the Kindle Fire is plugged in and does not work.  I have tried powering down the Kindle Fire while connected and then power back on and this still does not show up on my desktop.
    Any ideas on how to get the drive to show up on my desktop?

    I have the same problem mounting my new Kindle Paperwhite on a MacBookPro running 10.8 Mountain Lion.  The same symptoms as above.  However, there is an added wrinkle; yesterday when the only book on the Kindle was the Kindle Paperwhite Users Manual, it mounted fine and I was able successfully to transfer a book that had been previously been downloaded to my Mac.  So I thought that because that book was not obtained from Amazon, but was able to be loaded on our Kindle 2, maybe the ability to mount was that the Kindle Paperwhite was rebelling in some way.
    But that thought was demolished when I connected the Kindle Paperwhite to my Mac Mini running MacOS 10.6 Snow Leopard.  It mounted fine and I was able to transfer several other books to it.
    So it now seems that it is only Mac users whose Macs are running Lion, Mountain Lion and Mavericks who are reporing this problem, and the problem only happens with Kindle Paperwhites and newer.
    To my debugger mind I would say that says something happened at the transition from MacOS Snow Leopard to MacOS Lion.  But I don't expect Apple to respond to this, since my experience is that when a bug is installed in MacOS X and isn't discovered immediately, the probability of it ever being fixed drops precipitously.
    APPLE - THAT IS A CHALLENGE.
    Bob

  • ComboDrive - CDs suddenly won't mount but DVDs will, after updates

    I have a 15" 1.5Ghz Powerbook, have had it for a year and a half and still have Applecare on it. All was working fine and dandy until I made the big mistake of doing a small software update - which updated Safari to 1.3.2 i think, iTunes from 6.0.1 to 6.0.2, and another thing called "Powerbook Aluminium" which apparently had something to do with the battery life counter. Anyway, subsequently to that (today), every CD that I put in the drive either gets spat out again, fails to eject or just doesn't mount. Not music not data not nothing. DVDs still work fine however, i've watched a film and inserted the Apple DVDs.
    So now I'm confused... if DVDs still work is the drive broken? Or do I need to put in new drivers or what. This is just frustrating as I listen to all of my CDs on my powerbook. I had an Audio CD in during the update which then could not be seen afterwards. Any clues?
    Thanks

    CDs and DVDs use 2 different optical subsystem: It may happen that the CD part dies while the DVD part keeps working fine.
    If you dare to, you might try to clean the drive's lenses with compressed air - standard lens cleaner disks can't be used on slot in drives.

  • Lacie Mobile harddrive won't mount on my powerbook with usb 2

    Hi, I bought a Lacie 80 GB mobile hardrive with usb 2 and for some reason it will only mount on one of the usb ports and only when I restart. Can anyone give any advice? Should I just take it back and get a firewire version?

    Take it back and get the Firewire version.
    The USB ports on the PowerBook are underpowered and as a result have difficulty powering USB hard drives.
    The solution is either get a externally powered drive or get a Firewire drive.
    iFelix

Maybe you are looking for

  • Problem with Safari and Firefox opening some websites

    In Firefox I have recently been getting: THE CONNECTION IS RESET The connection to the server was reset while the page was loading. * The site could be temporarily unavailable or too busy. Try again in a few moments. * If you are unable to load any p

  • Error with crystal report using SAP GUI

    Hi, While using crystal report in sap gui i get the following error. I already googled and only found one thing on this forum that talks about this and it was never solve. Can you please help me? Thank you Errors in Crystal Reports Installation(Suppo

  • Why won't Creative Cloud update past 43%? It gives error code 1. Contact Customer Support. Good Luck!

    I have a fully paid Creative Cloud membership. but when I click on Creative Cloud it says an update is available. When I click to get the update it starts, then stops at 43% and I get Error Code 1. Contact Customer Support and when I click on that I

  • Adobe Reader requiring Protected mode disabled

    I know this is somehow a 3rd party related problem, however I would like to discuss why this is happening. We upgraded our servers from 2008 R2 to 2012 and suddenly Adobe Reader started to get" There was an error opening this document. Access denied.

  • Forwarding PnP events to child device from root-enum sw driver.

    Hi All.  We have a kmdf software root-enumerated driver that creates a child device (think Toaster).  When 1 or more instances of our hardware appears, the sw-root creates an aggregate hardware abstraction and creates a child device (and kmdf queue)