LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 06-08-2012, 11:28 AM   #1
pupok
LQ Newbie
 
Registered: Jul 2009
Location: Banská Bystrica, Slovak republic
Distribution: Slackware, Ubuntu
Posts: 18

Rep: Reputation: 2
Btrfs as a filesystem type option during install?


Hi.

Hope this is written in the right forum.

I tried to install 32bit slackware-current last week. Chosen btrfs as a filesystem type for root filesystem. With no success. Of course. I didn't know LILO's not able to deal with btrfs yet. Now I know it. Not even grub 0.9 from extra.

So. So why is there an option formating root as btrfs, when neither LILO, neither grub is actually able to boot from it?

Is there any other way to boot installed slackware (with btrfs root filesystem) using slackware-current installation media only?
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 06-09-2012, 04:25 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,188

Rep: Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131
No-one has responded, so ...

The answer (in general) is to use a separate /boot partition, formatted in a supported filesystem; usually ext[34].
Note that I haven't bothered with Slack in years, and lilo in considerably longer. Grub2 is able to boot btrfs natively - whether it is currently packaged for slack I'm in no position to say.
 
Old 06-09-2012, 11:25 AM   #3
TracyTiger
Member
 
Registered: Apr 2011
Location: California, USA
Distribution: Slackware
Posts: 528

Rep: Reputation: 273Reputation: 273Reputation: 273
Quote:
Originally Posted by pupok View Post
I didn't know LILO's not able to deal with btrfs yet.
Since there was only one other response to this ...

As far as I know LILO doesn't deal with any file systems. The kernel deals with file systems. You need to create an initrd to handle btrfs (e.g. mkinitrd -c -k 2.6.37.6 -m btrfs -f btrfs -r /dev/sda1 ) or compile a kernel with btrfs built in. Of course you also have to then configure LILO appropriately.

I've not used btrfs myself so I'm not speaking from experience with btrfs, only from experience with other file systems.

If you've had success in the past booting from the huge kernel and not needing an initrd then perhaps the huge kernel doesn't have btrfs compliled in.

If you don't want to deal with initrd then you need to use the file systems supported by the huge kernel or recompile the kernel yourself with the file system support you need.

Last edited by TracyTiger; 06-09-2012 at 11:26 AM.
 
Old 06-10-2012, 01:33 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,188

Rep: Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131
Quote:
Originally Posted by Tracy Tiger View Post
As far as I know LILO doesn't deal with any file systems.
I would be surprised were that to be true. From what I remember the blocklist it generates was to locate the conf file, not the (entire) initrd and kernel. After opening the conf lilo would still need to locate them - which would entail understanding the underlying filesystem.
Happy to be proven wrong.

I got into the habit of using a separate boot years ago, and it proved handy when I started to use btrfs not long after Chris released it (as testing). Grub (original) couldn't talk to it either.
 
1 members found this post helpful.
Old 06-10-2012, 06:15 PM   #5
piratesmack
Member
 
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 519

Rep: Reputation: 143Reputation: 143
LILO does use a block list to locate the kernel and initrd, but this doesn't work with BTRFS for reasons I don't know.

Currently only the latest versions of Syslinux and Grub2 can boot directly from BTRFS.

Last edited by piratesmack; 06-10-2012 at 06:19 PM.
 
2 members found this post helpful.
  


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
[SOLVED] Question about BtrFS filesystem compression. silvyus_06 Linux - Newbie 2 02-09-2011 12:03 AM
LXer: Benchmarks Of The Btrfs Space Cache Option LXer Syndicated Linux News 0 12-24-2010 03:00 PM
install debian in another filesystem type fachamix Debian 3 07-19-2010 10:05 AM
LXer: Using The BTRFS Filesystem On Debian Lenny LXer Syndicated Linux News 0 04-01-2009 01:40 PM
Suse 10.3 install failed grub filesystem type unknown susecreamcheese SUSE / openSUSE 7 10-19-2007 04:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 09:15 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
Open Source Consulting | Domain Registration