LinuxQuestions.org
Social Bookmarking all things Linux and Open Source
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices

Tags used in this thread
Popular LQ Tags , ,

Reply
 
Thread Tools
Old 09-02-2009, 04:02 PM   #1
egregor
Member
 
Registered: Sep 2009
Distribution: slackware, bsd's
Posts: 33
Thanked: 3
/boot as LVM??


[Log in to get rid of this advertisement]
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
linux egregor is offline  
Tag This Post , ,
Reply With Quote
Old 09-02-2009, 04:43 PM   #2
firewiz87
Member
 
Registered: Jan 2006
Distribution: OpenSUSE 11.1
Posts: 185
Thanked: 11
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....
windows_xp_2003 firewiz87 is offline     Reply With Quote
Old 09-02-2009, 05:06 PM   #3
gegechris99
Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 13.0 (2.6.29.6-smp)
Posts: 557
Blog Entries: 1
Thanked: 47
Hello egregor,

This thread LVM question may be of interest to you.
linuxslackware gegechris99 is offline     Reply With Quote
Thanked by:
Old 09-02-2009, 06:29 PM   #4
egregor
Member
 
Registered: Sep 2009
Distribution: slackware, bsd's
Posts: 33
Thanked: 3

Original Poster
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 11:03 PM..
linux egregor is offline     Reply With Quote
Old 09-03-2009, 04:20 AM   #5
gegechris99
Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 13.0 (2.6.29.6-smp)
Posts: 557
Blog Entries: 1
Thanked: 47
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.
windows_xp_2003 gegechris99 is offline     Reply With Quote
Old 09-03-2009, 08:48 AM   #6
egregor
Member
 
Registered: Sep 2009
Distribution: slackware, bsd's
Posts: 33
Thanked: 3

Original Poster
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
linux egregor is offline     Reply With Quote
Old 09-03-2009, 01:04 PM   #7
firewiz87
Member
 
Registered: Jan 2006
Distribution: OpenSUSE 11.1
Posts: 185
Thanked: 11
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...
windows_xp_2003 firewiz87 is offline     Reply With Quote
Thanked by:

Reply

Bookmarks


Thread Tools

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
[SOLVED] could not boot after enlarge lvm windstory Linux - Newbie 3 08-16-2009 04:46 AM
boot from lvm without initrd pgb205 Red Hat 1 03-01-2009 04:57 PM
How to have a whole HD LVM (except /boot) anw Linux - Software 9 02-28-2009 11:20 AM
lvm and multi boot openSauce Linux - General 3 10-27-2008 04:35 PM
/boot LVM sycamorex Linux - Hardware 15 07-02-2008 07:31 AM


All times are GMT -5. The time now is 06:06 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration