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

Bug#659131: installation-report: grub-install fails on btrfs filesystem



Package: installation-reports
Version: 2.45
Severity: normal
Tags: d-i



-- Package-specific info:

Boot method: CD
Image version: 7.0 (Wheezy) - installer build 20120206-00:09
Date: 08-Feb-2010

Machine: Virtual box (fails on bare metal as well)
Partitions:
Filesystem                                             Type     1K-blocks   Used Available Use% Mounted on
rootfs                                                 rootfs     7993344 805644   6460588  12% /
udev                                                   devtmpfs    512536      0    512536   0% /dev
tmpfs                                                  tmpfs       103464    188    103276   1% /run
/dev/disk/by-uuid/bbb7467e-1ee2-46ed-80fb-104fb48ba3d0 btrfs      7993344 805644   6460588  12% /
tmpfs                                                  tmpfs         5120      0      5120   0% /run/lock
tmpfs                                                  tmpfs       206928     16    206912   1% /tmp
tmpfs                                                  tmpfs       206928      0    206928   0% /run/shm

Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:           [O]
Detect network card:    [O]
Configure network:      [O]
Detect CD:              [O]
Load installer modules: [O]
Detect hard drives:     [O]
Partition hard drives:  [O]
Install base system:    [O]
Clock/timezone setup:   [O]
User/password setup:    [O]
Install tasks:          [O]
Install boot loader:    [E]
Overall install:        [E]

Comments/Problems:

Problem occurs when /boot is on btrfs (in this particular case, there is just 
a single btrfs filesystem)
	grub-install /dev/sda 
fails, because it does not see the btrfs filesystem

This is because /proc is not mounted. So there is an easy workaround:
Once it fails, ask a shell; mount /proc:
	mount -t proc proc /target/proc
and resume the install, grub will then complete successfully.

As a side note, as long as there is no fsck.btrfs the system will not boot
if root is on brtfs as the fsck pass will fail. 
So for btrfs it would be good to set the root fs in fstab in 'pass 0' to 
skip the check:
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda1 during installation
UUID=....        /               btrfs   defaults        0       0


-- 


==============================================
Installer lsb-release:
==============================================
DISTRIB_ID=Debian
DISTRIB_DESCRIPTION="Debian GNU/Linux installer"
DISTRIB_RELEASE="7.0 (wheezy) - installer build 20120206-00:09"
X_INSTALLATION_MEDIUM=cdrom

