You are not logged in.

#1 2016-12-21 17:51:48

linusforpresident
Member
Registered: 2016-11-05
Posts: 14

[SOLVED] Arch on SD card - Superblock corrupt

I've been running Arch on my chromebook for the last couple of months without issue. Upon booting recently my system would not load. As I neglected to fix my grub resolution setting I am left with a screen of unreadable boot messages. Upon trying to fix grub via chroot I noticed there was an issue reading from the card so I ran fsck and it appears the superblock is corrupt. I was wondering if someone can confirm I have exhausted my options with fsck and that there is no other alternative for running update-grub.

fsck /de/mmcblk1

e3fsck 1.43.3 (04-Sep-2016)
ext2fs_open2: Bad magic number in super-block
fsck.ext2: Superblock invalid, trying backup blocks... 
fsck.ext2; Bad magic number in super-block while trying to open /dev/mmcblk1

The superblock could not be read or does not describe a valid ext2/ext3/ext4 filesystem. If the deice is 
valid and it really contains an ext2/ext3/ext4 filesystem (and not swap or ufs or something else), then 
the superblock is corrupt, and you might try running e2fsck with an alternative superblock:
e2fsck -b 8193 <device>
or
e2fsck -b 32768 <device>

/dev/mmcblk1 contains 'DOS/MBR boot sector' data

I've tried the other blocks suggested but receive the same info.

Alternatively I tried to change /etc/default/grub to fix the boot message display, but I'm having issues running update-grub. I chroot-ed from a live cd but it doesnt seem to recognize the command. Any other alternatives to update grub?

Last edited by linusforpresident (2016-12-22 20:46:00)

Offline

#2 2016-12-21 18:15:15

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] Arch on SD card - Superblock corrupt

The update-grub command has never existed in Arch, it's Debian specific. The equivalent in Arch is...

grub-mkconfig -o /boot/grub/grub.cfg

Last edited by Slithery (2016-12-21 18:16:13)


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

Board footer

Powered by FluxBB