Mounting ntfs partitions at boot up read only and starting X at boot

Hi,
I want to mount my windos partition at boot so I can build a library in amarok without having to copy all of my music to my linux partition. However I only want to mount read only, as I don't want to risk messing the partition up. I followed the instructions on the wiki here:
http://wiki.archlinux.org/index.php/NTFS_Write_Support
And added a line in /etc/fstab "/dev/sda1 /mnt/sda1 ntfs-3g uid=1000,gid=100,fmask=0333,dmask=0333,locale=en_PH.utf8 0 0" without quotations, but the partition was not mounted so I removed the line and now am back to my original /etc/fstab
# /etc/fstab: static file system information
# <file system> <dir> <type> <options> <dump> <pass>
none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/cdrom /mnt/cd iso9660 ro,user,noauto,unhide 0 0
/dev/dvd /mnt/dvd udf ro,user,noauto,unhide 0 0
/dev/fd0 /mnt/fl vfat user,noauto 0 0
/dev/sda2 swap swap defaults 0 0
/dev/sda3 / ext3 defaults 0 1
I thought that I should change the numbers to 0 3 or something but I don't have a clue what they are for, could anyone offer any advice on how I should proceed?
Also X refuses to load at boot, I have to log in as root and run /etc/rc.d/kdm start. I have put kdm in /etc/rc.d and I changed my /etc/inittab default runlevel from 3 to 5. I tried also changing the login manager from xdm to kdm in the same file but nothing ahs made a difference. Anyone have any ideas?
Thanks in advance,
Calef13

Thanks a lot for the speedy replies, this is a great community here btw, very helpful. You were right mixtr, I got away with just
"/dev/sda1/ /mnt/sda1 ntfs-3g user,ro,auto 0 0"
And adding kdm to the deamons line solved my problem. I was trying to add it to the rc.d file rather than the rc.conf
I had my doubts at first but I really like the fact that arch doesn't hold your hand and leaves everything up to you, I have already learned loads about the config files for linux among many other things and have come ot appreciate the lack of abstraction in arch. I really prefer this to previous OSes, but wish I had installed kdemod as the 'vanilla' kde from the repositories installs pretty much everything imaginable, but my system still runs very quickly.
Calef13

