You are not logged in.
Hi everybody!
I'm going to upgrade my Arch's linux kernel to v3.0. Reading the related piece of news on the main page, I saw I'm supposed to "update my bootloader configuration removing symlinks".
The point is: I never installed Arch's bootloader, for I already had Ubuntu's GRUB2 and, after installing Arch in a partition, I simply did
sudo update-grub
in Ubuntu and it added the 2 Arch entries in the bootloader menu.
Now I wonder: is this a problem? Am I still supposed to do anything other than upgrading the packages with pacman?
And [newbie question] what is a symlink?? XD
Thanks for help
Raptorista
Last edited by Raptorista (2011-08-12 17:12:08)
Offline
Hi everybody!
I'm going to upgrade my Arch's linux kernel to v3.0. Reading the related piece of news on the main page, I saw I'm supposed to "update my bootloader configuration removing symlinks".
The point is: I never installed Arch's bootloader, for I already had Ubuntu's GRUB2 and, after installing Arch in a partition, I simply didsudo update-grub
in Ubuntu and it added the 2 Arch entries in the bootloader menu.
Now I wonder: is this a problem? Am I still supposed to do anything other than upgrading the packages with pacman?
And [newbie question] what is a symlink?? XDThanks for help
Raptorista
To prevent breakage, Arch places symlinks linking kernel26 to vmlinuz-linux- you shouldnt have a problem. However, it is recommended that you remove these symlinks and update grub to reflect the new name.
For some reason, when I attempted to do as you are planning, I got an "Error; file not found" error from Grub. I really dont know why, but since the kernel doesnt change names from here on out, a manual edit of Ubuntu's grub.cfg is prolly the easiest way to fix it.
All I did to fix it is opened /boot/grub/grub.cfg on the Xubuntu partition and changed kernel26 to vmlinuz-linux (for the Arch entry obviously). Ensure you also change initramfs to /boot/initramfs-linux-fallback.img
Offline
And a symlink is a symbolic link
Go to your /boot and type the following command to see them:
ls -ltr
You can remove them safely once you changed your Grub settings to reflect the new names and you've made sure it boots.
Last edited by fredo1664 (2011-08-11 11:06:52)
I'm French and French people can't speak English, so please please please excuse the terrible English!
Offline
Hey there! Thanks for answers!
Just let me understand if I got it right: I'm going to install kernel 3.0, and kernel 2.6 will not be removed but simply renamed [in the way described in the news] so that I can still boot it modifying grub.cfg.
After upgrading kernel, I'll have to run another
update-grub
in Ubuntu to make it list Arch's new kernel in the boot menu, and after that Arch will boot with kernel 3.0 by default.
Is that all correct?
Offline
more or less but not quite.
when you install kernel3.0, kernel 2.6 will be un-installed, but symlinks would be created from the newly generated initramfs and vmlinuz to the older instances, thereby allowing you to still boot.
However, people have had problems with this -- so I would suggest that you upgrade to kernel 3.0 and then immediately make the changes necessary in grub and then reboot
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Thanks, now it's clear! I'll do that this evening and hope to be able to let you know
Offline
Looks like I did it!
I just had to change Ubuntu's grub.cfg substituting the names with the new ones.
Thanks everybody!
Offline
Great. Please mark thread as [SOLVED]
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Sure, thanks for reminding me
Offline