[Solved]Mount windows encrypted partition

Hi,
I have encrypted the Windows 7 system partition fully using truecrypt. In Linux when i try to mount that partition [/dev/sda1] it says "incorrect password of not a truecrypt partition". I am entering the same password which I use while booting into Windows, that is pre-boot password.:/
Last edited by sHyLoCk (2010-06-15 14:12:53)

Do you use the same truecrypt version on windows and linux? also to be able to mount encrypted systems you have to activate a separate checkbox telling that the partition is using system encryption in truecrypts mount dialog (don't know where exactly it is since I didn't use truecrypt in a while), otherwise it will show the error you mentioned.

Similar Messages

  • [SOLVED] Mounting a logical partition

    Scenario:
    /dev/sda1 primary NTFS windows boot
    /dev/sda2 primary NTFS windows home
    /dev/sda3 primary ext4 arch /boot
    /dev/sda5 primary ext4 arch /
    /dev/sda6 logical ext4 arch /home
    /dev/sda7 arch swap
    Do I perform mount /dev/sda6 /mnt/home as if it were a "normal" partition?
    EDIT: I would mount each logical partition as normal.
    Last edited by tancrackers (2012-08-29 03:34:46)

    shortcut144 wrote:
    perbh wrote:
    Assume your fat-partition is /dev/sda5 (just as an example)
    sudo mount -t vfat /dev/sda5 /some/mount/point
    Otherwise - as 's3kt0r' says - you can easily mount a ntfs-partition for read/write as well (using ntfs-3g)
    Awesome, thank you.  Marked as solved.
    Should I put this command in my fstab, or just make a startup command for this?
    You could do either ....
    If it will _always_ be there and you always want it mounted - put it in /etc/fstab, -or- you could put it in /etc/rc.local (without using 'sudo' of course).
    I'm a great believer in using rc.local because you _know_ that everything which might be needed (modules eg.) will be available by then.
    If you use /etc/fstab, your entry would be:
    /dev/sda5 /mount/point vfat defaults 0 0

  • Problems mounting windows (vfat) partition

    Hi,
    Im having this problem, i mount the vfat partition because i have some mp3 overthere and i want to listen with XMMS while in Arch.
    Then, when i try to browse through XMMS file browser, i cant browse the vfat partition, the directories and files, all of them, appear at the right panel, like if they were all files, so i cant get "inside" the mp3 folder...
    any clues??
    mount command:
    mount -t vfat /dev/hda1 /mnt/win

    since you are using /mnt as your destination directory, you need to make sure that you have changed permissions for that so that a user can access it if you haven't already. I usually mount mine in my /home/user/ directory to save the hassle and because it is more convenient.
    here is some info on how to do it:
    /dev/hda1 /home/user/windows vfat user,uid=500,gid=500 0 0
    /dev/hdb1 /home/user/winmusic vfat user,uid=500,gid=500 0 0
    *this will allow you to write to those directories. All you need to do in either case is save this as your new fstab file.
    *to make sure your id's are 500, type "id" in your terminal, if they are something different than 500, substitute that number instead for both uid and gid.
    In Arch, the primary user is usually uid=1000 and gid=100

  • [Solved] Mount LUKS encrypted hard drive at boot

    Hi,
    This is driving me nuts. I'm getting angry to be honest.
    I encrypted my brand new WD portable hard drive with LUKS + dm-crypt and I can now normally map and mount it with the following commands:
    sudo cryptsetup luksOpen /dev/sdc1 WesternDigital
    [Enter Passphrase]
    sudo mount /dev/mapper/WesternDigital /media/WesternDigital
    I would like to map and mount it at boot time (where I should be prompted for the passphrase), so I edited:
    /etc/crypttab
    WesternDigital /dev/sdc1 none luks
    and:
    /etc/fstab
    /dev/mapper/WesternDigital /media/WesternDigital ext4 defaults,noauto,noatime 0 0
    During boot I get some errors regarding the decrypting or mapping of WesternDigital that fails but it's too fast to note down something (and, as you probably know, there's no known way to log boot messages on Arch...)
    After boot if I try to manually mount /media/WesternDigital I get a message saying /dev/mapper/WesternDigital does not exist.
    So I guess the problem is in the mapping phase and thus in the /etc/crypttab file.
    I can't find anything in the internet but maybe I'm missing something very basic (a daemon, a module?).
    Any help is indeed very appreciated, thank you.
    Last edited by rent0n (2010-09-24 15:27:16)

    Ok, it's solved. I tried many different configurations of /etc/crypttab, /etc/fstab, /etc/mkinitcpio.conf /etc/rc.conf /boot/grub/menu.lst and I finally found the right setup.
    I'm not sure of what was wrong in the first place so I'll just post my current working configs for future reference.
    /boot/grub/menu.lst
    Doesn't need to be edited at all (ignore the above post).
    /etc/rc.conf
    You don't need to add any module here because the dm-crypt and dm-mod modules are loaded thanks to the encrypt hook.
    /etc/mkinitcpio.conf
    The HOOKS line should include usb, usbinput (probably) and encrypt. usb must precede encrypt that must precede filesystems:
    HOOKS="base udev autodetect pata scsi sata usb usbinput keymap encrypt filesystems resume"
    /etc/crypttab
    WesternDigital /dev/sdX ASK
    Do not insert 'luks', 'retry=X' or other kind of options (you can find this kind of options in many tutorials and howtos). That was one of my problems I guess.
    /etc/fstab
    /dev/mapper/WesternDigital /media/WesternDigital auto defaults,noatime 0 0
    Note
    I'm not sure if this has been helpful or not... however I was able to get it to work after following the advice found here.
    Cheers,

  • [Solved] Mounting Windows Share

    Well what a 2nd post this is!
    I've just spent forever trying not to have to post for help but its time i do.
    I'm trying to mount a windows share on bootup in autostart.sh so that mpd doesn't die via not being able to find the tunes.
    It seams you HAVE to be root to do this. Yes sudo will work but you don't get a password prompt.
    I've only found one useful thread from google but these solutions don't seam to work for me http://bbs.archlinux.org/viewtopic.php?pid=272495
    [dan@z0r ~]$ mount /mnt/shares/tank_d
    mount: only root can mount //10.1.1.69/d$ on /mnt/shares/tank_d
    Last edited by DanWA (2008-12-14 06:54:35)

    Don't try and mount it at GUI start, mount it with all the other drives when your system starts. Put it in your /etc/fstab file so that it mounts at system boot - no password required.
    Something similar to below. See the fstab link for exact details:
    /dev/xxxx /mnt/shares/tank_d ntfs auto,user,rw 0 0
    Bob
    Last edited by Hrod beraht (2008-12-13 15:53:39)

  • [SOLVED] mounted windows shares from fstab dont stay mounted

    i have windows shares mounted through fstab and when i first boot up, they are mounted fine, but after a certain amount of time (not sure how long it takes) they disappear and it hangs thunar (oh yeah, using xfce) and i have to reboot to get them back. running mount -a doesnt bring them back
    line from fstab
    //charger/share /home/user/Documents cifs rw,uid=1000,gid=1000,file_mode=0700,dir_mode=0700,credentials=/home/credfile 0 0
    daemons line from rc.conf
    DAEMONS=(hwclock syslog-ng hal network netfs samba @alsa crond)
    Last edited by dodgefan (2011-08-03 20:01:44)

    thanks anyway, figured it out, installed autofs and setup everything to mount to /media and made links to my home folder

  • Additional, encrypted partition mounted as /Users

    Recently I removed DVD-ROM drive from my MacBook Pro and installed 60GB SSD for system (in regular HDD bay) and my old HDD instead of DVD drive.
    My plan is to use fast SSD drive for system and the HDD for data.
    I would like to have my HDD partition mounted as /Users so all users' home directories are stored on HDD.
    I read this article: http://www.red-sweater.com/blog/1935/lions-whole-disk-encryption but it seams there is a problem with logging in if the user's home directory resides on separate encrypted partition.
    My question is:
    Is there any chance I can have "fully functional" /Users directory mounted as additional encrypted partition?
    Thanks,
    Mike

    Hi Linc,
    Thanks for your answer.
    No, because the Users volume would already have to be unlocked and mounted before you could log in, and that's impossible.
    I don't think it is impossible. I would reather say: "Apple makes it difficult to do".
    I barely see any problem with mounting other partitions on the system level during boot.
    The question is: "How hard is it to do that now?"
    The second question is: "When (and how) Apple will make it easier?"
    The best you could do would be to log in, mount the volume as root at /Users, then log out and log in again. I wouldn't recommend that you try this.
    Yeah... I don't feel like log in two times. I wouldn't recommend it either.
    I have another idea which is:
    1. Mount addtitional encrypted partition as /Volumes/Whatever
    2. Create directories like:
    /Volumes/Whatever/Documents
    /Volumes/Whatever/Pictures
    /Volumes/Whatever/Music
    /Volumes/Whatever/Library
    3. Mount these directories in places under /Users/MyUser/... during login.
    So there are other questions:
    1. How to do it the "Mac way"?
    2. There are maybe some directories which probably can not be mounted this way as its content can be necessary for login process to perform (probably some subdirectories of Library). Is it the case?
    Cheers,
    Mike

  • [SOLVED] Error mounting a Fat32 partition

    Hi, I'm new to this distro, but it looks quite neat. Unfortunately, I have an issue that I haven't been able to solve through the wiki or the man pages.
    I have my main hard drive partitioned in three:
    - Windows (ntfs)
    - Linux (ext3)
    - Data (all my files, docs, images...) (fat32)
    I have problems mounting the Data partition into Archlinux.
    A) Trying manually
    First I tried mounting it manually to make sure I had done it right. The command
    sudo mount -t vfat /dev/sda5 /media/docs
    allowed me to see and read the files and write them. When I switched back to Windows, however, the OS told me there was an error in the Data partition, specifically with all the files I have changed or created using Archlinux. I ran Chkdsk and it fixed the files by deleting changes. Now, whenever I try to mount manually the partition, it mount it as a read-only file system, even when the -w or the -rw option is added.
    B) Writting in /etc/fstab
    Meanwhile, I tried several options in fstab to see if I could write on the disk. The lines I tried are:
    /dev/sda5 /media/docs vfat defaults 0 0
    /dev/sda5 /media/docs vfat defaults,iocharset=utf8,umask=000 0 0
    /dev/sda5 /media/docs vfat defaults,user,dmask=000,fmask=111 0 0
    /dev/sda5 /media/docs vfat defaults,user,rw,umask=000, 0 0
    /dev/sda5 /media/docs vfat user,rw,umask=000, 0 0
    /dev/sda5 /media/docs vfat defaults,iocharset=utf8,user,rw,umask=000, 0 0
    All these options (I obviously didn't use them at the same time) mounted the partition and I could read the files, but I was never able to write to it, either as a normal user or root. I read the wiki, the man page of fstab and mount and there isn't anything much of help there.
    Hope someone can help me. Thanks a lot.
    R
    P.D. I've been doing all these switching back and forwrad between windows and linux. I have always hibernated windows. I don't think this is the problem, but I will shut Windows down completely to see if it was the Chkdsk utility.
    Last edited by robertoprs (2009-02-09 07:07:34)

    Sorry, I forgot to post the answer...
    So I just needed to restart Windows after using Chkdsk. Now I can read and write even when Windows is only hibernated. I'm just curious. I understand that this problem was a very stupid question, but it wasn't obvious to me that Chkdsk needed a reboot to "let go" the partition. Why is that?
    Thanks for your help.
    By the way, I've learned a lot with the wiki guides. This distro is getting better and better!

  • How can I force mount a dvd that isn't even seen by Disk Utility? I can see it on the Mac when using my Windows 7 partition via Boot Camp, but not in Lion, which is how I would rather be running.

    How can I force mount a dvd that isn't even seen by Disk Utility? I can see it on the Mac when using my Windows 7 partition via Boot Camp, but not in Lion, which is how I would rather be running.

    Well if there is a EFI block, then running a program in OS X isn't going to do a lick of good.
    After all EFI was designed for Trusted Computing and Digital Rights Management, to act between the OS and hardware, can read drives, contact the Internet and everything.
    Windows doesn't use EFI, will have UEFI in Windows 8 though.

  • OS X: Windows 7 partition not mounted

    Hi everyone,
    I had previously dual booted my macbook with OS X and WinXP, i was able to view the WinXP partition through OS X on my desktop. I got my hands on Windows 7(Final Release) and now my macbook is dual booting OS X and Win7.
    I cannot figure out why the Win7 partition is not mounting in OS X. I have research some possibilities as to why and how to mount it but nothing has worked.
    I have tried to mount it using DISK UTILITY but I keep getting an error. I also tried using some command lines through TERMINAL but that did not work either.
    If someone could please help me with understanding why I am not able to mount the Win7 partition in OS X, that would be very helpful.
    Thank you for your time and support in advance,
    LJ

    Boot Camp forum is here:
    http://discussions.apple.com/category.jspa?categoryID=237

  • Bootcamp Mounts Window's System Reserved Partition

    Bootcamp has decided to mount Window's System Reserved partition instead of the actual Windows partition. It was working fine up until this week when I decided to plug in an external hard drive. After I plugged it in and restarted into OS X, the problem started. The real Windows partition does not appear in Disk Utility. I have tried disabling NTFS-3G and booting without the external hard drive but nothing seems to work. Anyone have any ideas?

    What do you call Boot Camp anyway?
    The 100MB partition is where Windows boots, if present.
    And Disk Utility can mess up Windows 7 and NTFS volumes.
    Maybe all the problems are from using NTFS-3G of course.
    A number of people, myself incl. do not see Windows in the Apple System Prefs control panel (startup disk).
    Windows and Mac OS X do show in Windows 7 control panel Boot Camp.
    People misuse the name/term "Boot Camp" (as does Apple) as if it was or does things it does not.

  • How can I mount an encrypted image automatically and get a password window

    Hello
    I know how to mount an encrypted image automatically when I login and get myself a password window.  (I actually how I did it at the moment though).  I had a cronjob log me out at say 5am every day and I force myself to login everyday.
    Now I have a need to keep the login session forever.  I would therefore like to mount the image automatically at a specified time daily and get the same window prompt.  If do it from a bash prompt with 'hdiutil attach /path' I am getting a password prompt at the bash instead of a password windows.  I am thinking of putting that command in cronjob.
    What must I do to get a password window automagically?  If doing it via cronjob is wrong, I am open to other proper Mac way.
    Thanks
    mr.wu

    You can use Automator and iCal. Use Automator's Run Shell Sript action and enter hdiutil attach /path. Save the workflow as an iCal plugin. Set iCal to run the workflow when you want. You can also save the workflow as an application, and set up an iCal alarm to run that application at a specified time.

  • Mounting windows partitions ?

    Hello f
    i have dual booted system. One partition having the solaris 9/07 os and other one has windows xp professional. I am new to solaris. Could any body tell me that how to access windows fat32 partitions through solaris.
    Thanks.....

    mount -F pcfs /dev/dsk/c?d?p0:c /mount_point
    alan

  • Prevent Encrypted Partition From Mounting at Boot

    I have an external USB HDD partitioned into two. Both partitons are encrypted. I use partition A for a time machine backup for my mac, and the other (when pluged in to a different macbook) is used similarly for that machine. Every time I boot up, or plug the drive in, I get 2 dialogue boxes asking me to enter passwords - one for each partiton.
    I'd like is to set my OS to not mount the second partition on boot at all (no password dialogue / no disk in finder). If I need to mount it, I'd like to be able to do so via Disk Utility.
    I've tried using the method described here: https://discussions.apple.com/thread/4271735?start=0&tstart=0, but it does not work - perhaps because my partiton is encrypted? Is there perhaps a different fs type for encrypted disks? (not "hfs").
    I've also followed this thread: https://discussions.apple.com/thread/4870225 , but I'm reticent to switch off automounting totally because I use other encrypted disks for work and need them to mount at boot.
    Any thoughts?

    Linc Davis wrote:
    It seems that the fstab method doesn't work with CoreStorage volumes.
    Yes, that's correct. Core Storage doesn't look at fstab at all.
    If the only Core Storage volumes you have are encrypted containers, you can achieve the desired outcome by disabling boot time invocation of the Core Storage daemon. Please note that Apple's Fusion Drive technology relies on Core Storage, so if you have a system with Fusion Drive, this workaround may break your computer.
    Linc Davis wrote:
    There is no way I know of to prevent automounting of CoreStorage volumes selectively. You may be able to prevent all CS volumes from automounting by deleting or commenting out the "LaunchEvents" key in this file:
    That's the idea, but good heavens, don't comment things out in launch plists! Do it right, use launchctl.
    The Core Storage daemon normally runs at boot, and manages logical volumes assigned to Core Storage—specifically, in the OP's case, encrypted containers. If you have no other mission-critical Core Storage volumes, you may use the launchctl command to disable the Core Storage daemon, using the unload -w argument, as per the launchctl man page:
    unload [-w] [-S sessiontype] [-D domain] paths ...
                  Unload the specified configuration files or directories of con-
                  figuration files.  This will also stop the job if it is running.
                  -w       Overrides the Disabled key and sets it to true. In pre-
                           vious versions, this option would modify the configura-
                           tion file. Now the state of the Disabled key is stored
                           elsewhere on-disk.
    So, in Terminal, the command to prevent Core Storage from running at boot time would be as follows:
      $ sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.corestorage.corestoraged.plist
    Please note again that Apple's Fusion Drive technology relies on Core Storage, so if you have a system with Fusion Drive, this workaround may break your computer.
    After disabling the Core Storage daemon, you may still mount encrypted volumes using Disk Utility, or the command line (hdiutil attach /dev/diskX where /dev/diskX is the encrypted container).
    Hope this helps.

  • (SOLVED) Dualboot Windows + Arch Linux (Windows boot partition)

    Hi,
    I have 4 partitions.
    sda1: Windows boot partition (ntfs) - This has always been there
    sda2: Windows Installation
    sda3: HP_Tools - I need to keep this for warranty
    sda4: Arch Installation
    I want to use GRUB to have a dualboot option at startup. Do I need to install GRUB to the boot partition which is NTFS, this should be ext3 according to the tutorial.
    Or can I just install grub on the Arch installation in the /boot folder?
    Thanks already!
    Last edited by AlexCogn (2012-10-02 15:02:10)

    Scimmia wrote:
    AlexCogn wrote:When I do that Windows just starts.
    Then you didn't install grub to the MBR. Don't forget, installing the package isn't enough, you actually have to install grub to sda as a separate step.
    So
    # grub-install --target=i386-pc --recheck /dev/sda
    # cp /usr/share/locale/en\@quot/LC_MESSAGES/grub.mo /boot/grub/locale/en.mo
    and then
    # grub-mkconfig -o /boot/grub/grub.cfg
    I forgot the installation ... I'm trying it in half an hour, thanks already for you help guys!

Maybe you are looking for

  • How to call the print method from a custom program

    Hi,     I need to print the text thats displayed in a custom area. Its added to a custom container. Can anyone help me out to do this? Thanks Lilan

  • Green dots on black background

    Hello! I have a problem with iPhone 2G. Screen shows only 5 vertical dote lines and background is black. Also phone not respond when usb cable is plugged in PC. Please help! Regards Sindijs Message was edited by: sindijs Message was edited by: sindij

  • What can be deleted

    Hello everyone, I'm getting out of memory error when ever I try to do anything on fcp 4.5 h.d, I have many months of footage which some I have deleted recently.I am not sure which files at this point that I can delete safely without harming the files

  • I am unable to crop my JPEGS suddenly using Elements 11

    Hi, I have Photoshop Elements 11, and suddenly I am unble to crop my JPEGS.  (I am using an HP computer with Windows 8, if that matters.)  When I click on "Image," "crop" is light and cannot be clicked on.  I have used Photoshop to crop my JPEGS many

  • Catalog Management in Webclient UI

    I have a catalog defined. I have a subarea with a product (#1234)which has accessories defined in Product Master. I have a Charecteristic defined in a Catalog aubarea and the product in subarea(#1234) has accessories. In SAP GUI when i expand the pro