Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-07-2011, 11:31 PM   #1
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?

Old 06-07-2011, 11:43 PM   #2
LQ Guru
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,298

Rep: Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386
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
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
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.


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
[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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:38 AM.

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