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-07-2014, 09:14 AM   #1
sryzdn
Member
 
Registered: Feb 2013
Posts: 273

Rep: Reputation: 9
how to find usb drive in text mode


I have fedora 20 64bit and for unknown reason I cannot boot on graphical mode.


I have very important files for my project there. How can I copy those files to my USB flash. How can I find my USB in the text mode.

I really need urgent help!
 
Old 11-07-2014, 09:45 AM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,561

Rep: Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127
"df -h" to print out all mounted drives. If the USB drive is there, it will tell you the mount path, otherwise use "fdisk -l" to print out all attached drives, find the one you want, and mount it somewhere, eg: "mkdir /mnt/mydrive; mount /dev/sdb1 /mnt/mydrive"

Last edited by suicidaleggroll; 11-07-2014 at 09:46 AM.
 
Old 11-07-2014, 10:08 AM   #3
sryzdn
Member
 
Registered: Feb 2013
Posts: 273

Original Poster
Rep: Reputation: 9
Quote:
Originally Posted by suicidaleggroll View Post
"df -h" to print out all mounted drives. If the USB drive is there, it will tell you the mount path, otherwise use "fdisk -l" to print out all attached drives, find the one you want, and mount it somewhere, eg: "mkdir /mnt/mydrive; mount /dev/sdb1 /mnt/mydrive"
df -h does not return sdb, which is the flash drive. Also fdisk -l return absolutely NOTHING!

when I attach the flash, a message like this appears:

Quote:
[3404.711140] sd 11:0:0:0: [sdb] No caching mode page found
[3404.711140] sd 11:0:0:0: [sdb] Assuming drive cache: write through
 
Old 11-07-2014, 10:14 AM   #4
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,579

Rep: Reputation: 220Reputation: 220Reputation: 220
Try booting up with the linux livecd of your choice. From there you can mount your fedora partition and usb drive and copy the files you need.
 
Old 11-07-2014, 10:29 AM   #5
sryzdn
Member
 
Registered: Feb 2013
Posts: 273

Original Poster
Rep: Reputation: 9
Quote:
Originally Posted by kilgoretrout View Post
Try booting up with the linux livecd of your choice. From there you can mount your fedora partition and usb drive and copy the files you need.
Not easy for me as a newbie. I tried to boot up the rescue mode from the dvd but still the gui does not show up I have to go to textmode
 
Old 11-07-2014, 10:37 AM   #6
sryzdn
Member
 
Registered: Feb 2013
Posts: 273

Original Poster
Rep: Reputation: 9
the command blkid shows me the following result:
Quote:
dev/sdb1: LABEL="HP ..." UUID="..." TYPE="vfat" PARTUUID="..."
how can I find the path to the usb now?
 
Old 11-07-2014, 10:39 AM   #7
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,561

Rep: Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127
Quote:
Originally Posted by sryzdn View Post
df -h does not return sdb, which is the flash drive. Also fdisk -l return absolutely NOTHING!
You need to run fdisk and mount as root.
 
Old 11-07-2014, 10:47 AM   #8
sryzdn
Member
 
Registered: Feb 2013
Posts: 273

Original Poster
Rep: Reputation: 9
Quote:
Originally Posted by suicidaleggroll View Post
You need to run fdisk and mount as root.
I did them as root and found sdb and sdb1. But I receive the following as result:
Quote:
# mount /dev/sdb
mount: can't find /dev/sdb in /etc/fstab
 
Old 11-07-2014, 10:51 AM   #9
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,561

Rep: Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127Reputation: 2127
Quote:
Originally Posted by sryzdn View Post
I did them as root and found sdb and sdb1. But I receive the following as result:
Because that's not the right mount command. Please see post #2.
 
1 members found this post helpful.
Old 11-07-2014, 10:58 AM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.4 + 50+ other Linux OS, for test only.
Posts: 16,756

Rep: Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329
#2 .

? Better : # mount -t auto /dev/sdb1 /mnt/mydrive
 
1 members found this post helpful.
Old 11-07-2014, 11:03 AM   #11
sryzdn
Member
 
Registered: Feb 2013
Posts: 273

Original Poster
Rep: Reputation: 9
Quote:
Originally Posted by suicidaleggroll View Post
Because that's not the right mount command. Please see post #2.
SOLVED. Thanks 1000 times
 
  


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
why does my usb drive mount read only mode unix1adm Ubuntu 10 11-30-2013 04:35 PM
[SOLVED] Help! Made a Centos live CD, now in text mode on hard drive. what now? aletta Linux - Newbie 5 02-02-2012 11:09 PM
Linux Newbie: Graphical or text mode? and where to find complete and free guide? LinuxNewbie81 Linux - Newbie 6 10-18-2010 07:54 AM
Fedora 9 usb boots into text mode, not the gui... dwizzle13 Fedora 5 08-17-2008 08:26 PM
How to find that Hard Drive is in degraged mode ? nitinkushwah Linux - Hardware 1 12-03-2006 06:50 AM

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

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