Unix/Linux Go Back    


Slackware The Official Release of Slackware Linux by Patrick Volkerding is an advanced Linux operating system, designed with the twin goals of ease of use and stability as top priorities.

Linux on LVM

Slackware


Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 02-21-2012   -   Original Discussion by Tlogine
Tlogine Tlogine is offline
Registered User
 
Join Date: Aug 2005
Last Activity: 15 November 2016, 8:32 PM EST
Posts: 26
Thanks: 3
Thanked 1 Time in 1 Post
Linux on LVM

Dear all,

I found, in Slackware, without using physical/raw partition Linux can be booted & OS will be in LVM but in general people use /boot from physical/raw partition to boot the RedHat linux System & root and other file systems would be in LVM. My doubt is how a system will be booted without using any physical partition hope this is done as lilo does not read file system

It would be appreciated for better explanation of how it is happening.

For Slackware: http://slackware.osuosl.org/slackware/README_LVM.TXT

Thank you.
The Following User Says Thank You to Tlogine For This Useful Post:
vectrum (05-16-2012)
Sponsored Links
    #2  
Old Unix and Linux 02-28-2012   -   Original Discussion by Tlogine
dragonnefyre dragonnefyre is offline
Registered User
 
Join Date: Feb 2011
Last Activity: 21 April 2013, 5:54 AM EDT
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
Re: Linux on LVM

Hi Tlogine,

I am working on getting LVM on my notebook. The easiest way may be to use the whole disk except for a small /boot partition which needs to be outside the LVM but with an initrd compiled with LVM support :


Code:
 # mkinitrd -c -k 2.6.37.6-smp -m ext3 -f ext3 -r /dev/myvg/root -L

What LVM does is give more flexible partitions. Just think of them as logical volumes in an extended partition (the volume group). I think that is the best way to describe them. It is also possible to add extra space to them if needed, or even add partitions to make them bigger. That is how I see it. I hope I am right. If I am not I am sure someone will correct me.

I hope this helps.

Andy.
The Following User Says Thank You to dragonnefyre For This Useful Post:
Tlogine (03-20-2012)
Sponsored Links
    #3  
Old Unix and Linux 03-20-2012   -   Original Discussion by Tlogine
Tlogine Tlogine is offline
Registered User
 
Join Date: Aug 2005
Last Activity: 15 November 2016, 8:32 PM EST
Posts: 26
Thanks: 3
Thanked 1 Time in 1 Post
Hi Andy,

What my question is how LILO boots Slackware without using any physical partition like /boot used in RHEL. Hope it writes initrd also in blocks/sectors of disk where no user will access usually I think it is a place like MBR. Also would like to know whether the same can be done if I use GRUB.

Thanks.
    #4  
Old Unix and Linux 03-30-2012   -   Original Discussion by Tlogine
dragonnefyre dragonnefyre is offline
Registered User
 
Join Date: Feb 2011
Last Activity: 21 April 2013, 5:54 AM EDT
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
Re: Linux on LVM

Hi Tlogine,

The bootloader is written to the mbr unless you specify somewhere else, eg superblock of the root partition. The initrd will be written to /boot which may be in the root partition or on a partition of it's own.

I am not too sure about grub, but it may work in a similar way. I have used grub with Gentoo, but that was a few years ago. Most of my experience is with lilo. The grub man page should be helpful. I use a separate/boot partition. I reckon it is easier this way and makes life easier. The source code for grub can be found in /extra/source/grub on the DVD. That is version 0.97. Version 1.99 of grub can be found on Slackbuilds. I am sticking with lilo as it just works. Thanks to Patrick and his team for all their hard work.

I hope this helps you and is what you are looking for.

Andy
Sponsored Links
    #5  
Old Unix and Linux 05-16-2012   -   Original Discussion by Tlogine
vectrum vectrum is offline
Registered User
 
Join Date: Jul 2007
Last Activity: 17 August 2016, 12:28 AM EDT
Location: Stephen Court
Posts: 34
Thanks: 14
Thanked 0 Times in 0 Posts
kudos to you ... .

Quote:
Originally Posted by Tlogine View Post
Dear all,

For Slackware: http://slackware.osuosl.org/slackware/README_LVM.TXT

Thank you.
This is a solid help. kudos to you.Linux
Sponsored Links
    #6  
Old Unix and Linux 06-11-2012   -   Original Discussion by Tlogine
Tlogine Tlogine is offline
Registered User
 
Join Date: Aug 2005
Last Activity: 15 November 2016, 8:32 PM EST
Posts: 26
Thanks: 3
Thanked 1 Time in 1 Post
Dear all,

In Slackware machine, you are seeing that you have only one file system and it is under LVM. Booted through lilo

You have one HDD and only one partition and type is LVM. Bootloader is written in MBR.

/dev/rootvg/rootlv /

Please let me know how it is working.

Thanks
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes



All times are GMT -4. The time now is 05:28 AM.