LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Reply
 
Search this Thread
Old 07-28-2011, 04:41 AM   #1
SkM007
LQ Newbie
 
Registered: Jun 2011
Distribution: Oracle, BackTrack
Posts: 28

Rep: Reputation: Disabled
/boot as LV...


Hey Guys,

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

Thanks in Advance!!!


SkM...

Last edited by SkM007; 07-28-2011 at 04:42 AM.
 
Old 07-28-2011, 10:27 AM   #2
resetreset
Senior Member
 
Registered: Mar 2008
Location: India
Distribution: Dynebolic, Ubuntu 10.10
Posts: 1,320

Rep: Reputation: 51
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!
 
1 members found this post helpful.
Old 07-28-2011, 11:04 AM   #3
travisdh1
Member
 
Registered: Sep 2008
Distribution: Fedora
Posts: 129

Rep: Reputation: 21
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.
 
1 members found this post helpful.
Old 07-28-2011, 11:39 AM   #4
SkM007
LQ Newbie
 
Registered: Jun 2011
Distribution: Oracle, BackTrack
Posts: 28

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by resetreset View Post
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???
 
Old 07-28-2011, 11:44 AM   #5
SkM007
LQ Newbie
 
Registered: Jun 2011
Distribution: Oracle, BackTrack
Posts: 28

Original Poster
Rep: Reputation: Disabled
Smile

Quote:
Originally Posted by travisdh1 View Post
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...
 
Old 07-28-2011, 06:23 PM   #6
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,280

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
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.
 
Old 07-28-2011, 11:17 PM   #7
SkM007
LQ Newbie
 
Registered: Jun 2011
Distribution: Oracle, BackTrack
Posts: 28

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by chrism01 View Post
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...
 
Old 07-29-2011, 09:02 AM   #8
resetreset
Senior Member
 
Registered: Mar 2008
Location: India
Distribution: Dynebolic, Ubuntu 10.10
Posts: 1,320

Rep: Reputation: 51
Quote:
Originally Posted by SkM007 View Post
I got it!!! thanks a lot!!! Hyderabad is coool, rainy season... where r u from???
Hey Sk, I've just sent you an email, please reply.
 
  


Reply

Tags
boot, partition


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it better on dual boot,trible boot,quad boot rather than virtual machines? pleasehelpme Linux - Newbie 3 12-15-2007 12:04 PM
Boot Camp (fixing boot loaders, learning your way around boot & chainloaders) Siljrath Linux - General 7 05-29-2007 11:22 AM
When I boot my comp. (dual boot sys-Suse 10.1 & Win XP) the first boot stalls. philip niedermeyer Linux - Desktop 5 11-13-2006 06:04 PM
Kind souls: help getting Mandriva install 2 boot? edit boot.ini/grub /boot device or NoMoreReinstallMS Linux - Newbie 1 08-09-2006 04:34 AM
GRUB: How to boot WinXP (NTLDR, NTDETECT.COM & BOOT.INI) from boot partition (EXT2) ? Rayen16 Linux - Software 1 05-25-2006 12:09 PM


All times are GMT -5. The time now is 07:05 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration