LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices

Reply
 
LinkBack Search this Thread
Old 09-02-2009, 03:02 PM   #1
egregor
Member
 
Registered: Sep 2009
Distribution: slackware, Salix, bsd's
Posts: 35

Rep: Reputation: 17
/boot as LVM??


Hi. Regarding a lvm installation:

Can LILO or GRUB (I prefer and am used to the later) start from a LVM'ed /boot? Can /boot be a separated LV?



Thanks
 
Old 09-02-2009, 03:43 PM   #2
firewiz87
Member
 
Registered: Jan 2006
Distribution: OpenSUSE 11.2, OpenSUSE 11.3,Arch
Posts: 240

Rep: Reputation: 37
I dont think that is possible.... most of the grub files (like stage 2) is stored in /boot and Loading lvm before stage 2 is not possible(as far as i know).... Thus the /boot should be a physical partition....

However, you can put everything else as LV.... though making root an LV is not recommended since an LVM error would make the system unbootable....
 
Old 09-02-2009, 04:06 PM   #3
gegechris99
Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 14.1 32bit
Posts: 699
Blog Entries: 3

Rep: Reputation: 73
Hello egregor,

This thread LVM question may be of interest to you.
 
Old 09-02-2009, 05:29 PM   #4
egregor
Member
 
Registered: Sep 2009
Distribution: slackware, Salix, bsd's
Posts: 35

Original Poster
Rep: Reputation: 17
firewiz87

I agree, wasn't expecting GRUB to have this feature. But it seems LILO has. Thanks


gegechris99

Thanks, this post sheds some light. But let me ask you, did you make /boot within lvm (you said fallowed "README_LVM.TXT")?

-------------------------------------------------------------------------

Then I'm thinking about doing a / and a lvm for other partitions. So, to be sure, I will need an initrd with -L option, so it will be possible to mount the rest of the system?



UPDATE

Installed here with grub and root outside lvm. If it wasn't the help maybe I would still be stuck. Thanks


But this question is still up: can Lilo boot from LVM?

Last edited by egregor; 09-02-2009 at 10:03 PM.
 
Old 09-03-2009, 03:20 AM   #5
gegechris99
Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 14.1 32bit
Posts: 699
Blog Entries: 3

Rep: Reputation: 73
Quote:
Originally Posted by egregor View Post
But this question is still up: can Lilo boot from LVM?

Yes. In file README_LVM.TXT, the example describes the installation of both the root "/" and /home directories in LVM.

So /boot is also in LVM (because root "/" is in LVM). And in this case, you'll need an initrd.gz image file that will be used by lilo during boot.

Of course, follow carelful the instructions in the README file to create the initrd.gz file and update your lilo configuration.
 
Old 09-03-2009, 07:48 AM   #6
egregor
Member
 
Registered: Sep 2009
Distribution: slackware, Salix, bsd's
Posts: 35

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by gegechris99 View Post
Yes. In file README_LVM.TXT, the example describes the installation of both the root "/" and /home directories in LVM.

So /boot is also in LVM (because root "/" is in LVM). And in this case, you'll need an initrd.gz image file that will be used by lilo during boot.

Of course, follow carelful the instructions in the README file to create the initrd.gz file and update your lilo configuration.

OK.


Thanks
 
Old 09-03-2009, 12:04 PM   #7
firewiz87
Member
 
Registered: Jan 2006
Distribution: OpenSUSE 11.2, OpenSUSE 11.3,Arch
Posts: 240

Rep: Reputation: 37
thought i would add in... just so that you would know...

The "new" grub, called grub2 supports booting from LVM....
http://grub.enbug.org/LVMandRAID

Do post how all this works out...
 
  


Reply

Tags
installation, lvm, slackware


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] could not boot after enlarge lvm windstory Linux - Newbie 3 08-16-2009 03:46 AM
boot from lvm without initrd pgb205 Red Hat 1 03-01-2009 03:57 PM
How to have a whole HD LVM (except /boot) anw Linux - Software 9 02-28-2009 10:20 AM
lvm and multi boot openSauce Linux - General 3 10-27-2008 03:35 PM
/boot LVM sycamorex Linux - Hardware 15 07-02-2008 06:31 AM


All times are GMT -5. The time now is 09:00 PM.

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