LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 08-11-2009, 10:49 AM   #1
wedge40
LQ Newbie
 
Registered: May 2005
Posts: 20

Rep: Reputation: 0
I created a mess?


Installed Fedora 11, I was playing with the volume management thing trying to mount the second hard drive I have. Click a button here, clicked a button there and rebooted. The machine boots ok, but once booted and logged in as a user it cannot open a GUI file explorer.. I can open a shell and move around just fine but the gui dont work. I can even run email and web browser.

What I would like to do is mount an external USB hard drive and backup my email and then start the whole process over.

Wedge
 
Old 08-12-2009, 03:54 AM   #2
corbintechboy
Member
 
Registered: Sep 2003
Location: Kentucky
Posts: 480
Blog Entries: 1

Rep: Reputation: 51
Quote:
Originally Posted by wedge40 View Post
Installed Fedora 11, I was playing with the volume management thing trying to mount the second hard drive I have. Click a button here, clicked a button there and rebooted. The machine boots ok, but once booted and logged in as a user it cannot open a GUI file explorer.. I can open a shell and move around just fine but the gui dont work. I can even run email and web browser.

What I would like to do is mount an external USB hard drive and backup my email and then start the whole process over.

Wedge
$ lsusb
$ mkdir /mnt/usb
$ mount /dev/(result from lsusb) /mnt/usb
$ cp /directory/of/email /mnt/usb
$ umount /dev/(result from lsusb)

Remove drive and "start the whole process over".

Last edited by corbintechboy; 08-12-2009 at 03:58 AM.
 
Old 08-12-2009, 04:06 AM   #3
vishesh
Member
 
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66
use
#fdisk -l

Now find device file for your usb hard disk (/dev/sda or /dev/sdb or /dev/sdc or /dev/sdd)
suppose it is /dev/sdb
$ mkdir /mnt/usb
$ mount /dev/sdb/ /mnt/usb
$ cp /directory/of/email /mnt/usb
$ umount /dev/sdb

thanks
 
Old 08-12-2009, 04:46 AM   #4
corbintechboy
Member
 
Registered: Sep 2003
Location: Kentucky
Posts: 480
Blog Entries: 1

Rep: Reputation: 51
Quote:
Originally Posted by vishesh View Post
use
#fdisk -l

Now find device file for your usb hard disk (/dev/sda or /dev/sdb or /dev/sdc or /dev/sdd)
suppose it is /dev/sdb
$ mkdir /mnt/usb
$ mount /dev/sdb/ /mnt/usb
$ cp /directory/of/email /mnt/usb
$ umount /dev/sdb

thanks
LMAO... How orginal... Copy my commands given and insert your assumptions.

lsusb prints and output like so:

Code:
Bus 002 Device 002: ID 058f:6377 Alcor Micro Corp. Multimedia Card Reader
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 046d:c016 Logitech, Inc. M-UV69a/HP M-UV96 Optical Wheel Mouse
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
fdisk -l on my machine gives this:

Code:
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xcf07840f

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        3039    24410736   83  Linux
/dev/sda2            3040       60801   463973265    5  Extended
/dev/sda5            3040        3525     3903763+  82  Linux swap
/dev/sda6            3526       60801   460069438+  83  Linux

WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The uti't support GPT. Use GNU Parted.


Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x751ff793
The latter really does not show my usb devices... But it does show my SATA drive .
 
Old 08-12-2009, 05:18 AM   #5
vishesh
Member
 
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66
It seem that /dev/sdb has no partition, create partition using fdisk
#fdisk /dev/sdb
..n

..
after that

$ mkdir /mnt/usb
$ mount /dev/sdb1/ /mnt/usb
$ cp /directory/of/email /mnt/usb
$ umount /dev/sdb1

thanks
 
Old 08-12-2009, 05:25 AM   #6
corbintechboy
Member
 
Registered: Sep 2003
Location: Kentucky
Posts: 480
Blog Entries: 1

Rep: Reputation: 51
Quote:
Originally Posted by vishesh View Post
It seem that /dev/sdb has no partition, create partition using fdisk
#fdisk /dev/sdb
..n

..
after that

$ mkdir /mnt/usb
$ mount /dev/sdb1/ /mnt/usb
$ cp /directory/of/email /mnt/usb
$ umount /dev/sdb1

thanks
/dev/sdb is a NTFS partition...LOL not the point. Just WOW and LOL!
 
Old 08-12-2009, 05:32 AM   #7
wedge40
LQ Newbie
 
Registered: May 2005
Posts: 20

Original Poster
Rep: Reputation: 0
Thanks

Got it to work last night after doing a little more research. Not sure when I'll get around to re-install.
I still have to figure out how to mount the second hard drive automatically.

Wedge
 
  


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
.tcshrc mess up carrots Linux - Newbie 4 09-03-2008 09:21 PM
I mess up leveex Slackware 1 12-11-2006 05:30 AM
Got a little mess here.... Mathius Linux - Newbie 6 11-03-2006 12:14 AM
Where Did I mess Up? xsithlordx Ubuntu 1 09-09-2006 11:15 PM
How do I tell YOU not to mess my xine? bruno buys Linux - Distributions 4 06-03-2004 08:58 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration