GNU GRUB - Bugs: bug #46691, grub-install always fail when...
You are not allowed to post comments on this tracker with your current authentication level.
bug #46691: grub-install always fail when installing into unpartitioned filesystem using blocklist
Submitter: | Taketo Kabe <kabe> | ||
Submitted: | Wed 16 Dec 2015 02:53:02 AM UTC | ||
Category: | Disk & Partition | Severity: | Major |
Priority: | 5 - Normal | Item Group: | Software Error |
Status: | Fixed | Privacy: | Public |
Assigned to: | None | Originator Name: | kabe |
Open/Closed: | Closed | Release: | Git master |
Release: | Reproducibility: | Every Time | |
Planned Release: | None |
Jump to the original submission
Sun 10 Jan 2016 07:44:00 AM UTC, comment #9: |
Andrei Borzenkov <arvidjaar> |
Sun 10 Jan 2016 02:09:09 AM UTC, comment #8: Andrey's file #35932 patch (is_disk.patch) worked!
|
Taketo Kabe <kabe> |
Wed 06 Jan 2016 09:00:43 AM UTC, comment #7: Actually we already had everything to force page cache coherency on Linux, except GRUB did not detect disks as disks. Attached patch fixes problem I observed.
|
Andrei Borzenkov <arvidjaar> |
Tue 05 Jan 2016 07:57:05 PM UTC, comment #6: Please don't align buffer manually. We already have a function which does it and it's cheaper. I'm not thrilled with this approach. It feels more like a workaround. We already tried O_SYNC (or was it O_DIRECT?) and it opens another can of worms, first of which is huge slowness on install. Is there any way to flush process buffers? |
Vladimir Serbinenko <phcoder> |
Tue 05 Jan 2016 07:23:40 PM UTC, comment #5: I actually hit similar issue in scanning for Linux MD (GRUB reads stale superblock under some conditions), so I guess it needs to go in. Unfortunately your patch does not even compile on 64 bit system. Please clean up and submit to grub-devel for review and discussion.
|
Andrei Borzenkov <arvidjaar> |
Fri 01 Jan 2016 02:57:18 AM UTC, comment #4:
|
Taketo Kabe <kabe> |
Sat 26 Dec 2015 07:54:05 AM UTC, comment #3:
|
Andrei Borzenkov <arvidjaar> |
Fri 18 Dec 2015 01:43:26 AM UTC, comment #2: This is the 32-bit version of CentOS 7 released at
|
Taketo Kabe <kabe> |
Wed 16 Dec 2015 04:33:51 AM UTC, comment #1: Which linux kernel version? Was it reported to kernel (as it sounds like kernel bug)? Do you have pointers to discussion/bug for kernel?
|
Andrei Borzenkov <arvidjaar> |
Wed 16 Dec 2015 02:53:02 AM UTC, original submission:
Suppose you wanted to make a FAT-based GRUB2 floppy disk image, as follows:
mkdosfs -F 12 -R 2 -I -C -S 512 /tmp/14.img 1440
grub2-install: warning: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..
|
Taketo Kabe <kabe> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 4 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2016-01-10 | arvidjaar | Open/Closed | Open | Closed | |
2016-01-10 | arvidjaar | Status | None | Fixed | |
2016-01-06 | arvidjaar | Attached File | - | Added is_disk.patch, #35932 | |
2015-12-16 | kabe | Attached File | - | Added p, #35759 |
Powered by Savane 3.13-f8d8.
Corresponding source code
Pushed as 269a522c7db1f383ccf0998a7cf9c4b1797ea0d9.
Thanks!