[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#692168: [d-i beta3 btrfs] Unable to install lilo or grub, when / partition is btrfs



This is getting somewhat weird:
I did four installations last evening (on virtualbox), all with a partitioning 
scheme like this:
	/dev/sda1	/	btrfs
	/dev/sda5	swap	swap
and they were all successful, as long as grub is used as bootloader!
(but there is a small regression, please read further.)

I don't know, what happened Friday, when it failed, but yesterday it
worked, and I did everything identical as Friday IMO ~:-|
Used images were beta3-i386-netinst and beta3-i386-cd1.


The only problem I have identified is, that Lilo fails to install, when
/boot is on a btrfs filesystem.
syslog contains this:
	Unpacking lilo (from .../l/lilo/lilo_23.2-4_i386.deb) ...
	Processing triggers for man-db ...
	Setting up lilo (1:23.2-4) ...
	WARNING: Added option 'large-memory', please run 'lilo' before you reboot.
	+ boot = /dev/disk/by-id/ata-VBOX_HARDDISK_VBf9b9608c-a59c7d6e
	+ root = "UUID=5400ffbc-ecod-47de-8103-32f2de035311"
	WARNING: If boot / root options were converted, please run 'lilo' before you reboot.
	Running lilo ...
	Warning:
	LBA32 addressing assumed
	Fatal.	
	Trying to map files from unnamed device 0x0013 (NFS/RAID mirror down ?)
	dpkg: error processing lilo (--configure):
	subprocess installed post-installation script returned error exit status 1
	Error were encountered while processing:
	lilo
	E
	:
	Sub-process /usr/bin/dpkg returned an error code (1)


One more test installation with a partition scheme like this:
	/dev/sda1	/	btrfs
	/dev/sda2	/boot	ext4
	/dev/sda5	swap	swap
leaded to a successful lilo installation. So, lilo is not able to read
from a btrfs filesystem.

Thus I have reassigned this bug to lilo
and renamed it accordingly.

Summary:
Installing grub on btrfs worked. But when booting, it takes a relative
long time for grub to load and display the grub menu (compared with a
grub installation on ext4 for example). You could think the machine
hangs, shutdown and ask for help on debian-boot ;-)

Because of this, it should be added to the errata, that /boot should
be ext4 for example, when / is btrfs (lilo completely fails to install
on btrfs, and grub shows some restrictions).


Holger


-- 
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Created with Sylpheed 3.0.2
    under  D e b i a n   G N U / L I N U X   6.0  ( S q u e e z e )
        Registered LinuxUser #311290 - http://counter.li.org/
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =


Reply to: