You are not logged in.

#1 2010-10-08 21:39:03

HoboJ
Member
Registered: 2010-04-04
Posts: 28

[SOLVED] /boot not mounting

This is a weird problem. I installed and setup arch a few days ago. My computer starts fine and works fine but I get an error message when I fire it up.

"mount: wrong fs type, bad option, bad superblock on /dev/sda2"

I checked /dev/sda2 and that's my ext2 /boot partition. The partition mounts fine after I've logged in if I fire up a terminal and tell it to mount but doesn't seem to mount at all when I boot up. 

Here is my fstab. (I've got an SSD btw)

# 
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
devpts                 /dev/pts      devpts    defaults            0      0
shm                    /dev/shm      tmpfs     nodev,nosuid        0      0


# DEVICE DETAILS: /dev/sda2 UUID=5003e3c9-6942-49db-85e2-036cc0053bc3 LABEL=BOOT_ARCH
# DEVICE DETAILS: /dev/sda3 UUID=8a12bdd3-a693-4c01-8180-204d26279222 LABEL=SWAP_ARCH
# DEVICE DETAILS: /dev/sda4 UUID=ad01cf18-92c2-46ef-804f-caa32d46f88e LABEL=ROOT_ARCH
# DEVICE DETAILS: /dev/sda5 UUID=fa6c55fb-b7a0-45a0-97cc-02471c31dac8 LABEL=HOME_ARCH
UUID=5003e3c9-6942-49db-85e2-036cc0053bc3 /boot ext2 defaults,noatime,discard 0 1
UUID=8a12bdd3-a693-4c01-8180-204d26279222 swap swap defaults,noatime,discard 0 0
UUID=ad01cf18-92c2-46ef-804f-caa32d46f88e / btrfs defaults,noatime,discard 0 1
UUID=fa6c55fb-b7a0-45a0-97cc-02471c31dac8 /home btrfs defaults,noatime,discard 0 1

I'm sure if I go to do a kernel update without this being fixed shit will hit the fan and everything will explode. Any help would be appreciated.

Last edited by HoboJ (2010-10-09 18:36:37)

Offline

#2 2010-10-09 16:02:38

heptapod
Member
Registered: 2010-06-24
Posts: 35

Re: [SOLVED] /boot not mounting

Some ideas:

Run blkid and see if the uuid is the same as in fstab.
Use /dev/sda2 in fstab instead of uuid.
Run fsck on the partition.

Offline

#3 2010-10-09 17:56:08

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [SOLVED] /boot not mounting

discard is likely not supported on ext2.

Offline

#4 2010-10-09 17:56:09

thestinger
Package Maintainer (PM)
From: Toronto, Canada
Registered: 2010-01-23
Posts: 478

Re: [SOLVED] /boot not mounting

ext2 doesn't support discard afaik (you could use ext4, it works fine here for /boot)

edit: falconindy beat me to it xD

Last edited by thestinger (2010-10-09 17:57:00)

Offline

#5 2010-10-09 18:36:06

HoboJ
Member
Registered: 2010-04-04
Posts: 28

Re: [SOLVED] /boot not mounting

falconindy wrote:

discard is likely not supported on ext2.

thestinger wrote:

ext2 doesn't support discard afaik (you could use ext4, it works fine here for /boot)

edit: falconindy beat me to it xD

Thanks both of you. I did an in place upgrade to ext4 and all is good now. Thanks!

Offline

Board footer

Powered by FluxBB