==============================================
Installer hardware-summary:
==============================================
uname -a: Linux woppy 3.2.0-1-486 #1 Wed Feb 1 08:35:59 UTC 2012 i686 GNU/Linux
lspci -knn: 00:00.0 Host bridge [0600]: Intel Corporation 440FX - 82441FX PMC [Natoma] [8086:1237] (rev 02)
lspci -knn: 00:01.0 ISA bridge [0601]: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II] [8086:7000]
lspci -knn: 00:01.1 IDE interface [0101]: Intel Corporation 82371AB/EB/MB PIIX4 IDE [8086:7111] (rev 01)
lspci -knn: 	Kernel driver in use: ata_piix
lspci -knn: 00:02.0 VGA compatible controller [0300]: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter [80ee:beef]
lspci -knn: 00:03.0 Ethernet controller [0200]: Intel Corporation 82540EM Gigabit Ethernet Controller [8086:100e] (rev 02)
lspci -knn: 	Subsystem: Intel Corporation Device [8086:001e]
lspci -knn: 	Kernel driver in use: e1000
lspci -knn: 00:04.0 System peripheral [0880]: InnoTek Systemberatung GmbH VirtualBox Guest Service [80ee:cafe]
lspci -knn: 00:05.0 Multimedia audio controller [0401]: Intel Corporation 82801AA AC'97 Audio Controller [8086:2415] (rev 01)
lspci -knn: 	Subsystem: Intel Corporation Device [8086:0000]
lspci -knn: 00:06.0 USB controller [0c03]: Apple Computer Inc. KeyLargo/Intrepid USB [106b:003f]
lspci -knn: 	Kernel driver in use: ohci_hcd
lspci -knn: 00:07.0 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ACPI [8086:7113] (rev 08)
lspci -knn: 00:0b.0 USB controller [0c03]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller [8086:265c]
lspci -knn: 	Kernel driver in use: ehci_hcd
lspci -knn: 00:0d.0 SATA controller [0106]: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [AHCI mode] [8086:2829] (rev 02)
lspci -knn: 	Kernel driver in use: ahci
usb-list: 
usb-list: Bus 01 Device 01: EHCI Host Controller [1d6b:0002]
usb-list:    Level 00 Parent 00 Port 00  Class 09(hub  ) Subclass 00 Protocol 00
usb-list:    Manufacturer: Linux 3.2.0-1-486 ehci_hcd
usb-list:    Interface 00: Class 09(hub  ) Subclass 00 Protocol 00 Driver hub
usb-list: 
usb-list: Bus 02 Device 01: OHCI Host Controller [1d6b:0001]
usb-list:    Level 00 Parent 00 Port 00  Class 09(hub  ) Subclass 00 Protocol 00
usb-list:    Manufacturer: Linux 3.2.0-1-486 ohci_hcd
usb-list:    Interface 00: Class 09(hub  ) Subclass 00 Protocol 00 Driver hub
usb-list: 
usb-list: Bus 02 Device 02: USB Tablet [80ee:0021]
usb-list:    Level 01 Parent 01 Port 00  Class 00(>ifc ) Subclass 00 Protocol 00
usb-list:    Manufacturer: VirtualBox
usb-list:    Interface 00: Class 03(HID  ) Subclass 00 Protocol 00 Driver usbhid
lsmod: Module                  Size  Used by
lsmod: ufs                    57656  0 
lsmod: qnx4                   12992  0 
lsmod: ntfs                  161713  0 
lsmod: reiserfs              171472  0 
lsmod: efivars                13159  0 
lsmod: dm_mod                 57354  0 
lsmod: md_mod                 81567  0 
lsmod: xfs                   511016  0 
lsmod: jfs                   131002  0 
lsmod: ext4                  298173  0 
lsmod: jbd2                   51542  1 ext4
lsmod: crc16                  12327  1 ext4
lsmod: ext3                  137932  0 
lsmod: jbd                    42496  1 ext3
lsmod: btrfs                 471514  1 
lsmod: zlib_deflate           21318  1 btrfs
lsmod: crc32c                 12576  1 
lsmod: libcrc32c              12394  1 btrfs
lsmod: vfat                   17117  0 
lsmod: fat                    40365  1 vfat
lsmod: ext2                   49804  0 
lsmod: mbcache                12897  3 ext4,ext3,ext2
lsmod: e1000                  80619  0 
lsmod: nls_utf8               12416  0 
lsmod: isofs                  34640  0 
lsmod: ide_generic             8209  0 [permanent]
lsmod: ide_core               66250  1 ide_generic
lsmod: usb_storage            35286  0 
lsmod: thermal                13103  0 
lsmod: fan                    12594  0 
lsmod: thermal_sys            17752  2 thermal,fan
lsmod: sr_mod                 17468  0 
lsmod: cdrom                  34813  1 sr_mod
lsmod: usbhid                 31673  0 
lsmod: sd_mod                 35425  3 
lsmod: hid                    60120  1 usbhid
lsmod: crc_t10dif             12332  1 sd_mod
lsmod: ata_piix               21296  0 
lsmod: ohci_hcd               22264  0 
lsmod: parport_pc             22036  0 
lsmod: parport                31375  1 parport_pc
lsmod: ata_generic            12439  0 
lsmod: ahci                   20821  2 
lsmod: libahci                18429  1 ahci
lsmod: ehci_hcd               35684  0 
lsmod: usbcore               100493  5 usb_storage,usbhid,ohci_hcd,ehci_hcd
lsmod: libata                121219  4 ata_piix,ata_generic,ahci,libahci
lsmod: scsi_mod              135666  4 usb_storage,sr_mod,sd_mod,libata
lsmod: usb_common             12338  1 usbcore
df: Filesystem           1K-blocks      Used Available Use% Mounted on
df: none                    103464        32    103432   0% /run
df: tmpfs                   517308         0    517308   0% /dev
df: /dev/sda1              7993344    676616   6576896   9% /target
df: /dev/sda1              7993344    676616   6576896   9% /dev/.static/dev
df: tmpfs                   517308         0    517308   0% /target/dev
free:              total         used         free       shared      buffers
free: Mem:       1034620       866948       167672            0         1760
free: -/+ buffers:             865188       169432
free: Swap:       392188          876       391312
/proc/cmdline: vga=788 initrd=/install.386/initrd.gz -- quiet  BOOT_IMAGE=/install.386/vmlinuz 
/proc/cpuinfo: processor	: 0
/proc/cpuinfo: vendor_id	: GenuineIntel
/proc/cpuinfo: cpu family	: 6
/proc/cpuinfo: model		: 37
/proc/cpuinfo: model name	: Intel(R) Core(TM) i5 CPU       M 560  @ 2.67GHz
/proc/cpuinfo: stepping	: 5
/proc/cpuinfo: cpu MHz		: 2553.537
/proc/cpuinfo: cache size	: 6144 KB
/proc/cpuinfo: fdiv_bug	: no
/proc/cpuinfo: hlt_bug		: no
/proc/cpuinfo: f00f_bug	: no
/proc/cpuinfo: coma_bug	: no
/proc/cpuinfo: fpu		: yes
/proc/cpuinfo: fpu_exception	: yes
/proc/cpuinfo: cpuid level	: 5
/proc/cpuinfo: wp		: yes
/proc/cpuinfo: flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx lm constant_tsc pni monitor ssse3 lahf_lm
/proc/cpuinfo: bogomips	: 5107.07
/proc/cpuinfo: clflush size	: 64
/proc/cpuinfo: cache_alignment	: 64
/proc/cpuinfo: address sizes	: 36 bits physical, 48 bits virtual
/proc/cpuinfo: power management:
/proc/cpuinfo: 

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.1.0-1-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

installation-report depends on no packages.

Versions of packages installation-report recommends:
ii  pciutils   1:3.1.8-2
ii  reportbug  6.3.1

installation-report suggests no packages.

-- no debconf information



Reply to: