You are not logged in.

#1 2012-03-22 00:49:25

dext
Member
From: Poland, Kraków
Registered: 2008-02-01
Posts: 98

Can't make filesystem

SSD is new and ok. I can perform hdparm -Tt, dd, etc.

I can't create and mount partition (tryed ext4, reiserfs). mkfs says everything went ok, but:
- mount -t ext4 says "can't find ext4 filesystem"
- fsck says "invalid superblock"

I'm trying to install Arch. /arch/setup fails on "Prepare Hard Drive", so now I'm trying to create partitions manually, so I better see what is going on. Nothing fancy:

mkfs.ext4 /dev/sda1
mount -t ext4 /dev/sda1 /mnt

PS. I installed Arch without problems and booted it, but then I realize, that I installed i686... I got dual architecture iso to do it again, and now I have this problem.

Offline

#2 2012-03-22 00:59:02

Isola
Member
Registered: 2010-02-02
Posts: 99

Re: Can't make filesystem

Long shot, but try to overwrite everything on the disk with zeroes, reboot, and then install x86_64

dd if=/dev/zero of=/dev/your-SSD-disk

Make sure you select your SSD in the above command, and make sure anything you want saved from it is backed up. I'm assuming you don't since it's new though.

Offline

#3 2012-03-22 01:11:12

dext
Member
From: Poland, Kraków
Registered: 2008-02-01
Posts: 98

Re: Can't make filesystem

I hove done it right after o post this topic. Now i can't write partition table. Fdisk says everything went ok, but fdisk -l shows there is no partition table...

Offline

#4 2012-03-22 01:24:39

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,770

Re: Can't make filesystem

Could you share the exact fdisk command you issued?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#5 2012-03-22 01:25:14

Isola
Member
Registered: 2010-02-02
Posts: 99

Re: Can't make filesystem

I'm sure it went ok, you just need to re-read the partition table:

/sbin/blockdev --rereadpt /dev/your-SSD-disk

edit: or reboot!

Last edited by Isola (2012-03-22 01:34:08)

Offline

#6 2012-03-22 01:38:22

dext
Member
From: Poland, Kraków
Registered: 2008-02-01
Posts: 98

Re: Can't make filesystem

Isola wrote:

I'm sure it went ok, you just need to re-read the partition table:

/sbin/blockdev --rereadpt /dev/your-SSD-disk

That helped - I'm surprised, that reboot didin't.

But recreating partition table doesn't change anything. I still can't create and mount filesystem.

Offline

#7 2012-03-22 02:09:23

Isola
Member
Registered: 2010-02-02
Posts: 99

Re: Can't make filesystem

I'm not sure why that happens then, sorry.

If making filesystems works with i686, then it should work with x86_64 too.

- Search for something like "your-SSD-disk linux 64" and see if you find anything
- Your .iso could be corrupted
- mkfs.ext4 when booted in i686 liveCD, then reboot and continue with x86_64 install.

Offline

#8 2012-03-22 08:04:52

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Can't make filesystem

Or you could use GParted Live or Parted Magic to create the filesystem. I always keep PM around on a USB stick in case I ever need to chroot or fix some configuration file.


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#9 2012-03-22 14:32:28

dext
Member
From: Poland, Kraków
Registered: 2008-02-01
Posts: 98

Re: Can't make filesystem

Corrupted iso... Happened while copying to pendrive.

Installed, but can't boot... Every partition is corrupt after reboot. "Bad magic number in super-block while trying to open /dev/sda1"

Last edited by dext (2012-03-22 14:38:36)

Offline

#10 2012-03-22 18:44:59

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Can't make filesystem

First let's google: "Bad magic number in super-block" :

http://www.google.com/search?q=Bad+magi … uper-block


Now, let's click on a possibly related article: HOWTO: Repair a broken Ext4 Superblock in Ubuntu.

Try it.

PS: In my experience, filesystem corruption does not EVER occur, especially if it was freshly formatted (and assuming that the drive is healthy). Maybe you did something to it while it was mounted... Fdisk usually warns you before you're about to do something stupid and asks you if you REALLY want to continue. Maybe you typed "y" instead of "n".


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

Board footer

Powered by FluxBB