LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 09-18-2009, 07:54 PM   #16
vin_akleh
LQ Newbie
 
Registered: Sep 2009
Posts: 19

Original Poster
Rep: Reputation: 0
Exclamation


still cant sort it out can any one tell me what is this and how to sort it out????
Code:
bt ~ # dmesg | tail
hub 1-2:1.0: USB hub found
hub 1-2:1.0: 7 ports detected
usb 1-1: reset full speed USB device using uhci_hcd and address 5
usb 1-1: reset full speed USB device using uhci_hcd and address 5
usb 1-1: reset full speed USB device using uhci_hcd and address 5
usb 1-1: reset full speed USB device using uhci_hcd and address 5
usb 1-1: reset full speed USB device using uhci_hcd and address 5
scsi 5:0:0:0: scsi: Device offlined - not ready after error recovery
usb-storage: device scan complete
eth0: link up
 
Old 09-19-2009, 02:56 AM   #17
unev_21
Member
 
Registered: Mar 2009
Distribution: Ubuntu
Posts: 51

Rep: Reputation: 16
Change to root and execute
cfdisk /dev/sda

Hopefully, it helps...
 
Old 09-19-2009, 03:00 AM   #18
unev_21
Member
 
Registered: Mar 2009
Distribution: Ubuntu
Posts: 51

Rep: Reputation: 16
Talking

Quote:
Originally Posted by vin_akleh View Post
still cant sort it out can any one tell me what is this and how to sort it out????
Code:
bt ~ # dmesg | tail
hub 1-2:1.0: USB hub found
hub 1-2:1.0: 7 ports detected
usb 1-1: reset full speed USB device using uhci_hcd and address 5
usb 1-1: reset full speed USB device using uhci_hcd and address 5
usb 1-1: reset full speed USB device using uhci_hcd and address 5
usb 1-1: reset full speed USB device using uhci_hcd and address 5
usb 1-1: reset full speed USB device using uhci_hcd and address 5
scsi 5:0:0:0: scsi: Device offlined - not ready after error recovery
usb-storage: device scan complete
eth0: link up
This wouldn't help you...you are only reading the last 10 lines of dmesg...
You can try
Code:
dmesg | grep sda
to check the status of your hard drive
 
Old 09-19-2009, 09:45 AM   #19
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,899
Blog Entries: 27

Rep: Reputation: 2186Reputation: 2186Reputation: 2186Reputation: 2186Reputation: 2186Reputation: 2186Reputation: 2186Reputation: 2186Reputation: 2186Reputation: 2186Reputation: 2186
Hi,

Quote:
Originally Posted by vin_akleh View Post
fdisk -l :-
Code:
Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xfd62fd62

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1       12971   104189526    7  HPFS/NTFS
/dev/sda2           12972       27283   114961140    f  W95 Ext'd (LBA)
/dev/sda3           27284       38913    93417975    7  HPFS/NTFS
/dev/sda5           12972       25942   104189526    7  HPFS/NTFS
/dev/sda6           25943       27283    10771551   83  Linux

Disk /dev/sdb: 2097 MB, 2097152000 bytes
65 heads, 62 sectors/track, 1016 cylinders
Units = cylinders of 4030 * 512 = 2063360 bytes
Disk identifier: 0xffffffff

Disk /dev/sdb doesn't contain a valid partition table
root@waleed-laptop:~# fdisk /dev/sdb
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel with disk identifier 0x4961decd.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won't be recoverable.

Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
can u tell me what to do from there to make it one partition??
i think that the usb drive is sdb
When you were here in 'fdisk /dev/sdb' you can do a 'p' to see the partition(s). You know that you want to delete all the current partitions on this USB so use the 'd' command and delete each partition listed from the 'p' output. You can then create a new partition with 'n' key. You can press 'p' for primary then return, select '1' then default returns for suggestions. Once you have the partition table setup then press 'p' to see it again. At any command input you can do a 'm' for menu. You need to set your partition type to 'FAT' then select 't' for type then 'l' for list. You want type 'c' for FAT32 or whatever your filesystem will be.

After that press 'p' to confirm your settings. If correct then press 'w' to write the partition table. After the write you will exit then you will either re-boot or 'partprobe' to update the kernel partition table. You can now format the stick.
 
  


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
Mounting a USB Flash Disk jnbalneg Linux - General 1 04-18-2006 07:50 PM
USB flash disk taoweijia Linux - Hardware 2 12-28-2005 05:30 AM
USB flash disk help bakazer Solaris / OpenSolaris 1 06-24-2005 10:30 AM
USB Flash Disk zillah Fedora 3 05-22-2005 04:25 AM
USB flash disk. ValidiusMaximus Linux - Software 0 12-30-2004 03:45 PM

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

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