Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

A fair while ago (~ 2004) I was told to always create a separate partition for the boot directory. And since then I always have. But after reading a few questions about partitioning questions, I'm curious. Do I still need a /boot partition?

Note: If helpful, I'm dual booting (Win XP or 7) & Ubuntu 10.04. I also have one partition (using ext2/3) which I use to share files between the two operating systems.

share|improve this question

3 Answers 3

up vote 18 down vote accepted

If you don't use LVM, root volume encryption, software RAID, etc., and otherwise just have your root volume on a plain-jane filesystem with no intermediate layers, then you don't need it.

Really, the most important files in booting are the kernel image (vmlinuz) and the initramfs image (initrd.img). If both of those (and the GRUB configuration files) are accessible by GRUB with no special handling, then a separate /boot volume is not necessary.

share|improve this answer
    
My question is probably enough of a duplicate to close, but your answer intrigues me. I do use LVM on my webserver & there I must use a separate boot partition -- but I guess this is the only condition to really use one. Thanks to "@Chris Jester-Young" and @Jorge! –  M. Tibbits Oct 12 '10 at 17:40
4  
Since Grub2 (i.e. since Ubuntu 9.10), LVM doesn't require a separate LVM partition. (Even before, Lilo had supported LVM for a long time, but of course has the downside of not being Grub.) Software RAID-1 never required a separate /boot, and Grub2 now supports most (all?) of Linux's RAID modes, as well as some encryption modes. The upshot is that there's very rarely a need for a separate /boot nowadays. –  Gilles Oct 12 '10 at 21:06

Generally speaking, unless you're dealing with encryption, or RAID, you don't need a separate /boot partition.

That said, I occasionally find a use for adding a separate /boot partition as a FAT partition. This allows your dual-boot system to make alterations to your GRUB config, so you can create a batch file to shut down windows and alter the default menu choice so that it boots something else next. Most people don't need this, but I've had a few projects which required switching back and forth, and it allows it to be done entirely by script.

share|improve this answer

This response probably answers your question.

share|improve this answer
2  
Link-only answers are discouraged –  Jeremy Aug 22 '13 at 18:19
1  
While this may theoretically answer the question, it is preferable to include the essential parts of the answer here. Thanks. –  Seth Aug 22 '13 at 18:20

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.