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.
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.
Hello, can anyone show me how to repartition and format my external drives. To date, I have only done this when reinstalling the OS.
I have two external usb drives, sdb and sdc. sdb is using ext3 and the other unpartitioned. I want to repartition the latter with ext3. Could someone show me how to do this?
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x294599de
Device Boot Start End Blocks Id System
/dev/sda1 1 1402 11261533+ 12 Compaq diagnostics
/dev/sda2 1403 15918 116592640 7 HPFS/NTFS
/dev/sda3 15919 16403 3895762+ 82 Linux swap / Solaris
/dev/sda4 * 16404 30401 112438935 83 Linux
Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000b66d6
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 19457 156288321 83 Linux
Disk /dev/sdc: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000bbebb
Device Boot Start End Blocks Id System
/dev/sdc1 2 38913 312560640 f W95 Ext'd (LBA)
/dev/sdc5 2 38913 312560608+ 83 Linux
siawash@linux-s53f:~>
siawash@linux-s53f:~>
*************************************************************************
Thanks pljvaldez. cfdisk repartitioned my drive with type 83 as general Linux fs. There was no option to for ext3 specifically.
catkin, that command mkfs.ext3 is not showing which drive we are referring to. Is it :
mkfs.ext3 /dev/sdc ???
Thanks
Not quite correct but on the right lines. mkfs.ext3 /dev/sdc1 (or whatever the name of the new partition was as shown by cfdisk). /dev/sdc is the whole disk, /dev/sdc<n> are the partitions on the disk, so you used cfdisk /dev/sdc because you wanted to work with that whole disk but you want to create the file system in one of its partitions.
It's a linux livecd that specializes in gparted and other useful utilities. It greatly simplifies partitioning operations and is a useful cd to have in your kit.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.