Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a single hard disk. It has 6 partition and on the 6th partition i have installed Linux kernel-3.10.26 .

Linux kernel-3.10.26 -> (hd0,sda6)

Now i want to ask whether can i install another Linux kernel version say version 3.2.54 on same partition of same hard disk where previous version of Linux has been installed and i can make a choice at boot time that in which version i should boot?

Linux Kernel-3.2.54 -> (hd0,sda6)

share|improve this question
    
This depends on the bootloader you are using. Are you using grub, LILO, U-Boot, something else? Assuming that you are running on x86 with grub, you can install as many kernels as you wish, see superuser.com/questions/208502/how-to-add-a-new-kernel-to-grub2 –  Jonathan Ben-Avraham Jan 10 at 3:09
    
@nitin Which Flavour of Linux you are using ? redhat, ubuntu.... –  max Jan 10 at 8:52
    
@max Debian Xfce –  nitin Jan 10 at 10:00

1 Answer 1

Yes, certainly. Exactly how to do it will depend on your distro - if you want a version that's not in the repository, you might need to build it yourself. For example, instructions for Ubuntu.

Your bootloader will allow you to choose the kernel you want to boot.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.