You are not logged in.

#1 2012-02-14 01:41:06

mibadt
Member
Registered: 2009-09-25
Posts: 396

[Solved] Sometimes Arch fails booting- won't recognize XFS filesystem

Hi,
I'm on a fresh clean installed Arch-X86_64 fully updated (kernel 3.2.5-1).
In approx half the cases, Arch won't boot (whereas, in the other cases it boots flawlessly!).
In those cases Arch completes the phase of " Triggering uevents...done" and afterwards drops me into an emergency shell claiming "unknown filesystem type 'xfs'.
I would appreciate clarifying and fixing this behavior.

Thanks

======copy of my fstab===========

UUID=0e1b4edc-c758-402b-91c8-453762e5314e /boot ext2 defaults 0 1
UUID=1a70620b-ead6-4f9c-9d0b-193438b30232 / ext4 defaults 0 1
UUID=2c92685d-050a-4023-aab2-b8a91f077f6b /images xfs defaults 0 1
UUID=615ad9dc-34c5-4c20-b687-46de6f66f7a5 /linux_backup xfs defaults 0 1
UUID=67AD726A113E664B /windows ntfs-3g defaults 0 1
UUID=71AF0020700759D6 /photos_win ntfs-3g defaults 0 1
UUID=9d6eb8a2-be83-477b-976e-e6d1ad560f8d /home ext4 defaults 0 1
UUID=de4a3bf6-0cab-467f-9726-1570820dee82 swap swap defaults 0 0
UUID=fbb97eb3-2417-4903-8c43-95387aa69acd /var reiserfs defaults 0 1

Last edited by mibadt (2012-02-14 04:13:43)


Best regards,
Michael Badt

Offline

#2 2012-02-14 02:00:47

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

Re: [Solved] Sometimes Arch fails booting- won't recognize XFS filesystem

Your fstab is irrelevant when the problem occurs before the root device is even mounted. Your bootloader config is far more interesting.

Offline

#3 2012-02-14 02:55:24

mibadt
Member
Registered: 2009-09-25
Posts: 396

Re: [Solved] Sometimes Arch fails booting- won't recognize XFS filesystem

Here you are.
I'm using grub 0.97 and here is my /boot/grub/menu.lst

cat menu.lst 
# Config file for GRUB - The GNU GRand Unified Bootloader
# /boot/grub/menu.lst

# DEVICE NAME CONVERSIONS 
#
#  Linux           Grub
# -------------------------
#  /dev/fd0        (fd0)
#  /dev/sda        (hd0)
#  /dev/sdb2       (hd1,1)
#  /dev/sda3       (hd0,2)
#

#  FRAMEBUFFER RESOLUTION SETTINGS
#     +-------------------------------------------------+
#          | 640x480    800x600    1024x768   1280x1024
#      ----+--------------------------------------------
#      256 | 0x301=769  0x303=771  0x305=773   0x307=775
#      32K | 0x310=784  0x313=787  0x316=790   0x319=793
#      64K | 0x311=785  0x314=788  0x317=791   0x31A=794
#      16M | 0x312=786  0x315=789  0x318=792   0x31B=795
#     +-------------------------------------------------+
#  for more details and different resolutions see
#  https://wiki.archlinux.org/index.php/GRUB#Framebuffer_resolution

# general configuration:
timeout   5
default   0
color light-blue/black light-cyan/blue

# boot sections follow
# each is implicitly numbered from 0 in the order of appearance below
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
#-*

# (0) Arch Linux
title  Arch Linux
root   (hd1,0)
kernel /vmlinuz-linux root=/dev/sdb2 ro
initrd /initramfs-linux.img

# (1) Arch Linux
title  Arch Linux Fallback
root   (hd1,0)
kernel /vmlinuz-linux root=/dev/sdb2 ro
initrd /initramfs-linux-fallback.img

# (2) Windows
title Windows
rootnoverify (hd0,0)
makeactive
chainloader +1

Any idea?
Thanks


Best regards,
Michael Badt

Offline

#4 2012-02-14 03:26:27

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

Re: [Solved] Sometimes Arch fails booting- won't recognize XFS filesystem

Sure. Use a UUID or label for root.

Offline

#5 2012-02-14 03:48:32

mibadt
Member
Registered: 2009-09-25
Posts: 396

Re: [Solved] Sometimes Arch fails booting- won't recognize XFS filesystem

Can you please clarify?

Do you mean modifying my menu.lst to include entries like this one?

# (0) Arch Linux
title  Arch Linux
root   (hd1,0)
kernel /vmlinuz-linux root=UUID=1a70620b-ead6-4f9c-9d0b-193438b30232 ro
initrd /initramfs-linux.img


Best regards,
Michael Badt

Offline

#6 2012-02-14 03:53:47

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

Re: [Solved] Sometimes Arch fails booting- won't recognize XFS filesystem

Yep. mkinitcpio will interpret that root= correctly.

Offline

#7 2012-02-14 04:13:18

mibadt
Member
Registered: 2009-09-25
Posts: 396

Re: [Solved] Sometimes Arch fails booting- won't recognize XFS filesystem

Thanks !
Successfully rebooted, once so far, after modifying menu.lst per above example.


Best regards,
Michael Badt

Offline

Board footer

Powered by FluxBB