You are not logged in.

#1 2009-11-18 21:42:48

JoeKer
Member
Registered: 2009-11-18
Posts: 12

New install fails at checking file system. HELP!

I just installed arch for the first time and followed everything very carefully. They only part that i was heasitant about was where to install the MBR. I installed it on the SDA. not sda 1 or sda2 ect.......i think that is what went wrong but dont know how to fix it.....or it might be something completely different. can someone help?

Offline

#2 2009-11-18 22:16:18

urist
Member
Registered: 2009-02-22
Posts: 248

Re: New install fails at checking file system. HELP!

Reboot again. I think it always "fails" to force a reboot or something.

It actually is successful, though.

Last edited by urist (2009-11-18 22:17:06)

Offline

#3 2009-11-18 22:34:57

JoeKer
Member
Registered: 2009-11-18
Posts: 12

Re: New install fails at checking file system. HELP!

nope, stil the same. Exact error is /dev/dsk/by-labe/root: the fsuperblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt and you might want to try running e2fsck with an alternate superblock.

one question i have is that i use ext4 as the file system......and it is prompting for ext2 .....

Offline

#4 2009-11-18 23:14:22

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: New install fails at checking file system. HELP!

It seems to be good practice to keep a separate /boot partition if you use ext4 for your root partition. Maybe you should try that.

This is what the Arch wiki says about Ext4 and GRUB:

Warning: Booting from an ext4 partition is not 'officially' supported by GRUB, and GRUB2 is still under development. While GRUB does currently work, the 'safe' option is to boot from an ext2 or ext3 /boot partition. CONSIDER YOURSELF WARNED!


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#5 2009-11-18 23:27:27

JoeKer
Member
Registered: 2009-11-18
Posts: 12

Re: New install fails at checking file system. HELP!

alright, that makes sense....i do have a separate boot partition.....is there a way to rewrite just the boot partition?

Offline

#6 2009-11-18 23:39:48

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: New install fails at checking file system. HELP!

Define 'rewrite'? I presume you mean copy data to some temporary location, reformat, move data back, re-install GRUB?


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#7 2009-11-18 23:43:41

JoeKer
Member
Registered: 2009-11-18
Posts: 12

Re: New install fails at checking file system. HELP!

sort of.....is there a way to take the current /boot partition, copy it, format the /boot partition to ext2 or ext3 then put all the data back on boot

Offline

#8 2009-11-18 23:50:54

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: New install fails at checking file system. HELP!

Of course there is... What you need are the following commands: cp or mv, mkfs.ext{2,3} and grub-install. Make sure you adapt /etc/fstab to the changes you make. I assume that you are mildly familiar with how cp or mv work. If not, consult the manuals (man cp, man mv), they are avaiable online too.

Refer to the wiki on how to perform a GRUB reinstallation correctly.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#9 2009-11-18 23:59:33

JoeKer
Member
Registered: 2009-11-18
Posts: 12

Re: New install fails at checking file system. HELP!

its saying not found when i try to move everything in /boot .....any ideas?

Offline

#10 2009-11-19 16:48:02

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: New install fails at checking file system. HELP!

Of course, /boot must exist before you can copy it. How are you trying to access your system, assuming you can not boot into it?


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#11 2009-11-19 18:08:32

JoeKer
Member
Registered: 2009-11-18
Posts: 12

Re: New install fails at checking file system. HELP!

fsckd wrote:

Of course, /boot must exist before you can copy it. How are you trying to access your system, assuming you can not boot into it?

right.....i did the automaticaly partition option and i am pretty sure /boot was one of them....i cannot boot into my system.....it gets stuck at checking file systems... the exact error is in one of my last posts.. any ideas?

Offline

#12 2009-11-19 18:15:53

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: New install fails at checking file system. HELP!

Oh oops, looks like GRUB is able to find your system. Ok, one possible solution is the have your devices located by UUID or by label. There's a link to a wiki article on it which is posted every so often.

Edit: First question, what is your grub entry? Second question, what is your fstab?

Last edited by fsckd (2009-11-19 18:20:15)


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#13 2009-11-19 18:16:25

tdy
Member
From: Sacremende
Registered: 2008-12-14
Posts: 440

Re: New install fails at checking file system. HELP!

I don't know if this guy actually knew what he was talking about, but you can try this:

http://www.linuxquestions.org/questions … d.-502119/

Last edited by tdy (2009-11-19 18:17:34)

Offline

#14 2009-11-19 18:18:07

JoeKer
Member
Registered: 2009-11-18
Posts: 12

Re: New install fails at checking file system. HELP!

i set them up with the by-label option as /dev/disk/by-label/root, /deb/disk/by-label/root, ect but its not finding them......

Offline

#15 2009-11-19 18:23:05

JoeKer
Member
Registered: 2009-11-18
Posts: 12

Re: New install fails at checking file system. HELP!

tdy wrote:

I don't know if this guy actually knew what he was talking about, but you can try this:

http://www.linuxquestions.org/questions … d.-502119/

