LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-05-2005, 04:09 PM   #1
putteand
LQ Newbie
 
Registered: Jan 2005
Location: Lost in space
Distribution: FC4
Posts: 17

Rep: Reputation: 0
creating partition


Well .. I had a NTFS partition on my hdc1, and i wanted to format it to ext3 ...

But now it says:


[root@prima anden]# /sbin/mkfs.ext3 /dev/hdc1
mke2fs 1.35 (28-Feb-2004)
/dev/hdc1 is not a block special device.
Proceed anyway? (y,n) y
mkfs.ext3: Device size reported to be zero. Invalid partition specified, or
partition table wasn't reread after running fdisk, due to
a modified partition being busy and in use. You may need to reboot
to re-read your partition table.



I have no idea, what to to .. fdisk wont read it either :s
 
Old 01-05-2005, 04:30 PM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Did you delete the NTFS partition and re-create it as type 83 ? After you do that it should format ok with the command: mkfs.ext3 /dev/hdc1
 
Old 01-06-2005, 05:30 AM   #3
putteand
LQ Newbie
 
Registered: Jan 2005
Location: Lost in space
Distribution: FC4
Posts: 17

Original Poster
Rep: Reputation: 0
Yes it should .. But it doesn't ..

What exactly do you mean, when you say re-create ?
 
Old 01-06-2005, 06:05 AM   #4
vxc69
Member
 
Registered: Jul 2004
Distribution: Ubuntu
Posts: 387

Rep: Reputation: 33
Try umounting (umount /dev/hdc1) before formating.

vxc
 
Old 01-06-2005, 06:18 AM   #5
Valindar
Member
 
Registered: Jun 2004
Location: Melbourne, Australia
Distribution: Slackware 9.1
Posts: 33

Rep: Reputation: 15
"Recreate" as in run 'cfdisk /dev/hdc' (for example, feel free to use your favourite partitioning tool) and delete the partition then add a new partition and set it to type 83 (as homey said) using the 'Type' option.
This is needed as the partition needs to be a 'Linux' partition (code 83) to format it to ext3.
If you were wanting to create a swap partition you would set the partition to type 82. This applies to creating a windows partition too simply by setting it's Type to another code.
 
Old 01-07-2005, 05:50 AM   #6
putteand
LQ Newbie
 
Registered: Jan 2005
Location: Lost in space
Distribution: FC4
Posts: 17

Original Poster
Rep: Reputation: 0
uhm cfdisk kinda failed ... Tried installing but failed dependicies, which i already had installed ... Hmm :\

Well anyway, i inserted a boot-disk and created a fat32 partition, with some data on it.
But it still won't recognize it :\
I looked in the /dev/ dir .. There's nothing
Of course there's a lot .. but hdc1 is not present ....
 
Old 01-07-2005, 05:53 AM   #7
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
This sounds like a problem with the device-special file, rather than the device (partition) itself.

Try recreating the /dev/hdc file using the MAKEDEV script in the /dev/ directory. I think that's:
Code:
cd /dev; ./MAKEDEV hdc
 
Old 01-08-2005, 04:02 PM   #8
putteand
LQ Newbie
 
Registered: Jan 2005
Location: Lost in space
Distribution: FC4
Posts: 17

Original Poster
Rep: Reputation: 0
rjlee; ahhhh that's all I needed ...
Thx guys, you've saved me :>
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating A Partition mailnickykav Red Hat 1 02-23-2005 02:09 PM
Partition mounting/KDE errors after creating Fat32 Partition BertBert Linux - General 1 07-07-2004 10:59 AM
creating new partition before boot partition?? rose_bud4201 Linux - General 17 02-07-2003 12:25 PM
Newbie Installing Debian3 on m68k w/250M Partition Needs help creating swap partition AppleMac Linux - Newbie 2 11-01-2002 08:45 AM
creating partition nautilus_1987 Slackware 12 10-27-2002 05:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:09 AM.

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