You are not logged in.
Hello,
I've just upgraded my system a few hours ago and a new kernel build happened. Problem is the system hasn't managed to boot this new kernel since then. It just hangs forever on grub command line without any error message:
Booting 'Arch Linux'
root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/d769f619-b8b2-478f-bbdf-fbedb209afeb ro vga=795
[Linux-bzImage, setup=0x3400, size=0x1f9a20]I've tried with "root=/dev/sda1" and without the vga option but nothing changes. Behaviour is the same for the fallback image. I would have tried to replace the current kernel with the former one but it seems any older version gets deleted upon kernel upgrade.
If it's of any interest, my last pacman -Syu with new kernel installation was yesterday and everything worked fine afterwards.
Thank you for any help!
Offline
I would have tried to replace the current kernel with the former one but it seems any older version gets deleted upon kernel upgrade.
Have you done pacman -Sc? If not, your old packages are in /var/cache/pacman/pkg...
I still don't understand your problem though ![]()
Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd
Offline
Does 'root=/dev/sda1' actually point to your '/'? Find it kinda uncommon that your filesystem is ext2.
Setting Up a Scripting Environment | Proud donor to wikipedia - link
Offline
Hello,
Thanks for your replies.
I will look in /var/cache/pacman/pkg (using a live cd) but I doubt pacman also keeps the old kernel images, right?
I still don't understand your problem though
Well,
It just hangs forever on grub command line without any error message
Can't really see how to make it clearer than that. ![]()
Does 'root=/dev/sda1' actually point to your '/'? Find it kinda uncommon that your filesystem is ext2.
Mm.. I didn't pay much attention to this line but (hd0,0) (a.k.a. /dev/sda1) is actually an ext4 partition, not ext2. Do you think that may be the source of the problem? Please notice that I can access it and read from it using Arch live cd (I didn't do extensive testing/filesystem checking though). And yes this is the partition for '/'.
Offline
Pacman does keep as many old packages as there are, that is the reason why /var should be at least of the size of your /, until you make -Sc to remove uninstalled packages. I also have ext4 /, which is IDed as ext2fs by grub, so I think it's OK.
If you made -Syu on Apr 10, you should be running 2.6.33.2, right? Is this the last kernel, which booted cleanly? What exactly happened after that? Besides, what is your arch? Apparently, hanging grub is not something very common.
Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd
Offline
Yes I think (with absolutely no certitude) that the 2.6.33.2 fails and the clean kernel from Apr 10 is 2.6.32.x or something. Both system upgrades (on Apr 10 and 11) were quite big so I didn't look into the details. The system worked perfectly until sunday morning: I started the computer, did a second -Syu and did a reboot after I saw the kernel had been upgraded, then nothing 'started happening'.
If it may be of importance the upgrade of Saturday was the first in nearly two months but, as I stated, everything seemed to work fine after that.
Also, I use the 64 bits distribution.
Could I somehow reinstall the kernel package from Apr 10 on my '/' using the live cd? I'm not really comfortable when it comes to administration tasks, I barely do anything else than installing/removing packages and tweaking X11.
Under Debian GNU/Linux I used to compile new kernel versions 'by hand', keeping the old image as the fallback in grub, but stopped doing backups since I started using Arch... guess I shouldn't have (ceased doing backups, not using Arch: it's great!).
Thank you for your time by the way, I'll try to gather more information when I get home.
Last edited by Acetate (2010-04-12 16:29:22)
Offline
Just do
pacman -r /path/to/root -U kernel...or add -f flag, if it complains. Your last pacman.log & everything.log & menu.lst would be useful too, BTW.
Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd
Offline