Ubuntu Servers :: Automounting An Ntfs Partition Inside An Lvm Volume?
Jul 7, 2011
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:
sudo kpartx -a /dev/VG_GUESTS/LV_NTFSDATA
sudo mount -t ntfs-3g /dev/mapper/VG_GUESTS-LV_NTFSDATA1 /mnt/NTFSDATA1
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 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.
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've just started playing with virtualization and I started my first VM. I would like to know if it's possible for the host machine to mount the partitions of the VM when it's closed. Right now the VM uses /dev/vg0/vm1 and has 3 partitions on it. I tried mount /dev/vg0/vm1 ~/vm1 at first before I remembered that I'd need a way to mount a specific partition inside the logical volume, not the volume itself!
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.
Reproducible with Firefox 3.6.6 (installed from Ubuntu 10.04 repository), on Dell D620, Ubuntu 10.04 Steps to reproduce:
1) start Firefox from command line "firefox -P"
2) create new Firefox profile on NTFS volume (mounted with NTFS-3g)
3) add NoScript extension (through extension manager Get Add-ons), restart Firefox as suggested
4) extension is not added to Firefox In case at step 2) profile is created on Linux volume, at 4) extension is added to firefox.I'm not 100% sure, but I think this bug is related to Firefox 3.6 update (no problems with Firefox 3.5). I did not make proper investigation, but I have feeling same problem applies to Thunderbird 3.1.This issue does not allow to share Firefox/Thunderbird profile on dual boot machine (Ubuntu/WindowsXP).
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.
I have extended a logical volume from a partition on one disk into a entirely seperatedisk.I wish to extend the file system from the original partition onto the newly extend volume.I attempted this using extend2fs but it did not work, and did not mention why.The command I used was -$ sudo resize2fs /dev/glab1/glab-share1/I attempted this on ubuntu server 10.04.
I'm using rsync and crontab to do automatic backups from my /home partition on /dev/sda to my backup drive /dev/sdb3. The backup partition is ext4.
But the backup partition (sdb3) is obviously on a secondary drive, and I want to automount it when I log in. I read that you have to edit /etc/fstab to do this, but I'm not familiar with the process and can't find clear enough instructions, so I was wondering if someone could give me the command I need and maybe explain how it works?
I have a home server running from a Kubuntu install. I am using a partitioned external hard drive to store media. I have been suffering from power outages and I have discovered my external drive will not automount. How do I get my drive to mount at boot?
Around 2008 i seem to remember PartEd on the command-line was able to rescue deleted partitions and gave a choice of whether to recover the partition as a Primary or Logical Partition. I have tried testdisk but didn't really grok what i was doing. I successfully moved a "Windows Recovery" partition to the end of my hard-drive, immediately after the drive's Extended Partition.
I am doing major deployment of opensuse 313 pcs from windows to opensuse. I am having a problem that I have to keep 2 ntfs partitions intact will deleting the partition that has windows. Now everything goes well, opensuse installs but the problem is that I cannot give user full rights to ntfs folders. I have used graphical file permission methods n terminal chown n chmod methos but still permissions revert back to root.
I am trying to restore an NTFS partition from a backup and I need the new drive to have the old (dead) drive's UUID (which I recorded).I really really really cannot use the option of changing fstab to mount using a new UUID, for this case I need the old UUID that existed on the other drive.Is there some ntfs equivalent of tune2fs that'll let me change the UUID on an ntfs partition?
Ubuntu 64 bit is installed on the hard disk with two partitions: one for Ubuntu, another is NTFS partition called Shared. Before upgrading to 10.04 Shared volume was available. To mount it, it was necessary to enter the password.After upgrading to 10.04, I see two volumes: Shared and Shared_. Places menu contains Shared item. When I click it, it opens without password, and shows /media/Shared_, with correct contents. Original Shared volume appears in the media directory:
root@alex-64:/media# ls -l total 12 lrwxrwxrwx 1 root root 6 2010-04-21 19:49 cdrom -> cdrom0 drwxr-xr-x 2 root root 4096 2010-04-21 19:49 cdrom0 drwx------ 2 root root 4096 2010-05-09 08:25 Shared drwx------ 1 alex alex 4096 2010-05-17 08:56 Shared_
Shared volume is empty. Can this be fixed? It is OK to work with Shared_ volume?
(Ubuntu 10.04) I would like to change to change the ownership of one of my storage partitions from root to dad - I am currently reading through as much Ubuntu documentation as I can but the process is slow. If I gksudo nautilus and select the drive, right click/properties/Permissions the owner is set to root. If I try to change the group ownership from root to dad it looks like it momentarily does it but it stays at root.
using Pysdm as a gui for fstab - but so far I have only found out how to allow other users to mount the volume not own it. My fstab entry for this volume reads as /dev/sdb6 /media/backuphd2 ntfs-3g group=dad,users,user,owner 0 0 - it looks to me that in terms of ownership, root = 0 0 Can I find out what the ownership of dad is in terms of numbers (e.g. owner 0 1 or owner 1 1) and then change the fstab entry?
I just installed ubuntu via the windows executable and I couldn't mount my NTFS partition. I found this a little odd and I checked fdisk and it seems to think I don't have an ext4 partition as my entire internal HD is displayed as NTFS.
Here's the fdisk output:
When i try to mount the NTFS partition /dev/sda2 i get the following output:
I can't make heads or tails out of this. Anyone know what's going on here?
Windows recognizes that 30GB were taken from the NTFS partition for my linux install. It reads the max partition size as 465GB. fstab reports the NTFS partition size as 488GB.
I have a raid 5 array formatted with ntfs; My Ubuntu OS is not able to recognize the raid 5 array but my windows 7 OS can. I had this working before when I installed ubuntu via wubi but now since i installed it as a dual boot OS I am having issues trying to mount this raid 5 volume. So far i have tried reinstalling the dmraid, ntfs config manager, and storage device manager however nothing seems to help me recognize my raid 5 array.
P5N32 E-SLI PLUS MOTHERBOARD: RAID 5 ARRAY NTFS with NVIDIA's raid chipset that comes built in with motherboard.
You'd think that with two backups of all my data, which are syncronised twice weekly - that I'd be pretty safe. Fine and good until in a reorganisation of my documents folders,I delete a bunch of files - and don't notice until after I've run the backup - so they're deleted from the backups as well. Cue me beating myself around the head with the keyboard a few times about a week later when I realised.I'd advise against doing that if you have a keyboard like the IBM Model-M - it hurts.Okay, so I figure it's at least worth having a stab at recovering this data. The external harddrive's not had anything written to it since then, so is probably the best candidate. It's formatted as an NTFS volume (1.5Tb).
Now, I DO have a copy of R-Studio for Windows which I bought and paid for a few years agowhen XP managed to destroy itself and the file structure on the harddrive when it fell over installing SP2 (this was the event which lead ultimately to me switching to Ubuntu).I've found this to work quite well, though the initial scan does take a while.nfortunately, it does NOT seem to work from within Ubuntu through Wine. It runs, but can't see any drives. The only Windows environment I have access to now is Vista, andR-Studio seems to hang after running for an hour or so under Vista.
Are there any tools - preferably simple enough that I can get my head around them - which I can use from within Ubuntu to have a scrub through an NTFS drive to look for and otentially recover deleted data? I've found several tools which claim to recover things from ext3/4 drives from Windows - but not the other way around!There are a fair selection of filetypes involved here, some word documents, probably most of interest to me though are some old videos, mostly <5Mb taken on my old phone camera from university. Nothing really mission critical...but memories nevertheless.
I have my HDD in 3 partitions. 1 has Ubuntu 10.10, the 2nd has XP Pro, and the 3rd is a generic FAT 32 for all my music, photos, docs, etc. I was wondering if it was possible to run my XP Pro partition from within my Ubuntu partition so I am not constantly booting to and from XP to perform JUST a quick simple task. I installed Virtual Box OSE from the software center but it looks like it only runs .ISO images.
I want to change my sda2 partition to ntfs type. i have installed GParted but it is returning a strange type of error. Here is the error dump file...
WARNING: the kernel failed to re-read the partition table on /dev/sda (Device or resource busy). As a result, it may not reflect all of your changes until after reboot. WARNING: the kernel failed to re-read the partition table on /dev/sda (Device or resource busy). As a result, it may not reflect all of your changes until after reboot.
First off let me say that I love working with Ubuntu. It's a great OS to learn Linux on. Now on to my problem. I have a laptop that dual boots. Ubuntu 9.10 x64 and Windows 7 Ultimate x64. Been working just fine. I was using NTFS-Config to auto mount the Win7 partition during startup of Ubuntu. It has been running fine. I am able to move files between the linux partition and the NTFS partition with no problem. Now I've come across a problem. I big problem. Just this week I installed VirtualBox onto Ubuntu. I started creating virtual machines. 6 in all (3 Win 2k3, 1 2k8 and 1 Win7). I was saving the virtual machines to the NTFS drive as this was by far my largest drive. I used a directory titled "virtualbox" under the c:/users/public directory. This setup was working great. Was able to get my vm's patched and up to date. Created several snapshots. Basically I was a happy camper.
Last night I booted into Windows 7. OS started fine. I was just surfing the web. After that I rebooted the system and entered Ubuntu and started Virtualbox. I tried to start a vm and it complained that the virtual harddrive was missing. I checked to make sure that the path was correct for the virtual drive and discovered that the entire virtualbox directory that I created on the NTFS partion was gone!!! Everything else was in place and intact including music and large video files that I had downloaded to the Ubuntu partion and moved the the NTFS partion.
I save these virtual machines???? Should I abandon using NTFS-Config. This is somewhat critical since I had took sometime to create this test lab and to have it disappear from simply booting into Windows 7 is crazy.
issue is with 10.04 installed via wubi on a xp pro ntfs drive.Have setup a new installation of 10.04 and been running it a few months.Update Manager came up and I said ok.Then after rebooting, this is what I get and I have found many SIMILAR but CONFUSING threads, so I don't know where to go from here and how to fix it.Grub flashes, and then this is what I get:Mount is denied because the NTFS volume is already exclusively opened.Use the fuser command.
Could not mount the partition /dev/sda1 run chkdsk /r (filesystem = ntfs, error code = 16)
Whenever I mount any of the ntfs volumes, instead of opening the volume, Rhythmbox starts automatically and scans volume for media files. It has nothing to do with media files as it starts even when there is no media file in the volume.
I did the opensuse 11.3 clean install and get access to my NTFS volume by opening Dolphin in SU mode (is any other way ?). VLC unable to play any file from that volume, but Kaffeine does. VLC works with no issues from my opensuse ext4 partition.
I'm setting up a dual-boot system, and want users to be able to access their stuff regardless of what OS is currently loaded. Ideally, I'd like to set it up so that the same Firefox profile is used in both Windows 7 and Linux, as well as the same "home" directories, but I don't think that is possible. At best, I plan to use shortcuts and symbolic links to make it easy to navigate. In any case, is there any major problem with setting up both Windows and Linux to use the same partition for storing user's directories? The primary shared things will be Open Office/Microsoft Office documents and Firefox setups.
I haven't decided if I'm putting Ubuntu or Fedora on this system. I'm more familiar with Fedora, but need to increase my familiarity with Ubuntu. I'm going to go with whatever will give me the least hassles with the setup I just described. On the other hand, I'm unsure if I even need to make a dual boot. I have VMWare, and I'm not sure what advantages there are to making a dual boot over VMware in my case. The only advantage I can see is:
1. Having Linux as a boot option kinda forces me to actually use it once I choose Linux. Thus, I become more familiar with it, and need to reboot the computer in order to use Widows. 2. Linux gives me an emergency boot option is the Windows section gets corrupted beyond what chkdsk and the other emergency recovery options can fix. Counterbalanced by the ability to boot the old Vista OS that came with the computer. 3. The full resources of the computer are available to Linux. Not so much an issue today, but maybe in a few years. This is counterbalanced by the fact that all my games are in Windows, and I can't think of anything else I'd do with Linux that would put such demands on the system. Yeah, I might use it as a server, but that is more to LEARN how to set up and configure servers. I believe it is against Comcast Cable's TOS to run an permanent server with the necessary dynamic DNS registration.
I have no need for a permanent DNS server. If I need name resolution, I'd just put it in my hosts file. I already use that to block ads, so sharing it with all my systems is no problem. I don't have that many. So, the only reason I can really think of is to force myself to use Linux by booting Linux, rather than take the lazy way with Windows.
I installed CentOS 5.5 32-bit with Gnome and want to use it as a file server. The volume I wish to share is a 1.5TB NTFS partition stored on a USB drive. I installed "ntfsprogs" and "fuse-ntfs-3g" to get NTFS support. However, I only have read access to the volume.
How can I fix this and get Read+Write to the NTFS drive?
Storage information: 1st primary:SG 160G ATA 100 1st secondary:WD 160 ATA 133 SATA:WD 1000 2nd primary:DVD 2nd secondary:DVD±RW
Winxp in 1st primary.I did a fresh install of lenny on 1st secondary.
info about lenny setup: 1.Partition list:/boot,/,/home,swap 2.Every partition is XFS except swap.
At the end of installion,lenny installed grub on (hd0) that is 1st primary.
Everything seems OK.Lenny runs OK.
But when I switch back to windows xp,the diskmgmt can not detect hdd's info and the system meets a problem of shutting down.
After many times of trying. I solved the problem by the following way. 1.Boot with windows xp's install CD and use fixmbr on (hd0). 2.Boot with lenny's install DVD , do a grub>root (1,0)>setup (hd1) After that,edit /boot/grub/menu.lst and change (hd0,0) to (hd1,0) and also (hd1,0) to (hd0,0). 3.Reboot and Press F8 for a boot menu then I can select which disk to boot. windows boot from 1st primary's mbr,lenny boot from lenny's grub.
The problem is caused by a bug between GRUB and windows' mbr and maybe more about GRUB and XFS.