Author Topic: SOLVED switching drives in terminal Help  (Read 865 times)

0 Members and 1 Guest are viewing this topic.

Offline jogEvil

  • /dev/null
  • *
  • Posts: 11
  • Cookies: -3
    • View Profile
SOLVED switching drives in terminal Help
« on: 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
 
 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
« Last Edit: September 29, 2014, 10:04:15 pm by jogEvil »
“The biggest failure you can have in life is making the mistake of never trying at all.”

Offline RedBullAddicted

  • VIP
  • Sir
  • *
  • Posts: 519
  • Cookies: 189
    • View Profile
Re: switching drives in terminal Help
« Reply #1 on: 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
Deep into that darkness peering, long I stood there, wondering, fearing, doubting, dreaming dreams no mortal ever dared to dream before. - Edgar Allan Poe

Offline proxx

  • Avatarception
  • Global Moderator
  • Titan
  • *
  • Posts: 2803
  • Cookies: 256
  • ФФФ
    • View Profile
Re: switching drives in terminal Help
« Reply #2 on: 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
 
 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.
« Last Edit: September 29, 2014, 11:41:42 am by proxx »
Wtf where you thinking with that signature? - Phage.
This was another little experiment *evillaughter - Proxx.
Evilception... - Phage

Offline jogEvil

  • /dev/null
  • *
  • Posts: 11
  • Cookies: -3
    • View Profile
Re: switching drives in terminal Help
« Reply #3 on: 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/aa2...from201409.png

many thanks
« Last Edit: September 29, 2014, 09:24:25 pm by jogEvil »
“The biggest failure you can have in life is making the mistake of never trying at all.”

Offline lucid

  • #Underground
  • Titan
  • **
  • Posts: 2683
  • Cookies: 243
  • psychonaut
    • View Profile
Re: switching drives in terminal Help
« Reply #4 on: 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:

Code: [Select]
mount /mnt/Backups /dev/sdc3
Then, to access it:
Code: [Select]
cd /mnt/Backups

I don't see what is so confusing.
"Hacking is at least as much about ideas as about computers and technology. We use our skills to open doors that should never have been shut. We open these doors not only for our own benefit but for the benefit of others, too." - Brian the Hacker

Quote
15:04  @Phage : I'm bored of Python

Offline jogEvil

  • /dev/null
  • *
  • Posts: 11
  • Cookies: -3
    • View Profile
Re: switching drives in terminal Help
« Reply #5 on: 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:

Code: [Select]
mount /mnt/Backups /dev/sdc3
Then, to access it:
Code: [Select]
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'
« Last Edit: September 29, 2014, 10:03:33 pm by jogEvil »
“The biggest failure you can have in life is making the mistake of never trying at all.”

Offline proxx

  • Avatarception
  • Global Moderator
  • Titan
  • *
  • Posts: 2803
  • Cookies: 256
  • ФФФ
    • View Profile
Re: switching drives in terminal Help
« Reply #6 on: 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/aa2...from201409.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 ^



Code: [Select]
mount /mnt/Backups /dev/sdc3

This should be the other way around.
Usage:
 mount [-lhV]
 mount -a [options]
 mount [options] [--source] <source> | [--target] <directory>
« Last Edit: September 29, 2014, 10:03:09 pm by proxx »
Wtf where you thinking with that signature? - Phage.
This was another little experiment *evillaughter - Proxx.
Evilception... - Phage

Offline lucid

  • #Underground
  • Titan
  • **
  • Posts: 2683
  • Cookies: 243
  • psychonaut
    • View Profile
Re: switching drives in terminal Help
« Reply #7 on: September 29, 2014, 10:04:43 pm »
Code: [Select]
mount /mnt/Backups /dev/sdc3

This should be the other way around.
Woops! Silly slip-up.
"Hacking is at least as much about ideas as about computers and technology. We use our skills to open doors that should never have been shut. We open these doors not only for our own benefit but for the benefit of others, too." - Brian the Hacker

Quote
15:04  @Phage : I'm bored of Python

Offline jogEvil

  • /dev/null
  • *
  • Posts: 11
  • Cookies: -3
    • View Profile
Re: switching drives in terminal Help
« Reply #8 on: 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
Read this ^



Code: [Select]
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
“The biggest failure you can have in life is making the mistake of never trying at all.”

Offline proxx

  • Avatarception
  • Global Moderator
  • Titan
  • *
  • Posts: 2803
  • Cookies: 256
  • ФФФ
    • View Profile
Re: switching drives in terminal Help
« Reply #9 on: 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 :)
Wtf where you thinking with that signature? - Phage.
This was another little experiment *evillaughter - Proxx.
Evilception... - Phage

Offline techb

  • Soy Sauce Feeler
  • Global Moderator
  • King
  • *
  • Posts: 2350
  • Cookies: 345
  • Aliens do in fact wear hats.
    • View Profile
    • github
Re: switching drives in terminal Help
« Reply #10 on: 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.
>>>import this
-----------------------------

Offline proxx

  • Avatarception
  • Global Moderator
  • Titan
  • *
  • Posts: 2803
  • Cookies: 256
  • ФФФ
    • View Profile
Re: switching drives in terminal Help
« Reply #11 on: 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,
« Last Edit: September 29, 2014, 10:20:32 pm by proxx »
Wtf where you thinking with that signature? - Phage.
This was another little experiment *evillaughter - Proxx.
Evilception... - Phage