LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 06-07-2011, 11:31 PM   #1
archieval
Member
 
Registered: Apr 2007
Location: Philippines
Distribution: Kubuntu, Ubuntu, CentOS
Posts: 289

Rep: Reputation: 41
How access other files in a bootable linux usb flashdrive?


I made a linux bootable usb flash drive. When I browse that usb flash drive in windows, it has a boot folder and inside it is the grub folder. Then I put a file in the flash drive in the same directory level as the boot folder. How can I access that file when I boot the usb flash drive in the other computer? When I am in the linux shell already?

Regards,
archieval
 
Old 06-07-2011, 11:43 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,492

Rep: Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488
What other computer?
Another machine with a Linux distribution installed? Access to do what? Read? Edit? Do you mean a file in the /boot directory or the / directory? If you have a file in /boot named file you would just do: cat /boot/file to read it. To edit you would open a text editor and navigate to it. You don't indicate which distribution of Linux you are using and there are numerous text editors and they vary with the distribution. Might be helpful if you indicated what you are trying to do.
 
Old 06-08-2011, 12:33 AM   #3
archieval
Member
 
Registered: Apr 2007
Location: Philippines
Distribution: Kubuntu, Ubuntu, CentOS
Posts: 289

Original Poster
Rep: Reputation: 41
machine 1 = windows
machine 2 = no OS

I can access the content of my bootable linux usb flash drive in machine 1. Then I placed a text file in the flash drive.

Now in order to boot machine 2, I will insert the bootable linux usb in that so that it will boot in linux. Now how can I access the file inside the flash drive in machine 2 when the flash drive itself was used to boot it up?
 
Old 06-08-2011, 02:30 AM   #4
headrift
Member
 
Registered: Sep 2005
Distribution: Gentoo, Sabayon, Puppy, Arch
Posts: 165

Rep: Reputation: 29
It depends on the distribution you're using as to where the USB drive gets mounted, if at all.

You can, once in Linux:

grep sd /etc/mtab

...which will tell you which removable drives are attached and where they're mounted. Your USB drive will probably be in that list.

If your USB drive isn't in that list, it should be safe to mount it anywhere.

After that, the file would be in the root of the directory where the drive is mounted.
 
1 members found this post helpful.
  


Reply



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
[SOLVED] burn bootable cd from bootable flashdrive bluegospel Slackware 2 04-03-2010 01:24 PM
Installing Clamav and Clamtk to a bootable flashdrive gcmhmedic17 Linux - Newbie 1 03-10-2010 06:05 PM
need help mounting and copying files to usb flashdrive l3it Linux - Hardware 1 07-19-2009 08:55 AM
USB flashdrive access with user account?? servnov Linux - General 1 08-30-2005 10:04 AM

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

All times are GMT -5. The time now is 04:32 AM.

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
Open Source Consulting | Domain Registration