Debian Bug report logs - #772526
adjust the action of update-grub2 to bios_grub partitions

version graph

Package: os-prober; Maintainer for os-prober is Debian Install System Team <debian-boot@lists.debian.org>; Source for os-prober is src:os-prober (PTS, buildd, popcon).

Reported by: lumin <cdluminate@gmail.com>

Date: Mon, 8 Dec 2014 06:54:01 UTC

Severity: wishlist

Found in version os-prober/1.70

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#772526; Package grub2-common. (Mon, 08 Dec 2014 06:54:07 GMT) (full text, mbox, link).


Acknowledgement sent to lumin <cdluminate@gmail.com>:
New Bug report received and forwarded. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Mon, 08 Dec 2014 06:54:07 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: lumin <cdluminate@gmail.com>
To: submit <submit@bugs.debian.org>
Subject: adjust the action of update-grub2 to bios_grub partitions
Date: Mon, 08 Dec 2014 06:50:45 +0000
Package: grub2-common
Version: 2.02~beta2-17
Severity: wishlist

Hi,

After the grub2 update today (jessie), I noticed some noises in
dmesg's output, as pasted below:
-------------------------------------------------------------
[ 5540.810075] EXT4-fs (sda1): VFS: Can't find ext4 filesystem
[ 5540.811496] EXT4-fs (sda1): VFS: Can't find ext4 filesystem
[ 5540.812881] EXT4-fs (sda1): VFS: Can't find ext4 filesystem
[ 5540.817271] XFS (sda1): Invalid superblock magic number
[ 5540.829814] FAT-fs (sda1): utf8 is not a recommended IO charset for
FAT filesystems, filesystem will be case sensitive!
[ 5540.829943] FAT-fs (sda1): invalid media value (0x7d)
[ 5540.829946] FAT-fs (sda1): Can't find a valid FAT filesystem
[ 5540.831185] FAT-fs (sda1): utf8 is not a recommended IO charset for
FAT filesystems, filesystem will be case sensitive!
[ 5540.831268] FAT-fs (sda1): invalid media value (0x7d)
[ 5540.831271] FAT-fs (sda1): Can't find a valid FAT filesystem
[ 5540.835528] VFS: Can't find a Minix filesystem V1 | V2 | V3 on device
sda1.
[ 5540.837038] hfsplus: unable to find HFS+ superblock
[ 5540.838378] qnx4: no qnx4 filesystem (no root dir).
[ 5540.839506] You didn't specify the type of your ufs filesystem

mount -t ufs -o ufstype=sun|sunx86|44bsd|ufs2|5xbsd|old|hp|nextstep|
nextstep-cd|openstep ...

>>>WARNING<<< Wrong ufstype may corrupt your filesystem, default is
ufstype=old
[ 5540.839698] ufs_read_super: bad magic number
[ 5540.842699] hfs: can't find a HFS filesystem on dev sda1
[ 5545.960192] EXT4-fs (sdb2): mounted filesystem with ordered data
mode. Opts: (null)
------------------------------------------------------------------
This is odd, as this would not happen in previous version of grub2
 (according to my fuzzy memory)

You can see some programs tried to detect the type of my /dev/sda1,
and the fact is, my
/dev/sda uses GPT partition, while my machine has no EFI/UEFI and
has just BIOS, then /dev/sda1 is a "bios_grub" part[1].

I think update-grub2 (and programs it invoked) can do more elegant,
on issue like this.

Thanks :)


[1] see doc of GRUB2. Or I have to add --force option when using
    grub-install, in order to boot from GPT-partitioned disk on a BIOS
    PC.
-- 
 .''`.    
: :' :    
`. `'     
  `-      




Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#772526; Package grub2-common. (Tue, 09 Dec 2014 10:18:16 GMT) (full text, mbox, link).


Acknowledgement sent to Colin Watson <cjwatson@debian.org>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Tue, 09 Dec 2014 10:18:16 GMT) (full text, mbox, link).


Message #10 received at 772526@bugs.debian.org (full text, mbox, reply):

From: Colin Watson <cjwatson@debian.org>
To: lumin <cdluminate@gmail.com>, 772526@bugs.debian.org
Subject: Re: Bug#772526: adjust the action of update-grub2 to bios_grub partitions
Date: Tue, 9 Dec 2014 10:16:32 +0000
Control: reassign -1 os-prober

On Mon, Dec 08, 2014 at 06:50:45AM +0000, lumin wrote:
> After the grub2 update today (jessie), I noticed some noises in
> dmesg's output, as pasted below:
> -------------------------------------------------------------
> [ 5540.810075] EXT4-fs (sda1): VFS: Can't find ext4 filesystem
[...]

This is all done by os-prober, not by update-grub itself.  (But it
should be entirely cosmetic.)

-- 
Colin Watson                                       [cjwatson@debian.org]



Bug reassigned from package 'grub2-common' to 'os-prober'. Request was from Colin Watson <cjwatson@debian.org> to 772526-submit@bugs.debian.org. (Tue, 09 Dec 2014 10:18:16 GMT) (full text, mbox, link).


No longer marked as found in versions grub2/2.02~beta2-17. Request was from Colin Watson <cjwatson@debian.org> to 772526-submit@bugs.debian.org. (Tue, 09 Dec 2014 10:18:18 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#772526; Package os-prober. (Sun, 08 Nov 2015 09:12:04 GMT) (full text, mbox, link).


Acknowledgement sent to Arthur Marsh <arthur.marsh@internode.on.net>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (Sun, 08 Nov 2015 09:12:04 GMT) (full text, mbox, link).


Message #19 received at 772526@bugs.debian.org (full text, mbox, reply):

From: Arthur Marsh <arthur.marsh@internode.on.net>
To: Debian Bug Tracking System <772526@bugs.debian.org>
Subject: Re: adjust the action of update-grub2 to bios_grub partitions
Date: Sun, 08 Nov 2015 19:38:33 +1030
Package: os-prober
Version: 1.70
Followup-For: Bug #772526

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

I'm still seeing this problem and would hope that os-prober would handle 
bios_grub partitions more intelligently (with maybe an option to try 
detecting a filesystem on a bios_grub partition).

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.3.0+ (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)

Versions of packages os-prober depends on:
ii  libc6  2.19-22

os-prober recommends no packages.

os-prober suggests no packages.

-- no debconf information



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Aug 8 01:44:23 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.