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.
I have a strange scenario where I have a HDD which I can't format under linux. I tried both ubuntu and unraid distributions. The SATA HDD is using a usb to sata 5bay enclosure. The HDD is being detected correctly fdisk -l shows the disk correctly but when I try to format it just loops and no progress is done. I just can see the following error.
Unaligned partial completion
With Windows and Mac OSX the disk is formatted and partition created in both MBR and GTP mode.
Any ideas on what may be the issue as this is perplexing me abit.
With Ubuntu I tried DD the drive
dd if=/dev/zero of=/dev/sdi count=1 bs=512
and
dd if=/dev/zero of=/dev/sdi count=1 bs=4096
I also tried
GPARTED and No Progress (seems like it crashes) and also the Disk utility which comes with UBUNTU it remains 0.0%.
All the above options didn't work.
Would appreciate any help. Unfortunately I can't connect the SATA drive directly.
Check the output of dmesg command to see if there are any errors for /dev/sdi.
You can not even partition the disk from the command line using fdisk or gdisk?
What version of Ubuntu are you running?
What is the make/model number of the enclosure?
Check the output of dmesg command to see if there are any errors for /dev/sdi.
You can not even partition the disk from the command line using fdisk or gdisk?
What version of Ubuntu are you running?
What is the make/model number of the enclosure?
You could always sidestep the whole issue, and put the drive directly in your machine, and format/mkfs directly, then shove it back into the enclosure.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.