LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Calculate
User Name
Password
Calculate This forum is for the discussion of Calculate Linux.

Notices


Reply
  Search this Thread
Old 04-18-2018, 07:29 AM   #1
Bourbon
Member
 
Registered: Dec 2011
Location: Gaborone Botswana
Distribution: Linux-Mint 18.3 amd64 Cinnamon
Posts: 108

Rep: Reputation: Disabled
Question How to move/edit files from CLD to another partition?


Hi All,

Please, I have a small problem with CLD 17.12.2 amd64 - KDE: it is on multiboot with Windows10 and Linux Mint, wishing to move files between CLD and different places, I can do it without any problem to Windows and even with fat32 external hard drive, but can't do with Linux Mint.
Surely is a matter of permissions but I am afraid to mess up changing them myself, hoping someone here can tell me the right steps to do.

(Linux Mint is on /dev/sdb2; /dev/sdb1 = Swap: /dev/sdb3 = empty; /dev/sdb4 = CLD; Windows 10 = /dev/sda)

/etc/fstab here:
Code:
/ was on /dev/sdb4 during installation
UUID=0cd44e20-4cc4-4031-8c58-2490a8d3050f	/	ext4	noatime	0 1
# /boot/efi was on /dev/sda2 during installation
UUID=C0B4-AF95	/boot/efi	vfat	noatime	0 0

# swap was on /dev/sdb1 during installation
UUID=8d34147c-1839-4f9e-8004-e44f8484421d	none	swap	sw	0 0

proc		/proc		proc	defaults		0 0
shm		/dev/shm	tmpfs	nodev,nosuid,noexec	0 0
(Dolphin shows Linux Mint, Windows 10 and external hard drive on the left column "Resources"and I have access to them).

Thank you for reading

Best Regards
 
Old 04-18-2018, 10:43 AM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: FreeBSD/Slackware-14.2+/ArcoLinux
Posts: 9,337

Rep: Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979
so say you got two Linux installs, and a Windows install. you are wanting to move some files from one Linux install to the other Linux install and are having an issue doing this. even though you're already sitting on one Linux wondering what to do to accomplish this task.

How do I get to that other Linux OS to move some files onto this one?

Have you tried using your root user to do this yet? you suggested/thought fstab mount my other OS to get to it. OK, lets look at that first.

to set up permissions for a same user on two systems then you have to mirror the user for both systems if you are wanting to use a user to do these tasks, or give the directory open permissions for everyone to read, write, execute.

666
755
775
777
are there to use. Ownership too can and does play a part in this, also. and a bunch of other stuff to do...


or lets look at this way of doing it now.

Code:
sudo mount source partition -> destination directory

#mount point
sudo mv -v destination directory/source files -> some other directory on the system

sudo umount destination directory
Case in point.
Code:
$ lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sdb           8:16   0   1.8T  0 disk 
├─sdb2        8:18   0 245.9G  0 part /media/ntfs
└─sdb1        8:17   0   1.6T  0 part /media/data
sdc           8:32   0   3.7T  0 disk 
└─sdc1        8:33   0   3.7T  0 part /media/userx/4TB_esaystore
sda           8:0    0 232.9G  0 disk 
├─sda4        8:4    0     1K  0 part 
├─sda2        8:2    0  97.2G  0 part 
├─sda7        8:7    0  63.5G  0 part : Slackware home
├─sda5        8:5    0  25.4G  0 part : Slackware
├─sda3        8:3    0   450M  0 part 
├─sda1        8:1    0   500M  0 part 
├─sda8        8:8    0  20.5G  0 part /home :peppermint
└─sda6        8:6    0  25.4G  0 part / :peppermint
mmcblk0     179:0    0  14.5G  0 disk 
└─mmcblk0p1 179:1    0  14.5G  0 part [SWAP]
the rest on /dev/sda is windows.
if I am on this peppermint linux and I need to access Slackware system side or user side. As stated, I just mount the other OS partition to a dir on the system I am already on. then move or copy then files into that directory or do whatever I need to do in the other system.

example to get to my Slackware system.
Code:
sudo mount /dev/sda5 /mnt

cd /mnt : now everything that is on Slackware system is now connected to /mnt

Last edited by BW-userx; 04-18-2018 at 11:13 AM.
 
1 members found this post helpful.
Old 04-18-2018, 11:29 AM   #3
Bourbon
Member
 
Registered: Dec 2011
Location: Gaborone Botswana
Distribution: Linux-Mint 18.3 amd64 Cinnamon
Posts: 108

Original Poster
Rep: Reputation: Disabled
Hi BW-userx,

Thank you for your kind concern. To be precise, from CLD to Linux Mint, I can go clicking on Dolphin>Resources>Linux Mint, asking me password and mounting it. After that I can surf into Linux Mint partition (User name is different to every Linux distro), I can edit a document (asking password) but can't move a file from CLD to Mint and vice versa.
I have been writing here because afraid to change permissions myself, I mean: I did it over a previous installation where Linux Mint was mounted on CLD "/" and added on fstab, but I did a big mistake because wishing to make everything "free" I did'nt think that doing that was going to change also Mint's System file permissions and got it unusable, so, I have been installing it again.
Exactly, I did this on the Linux-Mint created folder in CLD "/":
chmod -R 777 Linux-Mint
chown -R dominu:dominum Linux-Mint
chgrp -R dominum Linux-Mint

