You are not logged in.
Yesterday I upgraded the kernel to 2.2.27 via pacman, now I cannot boot anymore.
I get the following message:
ERROR: Failed to parse block device name for 'dev/disk/by-uuid/3e6..... unknown.
ERROR: root fs cannot be detected. Try using the rootfstype= kernel parameter.
Waiting for devices to settle...done.
Root device '/dev/disk/by-uuid/3e6.... doesn't exist, attempting to create it
ERROR: Failed to parse block device name for '/dev/disk/....
ERROR: Unable to create/detect root device '/dev/disk/....'
Dropping to a recoviery shell... type 'exit' to reboot
I booted with a live cd but could not mount my root, it seems that there is no /dev file for it.
Offline
I am having the exact same problem.
Looking for more detail as to what could have caused this.
All I remember is that I did some jerking around with Pacman the other day and everything was fine but today after I booted up my laptop everything wasn't fine. ![]()
Offline
OK. I booted up a LiveCD. Mounted my root partition under the LiveCD, bind mounted /dev, then mounted /proc, /boot and /sys. After that I chrooted into the new root, edited etc/mkinitcpio.conf, added jfs and reiserfs to the list of modules to include, ran mkinitcpio -g /boot/linux26.img -k `uname -r`, where uname -r is the kernel release version of the Archlinux kernel I was running (Note: uname -r will give you the release version of the kernel you are running currently, be it LiveCD or other system). I was last running 2.6.27-ARCH, but you can find out for yourself by looking into lib/modules/.
Rebooting now. If I don't come back, then it worked.
Offline
I finally ended up with reinstalling arch. I don't know where exately the problem was. Downgrading didn't help becuase the modules in /lib/modules/ were already upgraded to 2.6.26.
I tried the following - perhaps one of these works for you:
- try to boot the fallback image
- add pci=nomsi to the kernel line in grub
- if you give the disks by uuid, try to replace this by /dev/sdXY
- boot with arch-live and create new initrd-image:
mount /dev/sdXY /mnt (sdXY ist deine Root-Partition)
mount /dev/sdXY /mnt/boot (wenn du eine eigene Partition für /boot hast)
mount -o bind /dev /mnt/dev
mount -o bind /sys /mnt/sys
mount -o bind /proc /mnt/proc
chroot /mnt
mkinitcpio -g /boot/kernel26.imgand reboot
- if that doesn't work, same (until chroot /mount ) and then do a kernel downgrade:
pacman -U /var/cache/pacman/pkg/kernel26-2.6.26***.pkg.tar.gz
so, thats all I tried but as I said none of this worked for me. But if you have your /home on a seperate partition, than a reinstall should cause no problems. I also saved my /etc for not loosing my configs ![]()
Offline
I can see why it couldn't have worked for you. You probably needed to specify -k too.
Anyways, thanks for info but I already fixed it and didn't have to reinstall
.
Offline
I finally ended up with reinstalling arch
you should never have to re-install over a failed upgrade. As brokenthorn suggested, man mkinitcpio might have helped you out some.
-k kernelversion
Use kernelversion. Default is the current running kernel.
when you mnt your install from a liveCD, the kernel that is being used is from the liveCD. You need to change this behavior before generating a kernel img for your install.
some more info http://wiki.archlinux.org/index.php/Mkinitcpio#Manually specifically last line of the 'manually' section!
Offline
did you tried to modify in menu.lst root entry? try to put there /dev/sdX instead UUID. also post /etc/mkinitcpio.conf
Last edited by wonder (2008-11-07 16:13:58)
Give what you have. To someone, it may be better than you dare to think.
Offline
did you tried to modify in menu.lst root entry? try to put there /dev/sdX instead UUID. also post /etc/mkinitcpio.conf
That's not a valid fix for this problem.
Besides, he already "fixed" it. ![]()
Offline
it is a valid fix when you don't have in mkinitcipio.conf udev hook and you specify modules for your chipset ![]()
Give what you have. To someone, it may be better than you dare to think.
Offline
ok, thanks for your advice. But why didn't you post that a bit earlier? I tried for hours fixing the problem... and because I didn't succeed at all I finally re-insalled arch, because I need a working environment and can't wait for weeks until someone replies to my question
But for the next time I'll think of your remarks.
Offline