Similar Messages

  • [SOLVED]External HD: Auto-mount in read-only and only root can access

    So I followed the advice in http://bbs.archlinux.org/viewtopic.php? … 88#p583088 regarding using udev to auto-mount my external 60gb harddrive, and it works.  The only problem is, it is being mounted read-only and I can only view the contents via sudo or as the superuser.
    Can anyone guide me in the right direction I need to go to get this changed?  I have already once tried to recursively chown everything on the harddrive, but that didn't seem to work.  The syntax I used from that above article specifies "rw" as one of the options for the mount command, so I am stumped as to why this happened.
    Thanks
    Last edited by trann (2009-11-13 16:24:36)

    Wattanut wrote:
    Have you installed ntfs-3g?
    I think I've had that problem before.
    WoW, perfect solution.  This is why I love this distro. 

  • 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.

  • Set sharing on system to read only now computer wlll not boot up

    set sharing on system to read only now computer wlll not boot up

    Hello skiboat2, 
    Because the permissions have been changed, you will need to put them back to what they were before. One of the ways to do that is to reinstall your OS X to make sure that everything permission wise gets put back to what it needs to be to work properly. Based of to the operating system that you say you have, I have provided the steps for reinstalling Snow Leopard. When doing this, it does not overwrite your personal data; it only touches the operating system. 
    Mac OS X 10.6: Reinstalling Mac OS X
    http://support.apple.com/kb/PH6606
    Regards,
    -Norm G.  

  • USB FAT32 is read only and will not format

    My usb is formated as FAT32. however it is read only, and will not format. here are some screen shots:
    http://gyazo.com/369a6b843d86ba0bcbd360ed89ea258c
    http://gyazo.com/f07905c5b27519cbefbab29719c88702
    http://gyazo.com/40d291c83b85e88c68ccc47a45b19f35
    http://gyazo.com/490462fb7b280be7483048b2e485b2b8
    not really sure what is wrong with it, any one have any suggestions?
    i mean it cant be trash now, there has to be some program that will fix it.

    Drive Partition and Format
    1. Open Disk Utility in your Utilities folder.
    2. After DU loads select your 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 Apply button and wait until the process has completed.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled.) Click on the Security button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process can take up to several hours depending upon the drive size.

  • Ipad form ....help needed please.  Clear form after email as read only and sequential numbering

    Hi
    i am a complete novice at this however this is what I want to achieve.
    i Have a paper duplicate report sheet that I want to get electronically, I want to be able to add sequential numbers to each report and be able to email the report to the client from a email field in the form
    so far I have so I have created the pdf form, I have a button that runs a JavaScript that will hide the submit button and then send to the clients email and to bcc myself so I have a copy of the report also. This has been tested and works
    i Am struggling with sequential numbering and once the form has been emailed it's un-ditable as the JavaScript has converted it to read only for emailing which is good as it can't be edited. But Is there a way on my submit button to email the report as read only and then clear all form fields in the report ready for filling with the next sequential number?
    I Have had a good look sound for a resolution to this but am struggling
    many thanks in advance for any feedback
    paul

    Hi Paul,
    I presume that you are using the desktop version of Acrobat Pro to author the form.
    I will move this discussion to the PDF Forms forum so that the experts in the forum can answer your question.
    Please note that the Reader/Acrobat DC mobile apps (for iOS, Android, Windows Phone, etc.) have limited JavaScript support.
    JavaScript for Reader Mobile API Reference (iOS)
    You may be able to make the form work as you want in the desktop version of Adobe Reader/Acrobat Reader DC.  However, some functionality (e.g adding a sequence number to each PDF) will not work in the mobile apps due to the limited JavaScript support.  Sorry for the inconvenience.

  • When I converted a file from PDF to WORD.DOC it opened as Read Only and I'm unable to alter any of the text.  How can I solve this problem?

    When I tried to convert a file from PDF to WORD.DOC it opened as Read Only and I'm unable to alter any of the text.  How do I solve this problem?  I don't know how to change it from Read Only.

    Dear Sara
    Thank you very much for sending the converted file.  Yes, I am able to edit it - that will be very useful to me and I appreciate your help.
    Referring to your previous message when you said you'd converted via Acrobat and not Acrobat.com, I'm converting via Acrobat.com because that's the only option that is shown (how do I convert via Acrobat? - perhaps that would be more successful).  I'm using the Export PDF website, and the OCR is enabled to "Recognize text in English UK".  However, I've just tried converting a different LPA pdf form, this time for Health & Welfare https://www.gov.uk/government/uploads/system/uploads/attachment_data/file/245571/LPA114_He alth_welfare_LPA.pdf and again I have the same problem as before.  I've altered it from "Read only" and thought I'd then be able to enter text, but "Drawing Tools" is shown in the pane and I'm unable to enter anything onto the form - everything appears to be in images.  Also, the lettering on the heading of' page 1 has become jumbled, with the word "Public" overlaying the word "Guardian."  Any suggestions as to what it is I'm doing wrong would be welcome - I don't like to be beaten!
    Regards,
    Judith.

  • I purchased a IMac in Feb later I added a Seagate ext. hard drive. On April 29 I received an errors that the ext. Drive may be a read only and not backing up files. I'm unable to check disk permission or correct errors. Help would be appreciated.

    I purchased a IMac in Feb later I added a Seagate ext. hard drive. On April 29 I received an errors that the ext. Drive may be a read only and not backing up files. I'm unable to check disk permission or correct errors. Help would be appreciated.

    Click on the hard drive on the desktop, then File > Get Info. What does it say about permissions?  If this is just a data drive you may want to consider "ignore ownership on this volume".
    Otherwise I can only say I have not been reading good things about Seagate drives recently.  I have some of their rock-solid ones from about 10 years ago (still running well), but now...?

  • [SOLVED] How to make file read only and stay?

    I'm using gnome 3 and want to make the recently used.xbel file (in .local/share) read-only/locked. I've tried making it read only and it just reverts to normal when something tries to write to it. How do I do this?
    Last edited by sudokill (2011-04-29 19:41:51)

    Worked great, thanks. No more recent documents at all

  • Read-only AND Encrypted

    I am using Acrobat XI Pro: is there a way to make a file read-only AND encrypted?

    Folks,
    I may have found a way to create a pdf document with Acrobat XI Pro that is read-only AND encrypted. Please let me know if I have indeed succeeded or not, thank you!
    The steps that I follow to create the read-only AND encrypted pdf document are as follows:
    Create a plain pdf document, from MS Word for example
    Sanitize Document
    Create Form without fields
    Close Form Editing
    Encrypt with Password
    Save
    Save As Other… => Reader Extended PDF... => Enable More Tools (includes form fill-in & save)…
    I as a not-very-sophisticated-computer-user did not find a way to hack difficult to detect changes - such as the insertion or deletion of the word 'not' - into the resulting pdf document. But again, please let me know if you DO find a way to hack the resulting pdf document, thank you!
    P.S. I think the resulting pdf document is essentially an encrypted form, albeit one without fields.

  • Search record combine with read only and read/write record

    can the search record display read only and read write only record together ?

    Maybe your Mac-B user account has the same (short) user name
    as your Mac-A user account. Matching user names or short user names
    could make the Mac-B account able to Read & Write to your shared folder.
    Because I think you can log in with short user names to a server
    as well. I guess passwords should be matching as well,
    and perhaps the user ID's (System Preferences -> Accounts
    -> right-click on user) also?
    Cheers,
    Vincent Verheyen.

  • Internal parameter - The report parameter is read-only and cannot be modified.

    Hello,
    We have an SSRS report that has an Internal parameter for the user that is logged in (gets the Report.User!UserID in custom code and assigns to parameter called Login).  We would like it to remain internal as it is for security purposes - we filter
    data depending on whether or not the user has access.  We would not like it to be accessible from the URL.  The report has drill-through functionality where the user can click a link and the report is filtered on certain criteria.  This seems
    to work fine in SSRS 2005, but since i have upgraded the report to SSRS 2012, I am getting the error on the drill-through:
    The report parameter 'Login' is read-only and cannot be modified. (rsReadOnlyReportParameter) 
    The properties in Report Manager have the "Hide" option selected.  Any help would be appreciated.  Thanks.
     

    Hi Hhewson,
    In Reporting Services, if you create a hidden parameter, you can set values for it on a report URL or in a subscription definition. If you set a parameter to Internal, it is not exposed in any way except in the report definition. An internal parameter must
    have a default value, which can be null if the Allow null value option has been selected. Internal Parameters are not configurable by the end-user at run-time.
    In your scenario, I suggest you changing internal parameter to hidden parameter to check whether the issue persists.
    Reference:
    In SSRS, how does an “Internal” parameter differ from a “hidden” parameter?
    Hope this helps.
    Regards,
    Heidi Duan
    Heidi Duan
    TechNet Community Support

  • The report parameter 'param1' is read-only and cannot be modified. (rsReadOnlyReportParameter)

    hey guys..
    I'm trying to get the report that I need to be filtered by a parameter value (named Param1)
    I created a parameter in the data tab and tried to pass a value from my Web application to the report services.. now my report have that textbox that prompts me to enter the filtering value for the report I want.. everything works fine till this point..
    now I have another webpage that has a report viewer and a textbox for the user input the value they want.. and pass it to the report.. and I'm using the following code to pass the value to the report I made earlier..
    Dim par(0) As Microsoft.Reporting.WebForms.ReportParameter
    par(0) = New Microsoft.Reporting.WebForms.ReportParameter("paramSiteCode", TextBox1.Text.ToString)
    ReportViewer1.ServerReport.SetParameters(par)
    ReportViewer1.ServerReport.Refresh()
    however.. now I'm getting an error.. "The report parameter 'paramSiteCode' is read-only and cannot be modified. (rsReadOnlyReportParameter)"
    what am I missing here? I've been thru the help and forums.. and the code should work.. or so I hope it would.. thanks in advance..

    Details
    Product:
    sql server reporting services
    ID:
    rsreadonlyreportparameter
    Source:
    microsoft.reportingservices.diagnostics.utilities.errorstrings.resources.strings
    Version:
    8.00
    Message:
    The report parameter '{0}' is read-only and cannot be modified.
    Explanation
    This error occurs when you attempt to set a value for a parameter that is read-only. A parameter is read-only when the
    Prompt property for the parameter is set to false.
    User Action
    To set a value for a parameter, the Prompt property for the parameter must be set to
    true. You can set this property in two ways:
    Before publishing the report, provide a prompt string for the parameter. In Report Designer, you can provide a prompt by typing a prompt string in the
    Prompt text box in the Report Parameters dialog box.
    After publishing the report, set the Prompt User property for the parameter. In Report Manager, in report properties, click the
    Parameters tab, and then select Prompt User for the parameter.
    For more information about report parameters in Report Designer and Report Manager, see Books Online.
    In the release version of SQL Server 2000 Reporting Services, when Prompt is
    true and Prompt String is blank, the parameter is still available to the user in the report viewer. In SP1, when
    Prompt is true and Prompt String is blank, the parameter is hidden from the user.
    Note: Publishing a report over an existing report on the report server does not overwrite the parameter information. To update parameters for an existing report, either delete the report on the report server and republish, or update the parameter information
    for the report in Report Manager.
    I struggled with the same problem in VS 2010.
    After a long series of hoops to jump through, I modified the rdlc file by hand and added <Prompt>true</prompt>. This parameter cannot be set through the GUI - go figure.
    In my case, I was attempting to generate a sub report, and pass a parameter to the sub report.
    To get this to work, the sub report needed these two sections.
    <ReportParameters>
    <ReportParameter Name="Network_Id">
    <DataType>String</DataType>
    <Prompt>true</Prompt>
    </ReportParameter>
    </ReportParameters>
    <Variables>
    <Variable Name="Network_ID">
    <Value />
    </Variable>
    </Variables>
    I was then able to use the name "Network_Id" in the sub-report properties of the "sub report control" for the name of a parameter on the parameters tab. I then set it to the key value that I need in the subreport properties dialog.
    Prior to setting prompt to true, I kept getting the read-only exception.
    I'm not sure if I am being clear about this, but sub reports do work, and prompt can be manually added to the report definition file.

  • I go to File get info sharing and it says I have custom info, me read and write, staff read only and everyone read only and I don't know how to change the setti

    I am attempting to download an update for Firefox - when attempting to open it tells me to go to File/getinfo and when I look at sharing and Permissions there are three entries, me, staff and everyone - me is Read/write, the others are read only and there is a note that says I have suxtom access but still cannot drag to applications -
    how do I unlock this process

    Hello mbennjr, if you have problem with update or permissions firefox the better way is to '''download and install the new version'''.
    1. Download a copy of the latest firefox from http://www.mozilla.org/en-US/firefox/all.html
    2. '''Trash''' the current Firefox application to do a clean install.
    3. Install the version that you have downloaded.
    Do not select to remove your personal data, your profile data is stored elsewhere in the [http://kb.mozillazine.org/Profile_folder_-_Firefox#Mac Firefox Profile Folder], so you won't lose your bookmarks or other personal data.
    see also: [https://support.mozilla.org/en-US/kb/install-firefox-mac?redirectlocale=en-US&redirectslug=Installing+Firefox+on+Mac#os=mac&browser=fx24 Installing Firefox on Mac]
    thank you

  • Downloaded Reader XI and started to recieve error 40000015, found the fourm with the patch to the registery fix, now it tells me unable to connect to the server. To many bugs with the reader, how do reinstall an older version?

    downloaded Reader XI and started to recieve error 40000015, found the fourm with the patch to the registery fix, now it tells me unable to connect to the server. To many bugs with the reader, how do reinstall an older version?
    I click on the launcher and nothing happens, 15 min later it will tell cant connect to the server.
    My computer is a windows 8.1; 64 bit operating system. I am stationed in South Korea, but that should not affect the program. Help please.
    John

    Hi johnd83157268,
    Sorry for the inconvenience that has caused to you.
    Could you please let me know what changes have you made in the registry.
    You might need to uninstall Adobe Reader from Control Panel and try install it again from the following link:
    Adobe Reader Install for all versions
    Please ensure that you are logged in as administrator and anti-virus is disabled as that might interrupt installation.
    Try again and then let me know.
    Regards,
    Anubha

Maybe you are looking for

  • How much should/can I use my iphone 5 in Europe?

    I'm vacationing in Europe next month and will be visiting London, Paris and Rome. I've heard all the stories about people coming home to outragous phone bills. I've also heard some suggestions on how to reduce the possibility of this happening. I'm a

  • Simple Substitution Cipher: What Went Wrong?

    I've written a simple program that enables a user to type in the name of a plain text file, then have the file encoding using a simple (+1)substitution cipher. The program compiles, but when the encoded file displays, it displays on the first charact

  • ITunes Library.itl error message

    I saw there was a new version of iTunes to download but did not select to down load yet. The next time I went to sinc my iPhone there is an error message. "The file "iTunes Library.itl" cannot be read because it was created by a newer version of iTun

  • MIRO running too slow

    Dear All, why the transaction MIRO taking to much time to execute in the production server . is there any performance problem in the ABAP code. thanks and regards Amit Majumder TCL

  • Block Corruption In Free Space Chuck Of A Datafile

    Hi all, I have run into this issue where both dbv and rman have caught a block corruption on one of the datafiles. When I checked these blocks, they did not belong to any segments and I was able to verify that this block ID falls in the block_id + bl