Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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 everyone.I meet a problem:
my os is centos5.5.I have a new mobile harddisk.I use "fdisk" to create partition.It success.But when I use "w" comand to write information to my disk. It prompt "unable to write to /dev/sda".But when I create partition under WinXp,It successed.As I known,This disk's sector size is 4096.How can solve this problem?
Thank you.
Last edited by Young_zhang; 11-28-2011 at 01:56 AM.
Saying that you have a new "mobile" hard drive, is it the primary drive that you are working off of? I ask because since the error is relating to sda, normally sda is the primary drive being used, and it would make sense, since it is most likely being using. After plugging in your hard drive, could you run the following and post the results for me, using code tags? Thanks!
the partition is not mounted.
I know this question is because of "sector size".this disk's sector size is 4096 as normal is 512.but i don't know how to solve it.
Can I ask what the current file system is on the hard drive? If it is NTFS, then you won't be able to do what you are doing, unless you fully format the hard drive first. Also, you are running fdisk as your normal user, or root?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.