Mount (one partition) LDM on Arch

Hi everybody,
I'm having a hard time mounting a NTFS drive.
On Windows i did merge two partition to be one (spanning i think).
It is recognized as one partition though:
Disk /dev/sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x000acf3f
Device Boot Start End Blocks Id System
/dev/sdb1 63 1953523119 976761528+ 42 SFS
With normal NTFS driver it mounts but is read-only, using NTFS-3G it gives this error (that's with Nemo file manager):
Error mounting /dev/sdb2 at /run/media/double/DATA: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=100,dmask=0077,fmask=0177" "/dev/sdb2" "/run/media/double/DATA"' exited with non-zero exit status 12: Failed to read last sector (1953517567): Invalid argument
HINTS: Either the volume is a RAID/LDM but it wasn't setup yet,
or it was not setup correctly (e.g. by not using mdadm --build ...),
or a wrong device is tried to be mounted,
or the partition table is corrupt (partition is smaller than NTFS),
or the NTFS boot sector is corrupt (NTFS size is not valid).
Failed to mount '/dev/sdb2': Invalid argument
The device '/dev/sdb2' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
I did run chkdsk on Windows, that's not the problem.
I tried this without success:
mdadm --build --verbose /dev/md0 --chunk=64 --level=linear
mount -t ntfs-3g /dev/md0 /media/data
How can i mount it?
Thanks in advance.

AD28 wrote:
For seamless integration similar to Ubuntu:
    Follow this wiki for ntfs-3g installation and fstab configuration.
For basic on-demand support:
# pacman -Sy ntfs-3g
and mount with:
# mount -t ntfs-3g /dev/sdbX /mnt
Now that did the trick!!!!!
A happy Arch Linux user here!!!!hehee
Any idea how to automate this? I want it to be automatically mounted so that it would be easy to transfer files...Pleasssseeeeee.....Thanks

Similar Messages

  • Mount only one partition in finder.

    I have a 160 Gb external hardrive with 2 partitions, one is my MBP clone and one is general data and such, is there a waay that i can only mount ONE of the partitions, the one without the system. I do not want it to get messed up by the system or accident.
    Any help would be apprecited,
    Xelapond

    Hi Xelapond,
    Just go to Disk Utility and you can choose any partition, then from the File menu choose "mount" or "unmount volume."
    -mj
    [email protected]

  • After update udev mounts all partitions automatically (but shoudn`t)

    Here goes: after updating udev from 167-2 to 168-1, it started mounting all partition at boot. No rules (the list and the rules are the default ones) seem to include this, and google said automounting MUST be set up by user.
    Downgrading fixes the issue, but I try to keep the system up to date, so this is not an option. Also I do not want to disable udisk mounting by polkit, since I want to keep the option of mounting them via KDE.
    Can anyone help please?
    P.S. arch x68_64
    Last edited by levantis (2011-05-17 16:05:35)

    same here...
    i changed the 'pass' value in the /etc/fstab to "0" for the mounted devices - this works temporarily for me so i can boot up the system.
    excuse me for my bad english

  • Help needed. I have a 3TB external hard drive partitioned into 1TB's. I used one partition as backup for the main computer hard drive. But now it is greyed out as shown in the disk utility and its name changed, i dont know how that happened, i tried verif

    Help needed. I have a 3TB external hard drive partitioned into 1TB's. I used one partition as backup for the main computer hard drive. But now it is greyed out as shown in the disk utility and its name changed, i dont know how that happened, i tried verifying and repairing it but had no luck. I also tried mounting and unmounting it but still no solution. Anyone to help please?

    Looks bad. I would strongly advise backing up the stuff on the other two partitions as soon as possible in case the rest of the drive goes wrong.
    Beyond that, Disk Utility has limited abilities to repair disks, DiskWarrior uses a different approach and might, emphasis might be more successful. It has certainly done the job for me in the past when Disk Utility could not.
    See http://www.alsoft.com/diskwarrior/

  • How do I mount a partition at a specific mount point.

    How do I mount a partition at a specific mount point? For example I see a Vol01 disk image, which is a partition of one of my hard drives, sitting on my desktop. Under the disk utility it says that its mount point is /Volumes/Vol01. How do I mount this partition as a file system at /Users?
    Thanks, much appreciated.

    why do you want to do this? it sounds like you want to keep your home directory on an external drive. this can be done without changing the mount point of the external. copy the home directory to the external. then in system preferences preferences->accounts, unlock the lock at the bottom, control-click on your user and select "advanced options." In the resulting popup change the location of the home directory to the external.
    in general to change the default mount point of a drive see this link
    http://beta.jamesstroud.com/jamess-miscellaneous-how-tos/os-x-admin/os-x-firewir e-mount-point

  • [Solved] unable to mount harddisk partition or flash drive

    After recent updates to gnome 3.4.2,i am unable to mount  harddisk partition or flash drive .I have 2 year old arch installation with gnome.
    When i click on partitions in nautilus,it says "Unable to mount program files \n Not authorized to perform operation"
    Problem is not only while mounting partitions.
    Wherever we need authorization .Like changing date and time ,changing user accounts using gnome UI etc.The unlock button is greyed out permanently.
    even i am not able to shutdown using gnome menus. it just log me out only ,do not restart or shutdown.Though i can shutdown using shutdown command on commandline.
    i run gnome using daemon method. not through xinitrc .
    https://bugs.archlinux.org/task/25031?p … ekit#close
    I found a similar discussion in this bug. But since, i do not use xinitrc, it is unlikely they will help me.
    Can someone be kind enough to help me on this?
    Thanks in advance.
    Last edited by piyushbhatt (2012-09-11 05:48:57)

    maybe changes in udev or any other package
    you have polkit polkit-gnome
    and you user is in optical, disks and wheel groups?
    for me those above work in every sitation

  • Mounting Android 2.2 to Arch Linux

    I am no longer able to mount my Android phone to Arch Linux as I used to. Before, I simply used the mount command, and everything would work great. Now when I go to mount my phone with the mount command:
    $ sudo mount /dev/sdf ~/External
    mount: wrong fs type, bad option, bad superblock on /dev/sdf,
    missing codepage or helper program, or other error
    In some cases useful info is found in syslog - try
    dmesg | tail or so.
    $
    I get this error in dmesg.
    [ 1733.415597] usb 13-1: reset high-speed USB device number 5 using ehci-pci
    [ 1733.678709] usb 13-1: reset high-speed USB device number 5 using ehci-pci
    [ 1733.830922] sd 10:0:0:1: [sdf] Media Changed
    [ 1733.830925] sd 10:0:0:1: [sdf]
    [ 1733.830927] Result: hostbyte=0x00 driverbyte=0x08
    [ 1733.830929] sd 10:0:0:1: [sdf]
    [ 1733.830930] Sense Key : 0x6 [current]
    [ 1733.830933] sd 10:0:0:1: [sdf]
    [ 1733.830934] ASC=0x29 ASCQ=0x0
    [ 1733.830935] sd 10:0:0:1: [sdf] CDB:
    [ 1733.830937] cdb[0]=0x28: 28 20 03 b7 03 f0 00 00 08 00
    [ 1733.830942] end_request: I/O error, dev sdf, sector 62325744
    [ 1733.830945] Buffer I/O error on device sdf, logical block 7790718
    [ 1733.841547] sdf:
    [ 1733.951634] usb 13-1: reset high-speed USB device number 5 using ehci-pci
    Every option I use to mount the phone no longer works. MTP is not an option as the phone isn't recognized (only works for version 3+). I've tried jmtpfs which does not work. I realize this is an old phone, but I don't currently have the option to upgrade to a newer one. Obviously it's the file system that isn't being identified properly, but other filesystems come up with the same error.
    Any help would be greatly appreciated. Thank you in advance.

    I just tried mounting the phone using the vfat filesystem (all others seemed to fail), and that seems to have worked. I think the problem might be due to the memory card. I can only read half of the folders, while the other half reports "No such file or directory" even though I can see them in the root directory.
    I'll work on it today and tonight (time permitting) and see if I can come to some sort of resolution.
    Last edited by 12o (2014-09-16 17:20:16)

  • Mounting data partition + Finder issue

    Hello,
    I have now 2 disks in my MBP (SSD + HDD in Optibay). I want to use the HDD for data only storage and I would like to mount the disk in the folder
    ~/Data
    So I created the dir and mounted the partition manually to test it :
    sudo mount_hfs /dev/disk1s2 /Users/me/Data/
    It works but there is a little annoyance:
    I open Finder and go to my Home dir. Now I enter the Data directory where my partition is mounted. First, the sidebar does not show now that I'm in my user directory. Now if I want to step one level up using Cmd + UpArrow, I do not go back to my home folder as expected but to a list of all my disks.
    Is there a way to fix that ?

    I also tried with the "nobrowse" option but the behavior is the same.

  • Locking one partition with a password or protecting it otherwise

    I have an internal HD that is partitioned. Would it be possible to lock one partition with a password or protect it from prying eyes when I let a 'stranger' use my computer? I know I could put a folder on it with TrueCrypt, but since I would only want to occasionally lock the disk, it is not really an option.
    Love to hear.

    Thnaks Király
    Use Finder -> Get Info on the drive to change the permissions on your partition. Set your user account to be the owner, and then set Group and Others to No Access. Then let guests use any other user account than your own.
    Good one had not thought of that. Is however as Thomas said not a optimal solution as there are ways around it.
    Is there a way to make the disk invisible and not accessible? Or have it not mount for certain users?

  • Mounting disks/partitioning. Alternatives to fstab?

    I wanted to be able to separate the OS, Applications and Users and had found an excellent article by Justin (Ref: http://www.macosxhints.com/article.php?story=20040716153639236). But now with Snow Leopard, fstab has been discontinued and this won't work
    Is there any alternate solution to achieve the same as I would want to
    1. Install OS in a separate partition
    2. Put swap in separate partition (this is still doable but here I'm not looking for pro's con's of doing this)
    * the above two would significantly help reduce disk fragmentation I suppose as the main reason for me to do this is, once the disk is near full, performance goes for a toss and getting tired of seeing rainbow circles
    3. Put the /Applications in a different partition (may be on the same disk as root)
    4. Put /Users on to second disk
    Looking for some pointers as well as some insight into how the partitions are handled in Snow Leopard.
    Thanks in advance,
    -Kesari.

    Thanks to every one of you who helped me with the answer. In particular KJK555's comment wrt fstab as well as pointers suggested by R C-R. It was a good reading and indeed a good learning experience for me as this provided quite a bit of insight into Mac for coming from Solaris/Linux. Also, my boot time is under 36 secs with all my apps, initialization with toshiba 500gb 7200rpm disk (would scream if I could get a ssd I suppose. But with mbp, have to live with one disk unless I forego my dvd drive).
    Now, to answer why I did this or rather why I wanted to do this extra (unwanted ?) steps:
    I can't religiously monitor my disk usage and putting all under one partition, install, uninstall applications etc and I would figure out that either /tmp run out of space or system crash and take for ever to reboot and then end up finding what I can part with and where to squeeze in space from
    Now at least by keeping root partion out of all these hassle, I'm safe as I won't run out of space in /.
    Another immediate benefit I could think of is, I don't need regular backup of most of the partitions and take only selective ones. In particular of some one is using vmware or virtualbox and set up timemachine, they would love to have this as only they know the pain. Now it's simple. Just put all the vm's in one partition and setup snapshot from the vm onto another partition and take the initial backup of the vm's partition and just setup time machine for the snapshot area. I could go on with advantages but would leave it for other's imagination. Video editing folks !!!
    Coming to mistakes or rather my learning experience.
    The suggestions in macosxhints works very much except for the fstab changes and here's some tips for those who's looking for this info:
    1. The mounting order is always not the same i.e. don't expect /dev/disk0s3 to be mounted as /whatever. This never works. Mount using the UUID instead.
    2. Do not try to mount / from fstab and just leave it to the OS. For that matter, just mount those you need it different and leave the rest (in my case now it's only Applications and Users)
    3. Trying to add swap or moving it around to a different partition is waste of time as I didn't find any significant gain by doing this. Rather I think by doing this you will be limiting the swap size to the partition size. Now that / is good enough (40gb is quite a lot once you move /Applications out) and this gives excellent leg space for swap or any files in /
    4. Not sure but I think this is due to the way OS initializes/uses Applications folder. When I tried to put Applications on to a different disk, it doesn't seem to like it and felt boot time was more as well as login/initialization time. But works fine after boot. Don't think this is a stopper as I have plenty of space to put in Applications on the first drive containing root.
    Now I'm going to reinstall (3rd attempt) as with this experiment, found that I may not need such a huge root and (redundant) swap partitions. Little more to my /Users. Here's my planned allocation: root 20gb, alternate root 20gb (for future use), Applications 120gb, Users 120gb, data 200gb.
    Once again thanks to all of you for this information.
    Wouldn't it be slick, if Apple would produce a 4 or six core Developer's edition MacBook Pro with
    up to 16GB of ram and one of WD's new 600GB 10,000 rpm 2.5 inch Velociraptor as standard
    equipment?
    This would be my dream MBP and would be the first one to buy if it's under $1500

  • Mount other partitions or hdd

    Hello, I'm new in Solaris 8 x86 world and I have a lot of questions.
    The most important one right now would be: Can I mount a Windows partition or Linux partition on Solaris 8 x86 and how? How Solaris sees other hdd (partitions and slices)? Ex: I have 2 hdd; I've installed Solaris 8 on Secondary Master (c1d0, I think) and Win98 on Primary Master (c0d0). Now I want to mount Win partition (hdd) in Solaris 8 OS because I'm having some docs & applications there. Any answer or comment is welcome!

    R00KIE wrote:You might want to run /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 which is probably launched by xfce when it starts. polkit-gnome-authentication-agent-1 is provided by polkit-gnome, if you have that installed then that is probably the problem, if you don't have it installed then the problem is something else.
    Wow,, Thank u Very much ROOKIE
    now i can use my partition again.
    Sorry i'm late to reply

  • Udiskie mounts ntfs partition with permissions 700

    External usb hard drive with two partitions, one is ext3 other is ntfs.
    When I plug it in, udiskie nicely mounts both partitions, but the ext3 one is readable by other users (755), the ntfs one is not (700). Can I change this behaviour somehow, so that others (like mpd) can see the ntfs partition as well?

    Upstream's answer:
    There is currently no way to pass extra arguments from udiskie.
    Implementation plan on this would be to add a config file with mount options for each filesystem type.
    https://bitbucket.org/byronclark/udiski … rnal-drive
    Question: can fstab help in such situation?

  • KDE's Dolphin can't mount NTFS partitions after upgrade to systemd

    Hi, I just finished to migrate my system to a pure systemd setup. Everithing seems to work fine, except that Dolphin can't mount NTFS partitions anymore, as it was able to do before. I'm not 100% sure that systemd is the culprit, but nevertheless it is a big change in my system so I assume that it may be the problem.
    Trying to mount with Dolphin I get this error message:
    An error occurred while accessing 'sATA-a', the system responded: The requested operation has failed.: Error mounting: mount exited with exit code 1: helper failed with:
    Error opening '/dev/sdb1': Permesso negato
    Failed to mount '/dev/sdb1': Permesso negato
    Please check '/dev/sdb1' and the ntfs-3g binary permissions,
    and the mounting user ID. More explanation is provided at
    http://tuxera.com/community/ntfs-3g-faq/#unprivileged
    I used to get this kind of error aeons ago when trying to mount from CL; puzzling enough, mounting from CL now works:
    $ mount /media/disks/sATA-a
    $ ls /media/disks/sATA-a
    Documenti Download $RECYCLE.BIN RECYCLER sATA-b System Volume Information Temp Video
    This is the relevant entry in my fstab (I don't know if Dolphin cares about it...):
    #sATA-a
    UUID=D6789B21789B0003 /media/disks/sATA-a ntfs-3g noauto,users 0 0
    And finally:
    $ ll `which ntfs-3g`
    -rwsr-xr-x 1 root root 125K 21 apr 12.13 /bin/ntfs-3g
    Can anybody give me a hint? Thanks.

    OK, the mess is growing up. Today I switched my laptop to systemd, and the mount problem has appeared  on this system as well. So I am confident that this is a systemd-related issue, and maybe some stock Arch config file is broken. I have this entry on my /etc/fstab for the ntfs-3g drive:
    UUID=88705BA9705B9D2E /media/vista ntfs-3g noauto,users,exec 0 0
    I compiled ntfs-3g with internal fuse support and did the setuid trick:
    $ ls -l `which ntfs-3g`
    -rwsr-xr-x 1 root root 125K 16 apr 2012 /bin/ntfs-3g
    I can mount the disk using the command:
    $ mount /media/vista/
    $
    It works flawlessly, so ntfs-3g works. If I try to mount it with udisks I get:
    $ /usr/bin/udisks --mount /dev/sda2 --mount-options users,exec
    Mount failed: Error mounting: mount exited with exit code 1: helper failed with:
    Error opening '/dev/sda2': Permesso negato
    Failed to mount '/dev/sda2': Permesso negato
    Please check '/dev/sda2' and the ntfs-3g binary permissions,
    and the mounting user ID. More explanation is provided at
    http://tuxera.com/community/ntfs-3g-faq/#unprivileged
    It sounds to me that udisks is trying to mount the disk as a different user, but I'm not an expert so I might be wrong. If I remove the entry in /etc/fstab then udisks will ask for the password. Repeating the same steps but for an ext3 partition, I am able to mount with udisks when there is a proper fstab entry, and I'm asked for a password when that entry is commented out.
    Based on these findings, I strongly suspect that there is some problem with logind configuration in my system. I have been going round and round for hours, serching the web and the wiki (which BTW is in a very bad shape, containing outdated or no informations about mount policies in the polkit and udev sections), and now I feel I need some help to go through it... thanks.

  • Puzzling problem mounting some partitions from drive connected via airport

    I have an external drive with three partitions connected to my airport. Under Tiger, the mounting process for all those partitions was seamless and never failed. As soon as I upgraded to Leopard, however, everything fell apart. Now I can't mount two of the three partitions at all.
    When the external drive is connected directly to my MacBook Pro, each partition mounts routinely. When I connect it via my Airport Extreme, the finder window shows that I am connected; but when I attempt to access the partitions on the drive, I get this error message: 'The operation cannot be completed because the original item cannot be found.' I get the same error message for each of the first two partitions on the drive and can mount only the last partition.
    When I attempt to mount the partitions manually via the Go menu in the finder, I get essentially the same result: error messages for the first two partitions saying that they cannot be mounted and a normal mounting of the third partition.
    Any ideas or clues as to what is actually happening here would be most appreciated. It's very frustrating to have lost access to my backup drive purely by upgrading to Leopard and not find any obvious way to regain it.

    Thanks, but I have no problem accessing the drive. All I have to do is plug it directly into my laptop using either USD or Firewire. The problem is with accessing it via Airport so I can run my normal backup routine as I did under Tiger without first a lot of fiddling with cables. After all, the result of installing Leopard shouldn't have been to decrease functionality, should it?
    With a direct connection, everything functions normally. With an Airport connection, nothing functions. None of the partitions show up on the desk top, none show up when I run disk utility, and -- as explained before -- I cannot even mount two of the three partitions manually. I've also noticed now that, when I do mount the one partition that will mount, it freezes the finder when I try to unmount it. After that I have to relaunch the finder in order to regain functionality.
    It seems pretty obvious that the whole mess is a function of Leopard and Airport somehow, but I'm just at a loss to narrow the problem down any further.

  • How to mount all partitions?

    What command (with paramenters) would you use to mount all partitions specified in the /etc/fstab?

    I wonder what happens when one types
    man fstab
    on the command line? (or in the Google 'search box')
    Oh my ... online help. With answers to basic questions. And a 'See also' section that leads people to additional information such as commands and file formats and other information.
    Interestingly there is even a response to 'man man' to help understand how to use the pages of the online manual.
    Frank - you will tend to get sarcastic responses unless you demonstrate that you have attempted to find the answer yourself. A good place to look for answers at your level is at the http://www.linuxlinks.com/Beginners/ portal.
    You will also find books like http://www.oreilly.com/catalog/lpicertnut2/ helpful. I know you can get it at Amazon and http://toronto.ibegin.com/retail/worlds-biggest-bookstore
    The question sounds like it came right out of a self study book ... which exam are you studying for?

Maybe you are looking for

  • English Version for field description in CO reports

    Hi, I am using a standard SAP report from CO -> example : S_ALR_87013599. However, when logon in English version, the fields description are not in English. Some other reports do not have this problem. When I logon in Chinese language, it is ok. The

  • PLAFX(of BAPI) and AUFFX(PLAF table) are the same???? this is FALG firm ind

    Hi Experts, I am creating PLANNED ORDERS successfully with BAPI_PLANNEDORDER_CREATE, fine. But, I need to SET the flag for FIRMING, so, when I see the PLAF table its PLAF-AUFFX.........but, when I see in the BAPI header structure of BAPIPLAF_I1, its

  • Is this a bug? Document Library view has the wrong 'Show in Folders' option when created from custom site template.

    I have a site with the default document library. I add views to the library, some ask for the items to be shown in folders, some not. I create a site template via the SharePoint UI. I create a new site. In the new site, the library exists, the views

  • Help required in JDBC to RFC to JDBC

    Hi Guys, I have a requirement where I'll query my database which will give me back multiple rows. Each row has a flag which indicates CREATE,DELETE or MODIFY. According to the value in these flags, I have to call different BAPI's i.e BAPI_CREATE BAPI

  • Regardnig the Cube Processing.

    Hello Team,                  When I tried to process the cube, am getting the folowing window, which shows the cube processing whch is in progress. My Questions are . What is the number which we can see as 9 of 13?. Why It is different for each parti