LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 08-05-2005, 04:15 AM   #1
Bi0mic
LQ Newbie
 
Registered: Feb 2004
Location: Sydney
Distribution: Fedora Core 1
Posts: 14

Rep: Reputation: 0
Formatting NTFS Filesystem


Hey all ...

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

Last edited by Bi0mic; 08-05-2005 at 04:16 AM.
 
Old 08-05-2005, 04:19 AM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Did you remove all the partitions on the disk before you created the new partition?
 
Old 08-05-2005, 04:25 AM   #3
Bi0mic
LQ Newbie
 
Registered: Feb 2004
Location: Sydney
Distribution: Fedora Core 1
Posts: 14

Original Poster
Rep: Reputation: 0
thanks for the quick response ... and yep, the disk was completely clear before creating the new partition
 
Old 08-05-2005, 04:28 AM   #4
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
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.
 
Old 08-05-2005, 04:33 AM   #5
Bi0mic
LQ Newbie
 
Registered: Feb 2004
Location: Sydney
Distribution: Fedora Core 1
Posts: 14

Original Poster
Rep: Reputation: 0
Disk /dev/hpb1: 80.0 GB, 80015491584 bytes
16 heads, 63 sectors/track,155039 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Device Boot Start End Blocks Id System

got a bad feeling ive fsuked something right up now aswell .. tried cfdisking it and now it thinks its a solaris partition :|
 
Old 08-05-2005, 06:02 AM   #6
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Formatting old NTFS partitions... Frank Zappa Fedora 2 08-04-2005 12:31 AM
formatting ext3 to ntfs aciesd Linux - Laptop and Netbook 4 07-03-2005 10:38 AM
Formatting an NTFS partition under FC4? KiLLaWaBBiT Linux - Software 4 07-01-2005 06:45 PM
Problems formatting NTFS partition ElPuello Linux - Hardware 3 11-01-2004 10:45 AM
Formatting NTFS to ext2/3 enk0d Linux - Hardware 1 06-09-2003 09:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration