LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 05-23-2006, 11:28 AM   #1
kalleanka
Member
 
Registered: Aug 2003
Location: Mallorca, Spain
Distribution: xubuntu
Posts: 547

Rep: Reputation: 38
USB-stick 1TB


These usb-sticks allway gets F**ked up after using them on windows. Now i had a 1 Gb stick and after using it with XP I could not delete the files being root. So I wanted to reformat the stick and that did not work. And then I tried to use the dd command and writing zeros on the stick to reformat it. So now I got a stick that shows that it got 1 Terabyte and I am not able to format it.


I will never again help anyone with windows. Always truble.

Any one got this problem?


And another thing: Why cant I write to a harddisk being root and haveing set all permission?
 
Old 05-23-2006, 12:48 PM   #2
kalleanka
Member
 
Registered: Aug 2003
Location: Mallorca, Spain
Distribution: xubuntu
Posts: 547

Original Poster
Rep: Reputation: 38
I see that this hapend to some people. Well I got the stick reconized by fdisk by rebooting. I tried to limit the stick to 1 Gb but no luck. How does the computer reconize the size of the stick when its not formated?
 
Old 05-24-2006, 06:13 AM   #3
kalleanka
Member
 
Registered: Aug 2003
Location: Mallorca, Spain
Distribution: xubuntu
Posts: 547

Original Poster
Rep: Reputation: 38
Ok I realised my mistak I should have set the usrid usrgrupid bits to be able to read/write files. ANd now i erased every thing on the stick. I hope I will figure out how to fix it.
 
Old 05-24-2006, 06:56 AM   #4
imagineers7
Member
 
Registered: Mar 2006
Distribution: BackTrack, RHEL, FC, CentOS, IPCop, Ubuntu, 64Studio, Elive, Dream Linux, Trix Box
Posts: 310

Rep: Reputation: 30
Hey,

Can you help me out in using usbstick?
When I connect it, it starts blinking but no further use.
What should I do?
 
Old 05-24-2006, 07:01 AM   #5
imagineers7
Member
 
Registered: Mar 2006
Distribution: BackTrack, RHEL, FC, CentOS, IPCop, Ubuntu, 64Studio, Elive, Dream Linux, Trix Box
Posts: 310

Rep: Reputation: 30
Kaleanka,

I am posting outputs of lsusb and lsmod still I am unable to figure out how to use it!

[root@shakti ~]# lsusb
[root@shakti ~]# lsmod
Module Size Used by
vfat 11136 0
fat 38624 1 vfat
usb_storage 58432 0
sunrpc 129028 1
vznetdev 12480 1
vzmon 41664 1 vznetdev
vzdev 1792 2 vznetdev,vzmon
af_packet 16360 0
thermal 10096 0
processor 10244 1 thermal
fan 2668 0
button 4408 0
battery 7052 0
asus_acpi 8920 0
ac 3084 0
uhci_hcd 28656 0
ehci_hcd 25604 0
usbcore 100356 5 usb_storage,uhci_hcd,ehci_hcd
8139too 20160 0
mii 3808 1 8139too
floppy 54192 0
ide_cd 36800 0
cdrom 37212 1 ide_cd


Its showing usbcore and usbstorage but I dont know how can I use it.

Please help me out


Thanks in advance
 
Old 05-24-2006, 07:24 AM   #6
imagineers7
Member
 
Registered: Mar 2006
Distribution: BackTrack, RHEL, FC, CentOS, IPCop, Ubuntu, 64Studio, Elive, Dream Linux, Trix Box
Posts: 310

Rep: Reputation: 30
Had forgot to post output of lspci:-

[root@shakti usb]# lspci
00:00.0 Host bridge: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 03)
00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 82)
00:1f.0 ISA bridge: Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801DB (ICH4) IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 02)
01:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
 
Old 05-24-2006, 07:42 AM   #7
imagineers7
Member
 
Registered: Mar 2006
Distribution: BackTrack, RHEL, FC, CentOS, IPCop, Ubuntu, 64Studio, Elive, Dream Linux, Trix Box
Posts: 310

Rep: Reputation: 30
Hello everyone,

Got this after booting with another kernel:-

[root@shakti usb]# uname -r
2.6.15-1.1831_FC4
[root@shakti usb]# lsusb
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 002: ID 058f:6387 Alcor Micro Corp.
Bus 001 Device 001: ID 0000:0000


now /proc/bus/usb has two new dirs and a devices file

But what can I do with them?
as /dev/ does not contain sda*

Thanks in advance
 
Old 05-24-2006, 11:15 AM   #8
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642

Rep: Reputation: 69
Are you mounting the USB drive? Plug in the USB, then run
Code:
fdisk -l
Note that's a lowercase "L". The USB device should show as something like /dev/sda or /dev/sdb, etc. Whatever it is, you'd then need to
Code:
mount /dev/sdx1 <mountpoint>
where "x" is the device letter and <mountpoint> is your mount point, eg, /mnt/usb or whatever.
 
Old 05-25-2006, 05:45 AM   #9
kalleanka
Member
 
Registered: Aug 2003
Location: Mallorca, Spain
Distribution: xubuntu
Posts: 547

Original Poster
Rep: Reputation: 38
J.W.

got good edvice. Try it and if it does not work post again.
 
Old 05-25-2006, 05:49 AM   #10
kalleanka
Member
 
Registered: Aug 2003
Location: Mallorca, Spain
Distribution: xubuntu
Posts: 547

Original Poster
Rep: Reputation: 38
OK I get this on the command fdisk -l

Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 1655 13293756 83 Linux
/dev/hda2 1656 4865 25784293+ 5 Extended
/dev/hda5 1725 2240 4144738+ 83 Linux
/dev/hda6 2880 3759 7068568+ 83 Linux
/dev/hda7 2241 2879 5132736 83 Linux
/dev/hda8 3760 4014 2048256 83 Linux
/dev/hda9 1656 1724 554211 82 Linux swap / Solaris
/dev/hda10 4015 4865 6835626 83 Linux

Partition table entries are not in disk order

Disk /dev/sda: 1099.5 GB, 1099511889920 bytes <---- this is strange and my problem
16 heads, 32 sectors/track, 4194305 cylinders
Units = cylinders of 512 * 512 = 262144 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 4194305 1073742079+ 6 FAT16


How do I chang this? I hope I found out later since I am curriuos.

a tera byte on a stick - a world record?

Last edited by kalleanka; 05-25-2006 at 05:52 AM.
 
Old 05-25-2006, 01:03 PM   #11
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642

Rep: Reputation: 69
Have you tried simply dropping the partition, and then recreating it?
 
Old 05-26-2006, 05:12 AM   #12
kalleanka
Member
 
Registered: Aug 2003
Location: Mallorca, Spain
Distribution: xubuntu
Posts: 547

Original Poster
Rep: Reputation: 38
J.W yes i have in fdisk, cfdisk, sfdisk etc but the same. The question is how does fdisk know the size of a blank disk? I think its something set from the plant and I think I destroyed that part. So how do I set it?
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mount/umount usb stick - PQI Intelligent Stick 2.0 sandbag Linux - Software 5 05-06-2005 11:12 AM
USB-Stick? Please help GSX Debian 7 02-16-2005 02:12 AM
usb stick freeindy Linux - Hardware 2 09-04-2004 12:13 PM
USB problems: Memorex USB stick 256MB and PSX to USB adapter by Radio Shack Knuckles T15 Linux - Hardware 1 05-19-2004 06:58 PM
USB-Stick/usb-storage JC_at_LQ Linux - General 2 07-14-2003 06:56 AM


All times are GMT -5. The time now is 06:21 PM.

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