Ubuntu :: Automounting Windows Vista NTFS Partition
Apr 17, 2011
I am running Ubuntu 11.04.
I am having trouble automounting the ntfs partition. When I try to access the mounted partition, I get an error saying that I don't have permission to view the files. Also, I am not able to change the permissions as root.
I'm running 10.10 and Windows 7 dual boot. I already have lots of music and videos on the Windows partition and I would like to share it with ubuntu partition. I can if I mount it every time manually, but i want the partition to mount automatically so that when I use Amarok for example i don't have to rescan the music files on every startup.
I'm dual booting windows vista and ubuntu hardy on a multi-partitioned Dell D630. I created a partition using mkfs -t ntfs. Linux has no trouble reading/writing to it, but every time I boot into windows, chkdsk tries to "fix" the partition, fails, and tells me that the partition is corrupted. Can anybody suggest a way to convince vista that the partition is indeed ok, or else another way to create the partition so that vista can recognize it?
I have an lvm volume group VG_GUESTS and inside it alogical volume LV_NTFSDATA that was connected to andformatted to NTFS by a guest virtual machine (KVM). I can mount the 1st NTFS partition on that lv manually like this:
Code: sudo kpartx -a /dev/VG_GUESTS/LV_NTFSDATA sudo mount -t ntfs-3g /dev/mapper/VG_GUESTS-LV_NTFSDATA1 /mnt/NTFSDATA1
Now however its not letting me resize the Windows partition, mounted or unmounted. It currently occupies the whole disk. I would rather not reinstall the whole thing over again, but I will if I have to. Isnt there an easy way to shrink a Windows partition? I swear Ive done this before and it wasnt this hard. Could it be a problem with the Mint installer that now asks me if I want to unmount my disks before it goes into install mode? On this PC I would like to have
Windows XP Mint Ubuntu-Studio Edubuntu One of the E17 OSs Puppy Linux (to create a remix)
I am probably going to put most of the linux partitions on the second laptop drive but I want to install files on a non WIndows NTFS partition.
What's the best tool or method to resize an NTFS partition containing Windows XP Home but with some evidence of being installed using Windows Vista? (Possible answer: Windows 7...) I bought a Fizzbook Spin, UK version of Intel Classmate PC with touchscreen. Disk is about 55 GB; I want to resize system partition C to about 17 gigabytes and then maintain it using something like partimage on live CD/DVD/USB for complete backup of volume: 15 gigabytes roughly compresses to one DVD, 2 gigabytes for hibernation memory storage which I won't back up (and can't move off C), pagefile on the next volume (probably 4000 MB on FAT32, an affordable commitment of disk space to buy not worrying about the page file size). Plus, I will be able to store the backup of volume C on volume D.
The machine can boot Linux (Knoppix 6.2) from external DVD drive, from a USB flash memory key, and from SD[?HC] card. I don't have a separate Windows install CD or recovery partition, but there's an Intel tool to generate a recovery, um, stick. There's evidence that XP's partition was created by Vista, as follows: 1 MB unused before the system partition; an error message about "correcting errors in the uppercase file" which apparently means "Vista did something on this disk that XP thinks is wrong, but this is not serious" - and several attempts to resize the volume with GParted have left Windows unbootable, blue-screening for a split-second and then rebooting. Apparently that's a Vista experience, and it would've been really bad if I hadn't taken a backup already.
I'm pretty sure that in at least one attempt, I remembered and successfully turned OFF the default-on "Round to cylinder" option in GParted... or is that WRONG? Standard Vista/Parted/resize advice (before 2010) such as [URL] seems to be "Use GParted, then use the Windows Vista installation CD to make your ruined hard disk partition properly bootable again." Since I don't have a Vista installation CD to use or legally borrow for this computer - unless I buy Vista or Windows 7 (which I'm considering anyway, for speech recognition) - I appear to be stuck. I do have more than one other XP computer, in case I can use something from there to exorcise the Vista-ness. But I want to keep the extra software (and device drivers) supplied with this little computer.
Two days ago I repartitioned my laptop HD and added the latest Ubuntu (2.6.35-25-generic) to the existing Vista and existing Ubuntu (2.6.32-28-generic via upgrades from 9.14(?)). Prior to this install it was using Grub with menu.lst from the old/upgrade Ubuntu. After the install the boot menu labels the partition with Vista as the Windows Recovery partition and the recovery partition item is no longer present.
At first I wondered how I could get Vista to boot. I found that SuperGrub cd would boot it OK. Then, it dawned on me that the boot menu item was not the recovery partition, but instead the Vista OS partition mislabelled . Vista loads just fine from it. The recovery partition is no longer listed as it was with Grub/menu.lst. SuperGrub will not boot the recovery partition, showing an error "missing BOOTMGR".
I am having a dual boot setup with Lucid Lynx and Windows 7. I want to automatically mount the NTFS partitions whenever I login to Lucid. I am looking for a graphical tool to set this up. Kindly suggest one.
I recently accidentally corrupted my windows vista partition whilst trying to extend it via gparted under ubuntu 11.04 and then cancelling it shortly after starting. Resulting in me being unable to boot into vista (I don't have another copy of any windows OS so I'd really like not to have trashed this one )
Looking on gparted now my partition is Fat32(?) and apparently only has 36mb used =/
I was attempting to format a flash drive, and well, used the wrong sdX device. I've run DiskInternals Partition Recovery tool, and all my files are still there (you have to pay $139 to have it restore the files). Is there any way using tools in linux to restore the ntfs partition/files? It was a single disk with the partition taking the entire drive. I've tried mounting it with the -t option, but it says invalid ntfs signature. Man, two lessons the hard way, make sure you backup (duh) and be careful what you type as root.
So far I've been dual-booting Vista and Intrepid, and I decided I'd shrink down the Linux partition a bit, expand the Windows partition and reinstall Ubuntu fresh from a Live CD. I booted up from a Live CD, mounted the old Linux filesystem to check that I hadn't missed any documents to back up before I wiped the partition, and then cued up the relevant operations in GParted.
The key mistake I made was not to unmount the old Linux partition first, which led GParted to bug out and, apparently, stop my Windows partition from working. GParted no longer recognises the partition as NTFS - it tells me it's an unknown filesystem, and refuses to move or resize it.
sudo fdisk -l recognises the partition as HPFS/NTFS. Running chkdsk from a Vista recovery disk has been, so far, unsuccessful. What else can I do to either make the partition bootable again, or at least access it from Linux so I can pull my files off?
Last week I installed Ubuntu 10.04.1 on his Windows Vista machine, it has a 200GB hard-drive and he wanted 100GB for Vista & 100GB for Ubuntu on there. So instead of selecting the default partition I split it to 100GB each.
Now, however, I can't boot back into Windows and when it loads I am taken to the 'Recovery Tools' options. Have I 'cked up his partition? I can still view all the files/folders on his Windows partition from within Ubuntu however, so maybe there is a chance I can shrink down the Ubuntu partition again and restore his Windows partition?
I recently upgraded my Ubuntu from 9.10 to 10.04 and now it's messed up my Windows Vista partition. When I try to load Windows it boots to a strange login menu with low resolution. It then takes me to a screen with options like Repair/Fix, Recovery, Complete Recovery... I'll click Repair and and then it will say No errors found, Shut down, Restart.
I have understood that Vista does not always play nice with third party partitioners and that it was best to use the tools *within* Vista to change its size.
I do not know, but the same might apply to Windows 7? Anyway I understand Windows 7 also has its own resize tools.
My advice to newcomers with Vista (or Windows 7) has been to use the Windows inbuilt tools to resize and then to leave un partitioned space on the drive, because until recently the Ubuntu Live CD has included an option 'Install into un partitioned space' or similar. Which was very easy.
However, with Ubuntu 10.10 Desktop CD the same option does not exist, so for beginners, or any nervous newcomer, the only practical option in most cases is to use the 'resize' facility in the Ubuntu installer.
This is a circular situation, if the Ubuntu facility resize is recommended to be avoided.
I would very much like to avoid having to tell them to use the 'advanced' option. Most of them are pretty jittery, from having used Windows for years.
I am aware that the 10.10 Alternate CD still includes 'install into un partitioned space'. Do I now tell people they need both a Live CD for initial tests and then also an Alternate CD for install?
They would see the install invitation in the Desktop CD live session and have to disregard it.
The Ubuntu 10.10 installer is, on the face of it, getting more friendly towards nervous newcomers.
Are the warnings about third party partitioners still relevant?
Device for boot loader installation /dev/sda ATA ST3320820AS (320.1GB)
what to do next? *UPDATE: I think my HD is bad, I went ahead with the full install and get; Error: Input/output error during read on/dev/sda. The reason I started this was problems with HD and Vista OS, but after running Ubuntu live CD and being able to see the HD contents which showed Main partition with a boot exclamation and the recovery partition I thought it might be OK still.
im trying to shrink my vista partition with gparted inside ubuntu. I run gparted (and yes i have ntfsprogs) but when i select the ntfs partition and select move/resize it brings up free space preceding... new size... and free space following.so when i input the new size the resize/move button greys out and when i change the freespace following it just puts back my original new size and back and forth.from what i have read i need to run the gparted livecd and go from there. is this true? i know how to do it with diskpart in windows, how to in ubuntu and eventually get rid of windows.my system is 64-bit. [URL]
I have a windows partition on my drive, and I want to access it without having to mount it first, etc. There are just two partitions, windows and Ubuntu. I am running Ubuntu 10.04.1 so I want to mount it on startup. I saw this article: [URL] but I don't know if what it describes will work as it's almost 2 years old. I'm not adverse to commands, in fact would probably prefer those.
I tried to search around for a way to access my windows partition from within Linux. I was unable to mount the same using "mount" command. I read of a tool "ntfs-config" as well, this too didn't work for me.
Please share if anyone out there has an idea on how we can access the windows partition (NTFS) from within Ubuntu 10.10 Maverick.
This is not a question, I have done it. I just want to post a little howto in case anyone runs into a similar problem.I will not go into particular details, just the rough description. If need details on something, I'll be happy to explain the part in question.
I am working on linux for almost a decade now. However, there are some things that need to be done on windows, like gaming (ATI drivers for linux are still a bit tricky, especially for newer cards) or rs232 (serial port) based apps (old smartphone management, PIC or ATMega Programming, old graphic calculator like TI92 etc.).So in short, I had once set up a windows system. I wanted to use my files both under linux and windows. The solution for this problem is obvious: I used a NTFS partition I could mount under both OS.Since I am a security concerned citizen, I use to encrypt my disks. However I refused using Vista and Win7 hadn't come out yet, so I was running XP64. The opensource LUKS tools didn't work on that system (driver issues), so I used Truecrypt.Some time ago, I abandoned the windows partition after a fault in the MBR, which rendered the Truecrypt bootloader unusable (yes, even with the rescue disc). Since I rarely have to time play games anymore, that's not a major concern. The rest of the tasks can be handled using a virtual machine (in my case Sun's VirtualBox).So, after about 10 months, I had ended up with a severely fragmented, Truecrypt encrypted NTFS partition which badly needed defragmenting. Linux NTFS-3G drivers have become fairly reliable, but their reliabality decreases as the filesystem fragmentation increases. And the only OS which can defragment a filesystem of this time is windows NT.
Procedure: The basic underlying problem is that you need to access your raw device from a windows system that by itself lives in an isolated virtual environment. The SMB/CIFS shares are ok to access data, but NAS Filesystems rely on the servers filesystem and cannot be defragmented.What can be defragmented is a SAN share (iSCSI target), because the protocol by itself forwards the device to the host over a network, not the filesystem.
(1)So first of, make sure you have a virtual machine running windows somewhere. it actually doesn't need to be virtual, it can be a remote computer on the same subnet, but in my case, it is a virtual machine. As I said, I used VirtualBox.
(2)Next make sure the Windows box has access to the same network as your linux host. In VirtualBox I used a network interface in NAT mode. I suppose you could also juggle a second loopback device around on the linux host to fulfill the same purpose and keep the windows box of the public network if that is a concern.
(2.5)If you have encrypted your NTFS partition, you need to decrypt it (not mount it!). Using LUKS, use the cryptsetup command to create a decrypted alias of the partition. If you have used Truecrypt, use it's frontend to mount the partition as you would if you wanted to access data, then unmount the alias from its final mountpoint, thus leaving the unencrypted frontend to the partition intact.
So now you have:A linux host with a fragmented NTFS partition (which might be encrypted) that is not mounted.A windows machine (either virtual or remote) with access to the same subnet as your linux host.
(3)Next you need to setup your unencrypted partition alias as an iSCSI target.
[URL] I used testdisk as the replies suggested recovered all my linux partition including my 2 linux distros and boot partitions, but now my windows 7 appeared as unallocated space, which is very ironic, I fixed my last problem only to have situation reversed. I recovered the mbr record from my boot partition, but because that record dose not include the ntfs partition, that partition appears as unallocated space. so how can I make that ntfs partition recognized again so I can update grub and boot to my windows 7 partition? Please help me out, I have had this partition stuck in my computer for a while doing nothing...
I am not been able to re size the partition. Can anyone please help. I tried to re size and install ubuntu 10.04 on two machines but it did not work. Details are HP mini ( windows xp pre installed with new ntfs partition). Lenovo thinkpad ( windows vista pre installed).Is new windows partition is non - re sizable?
Currently I have ubuntu 10.04 LTS as the only OS.I have two partitions one for ubuntu and it is ext by default for ubuntu's files.The other is empty NTFS. (yes, it is formatted in NTFS but I haven't saved anything yet on it).The problem is: I want to install win xp sp3 on this empty ntfs partition safely (without losing ubuntu).My friend told me ubuntu will be lost even if I didn't touch its own partition.
I'm running Ubuntu 11.04 on my Acer extensa 5620. I need to install windows and setup a dual boot on this machine. Here's what I did. I followed the instructions on this page
and resized my home partition (which is differenet from the file system partition). Anyways, I resized the partition and made a new NTFS partition. This was all done from Live CD. I then rebooted and then tried the windows installation CD. Now here my problem crops up. Windows says that no partition is found. What have I done wrong? Any ideas? Can the drive be damaged or have I made a mistake some where? I did not specify a mount point for the new NTFS partition, does that matter?
When I run out of space on my Ubuntu partition, which will probably happen with me being the untidy person I am, is there a way to resize the partition in Windows or Ubuntu that will allow the other to boot? As I've heard stories of using Gparted to resize a Windows partition doesn't allow Windows Vista to boot up as it removes a crucial part of the operating system? I have adequate space to give to Ubuntu on my NTFS partition. May I also add that to install Ubuntu I had to use the partitioner that came with the installer, because the Windows Disk Manager wouldn't let me partition the NTFS drive, because it Denied my Access.
Does Ubuntu 10.10 allow you to resize your windows partition and install ubuntu on the resized partition? I'm trying to get ubuntu installed on my laptop but the only option it's giving me is to delete all partitions and install ubuntu. I don't want to delete any partitions because I have backups on my second partition and the first partition has windows on it and I would like to keep it.
I've tried 10.04 and it doesn't give the option for resizing but I thought that one of the versions gives he option for this, is it 10.10? I've tried to manually resize but it won't let me because I have to many primary partitions, so I would have to delete the last partition to get it changed to extended correct?