i didnt set any to noauto like this person.....just defaults so they all should mount at boot.....i read through the whole wiki and followed everything to a t almost and i have experience with other distros of linux which is what lead me to arch to try to build a custom OS.....i have tried a lot of things here and i am pretty sure its because everything is formatted as ext4 (grub apparently doesnt support ext4.....so i really just want to rewrite the /boot partition as ext 2 or 3 and be done with it but cant figure out how to do this.....can anyone tell me exactly what is written in boot? could i boot into a live cd and try to fix it from there? (like system rescue cd)

Offline

#16 2009-11-19 18:28:42

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: New install fails at checking file system. HELP!

Grub gives a different error if it can't find your partition. So I'm fairly certain grub is fine. Also you're not getting a kernel panic, so root is definitely found. My above edit came a bit late, so please post your grub menu entry and fstab.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#17 2009-11-19 18:33:19

reed9
Member
Registered: 2008-06-12
Posts: 77

Re: New install fails at checking file system. HELP!

I believe I've encountered the same problem.

Does it prompt you with something like "Press Enter to continue or enter root password for maintenance"?

I just entered the root password and then

fsck /dev/sd(x)

Where /dev/sd(x) is the partition listed in the error.  Had to do it twice, once for root and once for home.  Then reboot.

Offline

#18 2009-11-19 18:34:23

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: New install fails at checking file system. HELP!

To answer your question on reformatting the boot partition, using a different linux system, mount it, perhaps on /mnt/brokenboot. Then, copy the files over to another disk by cp -rp /mnt/brokenboot /anotherdisk/. Unmount the broken boot. Format it using mke2fs. Mount it again. Copy the files back. You may need to reinstall grub afterwords.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#19 2009-11-19 18:37:25

JoeKer
Member
Registered: 2009-11-18
Posts: 12

Re: New install fails at checking file system. HELP!

reed9 wrote:

I believe I've encountered the same problem.

Does it prompt you with something like "Press Enter to continue or enter root password for maintenance"?

I just entered the root password and then

fsck /dev/sd(x)

Where /dev/sd(x) is the partition listed in the error.  Had to do it twice, once for root and once for home.  Then reboot.

yes, that is correct...and here is another thing guys, booted into rescuecd and opened gparted, my boot partition is ext2.......

Offline

#20 2009-11-19 18:43:20

JoeKer
Member
Registered: 2009-11-18
Posts: 12

Re: New install fails at checking file system. HELP!

fsckd wrote:

To answer your question on reformatting the boot partition, using a different linux system, mount it, perhaps on /mnt/brokenboot. Then, copy the files over to another disk by cp -rp /mnt/brokenboot /anotherdisk/. Unmount the broken boot. Format it using mke2fs. Mount it again. Copy the files back. You may need to reinstall grub afterwords.

i would do that but boot is ext2.....it ooks lke the problem is wth the superblock of root.....any ideas?

Offline

#21 2009-11-19 18:51:41

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: New install fails at checking file system. HELP!

JoeKer wrote:
fsckd wrote:

To answer your question on reformatting the boot partition, using a different linux system, mount it, perhaps on /mnt/brokenboot. Then, copy the files over to another disk by cp -rp /mnt/brokenboot /anotherdisk/. Unmount the broken boot. Format it using mke2fs. Mount it again. Copy the files back. You may need to reinstall grub afterwords.

i would do that but boot is ext2.....it ooks lke the problem is wth the superblock of root.....any ideas?

Then why did you write this:

JoeKer wrote:

so i really just want to rewrite the /boot partition as ext 2 or 3 and be done with it but cant figure out how to do this.....can anyone tell me exactly what is written in boot? could i boot into a live cd and try to fix it from there? (like system rescue cd)

Meh, figure out what your problem is before asking for help, and when people ask you for more info, give it.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#22 2009-11-19 19:17:39

JoeKer
Member
Registered: 2009-11-18
Posts: 12

Re: New install fails at checking file system. HELP!

i had not booted into a live cd at that time.......and to be honest i didnt completely understand the error i was getting. When i booted into rescuecd it showed me that there isnt anything wrong with boot but there is clearly something wrong with root (according to the error i was getting...i really want to figure this out.....i located all of the superblocks within root but i dont know if this will help as im not really sure how to point the system to a different superblock. any ideas on what to do with this info?

superblock 0, block size=4096 []

superblock 32768, block size=4096 []

superblock 163840, block size=4096 []

superblock 229376, block size=4096 []

superblock 294912, block size=4096 []

superblock 819200, block size=4096 []

superblock 884736, block size=4096 []

superblock 1605632, block size=4096 []

Offline

#23 2009-11-19 19:33:37

JoeKer
Member
Registered: 2009-11-18
Posts: 12

Re: New install fails at checking file system. HELP!

ok, i tried running e2fsck with a different super block and it gave the output that it file system was edited and prompted the reboot...but after the reboot im getting the same error......any ideas......i know the superblcks are there but for some reason it isnt working....maybe im not running the command correctly......

Offline

#24 2009-11-21 14:09:46

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: New install fails at checking file system. HELP!

JoeKer, at this stage of the installation I think it's best you do a complete reinstall and split out /boot from the beginning. The option to use a different superblock is -b [superblock], but I guess you already figured that out.

Note that a Live CD showing your partition as okay does not mean it will boot. After all, that Live CD didn't boot from that same partition.

If you want to get this fixed, show us the contents of your /boot partition. It should contain GRUB's files and the kernel and cpio image.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#25 2009-11-21 16:17:27

JoeKer1086
Member
Registered: 2009-11-16
Posts: 45

Re: New install fails at checking file system. HELP!

Yes, i agree...i will just try a fresh install...ill let you know how it goes.


I understand it completely, grappled hopelessly with comprehension, balanced on the edge of insanity for an eternity.....a moment.

Offline

Board footer

Powered by FluxBB