Zickar Posted December 25, 2008 Share Posted December 25, 2008 I just installed Amarok on Xubuntu (One of the apps I was most excited about was Amarok) and I can't wait to try it out, only thing is I don't have any music on Linux because I have been using Windows almost all my life and piled a load of **** of Music in Windows so I was wondering if there is any way I can bring this music into Linux without removing it from Windows or having it at two places (One for Windows and one for Linux) ... Is there anyway I can move files (Not just music) to a place on my hard disk so they can be accessible from both Windows and Linux ??? Link to comment https://www.neowin.net/forum/topic/713570-sharing-files-between-windows-and-linux/ Share on other sites More sharing options...
Vieira Posted December 25, 2008 Share Posted December 25, 2008 Yes you can. You will need to install and configure ntfs-3g in order to access your windows partitions. Look at the Mounting Windows Partitions in Ubuntu's Wiki page. Link to comment https://www.neowin.net/forum/topic/713570-sharing-files-between-windows-and-linux/#findComment-590316964 Share on other sites More sharing options...
markwolfe Veteran Posted December 25, 2008 Veteran Share Posted December 25, 2008 ^^^ As said up there, you can mount your Windows partitions and access the files right off that NTFS partition without the need to make duplicate copies, or even move the files somewhere else. Link to comment https://www.neowin.net/forum/topic/713570-sharing-files-between-windows-and-linux/#findComment-590317064 Share on other sites More sharing options...
CrimsonRedMk Member Posted December 27, 2008 Member Share Posted December 27, 2008 I think gparted helps with graphical mounting of NTFS partitions if you need it. Link to comment https://www.neowin.net/forum/topic/713570-sharing-files-between-windows-and-linux/#findComment-590324832 Share on other sites More sharing options...
Zickar Posted December 27, 2008 Author Share Posted December 27, 2008 CrimsonRedMk said: I think gparted helps with graphical mounting of NTFS partitions if you need it. Aha ... Well I have installed and tried ntfs conficuration tool and although I'm not sure if I did everything right but I did manage to mount my D partition on Xubuntu ... I could access it from Xubuntu and its still accessible from Windows (although I didn't checak if it was writeable in Linux) .. Its in the Media folder I think but I have to do some digging to find it, But its still there :D Link to comment https://www.neowin.net/forum/topic/713570-sharing-files-between-windows-and-linux/#findComment-590325488 Share on other sites More sharing options...
Lechio Posted December 28, 2008 Share Posted December 28, 2008 By default Xubuntu (and some others) mount the media devices on "/media". Just add the directory where you have your music to amarok, it won't need write permissions to read the files and build the music library. Amarok is pretty nice, version 2 is already released... :) Link to comment https://www.neowin.net/forum/topic/713570-sharing-files-between-windows-and-linux/#findComment-590326482 Share on other sites More sharing options...
Simon Veteran Posted December 28, 2008 Veteran Share Posted December 28, 2008 I wish there was a universal, open file system. Not necessarily for OS's to run on, but for sharing. It would make so much sense, especially if OS's supported it in such a way that you could put certain parts of your OS on this "universal" partition, like the Music, Photos, and Documents folders. That's the kind of stuff that shouldn't be limited to your OS, especially while Linux rise, and also while Boot Camp makes running Windows and OS X so easy, and quite common. Link to comment https://www.neowin.net/forum/topic/713570-sharing-files-between-windows-and-linux/#findComment-590326506 Share on other sites More sharing options...
markwolfe Veteran Posted December 28, 2008 Veteran Share Posted December 28, 2008 You mean like FAT? :p Unfortunately, Microsoft has patents on their NTFS, plus a lot of it is undocumented - requiring reverse engineering to get to where it is now on Linux. I believe ext and Reiser and such would be possible for Microsoft to implement, but they aren't about to do that, are they? ;) So that brings us back to FAT. (sigh) Link to comment https://www.neowin.net/forum/topic/713570-sharing-files-between-windows-and-linux/#findComment-590326548 Share on other sites More sharing options...
Zickar Posted December 28, 2008 Author Share Posted December 28, 2008 Lechio said: By default Xubuntu (and some others) mount the media devices on "/media".Just add the directory where you have your music to amarok, it won't need write permissions to read the files and build the music library. Amarok is pretty nice, version 2 is already released... :) i'm fine with Amarok, i must say that installing it was the first thing I did because i heard such good things about it and i wasn't dissapointed :D ... Its very responsive and very easy to navigate and I accessed all my music from Windows in Linux without any problems but I need to acess this mount point not just for music because I keep virtually everything there including most of my Graphic work and all just a question though what is a media device anyway ?? Link to comment https://www.neowin.net/forum/topic/713570-sharing-files-between-windows-and-linux/#findComment-590328816 Share on other sites More sharing options...
Lechio Posted December 28, 2008 Share Posted December 28, 2008 (edited) Zickar said: just a question though what is a media device anyway ?? A partition, a flash card, an USB storage device, an mp3 player, (...). I'm with the opinion that an HDD should mount on "/mnt", for some reason *buntus mount those in "/media"... Did you by now get it to mount with write permissions for your user? Oh and checkout amarok 2 if you are still with 1.x: http://amarok.kde.org/ Edited December 28, 2008 by Lechio Link to comment https://www.neowin.net/forum/topic/713570-sharing-files-between-windows-and-linux/#findComment-590328858 Share on other sites More sharing options...
Zickar Posted December 28, 2008 Author Share Posted December 28, 2008 Lechio said: A partition, a flash card, an USB storage device, an mp3 player, (...).I'm with the opinion that an HDD should mount on "/mnt", for some reason *buntus mount those in "/media"... Did you by now get it to mount with write permissions for your user? Oh and checkout amarok 2 if you are still with 1.x: http://amarok.kde.org/ I think I'm on Amarok 1.4 now .. I installed it from Xubuntu so I thought it was the latest but I Guess I'll have to get back to that and get the latest (I'm on 8.04 now .. I'll be updating as soon in a few days just when I get everything working right) I think I enabled writing on the partition as well, but now that you asked me I'm starting to have second thoughts !! is there any way I can check out !! is there anyway I can move the mount point to the desktop ?? One last question and I hope I'm not bothering you all with questions but my mount point is still there atm but its unacessible for some reason ... Not sure why but there's a big X next to it and I can't acsess it ... It gives me this error "Failed to open Directory. Permission denied" What could be causing that .. I just finished installing Virtual box today but still haven't got it working yet so I wonder if this might be causing the problem or this might have caused this Link to comment https://www.neowin.net/forum/topic/713570-sharing-files-between-windows-and-linux/#findComment-590329198 Share on other sites More sharing options...
markwolfe Veteran Posted December 28, 2008 Veteran Share Posted December 28, 2008 Zickar said: ... is there anyway I can move the mount point to the desktop ?? One last question and I hope I'm not bothering you all with questions but my mount point is still there atm but its unacessible for some reason ... Not sure why but there's a big X next to it and I can't acsess it ... It gives me this error "Failed to open Directory. Permission denied" What could be causing that .. I just finished installing Virtual box today but still haven't got it working yet so I wonder if this might be causing the problem or this might have caused this You really don't want to move a mount point to your desktop. Your desktop is really a directory inside your /home, and that is not a good or proper place for mounting a system partition. However, you can have a symbolic link on your desktop that points to your mounted partition. I thought that this was done for you in the *buntus. It might be an optional setting that you can check or uncheck in a control panel type of thing for your desktop UI settings. As for why your current mount point seems to be unmounted, or not, can you open a terminal and type the command mount and paste what it dumps here. That will list all current mounts, and the permissions and locations of each. Link to comment https://www.neowin.net/forum/topic/713570-sharing-files-between-windows-and-linux/#findComment-590329242 Share on other sites More sharing options...
Zickar Posted December 28, 2008 Author Share Posted December 28, 2008 markjensen said: You really don't want to move a mount point to your desktop. Your desktop is really a directory inside your /home, and that is not a good or proper place for mounting a system partition. However, you can have a symbolic link on your desktop that points to your mounted partition. I thought that this was done for you in the *buntus. It might be an optional setting that you can check or uncheck in a control panel type of thing for your desktop UI settings.As for why your current mount point seems to be unmounted, or not, can you open a terminal and type the command mount and paste what it dumps here. That will list all current mounts, and the permissions and locations of each. /dev/sda6 on / type ext3 (rw,relatime,errors=remount-ro) proc on /proc type proc (rw,noexec,nosuid,nodev) /sys on /sys type sysfs (rw,noexec,nosuid,nodev) varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755) varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777) udev on /dev type tmpfs (rw,mode=0755) devshm on /dev/shm type tmpfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) lrm on /lib/modules/2.6.24-22-generic/volatile type tmpfs (rw) securityfs on /sys/kernel/security type securityfs (rw) I guess you'll be asking me about this so might as well just tell you that the partition i mounted was read in Xubuntu as dev/sda5 and i named the mount point in Xubuntu "The big D" Link to comment https://www.neowin.net/forum/topic/713570-sharing-files-between-windows-and-linux/#findComment-590329248 Share on other sites More sharing options...
Lechio Posted December 28, 2008 Share Posted December 28, 2008 Copy>paste the output of the command "sudo fdisk -l", and the contents of your "/etc/fstab" file here. To make persistent mounts that file has to be edited properly. Link to comment https://www.neowin.net/forum/topic/713570-sharing-files-between-windows-and-linux/#findComment-590329336 Share on other sites More sharing options...
Zickar Posted December 28, 2008 Author Share Posted December 28, 2008 Lechio said: Copy>paste the output of the command "sudo fdisk -l", and the contents of your "/etc/fstab" file here.To make persistent mounts that file has to be edited properly. Disk /dev/sda: 120.0 GB, 120060444672 bytes 255 heads, 63 sectors/track, 14596 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x09ad09ad Device Boot Start End Blocks Id System /dev/sda1 * 1 3825 30724281 7 HPFS/NTFS /dev/sda2 3826 14595 86510025 f W95 Ext'd (LBA) /dev/sda5 7650 14595 55793713+ 7 HPFS/NTFS /dev/sda6 3826 6864 24410704+ 83 Linux /dev/sda7 6865 7041 1421721 82 Linux swap / Solaris Partition table entries are not in disk order # /etc/fstab: static file system information. # # -- This file has been automaticly generated by ntfs-config -- # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 # Entry for /dev/sda6 : UUID=bd238fd0-bbdf-4b1c-bd8d-25b1cb6d6527 / ext3 relatime,errors=remount-ro 0 1 # Entry for /dev/sda7 : UUID=3b8d0498-6c1c-4e84-839f-e91bb17a5a9c none swap sw 0 0 /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0 /dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0 /dev/sda5 /media/The\040Big\040D ntfs-3g defaults,locale=en_US.UTF-8 0 0 Link to comment https://www.neowin.net/forum/topic/713570-sharing-files-between-windows-and-linux/#findComment-590329392 Share on other sites More sharing options...
Lechio Posted December 28, 2008 Share Posted December 28, 2008 (edited) Run these commands from terminal: sudo umount /dev/sda5 sudo rmdir '/media/The Big D' sudo mkdir '/media/The_Big_D' Then edit your "/etc/fstab" file: sudo gedit /etc/fstab To be like this: # /etc/fstab: static file system information. # # -- This file has been automaticly generated by ntfs-config -- # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 # Entry for /dev/sda6 : UUID=bd238fd0-bbdf-4b1c-bd8d-25b1cb6d6527 / ext3 relatime,errors=remount-ro 0 1 # Entry for /dev/sda7 : UUID=3b8d0498-6c1c-4e84-839f-e91bb17a5a9c none swap sw 0 0 /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0 /dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0 /dev/sda5 /media/The_Big_D ntfs-3g defaults,auto,rw,users,uid=1000,gid=100,locale=en_US.UTF-8 0 0 Save the file and remount all the partitions: sudo mount -a It's not a very good idea to have mount point names with spaces. The mount point is now located at "/media/The_Big_D/", browse to that directory to access your files. To create a shortcut on your desktop just run from terminal: cd ~/Desktop ln -sv /media/The_Big_D/ and a shortcut to that mount point will be created on the desktop. Ubuntu and Kubuntu do this automatically. _______________________________________________________ EDIT: If the partition doesn't mount automatically at boot, change the line: /dev/sda5 /media/The_Big_D ntfs-3g defaults,auto,rw,users,uid=1000,gid=100,locale=en_US.UTF-8 0 0 to just be: /dev/sda5 /media/The_Big_D ntfs-3g defaults,locale=en_US.UTF-8 0 0 And to access the partition you will have to mount it every time after boot with: sudo mount /dev/sda5 Also: http://ntfs-3g.org/support.html#plugandplay Haven't tested this. Edited December 28, 2008 by Lechio Link to comment https://www.neowin.net/forum/topic/713570-sharing-files-between-windows-and-linux/#findComment-590329590 Share on other sites More sharing options...
Bugballou Posted December 29, 2008 Share Posted December 29, 2008 I use NTFS-3G to mount NTFS partitions for read, and read write when needed, including external HDD's and flash/thumb drives. At present I have a 65 gigabyte FAT32 partition between the Windows partition (boots with ntldr) and the Linux/swap partitions (boots with ntldr, lilo). Created partition on Linux as Windows doesn't do large FAT32 partitions, over 37.5 as I recall. Shortcuts to all partitions are on desktop. Click on their icons to mount. Also an option to automount but don't use it. Running live remastered cd at present, so Linux partition isn't mounted. http://www.ntfs-3g.org Link to comment https://www.neowin.net/forum/topic/713570-sharing-files-between-windows-and-linux/#findComment-590330106 Share on other sites More sharing options...
Zickar Posted December 29, 2008 Author Share Posted December 29, 2008 Lechio said: Then edit your "/etc/fstab" file: sudo gedit /etc/fstab To be like this: # /etc/fstab: static file system information. # # -- This file has been automaticly generated by ntfs-config -- # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 # Entry for /dev/sda6 : UUID=bd238fd0-bbdf-4b1c-bd8d-25b1cb6d6527 / ext3 relatime,errors=remount-ro 0 1 # Entry for /dev/sda7 : UUID=3b8d0498-6c1c-4e84-839f-e91bb17a5a9c none swap sw 0 0 /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0 /dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0 /dev/sda5 /media/The_Big_D ntfs-3g defaults,auto,rw,users,uid=1000,gid=100,locale=en_US.UTF-8 0 0 Save the file and remount all the partitions: sudo mount -a It's not a very good idea to have mount point names with spaces. The mount point is now located at "/media/The_Big_D/", browse to that directory to access your files. I got to this and I'm stuck ... I typed " sudo gedit /etc/fstab" in the terminal and it keeps giving me "command not found" I opened the fstab file in the file system and then pasted the code you gave me and when i try to save it gives me this message " can't open file to write" Link to comment https://www.neowin.net/forum/topic/713570-sharing-files-between-windows-and-linux/#findComment-590330292 Share on other sites More sharing options...
Lechio Posted December 29, 2008 Share Posted December 29, 2008 You need gedit installed to be able to use it. Install it first: sudo apt-get install gedit Or just use another text editor (like nano), but you have to have permission to edit the file (hence using the sudo to give you root permissions). Opening it from the file browser won't work as it is running with your user permissions. Link to comment https://www.neowin.net/forum/topic/713570-sharing-files-between-windows-and-linux/#findComment-590330488 Share on other sites More sharing options...
Zickar Posted December 29, 2008 Author Share Posted December 29, 2008 Lechio said: You need gedit installed to be able to use it. Install it first: sudo apt-get install gedit Or just use another text editor (like nano), but you have to have permission to edit the file (hence using the sudo to give you root permissions). Opening it from the file browser won't work as it is running with your user permissions. It worked .... I'm not sure if its 100% working or not but I got the "sudo mount -a" command and then it gave me like an error telling that this might be if I have windows because I either didn't shut down Windows properly and then another option if I don't have Windows .... I forgot to paste the message here from the terminal but nasically I restarted my Computer in Windows and then shut it down using the shut down from the start menu and logged in and everything seem to be fine I can acess the contents of D now Link to comment https://www.neowin.net/forum/topic/713570-sharing-files-between-windows-and-linux/#findComment-590331630 Share on other sites More sharing options...
Lechio Posted December 29, 2008 Share Posted December 29, 2008 :) I believe that if Windows doesn't shutdown cleanly, it locks the access to that NTFS partition so it doesn't create errors. Glad it's sorted out. Link to comment https://www.neowin.net/forum/topic/713570-sharing-files-between-windows-and-linux/#findComment-590331670 Share on other sites More sharing options...
cork1958 Posted December 29, 2008 Share Posted December 29, 2008 Sheesh! Way to much crap to go through to get at a lousy folder, isn't it? :laugh: Might have to e-mail myself a link to this though for the next time I decide to experiment with Linux, which may be real soon as Zenwalk has a new version in the works that should be out real soon. Screw those crappy buntu distros. Had been using Zenwalk exclusively for about a year, but had to go back to Windows as Linux just doesn't cut it with EVERYTHING I need to do. Good luck in your Linux endeavors!! Link to comment https://www.neowin.net/forum/topic/713570-sharing-files-between-windows-and-linux/#findComment-590331704 Share on other sites More sharing options...
Zickar Posted December 29, 2008 Author Share Posted December 29, 2008 cork1958 said: Sheesh! Way to much crap to go through to get at a lousy folder, isn't it? :laugh: Might have to e-mail myself a link to this though for the next time I decide to experiment with Linux, which may be real soon as Zenwalk has a new version in the works that should be out real soon. Screw those crappy buntu distros. Had been using Zenwalk exclusively for about a year, but had to go back to Windows as Linux just doesn't cut it with EVERYTHING I need to do. Good luck in your Linux endeavors!! Cheers, it does seem like a lot of work just to get something as elementary as creating a new folder you'll have to go to the terminal :D but still its very rewarding when you do get it done when I'm done learning with Xubuntu I might move over because Xfce is kinda minimalist :D (it says its minimalist anyway) thanks a lot lechio too for your help ... Link to comment https://www.neowin.net/forum/topic/713570-sharing-files-between-windows-and-linux/#findComment-590331750 Share on other sites More sharing options...
markwolfe Veteran Posted December 29, 2008 Veteran Share Posted December 29, 2008 cork1958 said: Sheesh! Way to much crap to go through to get at a lousy folder, isn't it? :laugh: Might have to e-mail myself a link to this though for the next time I decide to experiment with Linux, which may be real soon as Zenwalk has a new version in the works that should be out real soon. Screw those crappy buntu distros. Had been using Zenwalk exclusively for about a year, but had to go back to Windows as Linux just doesn't cut it with EVERYTHING I need to do. Good luck in your Linux endeavors!! Yeah. If Microsoft had open specs for NTFS, then Linux could clean up an unclean filesystem for the user. If the partition was Linux native, like ext3, then Linux could mount it and fsck it for errors. Link to comment https://www.neowin.net/forum/topic/713570-sharing-files-between-windows-and-linux/#findComment-590332612 Share on other sites More sharing options...
Recommended Posts