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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-23-2006, 12:28 PM
|
#1
|
Member
Registered: Aug 2003
Location: Mallorca, Spain
Distribution: xubuntu
Posts: 551
Rep:
|
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?
|
|
|
05-23-2006, 01:48 PM
|
#2
|
Member
Registered: Aug 2003
Location: Mallorca, Spain
Distribution: xubuntu
Posts: 551
Original Poster
Rep:
|
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?
|
|
|
05-24-2006, 07:13 AM
|
#3
|
Member
Registered: Aug 2003
Location: Mallorca, Spain
Distribution: xubuntu
Posts: 551
Original Poster
Rep:
|
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.
|
|
|
05-24-2006, 07:56 AM
|
#4
|
Member
Registered: Mar 2006
Distribution: BackTrack, RHEL, FC, CentOS, IPCop, Ubuntu, 64Studio, Elive, Dream Linux, Trix Box
Posts: 310
Rep:
|
Hey,
Can you help me out in using usbstick?
When I connect it, it starts blinking but no further use.
What should I do?
|
|
|
05-24-2006, 08:01 AM
|
#5
|
Member
Registered: Mar 2006
Distribution: BackTrack, RHEL, FC, CentOS, IPCop, Ubuntu, 64Studio, Elive, Dream Linux, Trix Box
Posts: 310
Rep:
|
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
|
|
|
05-24-2006, 08:24 AM
|
#6
|
Member
Registered: Mar 2006
Distribution: BackTrack, RHEL, FC, CentOS, IPCop, Ubuntu, 64Studio, Elive, Dream Linux, Trix Box
Posts: 310
Rep:
|
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)
|
|
|
05-24-2006, 08:42 AM
|
#7
|
Member
Registered: Mar 2006
Distribution: BackTrack, RHEL, FC, CentOS, IPCop, Ubuntu, 64Studio, Elive, Dream Linux, Trix Box
Posts: 310
Rep:
|
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
|
|
|
05-24-2006, 12:15 PM
|
#8
|
LQ Veteran
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642
Rep:
|
Are you mounting the USB drive? Plug in the USB, then run
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.
|
|
|
05-25-2006, 06:45 AM
|
#9
|
Member
Registered: Aug 2003
Location: Mallorca, Spain
Distribution: xubuntu
Posts: 551
Original Poster
Rep:
|
J.W.
got good edvice. Try it and if it does not work post again.
|
|
|
05-25-2006, 06:49 AM
|
#10
|
Member
Registered: Aug 2003
Location: Mallorca, Spain
Distribution: xubuntu
Posts: 551
Original Poster
Rep:
|
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 06:52 AM.
|
|
|
05-25-2006, 02:03 PM
|
#11
|
LQ Veteran
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642
Rep:
|
Have you tried simply dropping the partition, and then recreating it?
|
|
|
05-26-2006, 06:12 AM
|
#12
|
Member
Registered: Aug 2003
Location: Mallorca, Spain
Distribution: xubuntu
Posts: 551
Original Poster
Rep:
|
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?
|
|
|
All times are GMT -5. The time now is 08:32 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|