LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 08-16-2012, 04:37 PM   #1
blue_k
Member
 
Registered: Apr 2011
Distribution: Slackware64 14.0 & Slackware 13.37
Posts: 121

Rep: Reputation: 5
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
 
Old 08-16-2012, 05:34 PM   #2
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,902

Rep: Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963
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

Last edited by ruario; 08-17-2012 at 12:50 AM. Reason: added extlinux.conf examples and linked to some documentation
 
Old 10-14-2012, 01:49 AM   #3
WildeGeist
LQ Newbie
 
Registered: Feb 2012
Location: Hilo, Hawaii
Distribution: Arch Linux
Posts: 4

Rep: Reputation: Disabled
Wink 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.
 
Old 10-14-2012, 02:54 AM   #4
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,902

Rep: Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963
Partitioning btrfs wasn't the question. The question was about booting from btrfs.
 
  


Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Issues during booting: slackware on external usb hd with btrfs saivnoba Slackware 6 05-19-2012 01:06 PM
btrfs and lilo wont install on the root partition charlie_lab Slackware - Installation 9 09-08-2011 03:17 AM
[SOLVED] dual boot with lilo on btrfs - slackware 13.1 trumpet_tom Slackware 13 06-09-2010 06:20 AM
Lilo NOT booting Slackware dmcbeing Linux - Newbie 3 09-25-2006 09:28 AM
Slackware booting problem with Lilo... avols143 Slackware 1 08-06-2006 06:02 AM


All times are GMT -5. The time now is 10:39 PM.

Main Menu
Advertisement
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