LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-18-2008, 11:14 PM   #1
lakedude
Member
 
Registered: Jun 2005
Distribution: Puppy, Sabayon
Posts: 141

Rep: Reputation: 16
With 2 bootable drives in one system, view files on non-boot drive??


I normally store documents in the "my-documents" folder located at /root/my-documents or ~/my-documents. These files are visible when you boot from the drive but they do not seem to be viewable if you boot from a different drive. How can you view files in the my-documents folder if you boot from a different drive (or a live CD)?

Everything I searched for came back with results on how to view ext2/3 files from Windows which isn't what I'm asking...

Last edited by lakedude; 11-18-2008 at 11:15 PM.
 
Old 11-18-2008, 11:39 PM   #2
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
You would have to mount that drive. and you might not be able to see inside ~/ unless your root or see in /root/ at all.
 
Old 11-18-2008, 11:49 PM   #3
lakedude
Member
 
Registered: Jun 2005
Distribution: Puppy, Sabayon
Posts: 141

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by johnson_steve View Post
You would have to mount that drive.
I'm pretty sure that the distros I use auto mount. You can see some files but not ~/my-documents.
Quote:
Originally Posted by johnson_steve View Post
and you might not be able to see inside ~/ unless your root or see in /root/ at all.
So I need to log in as root?
 
Old 11-19-2008, 01:00 AM   #4
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
Quote:
Originally Posted by lakedude View Post
I'm pretty sure that the distros I use auto mount. You can see some files but not ~/my-documents. So I need to log in as root?
The only way to know for sure is to check the output of the 'mount' command and see what's mounted. a normal user should never be able to see inside root's home directory and you shouldn't be keeping documents there either it's bad practice. even if you have the same user name on the 2 systems you could have another user id number so you wouldn't be able to look inside another users home directory. while you may or may not be able to get at your files as root this is a bad practice. What you should do is make a documents folder somewhere like '/home/shared' or something and make that folder read/writeable by all users. then you will be able to read it from either linux system without a problem.
 
  


Reply


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
cannot view files on cruzer usb drive, transferring from slax to xp jmp875 Linux - Newbie 8 08-23-2005 06:13 AM
Possible to view files on a second NTFS hard drive? partyk1d24 Linux - Software 1 06-23-2005 03:03 PM
CD drive won't boot bootable disks kdr1066 Linux - Hardware 4 02-05-2005 04:44 PM
Mounting two bootable Linux drives on the same system dwmorton Linux - Newbie 6 09-27-2004 10:40 PM
Hard drive partitioned and cannot view files Johnny2003 Linux - Newbie 4 01-20-2004 08:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:00 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