EvilZone

General Tech => Operating System => : jogEvil September 29, 2014, 09:37:45 AM

: SOLVED switching drives in terminal Help
: jogEvil September 29, 2014, 09:37:45 AM
Good Day
 
 
 I did the  mount command      and I got this please look @ PIC
 
 http://u.cubeupload.com/letflint/3bS...from201409.png (http://u.cubeupload.com/letflint/3bScreenshotfrom201409.png)
 
 I am in root , and root is on a complete  different hdd ,,  and i want to get to /Backups linux  on an other hdd
 after the mount command U can see that /Backups linux  is in /dev/sdc3   
 
 so i can get to /dev   BUT unable to get to /sdc3
 
 any help ??
 
 many thanks
: Re: switching drives in terminal Help
: RedBullAddicted September 29, 2014, 11:32:33 AM
not quiet sure what you want to do but /dev/sdc3 is mounted to /media/Backups. Can't you browse that directory or what exactly are you trying to do. Please describe it a bit further and show us the commands you used to mount that drive.

Cheers,
RBA
: Re: switching drives in terminal Help
: proxx September 29, 2014, 11:40:53 AM
Good Day
 
 
 I did the  mount command      and I got this please look @ PIC
 
 http://u.cubeupload.com/letflint/3bS...from201409.png (http://u.cubeupload.com/letflint/3bScreenshotfrom201409.png)
 
 I am in root , and root is on a complete  different hdd ,,  and i want to get to /Backups linux  on an other hdd
 after the mount command U can see that /Backups linux  is in /dev/sdc3   
 
 so i can get to /dev   BUT unable to get to /sdc3
 
 any help ??
 
 many thanks

Your post is unclear.
What I think you want to do is browse to /media/backups.
The device /dev/sdc3 is mounted on /media/Backups according to what you posted.
Is that what you seek?
In that case 'ls /media/Backups' should list the files.
: Re: switching drives in terminal Help
: jogEvil September 29, 2014, 09:20:55 PM
Sorry for not being Clear

may be this will help

 Please let me explain one thing
 
 Linux is install on 3 Different sdd's   as a raid 0   

ssd1  is   /      ssd2 is                  boot                          ssd3  is                                     home

All of these 3 ssd's are in File System  ,,   and what u see in the Picture below is just one Big 2tb   hdd  with all the  partitions

I did it this way because other people said it cant be don   this is the only reason  I have the setup  like this

But i am happy with it and it is working very good,,

Now all I want to do  go into Backups Linux to put my backup there ,, witch is also on a different HDD
 
 Please look at these Pictures   maybe they explain more
 
 http://u.cubeupload.com/letflint/de8...from201409.png (http://u.cubeupload.com/letflint/de8Screenshotfrom201409.png)
 
 http://u.cubeupload.com/letflint/aa2...from201409.png (http://u.cubeupload.com/letflint/aa2Screenshotfrom201409.png)

many thanks
: Re: switching drives in terminal Help
: lucid September 29, 2014, 09:27:10 PM
You are making this way to complex. You want to access the /Backups folder which is on another drive? Ok. Which drive? Say it's /dev/sdc3. You would run:

:
mount /mnt/Backups /dev/sdc3
Then, to access it:
:
cd /mnt/Backups

I don't see what is so confusing.
: Re: switching drives in terminal Help
: jogEvil September 29, 2014, 09:57:43 PM
You are making this way to complex. You want to access the /Backups folder which is on another drive? Ok. Which drive? Say it's /dev/sdc3. You would run:

:
mount /mnt/Backups /dev/sdc3
Then, to access it:
:
cd /mnt/Backups

I don't see what is so confusing.

thanks for the help ,, But No  that also did not work

and the drive is mounted

Please look

http://u.cubeupload.com/letflint/d58Screenshotfrom201409.png

http://u.cubeupload.com/letflint/c0eScreenshotfrom201409.png

many thanks 


UPDATE 

Solved    Solved 

I was missing the quotes     

Command should look like this     '/media/Backups linux'
: Re: switching drives in terminal Help
: proxx September 29, 2014, 10:01:06 PM
Sorry for not being Clear

may be this will help

 Please let me explain one thing
 
 Linux is install on 3 Different sdd's   as a raid 0   

ssd1  is   /      ssd2 is                  boot                          ssd3  is                                     home

All of these 3 ssd's are in File System  ,,   and what u see in the Picture below is just one Big 2tb   hdd  with all the  partitions

I did it this way because other people said it cant be don   this is the only reason  I have the setup  like this

But i am happy with it and it is working very good,,

Now all I want to do  go into Backups Linux to put my backup there ,, witch is also on a different HDD
 
 Please look at these Pictures   maybe they explain more
 
 http://u.cubeupload.com/letflint/de8...from201409.png (http://u.cubeupload.com/letflint/de8Screenshotfrom201409.png)
 
 http://u.cubeupload.com/letflint/aa2...from201409.png (http://u.cubeupload.com/letflint/aa2Screenshotfrom201409.png)

many thanks

Oke so you want another drive to be the backup disk Instead of the current one which is sdc3.
Well there is a file called fstab, it is in your /etc folder.
In this file you can specify where what goes on boot.
https://wiki.archlinux.org/index.php/Fstab
Read this ^



:
mount /mnt/Backups /dev/sdc3

This should be the other way around.
Usage:
 mount [-lhV]
 mount -a [options]
 mount [options] [--source] <source> | [--target] <directory>
: Re: switching drives in terminal Help
: lucid September 29, 2014, 10:04:43 PM
:
mount /mnt/Backups /dev/sdc3

This should be the other way around.
Woops! Silly slip-up.
: Re: switching drives in terminal Help
: jogEvil September 29, 2014, 10:05:51 PM
Oke so you want another drive to be the backup disk Instead of the current one which is sdc3.
Well there is a file called fstab, it is in your /etc folder.
In this file you can specify where what goes on boot.
https://wiki.archlinux.org/index.php/Fstab (https://wiki.archlinux.org/index.php/Fstab)
Read this ^



:
mount /mnt/Backups /dev/sdc3

This should be the other way around.
Usage:
 mount [-lhV]
 mount -a [options]
 mount [options] [--source] <source> | [--target] <directory>

 Many thanks Proxx

but it is   

UPDATE 

Solved    Solved 

I was missing the quotes     

Command should look like this     '/media/Backups linux'   silly me all this time no Quotes   

many thanks to all
: Re: switching drives in terminal Help
: proxx September 29, 2014, 10:09:14 PM
Many thanks Proxx

but it is   

UPDATE 

Solved    Solved 

I was missing the quotes     

Command should look like this     '/media/Backups linux'   silly me all this time no Quotes   

many thanks to all
Can you please cut the freaking returns , thanks.
I dunno where you are entering those commands but bash don't need quotes there :)
: Re: switching drives in terminal Help
: techb September 29, 2014, 10:14:00 PM
Can you please cut the freaking returns , thanks.
I dunno where you are entering those commands but bash don't need quotes there :)

As far as I am aware, it does if there is s space in the file/folder name.
: Re: switching drives in terminal Help
: proxx September 29, 2014, 10:19:24 PM
As far as I am aware, it does if there is s space in the file/folder name.
*Facepalm,
(http://cdn.meme.am/instances/500x/54844041.jpg)