Post Scriptum

I see you are a Slacker, I love it and I kept as primary distro for long time, gave up when got machine with two HHD and multiboot with Windows 10 because unable to keep the clock in order both sides even using "ntp" on Slackware. Maybe I have been unable to set it properly. Please, do you know if needing to work on some Slackware configuration files after installing "ntp" or do we have different solution for the clock?
14.2 KDE amd64 has been the last Slackware of mine (till now) but still I feel it and sometime thinking to install it again over the free partition.
Got also problem to install Nvidia driver, because apparently now needing to install using SlackBuild and never I have been able to download it; is not a big issue because can manage with native Nouveau and needing to be patient with ffmpeg too lol
I don't remember other serious issues with Slackware.
I apologize for keeping you busy talking of it but I like Slackware

Best Regards
 
Old 04-18-2018, 11:45 AM   #4
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: FreeBSD/Slackware-14.2+/ArcoLinux
Posts: 9,337

Rep: Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979
Quote:
Originally Posted by Bourbon View Post
Hi BW-userx,

Thank you for your kind concern. To be precise, from CLD to Linux Mint, I can go clicking on Dolphin>Resources>Linux Mint, asking me password and mounting it. After that I can surf into Linux Mint partition (User name is different to every Linux distro), I can edit a document (asking password) but can't move a file from CLD to Mint and vice versa.

I have been writing here because afraid to change permissions myself, I mean: I did it over a previous installation where Linux Mint was mounted on CLD "/" and added on fstab, but I did a big mistake because wishing to make everything "free" I did'nt think that doing that was going to change also Mint's System file permissions and got it unusable, so, I have been installing it again.
Exactly, I did this on the Linux-Mint created folder in CLD "/":
chmod -R 777 Linux-Mint
chown -R dominu:dominum Linux-Mint
chgrp -R dominum Linux-Mint
to have the other system on your system at all times, might as well just run on Linux system?
I do not know how to fix it so that it will do like the other one, I've never had to look into it. as My PCMANFM does the same thing for the most part even in Slack, I just do a go to mount what I want then access it, maybe the cause is "terminal" illness that causes me to use the terminal instead of using the file manager , click add password then go into it that way.

you could set up a data partition with same user attached to it to allow you access to that via a file manager, or set up a share /home that both Linux OSes use depending on which one you're running it is still the same /home no matter what.

Though it seems strange that Mint does not have the file manager access via a password like your CLD does, ever Distro I've used I've had that, even though I usually use the mount method anyways, there's the "terminal" illness flaring up again.

I am in Windows right now so I cannot check into this to see what its really doing, but it would have something to do with polkit-1 and how it does its permissions for auto mount.


Quote:
Originally Posted by Bourbon View Post
Post Scriptum

I see you are a Slacker, I love it and I kept as primary distro for long time, gave up when got machine with two HHD and multiboot with Windows 10 because unable to keep the clock in order both sides even using "ntp" on Slackware. Maybe I have been unable to set it properly. Please, do you know if needing to work on some Slackware configuration files after installing "ntp" or do we have different solution for the clock?
14.2 KDE amd64 has been the last Slackware of mine (till now) but still I feel it and sometime thinking to install it again over the free partition.

Got also problem to install Nvidia driver, because apparently now needing to install using SlackBuild and never I have been able to download it; is not a big issue because can manage with native Nouveau and needing to be patient with ffmpeg too lol
I don't remember other serious issues with Slackware.
I apologize for keeping you busy talking of it but I like Slackware

Best Regards
clock: that is easily fixed in slack as well just change the settings to localtime
Nvidia: ?? their are people in LQ that should be able to help you set that up in Slack so it works.
ffmpeg: ?? I didn't get that reference, sorry.

go back to slack, what's a matter wif you?

Last edited by BW-userx; 04-18-2018 at 11:46 AM.
 
Old 04-23-2018, 08:55 AM   #5
_roman_
Member
 
Registered: Dec 2017
Location: _Austro_Bavaria_
Distribution: gentoo / linux mint
Posts: 433

Rep: Reputation: 29
I did not read everything

quote: an do it without any problem to Windows and even with fat32 external hard drive, but can't do with Linux Mint.

gentoo for example has a fuse module or ntfs-3g since a long time.

Just use ntfs-3g with ntfs volume. i suggest that you create the ntfs volume in spyware95(or newer)

fat is limited, just do not use it!

--

In my spywareXP days I used a windows software which could access ext2. yes I used ext2 these days.

--

edit: I usually had for a very long time an /etc/fstab entry with ntfs-3g and a mount folder entry which was a subfolder of my home directory. The data could be moved easily as my main user without root, and could be accessed from SpywareXP

Last edited by _roman_; 04-23-2018 at 08:57 AM.
 
  


Reply

Tags
files, partitions, permissions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Move evolution e-mail folders and files to different partition cigtoxdoc Linux - Desktop 3 02-16-2014 11:22 PM
HowTo convert Primary Partition to Logical (ie move it inside the Extended Partition) Tom6 Linux - Software 3 11-29-2010 04:40 PM
cannot using FTP move command to move files adrianmak Linux - Networking 4 04-21-2009 01:01 PM
Partition Free Space - Move /home to the new partition gregkise Linux - General 5 12-16-2003 11:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Calculate

All times are GMT -5. The time now is 08:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration