You are not logged in.

#1 2011-08-11 10:05:41

Raptorista
Member
From: Italy
Registered: 2011-08-01
Posts: 42

[SOLVED] Upgrading to kernel 3.0 with Ubuntu's GRUB

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 smile
Raptorista

Last edited by Raptorista (2011-08-12 17:12:08)

Offline

#2 2011-08-11 10:23:45

GSF1200S
Member
Registered: 2008-12-24
Posts: 474

Re: [SOLVED] Upgrading to kernel 3.0 with Ubuntu's GRUB

Raptorista wrote:

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 smile
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

#3 2011-08-11 11:04:50

fredo1664
Member
From: Ireland (but I'm French)
Registered: 2011-08-09
Posts: 29

Re: [SOLVED] Upgrading to kernel 3.0 with Ubuntu's GRUB

And a symlink is a symbolic link wink
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

#4 2011-08-11 13:55:45

Raptorista
Member
From: Italy
Registered: 2011-08-01
Posts: 42

Re: [SOLVED] Upgrading to kernel 3.0 with Ubuntu's GRUB

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

#5 2011-08-11 14:00:59

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED] Upgrading to kernel 3.0 with Ubuntu's GRUB

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


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#6 2011-08-11 14:20:42

Raptorista
Member
From: Italy
Registered: 2011-08-01
Posts: 42

Re: [SOLVED] Upgrading to kernel 3.0 with Ubuntu's GRUB

Thanks, now it's clear! I'll do that this evening and hope to be able to let you know smile

Offline

#7 2011-08-12 16:14:13

Raptorista
Member
From: Italy
Registered: 2011-08-01
Posts: 42

Re: [SOLVED] Upgrading to kernel 3.0 with Ubuntu's GRUB

Looks like I did it!
I just had to change Ubuntu's grub.cfg substituting the names with the new ones.

Thanks everybody!

Offline

#8 2011-08-12 16:45:29

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED] Upgrading to kernel 3.0 with Ubuntu's GRUB

Great. Please mark thread as [SOLVED]


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#9 2011-08-12 17:12:25

Raptorista
Member
From: Italy
Registered: 2011-08-01
Posts: 42

Re: [SOLVED] Upgrading to kernel 3.0 with Ubuntu's GRUB

Sure, thanks for reminding me wink

Offline

Board footer

Powered by FluxBB