Find the answer to your Linux question:
Results 1 to 9 of 9
I've got Maxtor DiamondPlys 9 200gt hd I've made 4 x 50gt partitions of it. I formated one partition so I could convert it to ext2/ext3 but mkfs says like ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2005
    Posts
    70

    HDD problem


    I've got Maxtor DiamondPlys 9 200gt hd
    I've made 4 x 50gt partitions of it.

    I formated one partition so I could convert it to ext2/ext3
    but mkfs says like this:

    root@scourge:/# mkfs.ext3 /dev/hdd2
    mke2fs 1.35 (28-Feb-2004)
    /dev/hdd2: Invalid argument passed to ext2 library while setting up superblock
    root@scourge:/#

  2. #2
    Linux Engineer
    Join Date
    Nov 2004
    Location
    Montreal, Canada
    Posts
    1,267
    Not to be pessimist, but does hdd2 exist?

    list you partitions here
    Code:
    fdisk -l
    \"Meditative mind\'s is like a vast ocean... whatever strikes the surface, the bottom stays calm\" - Dalai Lama
    \"Competition ultimatly comes down to one thing... a loser and a winner.\" - Ugo Deschamps

  3. #3
    Just Joined!
    Join Date
    Jan 2005
    Posts
    70
    Quote Originally Posted by UgoDeschamps
    Not to be pessimist, but does hdd2 exist?

    list you partitions here
    Code:
    fdisk -l
    root@scourge:/home/ville# fdisk -l /dev/hdd

    Disk /dev/hdd: 203.9 GB, 203928109056 bytes
    240 heads, 63 sectors/track, 26342 cylinders
    Units = cylinders of 15120 * 512 = 7741440 bytes

    Device Boot Start End Blocks Id System
    /dev/hdd1 1 6772 51196288+ c W95 FAT32 (LBA)
    /dev/hdd2 6773 13544 51196320 83 Linux
    /dev/hdd3 13545 20316 51196320 83 Linux
    /dev/hdd4 20317 26342 45556560 83 Linux
    root@scourge:/home/ville#

  4. #4
    Linux User
    Join Date
    Jan 2005
    Location
    Arizona
    Posts
    288
    It's always a good idea to reboot after partitioning, if you haven't already. Even though it's not usually a problem, sometimes it results in errors like this.

    I'd also try running badblock before much searching, and trying ext2 and reiser.[/i]
    Michael Salivar

    Man knows himself insofar as he knows the world, becoming aware of it only in himself, and of himself only within it.
    --Goethe

  5. #5
    Linux Guru loft306's Avatar
    Join Date
    Oct 2003
    Location
    The DairyLand
    Posts
    1,666
    ok /dev/hdd is the slave on the 2nd ide channel
    and the command to make ext3 is
    Code:
    mke2fs -j /dev/hddn
    and to make ext2 the command is
    Code:
    mke2fs /dev/hddn
    the 'n' being the partition number that u want to format
    ~Mike ~~~ Forum Rules
    Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. ~ Linus Torvalds
    http://loft306.org

  6. #6
    Just Joined!
    Join Date
    Jan 2005
    Posts
    70
    Dunno was it the boot or mr. Penguins command but now it's working.




    Thanks to you who came to help. .

    ps. Tryed reiserfs also, didn't work at the time.

  7. #7
    Linux User
    Join Date
    Jan 2005
    Location
    Arizona
    Posts
    288
    Loft, I have both mke2fs and mkfs.ext3/ext2 on my system. I've always used mke2fs -j, but it appears the mkfs.ext3 is the same thing by the man page. If you know more about this, I'd love to hear it.
    Michael Salivar

    Man knows himself insofar as he knows the world, becoming aware of it only in himself, and of himself only within it.
    --Goethe

  8. #8
    Linux Guru loft306's Avatar
    Join Date
    Oct 2003
    Location
    The DairyLand
    Posts
    1,666
    well sorry there ... we learn new things everyday!
    and in linux there are many commands that do the samething. so many things just developed over time one guy liked it this way another guy liked it that way...so ...thats all i can figure we are human.
    ~Mike ~~~ Forum Rules
    Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. ~ Linus Torvalds
    http://loft306.org

  9. #9
    Just Joined!
    Join Date
    Jan 2005
    Posts
    70
    Quote Originally Posted by loft306
    well sorry there ... we learn new things everyday!
    and in linux there are many commands that do the samething. so many things just developed over time one guy liked it this way another guy liked it that way...so ...thats all i can figure we are human.
    I think this is no new thing for u but,

    Slackware man page sayed that mkfs -t <filesystem> /dev/ice

    is the same thing

    (Just wanted to sound smart)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •