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.
4 hrs later ive decided to seek professional help :s ... ok heres the deal ..
Ive just installed ubuntu, got 2 drives, one 40 the other 80 ... ubuntu is on the 40 no probs will swap partition etc ...
The 80 was used as data stoarge back when windows was on the 40, so its NTFS ..
Being that i wish to write to this drive, ive been trying to format into FAT32 (or similar filesystem readable by linux) with 0 success :s ..
I can mount it fine, read it and execute it but cant write, so i followed these steps:
fdisk /dev/hdb1
I get that warning about my number of cylinders exceeding 1024 etc..
n (new partition)
p, 1 (Primary 1 .... btw im only wanting a single partition here as a dump for storage)
default first cylinder and last cylinder (last cylinder appears to default as max)
w (write partition)
then i get a (not so friendly) error 22: invalid argument message that states:
WARNING: Re-reading the partition table failed with error 22:Invalid argument,
The kernel still uses old table
The new table will be used at next reboot.
Syncing disks.
I called bluff and was right, a reboot solved nothing and i was left with the ntfs partition ...
HELP !!! ..
edit: mkdosfs had no effect on this for some reason ... did it after and before partitioning .. not sure if this is used for such cases though
From fdisk's main menu what is the output of the p command (print)? Only thing I can figure here is fdisk is coming up with some illogical head/sector/cylinder information.
I'm stumped here... cfdisk says there is a Solaris partition? I wonder if a low-level format would save you here... though I hate to suggest that as it could destroy the drive completely.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.