LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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
 
LinkBack Search this Thread
Old 04-28-2006, 12:15 PM   #1
kpachopoulos
Member
 
Registered: Feb 2004
Location: Athens, Greece
Distribution: Gentoo,FreeBSD, Debian
Posts: 704

Rep: Reputation: 30
cannot create ext3 filesystem: no such device or address


Hi,
i am using sarge. I have created with fdisk partitions:
/dev/hda9 for /boot
/dev/hda10 -> /
/dev/hda11 -> swap

In the previous partitions there is another Debian installation. However, mke2fs -j /dev/hd9 and 10 gets me with "no such device or address while trying to determine filesystem size". I've found a couple of things in the net, but couldn't be applied in my situation.
Ideas?
Thanks

Last edited by kpachopoulos; 04-28-2006 at 05:26 PM.
 
Old 04-28-2006, 12:28 PM   #2
camorri
Senior Member
 
Registered: Nov 2002
Location: Toronto Canada
Distribution: Slackware 14.0 + 14.1
Posts: 4,778

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
Quote:
mke2fs -j /dev/hd10to11 gets me with "no such device
I'm guessing, it should be '/dev/hda10'

I don't think you can create a ext3 file system for swap. Swap gets its own file system.

You may want to look into getting a copy of G-Parted live CD. You boot the system with it, and the whole partitioning and formatting process is handled graphically. Seems to work well.
 
Old 04-28-2006, 12:33 PM   #3
kpachopoulos
Member
 
Registered: Feb 2004
Location: Athens, Greece
Distribution: Gentoo,FreeBSD, Debian
Posts: 704

Original Poster
Rep: Reputation: 30
Sorry i meant /dev/hda9,10. Changed it.

Last edited by kpachopoulos; 04-28-2006 at 01:45 PM.
 
Old 04-28-2006, 01:55 PM   #4
johndoe0028
Member
 
Registered: Jun 2005
Location: CA, USA
Distribution: Gentoo
Posts: 165

Rep: Reputation: 30
I don't think you can pass arguments in that way (correct me if I'm wrong).

Try doing each partition separately.


mke2fs -j /dev/hda9
mke2fs -j /dev/hda10

PS: If the way you had done it the first time works, then I have been wasting a lot of time!
 
Old 04-28-2006, 02:45 PM   #5
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,231
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
I had a wierd situation earlier with debian (sid), it wouldn't allow me to creat ext3 file systems so I formatted the partition ext2 then converted them to ext3

mke2fs /dev/hda9
tune2fs -j /dev/hda9

this worked fine, it just refused to create the journal when it formatted the drive.. I have no idea why..
 
Old 04-27-2007, 08:35 PM   #6
davo666
LQ Newbie
 
Registered: Apr 2007
Posts: 20

Rep: Reputation: 0
hi, how did you actually change it from ext2 to ext3???

thanks
 
Old 04-28-2007, 12:55 AM   #7
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,231
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
his second command tune2fs -j /dev/hda9

the -j mean s to create a journal. basically the only difference between ext2 and ext3 is that ext3 has a journal.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
EXT2 -fs warning (device sda1): ext2_fill_super:mounting ext3 filesystem as ext2 snakeo2 Linux - Newbie 6 11-19-2006 07:35 PM
how to create ext3 filesystem using 'mke2fs -j' shankara Linux From Scratch 2 03-31-2006 01:18 PM
ext3 filesystem problem karlan Linux - General 1 01-16-2004 03:54 PM
create ext3 filesystem glock19 Linux From Scratch 2 02-06-2002 09:39 PM
New kernel and ext3 filesystem Thymox Linux - Software 3 12-03-2001 08:43 AM


All times are GMT -5. The time now is 11:36 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration