You are not logged in.
This is regarding the linux kernel 3.0 update announcement which was posted on arch linux website. It said that the kernel26 package has been named to linux (looking forward to the 3.0 kernel update), however in that announcement they mention that the filenames has been changed from vmlinuz26 to vmlinuz-linux, kernel26.img to initramfs-linux.img and kernel26-fallback.img to initramfs-linux-fallback.img.
Can someone please confirm if the change has to be made only to /boot/grub/menu.lst or else where as well? This is pretty important which is why I am making sure.
Thanks for your input!
Last edited by krnekhelesh (2011-08-07 20:05:59)
Offline
The only place I've made the change is the bootloader (and deleted the symlinks as recommended) and everything is working fine.
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
May I ask where do you delete the symlinks from?
Offline
http://projects.archlinux.org/svntogit/ … ux.install
# add compat symlinks for the initramfs images
ln -sf initramfs-linux${KERNEL_NAME}.img boot/kernel26${KERNEL_NAME}.img
ln -sf initramfs-linux${KERNEL_NAME}-fallback.img \
boot/kernel26${KERNEL_NAME}-fallback.img
The links will be in /boot, 'ls -l /boot' will show you which files point where and when you remove with 'rm -i' you will be asked do you want to remove symbolic links (as opposed to removing files).
Offline
Thanks a lot!
Offline
Can somebody tell me why our package page isn't updated? Does it sync once a day like ABS?
Edit: Actually, it's a very poor place to ask this question, I forgot that it's not an 'Official linux 3 thread'. Sorry.
Edit 2: Aaand it's fixed already :-)
Last edited by karol (2011-08-07 20:15:01)
Offline
What is the best way to update if you are using grub? Just manually edit grub.cfg or run grub-mkconfig?
Offline
I am running grub and you have to edit the /boot/grub/menu.lst file. The announcement mentioned above tells you what to change in that file. I just installed linux 3.0 and edited the menu.lst file. It works perfectly.
Offline
Well that is fine for grub but for grub2 it is generally advised NOT to manually edit /boot/grub/grub.cfg but to use one of the scripts to do the edit. Since I just switched to grub2 (did a refresh reinstall of Arch 64bit) I don't exactly what scripts to use in order to change grub.cfg. Hence the question.
Offline
Hi All
I have just upgraded my system with the new kernel, grub etc but i am stuck with how to make this change
To prevent you from breaking your system after the update, symlinks are created so that your bootloader configuration pointing to the old files will still work. However we recommend updating your bootloader configuration and deleting the symlinks afterwards.
Any help please ?
Many thanks
Whitetimer
Offline
Remove the symlinks from your /boot. The names start with 'kernel26'.
https://bbs.archlinux.org/viewtopic.php … 82#p971982
Last edited by karol (2011-08-07 21:53:12)
Offline
Just to clarify, the update SHOULD work without any changes to the bootloader, that's what the symlinks are for. So, before you destroy your bootloader, just reboot without changing anything.
Offline
If you updated the menu.lst you made the change... post your menu.lst
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Merging...
# edit: and stickied for a while
Offline
LoL, I just wasted 10 min becase I did not change kernel /vmlinuz-linux to kernel /boot/vmlinuz-linux in pacnew config. Same for initrd.
Last edited by Trisatr (2011-08-07 22:06:42)
Offline
Thanks for the hard work you put into this so that we won't bang our heads on the wall.
I only want to make a note about menu.lst.pacnew : in the Arch Linux entry,
/boot/vmlinuz26
has been replaced by
/vmlinuz-linux
instead of the intuitive
/boot/vmlinuz-linux
and similarly for kernel26.img . Now, i suppose the latter is the correct one, but could you clear away my doubts before i reboot ?
The Linux philosophy is 'laugh in the face of danger'. Oops. Wrong one. 'Do it yourself'. That's it. - Linus Torvalds
Offline
Thanks for the hard work you put into this so that we won't bang our heads on the wall.
I only want to make a note about menu.lst.pacnew : in the Arch Linux entry,/boot/vmlinuz26
has been replaced by
/vmlinuz-linux
instead of the intuitive
/boot/vmlinuz-linux
and similarly for kernel26.img . Now, i suppose the latter is the correct one, but could you clear away my doubts before i reboot ?
It depends whether you have a separate /boot partition or not. Use '/boot/vmlinuz-linux' if you don't have a separate one.
This has nothing to do w/ intuition :-)
Last edited by karol (2011-08-07 22:13:25)
Offline
It depends whether you have a separate /boot partition or not.
No, i don't. I suppose i should leave it as /boot/vmlinuz-linux, right?
The Linux philosophy is 'laugh in the face of danger'. Oops. Wrong one. 'Do it yourself'. That's it. - Linus Torvalds
Offline
karol wrote:It depends whether you have a separate /boot partition or not.
No, i don't. I suppose i should leave it as /boot/vmlinuz-linux, right?
Yup, that's right.
Offline
Here is part of my menu.lst (/boot/grub) for those who use GRUB
As you can see kernel26.img has been changed to initramfs-linux.img and vmlinuz26 has been changed to vmlinuz-linux and kernel26-fallback.img has been changed to initramfs-linux-fallback.img
# (0) Arch Linux
title Arch Linux
root (hd0,4)
kernel /vmlinuz-linux root=/dev/sda6 ro quiet
initrd /initramfs-linux.img
# (1) Arch Linux
title Arch Linux Fallback
root (hd0,4)
kernel /vmlinuz-linux root=/dev/sda6 ro quiet
initrd /initramfs-linux-fallback.img
The contents of my /boot directory are
grub
initramfs-linux-fallback.img
initramfs-linux.img
lost+found
vmlinuz-linux
I hope this clarifies everything.
Offline
In my menu.lst I currently have
kernel /vmlinuz-linux root=/dev/disk/by-uuid/a0c4a1d1-c545-4d8f-b228-825e6b31fbab
and in the menu.lst.pacnew I noticed it is
kernel /vmlinuz-linux root=/dev/sda3
Should I change it to sda3 or is it fine the way it is?
Offline
In my menu.lst I currently have
kernel /vmlinuz-linux root=/dev/disk/by-uuid/a0c4a1d1-c545-4d8f-b228-825e6b31fbab
and in the menu.lst.pacnew I noticed it is
kernel /vmlinuz-linux root=/dev/sda3
Should I change it to sda3 or is it fine the way it is?
Keep it the way you have it now, /dev/disk/by-uuid/ ...
Offline
@dodo - no, that is an example and may not reflect the partition layout of your system. Using uuids is fine.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Keep it the way you have it now, /dev/disk/by-uuid/ ...
Thanks &
@graysky Thanks.
Offline
Well that is fine for grub but for grub2 it is generally advised NOT to manually edit /boot/grub/grub.cfg but to use one of the scripts to do the edit. Since I just switched to grub2 (did a refresh reinstall of Arch 64bit) I don't exactly what scripts to use in order to change grub.cfg. Hence the question.
For any GRUB2 users that haven't figured it out yet, you just need to delete the symlinks and then run
grub-mkconfig -o /boot/grub/grub.cfg
and it will automagically update your grub.cfg. In fact you can leave the symlinks there if you are paranoid as it seems grub-mkconfig ignores them.
Last edited by Calamulus (2011-08-07 23:42:30)
Offline