Linux - HardwareThis 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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Can someone tell me how to format an installed usb drive. I want to make maximum use of it. I can use it, but the OS (Suse 9.3) can not tell me how much space is available. So, I'd like to format it.
Thanks.
Repartitioning the USB memory
Sometimes the stick is seperated in up to four partitions, and Linux can't read anything. To fix this you have to repartition the stick with fdisk. Make sure that there are no files left on the stick (if you used it before in Windows, Mac OS or anywhere else). Type:
# modprobe usb_storage
# fdisk /dev/sda
Delete all available partitions (d and partition number), create a new partition with n (I would suggest you use a single partition), press q to write everything and quit.
but I think I need a little more help, if you'd be so generous.
First, I'm installing a USB drive, not a stick (if that makes any difference). It's an 80 gig external drive.
Second, it's base URL is: file:////media/usbdisk
Third, its device node is: /dev/sda5
When I do what you told me to do, it tells me that the max size of my partition is 9962. Can I make it bigger than that?
Also, after deleting the partitions, if I choose "q" it'll quit WITHOUT saving the changes. How do I save the changes?
To save the changes after you've deleted/changed anything with fdisk, choose 'w' to Write the changes to disk. It will probably tell you to reboot, but if you've not changed a disk that's actively being used at the moment you can most likely ignore that.
Once you've saved the changes, press 'q' to Quit.
Edit: Incidentally, typing 'm' will bring up a small menu with all the fdisk commands and their descriptions. That might help for future dealings with fdisk
Last edited by rose_bud4201; 05-27-2005 at 09:40 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.