Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
While installing linux, i got error message when i tried to create LV for /boot... i checked with my friends n they told me that /boot should be a standard partition...
why is that, i asked them but they had no good explanation for it... could someone please explain me why do we create standard partition for /boot, why can't i use LV??? also i heard that its good practice to create separate partitions (LV or standard) for /, /home, swap & other major directories instead of 1 partition for all these... any advantage of it???
First of all, I'm going to assume that LV means "logical volume" - something that I've never actually used, so have no experience with. I *think* your reason is that grub needs to read the kernel off that partition so that it can boot, and reading an LVM partition would be too much to ask of it, since, if I know things correctly, it can't be bigger than 512 bytes, and (I think) is written in Asm, not C or whatever.
And for your question about separate partitions,...... - *I've* never done it, i.e. never had separate partitions for everything.... got along fine
How's the weather in Hyderabad, Sk? I'm in India too!
Quick and dirty explination. GRUB can not read a Logical Partition Manager (LVM). So GRUB must first load the linux kernel before anything can be read from an LVM. Thus the /boot partition must be a "normal" partition. I stick with a small ext partition for boot myself, not sure what other partition formats work.
First of all, I'm going to assume that LV means "logical volume" - something that I've never actually used, so have no experience with. I *think* your reason is that grub needs to read the kernel off that partition so that it can boot, and reading an LVM partition would be too much to ask of it, since, if I know things correctly, it can't be bigger than 512 bytes, and (I think) is written in Asm, not C or whatever.
And for your question about separate partitions,...... - *I've* never done it, i.e. never had separate partitions for everything.... got along fine
How's the weather in Hyderabad, Sk? I'm in India too!
I got it!!! thanks a lot!!! Hyderabad is coool, rainy season... where r u from???
Quick and dirty explination. GRUB can not read a Logical Partition Manager (LVM). So GRUB must first load the linux kernel before anything can be read from an LVM. Thus the /boot partition must be a "normal" partition. I stick with a small ext partition for boot myself, not sure what other partition formats work.
Thats it, i was looking for something like this... Thanks a lot !!! by the way, what would the minimum size for /boot, i generally use 512MB (RHEL6, Backtract5), can i go anything less than this & just wild guess, if i have small /boot partition, is it gonna help in fast booting of OS...
Having a small /boot will make no speed difference & you don't want to confine it too much. If it fills up with new kernels, you could have issue...
Incidentally, you can put it on RAID1 if you wanted to, but not LVM.
Having a small /boot will make no speed difference & you don't want to confine it too much. If it fills up with new kernels, you could have issue...
Incidentally, you can put it on RAID1 if you wanted to, but not LVM.
Thanks Chris... As i wrote earlier, i use 512MB for /boot, i hope its enough... now RAID is something new for me, let me try that also...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.