Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#4454 - mkinitramfs: bad root fs detection with reiser4 on LVM

Attached to Project: Arch Linux
Opened by Bartłomiej Zabłocki (alatar) - Friday, 14 April 2006, 00:31 GMT
Last edited by Tobias Powalowski (tpowa) - Friday, 21 April 2006, 05:31 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To James Rayner (iphitus)
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7.1 Noodle
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I've set up an arch installation on drive like this:
hda1: ext3 for /boot
hda2: LVM with / and /home (both on reiser4)
kernel used: kernel26beyond2-1

initramfs is generated properly with reiser4 module

booting dies with last error:
VFS: Can't find an ext2 filesystem on dev dm-1.

I've tracked it a little and found this in /lib/initramfs/init :

ROOT_FS=`/bin/fsck -NT $ROOT_DEV | awk -Ffsck. '{print $2}' | awk '{print $1}'`
mount -t $ROOT_FS -n -o ro $ROOT_DEV /new_root

i've made a simple test on other box (same kernel and reiser4 tools/libs installed):

[root@nevermore ~]# fsck -NT /dev/mapper/nevermore-home | awk -Ffsck. '{print $2}' | awk '{print $1}'
ext2

for now I used simple workaround:

if [ ! "$ROOT_FS" ]; then
ROOT_FS=`/bin/fsck -NT $ROOT_DEV | awk -Ffsck. '{print $2}' | awk '{print $1}'`
fi

and in /etc/mkinitramfs

ROOT_FS=reiser4
This task depends upon

Closed by  James Rayner (iphitus)
Friday, 28 April 2006, 14:53 GMT
Reason for closing:  Fixed
Additional comments about closing:  ought to be fixed in 1.4-7

Loading...