"How do I run /boot, /(root), & /swap outside LVM partitions using Lilo & Slackware13.1?"
<p>Running Slackware13.1, 160gb ata Hdd for single box multiple servers. How do I configure Lilo when I want to install /boot, / , /swap on partitions outside the LVM system? Do i still need to create an intrid image to put in lilo? Would like to try out a variant of the following partitioning scheme (originally by dotcoder for <a href="http://linuxexchange.org/questions/582/help-with-best-practices-for-custom-partitions-user-data-programs-home/645#645" rel="nofollow">link text</a>:</p>
<p>160GB disk /dev/sda, then my partitioning scheme will be:</p>
<p>/dev/sda1 -- 256MB -- /boot</p>
<p>/dev/sda2 -- RAM*2 -- swap (swap size actually varies, no more then 4GB for RAM>=2GB)</p>
<p>/dev/sda3 -- 1 or 2 GB -- /</p>
<p>/dev/sda4 -- Physical Volume for LVM <-- Is this extended Partition?</p>
<p>Then I create a volume group (VG) on /dev/sda4 and the following logical volumes (LVs):</p>
<p>home -- size depends -- /home</p>
<p>usr -- 8GB -- /usr</p>
<p>var -- 8GB -- /var</p>
<p>tmp -- 1GB -- /tmp</p>
<p>If you are on server, you may create additional LVs for www, mysql storage. Treat VGs as (virtual) disks and LVs as partitions.
link|flag</p>
<p>answered May 18 at 17:32
dotcoder</p>
<p>Secondly, say I format /dev/sda1 /boot (512m), /dev/sda2 /swap (1280m), /dev/sda3 /(5gb), initially using 60gb , still I #pvcreate the entirety of /dev/sda4- LV /usr, /var, /var/lib/mysql, /var/mail/spool,/usr/local, /home, /tmp leave rest empty and i can grow data LVMs later?? So first fdisk P sda1,sda2, sda3, Extend t '8e' sda4 - sda5.. on for lvms??#pvcreate /dev/sda4 - all?</p>
<p>This is the reason I want to put /boot and / outside LVM system:</p>
<blockquote>
<p>Unless you know LVM really well never put your root partition on LVM. It complicates recovery. If the system is unbootable then after booting from a recovery disk you will find out that your LVM disks are not visible. For many sysadmin at this point cold goes down the spine. I have read many tutorials like this but none detail how to setup /boot, / and whether an intrid is still required, in my case for LILO.</p>
</blockquote>
<p>Since I posted these questions have been looking closer at O'Rielly Lilo and boot process but no answer to what may be seen as too basic to answer by the savvy linux gurus? lol Thank you in advance. </p>