LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-03-2015, 04:02 AM   #1
yek
Member
 
Registered: Feb 2015
Location: Yokoahama Kanagawa, Japn.
Distribution: Manjaro Linux, PCLinuxOS, Sabayon Linux, Vine Linux, CentOS
Posts: 41

Rep: Reputation: 0
Unhappy update-grub (grub-probe) failed by unknown filesystem.


Hi,
I have trouble.

My distribution is a Manjaro.
The problem occur at update-grub.

$ LANG=C sudo update-grub
[sudo] password for aki:
Generating grub configuration file ...
Found Intel Microcode image
Found linux image: /boot/vmlinuz-319-x86_64
Found initrd image: /boot/initramfs-319-x86_64.img
Found initrd fallback image: /boot/initramfs-319-x86_64-fallback.img
Found linux image: /boot/vmlinuz-318-x86_64
Found initrd image: /boot/initramfs-318-x86_64.img
Found initrd fallback image: /boot/initramfs-318-x86_64-fallback.img
grub-probe: error: unknown filesystem.
Found Windows Boot Manager on /dev/sdc1@/efi/Microsoft/Boot/bootmgfw.efi
/usr/bin/grub-probe: error: unknown filesystem.
[1] 21407 exit 1 LANG=C sudo update-grub

I found it on Linux 3.19 kernel installation with Manjaro20150220,
but I think maybe It has already occurred at the time of update to 20150220
because current Linux version is different from Grub menu or print message's version.

disks are:
sda: 120GB SSD : GPT/UEFI Manjaro (automatic layout)
sdb: 3TB HDD : dm-crypt(plain)
sdc: 3TB HDD : GPT/UEFI Windows 7
sdc1:: UEFI
sdc2:: Microsoft Reserved
sdc3:: NTFS(Windows system)
sdd: 3TB HDD : dm-crypt(plain)
sde: 3TB HDD : dm-crypt(plain)
sdf: 3TB HDD : dm-crypt(plain)

sd[bdef] were GPT and sd[bdef]1 were btrfs at I found this problem,
so I think this trouble isn't come from plain dm-crypt disks.

How to fix it?

Regard.
 
Old 03-09-2015, 05:21 AM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
Please post fdisk -l.
Which filesystems are used on the partitions?
 
Old 03-10-2015, 06:01 AM   #3
yek
Member
 
Registered: Feb 2015
Location: Yokoahama Kanagawa, Japn.
Distribution: Manjaro Linux, PCLinuxOS, Sabayon Linux, Vine Linux, CentOS
Posts: 41

Original Poster
Rep: Reputation: 0
Thank you for your reply. I'm sorry, I did not notice.

fdisk don't report right layout because all disks are GPT and all HDDs are over 2.2TB.

Result of gdisk:

