You are not logged in.
Pages: 1
I wantet to switch my arch partition from reiserfs to xfs, and made a iso of the whole partition, formatted it as xfs and tar'ed the content of the iso back to the arch partition. Reinstalled grub and checked fstab. But when I boot off xfs I get a kernel panic, saying
init cannot open root device sda2 (8,2)
I tried to chroot to arch (with a live cd) and reinstall the kernel with pacman, so that it generated a new kernel image, but it didn't make any difference.
Are there issues with booting from a xfs partition, or is it anything else I should do in this transfer prossess?
Thanks,
Steinar
Offline
try rebuilding your initramfs with
# mkinitcpio -p kernel26
(i'm not completely sure if the syntax is correct. if not, mkinitcpio -h should help you out)
Reason: mkinitcpio has an autodetect feature, which also checks for which filesystems are used. When it was first run, there was no XFS, so its kernel-module is not included in the initramfs. Hence, kernel cannot mount it... Rebuilding should detect it and include it.
Make sure you have your boot-partition mounted read/write before you do this
Last edited by klixon (2007-09-07 09:24:50)
Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!
Offline
Yes, I can try that, but I think that happens when I reinstall the kernel with pacman, as I have already tried.
Offline
Try adding "rootfstype=xfs" to the kernel line.
Offline
Try adding "rootfstype=xfs" to the kernel line.
that didn't help
Offline
nano /etc/mkinitcpio.conf
At "MODULES" add xfs .
Offline
Pages: 1