LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Will Slackware 14.0 support booting from a btrfs partition using LILO? (http://www.linuxquestions.org/questions/slackware-14/will-slackware-14-0-support-booting-from-a-btrfs-partition-using-lilo-4175422482/)

blue_k 08-16-2012 03:37 PM

Will Slackware 14.0 support booting from a btrfs partition using LILO?
 
Hi,

I was wondering if the version of LILO in Slackware 14.0 will be able to boot from a btrfs partition, or will a separate /boot partition still be required?

Thank you

ruario 08-16-2012 04:34 PM

It won't but if you want to avoid a separate boot partition you could use Extlinux (part of Syslinux) instead. The version included in Slackware can boot from a btrfs partition.

The Extlinux page and the Arch Linux Wiki will give you more information on how to set it up. Though an extlinux.conf that looks something like this would probably do the trick (adjust to taste and device names):

Code:

UI menu.c32
PROMPT 0
MENU TITLE Boot options
TIMEOUT 50
DEFAULT generic

LABEL generic
      MENU LABEL Slackware (vmlinuz-generic-smp-3.2.27-smp)
      KERNEL /boot/vmlinuz-generic-smp-3.2.27-smp
      APPEND root=/dev/sda1 ro
      INITRD /boot/initrd.gz

LABEL huge
      MENU LABEL Slackware (vmlinuz-huge-smp-3.2.27-smp)
      KERNEL /boot/vmlinuz-huge-smp-3.2.27-smp
      APPEND root=/dev/sda1 ro

Or if you prefer something really simple:

Code:

PROMPT 0
TIMEOUT 0
DEFAULT generic
LABEL generic
      KERNEL /boot/vmlinuz-generic-smp-3.2.27-smp
      APPEND root=/dev/sda1 ro
      INITRD /boot/initrd.gz


WildeGeist 10-14-2012 12:49 AM

easy btrfs on Slackware
 
I know this is cheating but...

I found using the openSUSE install will leave you a good easy automatic btrfs installation.

Then simply start the Slackware installer and when it sees the btrfs just install on that partition scheme.

Presently I am not skilled enough to try to write my own btrfs partitions and certainly not medicated enough to attempt it; yet.

I used to have thing built on openSUSE called a KDE partition tool or something like that. It was useful. Might still be available on the openSUSE site?

Mind you I have not tried this on the latest 14.0's. I am not sure how the llvm/clang acts? Fixing to try it soon though.

ruario 10-14-2012 01:54 AM

Partitioning btrfs wasn't the question. The question was about booting from btrfs.


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