Code:
$ LANG=C sudo gdisk -l /dev/sda
GPT fdisk (gdisk) version 0.8.10

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 234441648 sectors, 111.8 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): B84394A3-E49C-4863-95A6-1E502250B2DC
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 234441614
Partitions will be aligned on 2048-sector boundaries
Total free space is 4973 sectors (2.4 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048            6143   2.0 MiB     8300  BIOS_GRUB
   2            6144          210943   100.0 MiB   EF00  UEFI_SYSTEM
   3          210944          735231   256.0 MiB   8300  MANJARO_BOOT
   4          735232       234438655   111.4 GiB   8E00  MANJARO_LVM

$ LANG=C sudo gdisk -l /dev/sdc
GPT fdisk (gdisk) version 0.8.10

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sdc: 5860533168 sectors, 2.7 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): 15E9D5C8-B276-4FB1-87F2-71A04BD728DA
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 5860533134
Partitions will be aligned on 2048-sector boundaries
Total free space is 2925 sectors (1.4 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048          206847   100.0 MiB   EF00  EFI system partition
   2          206848          468991   128.0 MiB   0C01  Microsoft reserved ...
   3          468992      5860532223   2.7 TiB     0700  Basic data partition
sd[bdef] use whole disk plain dm-crypt.
 
Old 03-10-2015, 12:17 PM   #4
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
I asked for the filesystem type!

I assume the filesystem for /boot is brtfs, which is not supported by the grub2.

Last edited by Keruskerfuerst; 03-10-2015 at 12:44 PM.
 
Old 03-10-2015, 07:23 PM   #5
yek
Member
 
Registered: Feb 2015
Location: Yokoahama Kanagawa, Japn.
Distribution: Manjaro Linux, PCLinuxOS, Sabayon Linux, Vine Linux, CentOS
Posts: 41

Original Poster
Rep: Reputation: 0
I just right understood it.

sda1:ext3(BIOS_GRUB)
sda2:vfat(UEFI)
sda3:ext2(/boot)


Code:
$ LANG=C sudo mount | \grep sda >| /tmp/mount
/dev/sda3 on /boot type ext2 (rw,relatime)
/dev/sda2 on /boot/efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
or

Code:
Error: /dev/sdb: unrecognised disk label
Error: /dev/sdd: unrecognised disk label
Error: /dev/sde: unrecognised disk label
Error: /dev/sdf: unrecognised disk label
Model: ATA Corsair Force LS (scsi)
Disk /dev/sda: 120GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name          Flags
 1      1049kB  3146kB  2097kB  ext3         BIOS_GRUB
 2      3146kB  108MB   105MB   fat32        UEFI_SYSTEM   boot, esp
 3      108MB   376MB   268MB   ext2         MANJARO_BOOT  legacy_boot
 4      376MB   120GB   120GB                MANJARO_LVM   lvm



                                                                          
Model: ATA WDC WD30EZRX-00D (scsi)
Disk /dev/sdb: 3001GB
Sector size (logical/physical): 512B/4096B
Partition Table: unknown
Disk Flags: 

Model: ATA WDC WD30EZRX-00D (scsi)
Disk /dev/sdc: 3001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name                          Flags
 1      1049kB  106MB   105MB   fat32        EFI system partition          boot, esp
 2      106MB   240MB   134MB                Microsoft reserved partition  msftres
 3      240MB   3001GB  3000GB  ntfs         Basic data partition          msftdata



                                                                          
Model: ATA WDC WD30EZRX-00D (scsi)
Disk /dev/sdd: 3001GB
Sector size (logical/physical): 512B/4096B
Partition Table: unknown
Disk Flags: 


                                                                          
Model: ATA WDC WD30EZRX-00D (scsi)
Disk /dev/sde: 3001GB
Sector size (logical/physical): 512B/4096B
Partition Table: unknown
Disk Flags: 


                                                                          
Model: ATA WDC WD30EZRX-00D (scsi)
Disk /dev/sdf: 3001GB
Sector size (logical/physical): 512B/4096B
Partition Table: unknown
Disk Flags:
I didn't update grub but currently boot up with UEFI/Grub2.
 
Old 03-12-2015, 12:05 PM   #6
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
Then post /boot/grub/grub.conf.
 
Old 03-12-2015, 08:39 PM   #7
yek
Member
 
Registered: Feb 2015
Location: Yokoahama Kanagawa, Japn.
Distribution: Manjaro Linux, PCLinuxOS, Sabayon Linux, Vine Linux, CentOS
Posts: 41

Original Poster
Rep: Reputation: 0
/boot/grub/grub.cfg

Code:
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="${saved_entry}"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

set menu_color_normal=light-gray/black
set menu_color_highlight=green/black

if loadfont unicode ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
fi
terminal_input console
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=5
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Manjaro Linux' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-751a1c1e-c76e-4500-96f2-6e76b938e5e5' {
	savedefault
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt 
	insmod ext2
	set root='hd0,gpt3'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3  f3728ae9-1050-4d17-9d50-67dbfa084b6a
	else
	  search --no-floppy --fs-uuid --set=root f3728ae9-1050-4d17-9d50-67dbfa084b6a
	fi
	echo	'Loading Linux 3.18.6-1-MANJARO x64 ...'
	linux	/vmlinuz-318-x86_64 root=UUID=751a1c1e-c76e-4500-96f2-6e76b938e5e5 rw cryptdevice=/dev/disk/by-uuid/5d6e69be-0088-43fd-8c27-a00acc872c99:cryptManjaro quiet splash nomodeset nokmsboot
	echo	'Loading initial ramdisk ...'
	initrd	/intel-ucode.img /initramfs-318-x86_64.img
}
submenu 'Advanced options for Manjaro Linux' $menuentry_id_option 'gnulinux-advanced-751a1c1e-c76e-4500-96f2-6e76b938e5e5' {
	menuentry 'Manjaro Linux (Kernel: 3.18.6-1-MANJARO x64)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.18.6-1-MANJARO x64-advanced-751a1c1e-c76e-4500-96f2-6e76b938e5e5' {
	savedefault
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_gpt 
		insmod ext2
		set root='hd0,gpt3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3  f3728ae9-1050-4d17-9d50-67dbfa084b6a
		else
		  search --no-floppy --fs-uuid --set=root f3728ae9-1050-4d17-9d50-67dbfa084b6a
		fi
		echo	'Loading Linux 3.18.6-1-MANJARO x64 ...'
		linux	/vmlinuz-318-x86_64 root=UUID=751a1c1e-c76e-4500-96f2-6e76b938e5e5 rw cryptdevice=/dev/disk/by-uuid/5d6e69be-0088-43fd-8c27-a00acc872c99:cryptManjaro quiet splash nomodeset nokmsboot
		echo	'Loading initial ramdisk ...'
		initrd	/intel-ucode.img /initramfs-318-x86_64.img
	}
	menuentry 'Manjaro Linux (Kernel: 3.18.6-1-MANJARO x64 - fallback initramfs)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.18.6-1-MANJARO x64-fallback-751a1c1e-c76e-4500-96f2-6e76b938e5e5' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_gpt 
		insmod ext2
		set root='hd0,gpt3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3  f3728ae9-1050-4d17-9d50-67dbfa084b6a
		else
		  search --no-floppy --fs-uuid --set=root f3728ae9-1050-4d17-9d50-67dbfa084b6a
		fi
		echo	'Loading Linux 3.18.6-1-MANJARO x64 ...'
		linux	/vmlinuz-318-x86_64 root=UUID=751a1c1e-c76e-4500-96f2-6e76b938e5e5 rw cryptdevice=/dev/disk/by-uuid/5d6e69be-0088-43fd-8c27-a00acc872c99:cryptManjaro quiet splash nomodeset nokmsboot
		echo	'Loading initial ramdisk ...'
		initrd	/intel-ucode.img /initramfs-318-x86_64-fallback.img
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (on /dev/sdc1)' --class windows --class os $menuentry_id_option 'osprober-efi-EA6F-D0A4' {
	savedefault
	insmod part_gpt 
	insmod fat
	set root='hd2,gpt1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt1 --hint-efi=hd2,gpt1 --hint-baremetal=ahci2,gpt1  EA6F-D0A4
	else
	  search --no-floppy --fs-uuid --set=root EA6F-D0A4
	fi
	chainloader /efi/Microsoft/Boot/bootmgfw.efi
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

### BEGIN /etc/grub.d/60_memtest86+ ###
if [ "${grub_platform}" == "pc" ]; then
    menuentry "Memory Tester (memtest86+)" --class memtest86 --class gnu --class tool {
        search --fs-uuid --no-floppy --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3  f3728ae9-1050-4d17-9d50-67dbfa084b6a
        linux16 /memtest86+/memtest.bin 
    }
fi
### END /etc/grub.d/60_memtest86+ ###

/etc/default/grub

Code:
GRUB_DEFAULT=saved
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=Manjaro
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset nokmsboot"
GRUB_CMDLINE_LINUX="cryptdevice=/dev/disk/by-uuid/5d6e69be-0088-43fd-8c27-a00acc872c99:cryptManjaro"

# If you want to enable the save default function, uncomment the following
# line, and set GRUB_DEFAULT to saved.
GRUB_SAVEDEFAULT=true

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

# Uncomment to enable Hidden Menu, and optionally hide the timeout count
#GRUB_HIDDEN_TIMEOUT=5
#GRUB_HIDDEN_TIMEOUT_QUIET=true

# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console

# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=auto

# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep

# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true

# Uncomment and set to the desired menu colors.  Used by normal and wallpaper
# modes only.  Entries specified as foreground/background.
GRUB_COLOR_NORMAL="light-gray/black"
GRUB_COLOR_HIGHLIGHT="green/black"

# Uncomment one of them for the gfx desired, a image background or a gfxtheme
GRUB_BACKGROUND="/usr/share/grub/background.png"
#GRUB_THEME="/path/to/gfxtheme"

# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
 
Old 03-13-2015, 09:38 AM   #8
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
Your partition layout makes no sense.
 
  


Reply

Tags
grub, manjaro, trouble, update


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
GRUB error: unknown filesystem, grub rescue magnecticfield Linux - Newbie 28 07-30-2013 03:35 AM
GRUB loading. Welcome to GRUB! error: unknown filesystem. Raja Ahmad Nor Asmad Linux - Newbie 1 09-28-2012 07:02 AM
[SOLVED] cannot install grub (grub-probe says 'unknown fs' with ext4 and md raid) cusco Linux - Software 3 03-15-2011 01:58 AM
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 - Software

All times are GMT -5. The time now is 09:04 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