[PATCH] templates: Add GRUB_CMDLINE_LINUX_RECOVERY

2021-09-14 Thread chris
From: Chris Vogel When generating grub.cfg using grub-mkconfig and the scripts 10_linux and 20_linux_xen there is no way to add kernel command line parameters _only_ to the recovery entries generated. This is needed to e.g. start a debug shell in installations using systemd using the kernel

[PATCH] templates: Add GRUB_CMDLINE_LINUX_RECOVERY

2021-09-15 Thread chris
From: Chris Vogel When generating grub.cfg using grub-mkconfig and the scripts 10_linux and 20_linux_xen there is no way to add kernel command line parameters _only_ to the recovery entries generated. This is needed to e.g. start a debug shell in installations using systemd using the kernel

grub-mkconfig does not fsync() or sync() - can result in boot failure

2018-04-24 Thread Chris Murphy
s a lot better than nothing. I really don't think it's ok for grub-mkconfig to assume something else is going to properly sync, unmount, or remount-ro whatever file system the grub.cfg is being written to. grub-mkconfig needs to take responsibility for its own action, and ensure complete and

xfsprogs 4.16.0 format change, GRUB error unknown filesystem

2018-05-14 Thread Chris Murphy
pproximate time frame for getting this fixed, to know whether for Fedora 29 /boot on XFS should be inhibited until a proper tested patch for GRUB exists. Thanks, -- Chris Murphy ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

Re: xfsprogs 4.16.0 format change, GRUB error unknown filesystem

2018-05-15 Thread Chris Murphy
On Tue, May 15, 2018 at 6:33 AM, Daniel Kiper wrote: > Hi, > > On Mon, May 14, 2018 at 01:12:27PM -0600, Chris Murphy wrote: >> Hi, >> >> xfsprogs 4.16.0 defaults to enabling "sparse inode" which is not >> compatible with GRUB. >> >> Dow

Re: [GRUB PATCH] xfs: accept filesystem with sparse inodes

2018-05-19 Thread Chris Murphy
gt; contiguous 64-inode chunk. This way any files the grub tests add and >> traverse would be in such a fragmented inode allocation. Tests passed, >> but I'm not sure how to cleanly integrate that into the test harness. >> >> Signed-off-by: Eric Sandeen > > Eric,

grubenv on md, Btrfs, LUKS, etc

2018-09-17 Thread Chris Murphy
? This used to be safe, but now with reflink support, grubenv could be reflink copied, meaning any overwrite is disallowed and must be COW'd. How is that handled? I'm pretty sure on Btrfs GRUB knows is can't write to grubenv, I'm just curious about the other case

Re: grubenv on md, Btrfs, LUKS, etc

2018-09-18 Thread Chris Murphy
On Mon, Sep 17, 2018 at 10:59 PM, Chris Murphy wrote: > Hi, > > GRUB code can certainly read files that are on Btrfs, md devices, > LUKS, LVM, and so on. But GRUB code can also write to the physical > block for grubenv - but are there safe guards that prevent it from > doing s

Re: grubenv on md, Btrfs, LUKS, etc

2018-09-26 Thread Chris Murphy
On Fri, Sep 21, 2018 at 12:35 PM, Daniel Kiper wrote: > On Tue, Sep 18, 2018 at 01:40:06PM -0600, Chris Murphy wrote: >> On Mon, Sep 17, 2018 at 10:59 PM, Chris Murphy >> wrote: >> > Hi, >> > >> > GRUB code can certainly read files that are on Btrfs,

Re: grubenv on md, Btrfs, LUKS, etc

2018-09-27 Thread Chris Murphy
On Thu, Sep 27, 2018 at 10:38 AM, Daniel Kiper wrote: > On Wed, Sep 26, 2018 at 04:45:51PM -0600, Chris Murphy wrote: >> On Fri, Sep 21, 2018 at 12:35 PM, Daniel Kiper wrote: >> > On Tue, Sep 18, 2018 at 01:40:06PM -0600, Chris Murphy wrote: >> >> On Mon, Sep 17,

Re: grub-mkrescue: Problem with MBR partition table at start of EFI partition

2019-05-09 Thread Chris Murphy
more than the first 4 MiB are needed, let me know. https://drive.google.com/open?id=1JgPv8EBHDn5A7hTEwewGK1MuFHvHbJnr -- Chris Murphy ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

Re: grub-mkrescue: Problem with MBR partition table at start of EFI partition

2019-05-09 Thread Chris Murphy
. Fedora ISO's use isohybrid and have multiple partitions on their ISOs: MBR, GPT, and APM. https://mjg59.dreamwidth.org/11285.html -- Chris Murphy ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

Re: grub-mkrescue: Problem with MBR partition table at start of EFI partition

2019-06-14 Thread Chris Murphy
ot either my Macbook Pro or my hp spectre (2016). I have to MBR or GPT partition a USB stick, format it FAT32, and cp -a the files onto it, that the HP will boot, still the Mac will not (that 2011 Mac will not USB boot with the CSM; CSM booting is only possib

Re: Can the grub2.02 improve the limit of initrd size in 64-bit system?

2019-08-12 Thread Chris Murphy
ernel to get it to support faster storage devices such as NVMe. A possible use case would be resuming from a hibernation image. -- Chris Murphy ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

Re: phantom drives in GRUB on Apple Macbook Pro

2019-11-30 Thread Chris Murphy
On Sat, Nov 30, 2019 at 10:02 AM Chris Murphy wrote: > SSD partition layout: > 1 FAT32 EFI system partition (unused) > 2 APFS (macOS) > 3 HFS+ (used as ESP by Fedora) > 4 Btrfs, sysroot > 5 swap > 6 Btrfs, sysroot I goofed that up a bit: 1 FAT32 EFI system partition, unused

Re: phantom drives in GRUB on Apple Macbook Pro

2019-11-30 Thread Chris Murphy
On Sat, Nov 30, 2019 at 10:02 AM Chris Murphy wrote: > > Hardware: > Macboo Pro 8,2 (2001) > (1) Samsung SSD drive > (1) internal DVD-ROM drive > (2) USB 2, nothing external connected but built-in keyboard shows up > as USB device > (1) wired ethernet > firmware, [

phantom drives in GRUB on Apple Macbook Pro

2019-11-30 Thread Chris Murphy
ce. Photos of "lsefi" output https://photos.app.goo.gl/pBxLJNdbzz6J9Vo56 -- Chris Murphy ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

Re: phantom drives in GRUB on Apple Macbook Pro

2019-11-30 Thread Chris Murphy
volumes? When I do 'ls (hdX)/' I consistently get an error from efidisk.c:602:failure reading sector 0x80 for each of hd0, hd1, hd2, hd3. For hd4 I get a different error which is fs.c:120:unknown file system. -- Chris Murphy ___ Grub-devel m

[PATCH] disk/loopback: Don't verify loopback images

2020-06-01 Thread Chris Coulson
treat loopback images any differently to physical disk images, and skip verification of them. Files opened from the filesystem within a loopback image will still be passed to verifier modules where required. Signed-off-by: Chris Coulson --- grub-core/disk/loopback.c | 3 ++- 1 file chang

Re: [PATCH] disk/loopback: Don't verify loopback images

2020-06-10 Thread Chris Coulson
t; wrote: > > > > > > > > On Mon, Jun 1, 2020, 15:21 Chris Coulson > mailto:chris.coul...@canonical.com>> > wrote: > >> > >> When a file is verified, the entire contents of the verified > file are > &g

Re: Multiboot2 on aarch64: Alignment of ELF Headers

2020-09-21 Thread Chris Plant
On Sat, 2020-05-23 at 14:33 +0200, Hans Ulrich Niedermann wrote: > On Sat, 23 May 2020 12:21:27 +0100 > Chris Plant via Grub-devel wrote: > > > On Sat, 2020-05-23 at 12:43 +0200, Hans Ulrich Niedermann wrote: > > > On Fri, 22 May 2020 17:23:35 +0100 > > >

Re: Multiboot2 on aarch64: Alignment of ELF Headers

2020-09-21 Thread Chris Plant
On Tue, 2020-09-22 at 08:33 +0200, Krystian Hebel wrote: > On 21.09.2020 21:14, Chris Plant wrote: > > On Sat, 2020-05-23 at 14:33 +0200, Hans Ulrich Niedermann wrote: > > > On Sat, 23 May 2020 12:21:27 +0100 > > > Chris Plant via Grub-devel wrote: > > > >

Submit patch/changes for Multiboot Documentation

2020-09-26 Thread Chris Plant
Hello, Might be a stupid question, but how do I submit/propose changes to the multiboot specification itself? Should I just update the texinfo source from the website and attach that to my patch? Thanks, Chris ___ Grub-devel mailing list Grub

Re: Multiboot2 on aarch64: Alignment of ELF Headers

2020-09-26 Thread Chris Plant
On Tue, 2020-09-22 at 07:53 +0100, Chris Plant wrote: > On Tue, 2020-09-22 at 08:33 +0200, Krystian Hebel wrote: > > On 21.09.2020 21:14, Chris Plant wrote: > > > On Sat, 2020-05-23 at 14:33 +0200, Hans Ulrich Niedermann wrote: > > > > On Sat, 23 May 2020 12:21:27

[PATCH] Enable multiboot2 support on arm64-efi target

2020-10-28 Thread Chris Plant
of ettique in the way these patches are presented - I'm a bit new to this text patch process but I've tried my best. Signed-off-by: Chris Plant ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

[PATCH 01/05] Enable multiboot2 support on arm64-efi target

2020-10-28 Thread Chris Plant
Define MULTIBOOT2_ARCHITECTURE_AARCH64 to support AARCH64 architecture + Define MULTIBOOT2_TAG_TYPE_ELF64_SECTIONS and struct multiboot_tag_elf64_sections as a version of elf_sections which correctly aligns the elf section headers to a 64 bit boundary Signed-off-by: Chris Plant --- include

[PATCH 03/05] Enable multiboot2 support on arm64-efi target

2020-10-28 Thread Chris Plant
Add ARM64 versions of the mmap functions to generate memory map for multiboot2 Signed-off-by: Chris Plant --- grub-core/mmap/arm64/uppermem.c | 72 + include/grub/arm64/memory.h | 60 +++ 2 files changed, 132 insertions(+) create

[PATCH 04/05] Enable multiboot2 support on arm64-efi target

2020-10-28 Thread Chris Plant
Enable ARM64/aarch64 support in multiboot2 loader Signed-off-by: Chris Plant --- grub-core/loader/multiboot.c | 2 +- grub-core/loader/multiboot_elfxx.c | 2 +- grub-core/loader/multiboot_mbi2.c | 34 +++--- include/grub/arm64/multiboot.h | 56

[PATCH 05/05] Enable multiboot2 support on arm64-efi target

2020-10-28 Thread Chris Plant
Enable multiboot2 support for arm64-efi target Signed-off-by: Chris Plant --- grub-core/Makefile.core.def | 6 ++ 1 file changed, 6 insertions(+) diff --git a/grub-core/Makefile.core.def b/grub-core/Makefile.core.def index b5f47fc41..2c0bec83d 100644 --- a/grub-core/Makefile.core.def

[PATCH 02/05] Enable multiboot2 support on arm64-efi target

2020-10-28 Thread Chris Plant
Add ARM64 relocator code to support multiboot2 loader Signed-off-by: Chris plant --- grub-core/lib/arm64/relocator.c | 267 grub-core/lib/arm64/relocator_asm.S | 57 ++ include/grub/arm64/relocator.h | 52 ++ 3 files changed, 376 insertions

RFC: A partition for grubenv, etc.

2021-05-25 Thread Chris Murphy
g between the preboot and booted environments, which is the point of grubenv, but it can't work much of the time due to the above limitations. -- Chris Murphy ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

Re: RFC: A partition for grubenv, etc.

2021-05-26 Thread Chris Murphy
On Wed, May 26, 2021 at 2:08 AM Konrad Rzeszutek Wilk wrote: > > On Tue, May 25, 2021 at 04:58:23PM -0600, Chris Murphy wrote: > > Hi, > > > > It's not possible for GRUB pre-boot environment to write to grubenv > > when it's on Btrfs, ZFS, LVM, mdadm raid,

Re: RFC: A partition for grubenv, etc.

2021-05-26 Thread Chris Murphy
On Wed, May 26, 2021 at 3:17 AM Michael Chang via Grub-devel wrote: > > On Tue, May 25, 2021 at 04:58:23PM -0600, Chris Murphy wrote: > > Hi, > > > > It's not possible for GRUB pre-boot environment to write to grubenv > > when it's on Btrfs, ZFS, LVM,

Re: RFC: A partition for grubenv, etc.

2021-05-27 Thread Chris Murphy
On Thu, May 27, 2021 at 2:59 AM Michael Chang wrote: > > On Wed, May 26, 2021 at 08:36:05PM -0600, Chris Murphy wrote: > > So is the next era going to be we recommend /boot on FAT? > > No. I meant a new partition type only for grubenv files and keep > everything else as is.

Re: RFC: A partition for grubenv, etc.

2021-05-27 Thread Chris Murphy
grubenv only for that purpose. I'd like to see more consistency, fewer exceptions. And that also means the old argument about the MBR gap. GRUB should have its own partition here too. Chris Murphy ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

Re: [SECURITY PATCH 100/117] kern/parser: Fix a stack buffer overflow

2021-07-20 Thread Chris Coulson
Hi, Sorry for taking a while to look at this. On 10/06/2021 12:55, Paul Menzel wrote: > Dear Daniel, dear Chris, > > > Am 02.03.21 um 19:01 schrieb Daniel Kiper: >> From: Chris Coulson >> >> grub_parser_split_cmdline() expands variable names present in the >

feature request + patch: GRUB_CMDLINE_LINUX_RECOVERY

2021-09-11 Thread Chris Vogel
le shouldn't see any difference. Chris diff --git a/docs/grub.texi b/docs/grub.texi index f8b4b3b21..8b5482ee1 100644 --- a/docs/grub.texi +++ b/docs/grub.texi @@ -1411,6 +1411,14 @@ entry for recovery mode. This option lists command-line arguments to add only to the default menu ent

Re: RFC: A partition for grubenv, etc.

2021-09-23 Thread Chris Murphy
se. Or even make it explicitly a GRUB bootloader partition type GUID. It's better if each bootloader has its own? Originally BIOS Boot wasn't "owned" by GRUB, any bootloader can use it, but insofar as I'm aware it's the only bootloader that uses this partition typ

Multiboot ELF Loader - Alignment

2021-10-21 Thread Chris Plant
erated by usual means and runs fine otherwise. Thanks, Chris ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

Re: Multiboot ELF Loader - Alignment

2021-10-26 Thread Chris Plant
Thanks for the detailed reply, I think I’ve got to the bottom of this now, I realised what I missed just after I sent this email. > On 26 Oct 2021, at 13:35, Daniel Kiper wrote: > > Hey, > >> On Thu, Oct 21, 2021 at 08:46:06PM +0100, Chris Plant wrote: >> Hello, >&

Re: Multiboot ELF Loader - Alignment

2021-10-29 Thread Chris Plant
Daniel, I'm back home now and I have access to my PC again, so I can answer more completely. On Tue, 2021-10-26 at 14:51 +0100, Chris Plant wrote: > Thanks for the detailed reply, I think I’ve got to the bottom of this > now, I realised what I missed just after I sent this email. &

Re: Multiboot ELF Loader - Alignment

2021-11-04 Thread Chris Plant
On Wed, 2021-11-03 at 17:38 +0100, Daniel Kiper wrote: > On Fri, Oct 29, 2021 at 08:16:36PM +0100, Chris Plant wrote: > > Daniel, > > > > I'm back home now and I have access to my PC again, so I can answer > > more completely. > > > > On Tue,

search by partition type guid supported?

2022-01-28 Thread Chris Murphy
b.cfg much more generic and portable, searching by partition types rather than by specific and unique file system or partition UUIDs. Thanks, -- Chris Murphy ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

Re: search by partition type guid supported?

2022-01-28 Thread Chris Murphy
Forgot to mention, I do see GRUB knows about "BIOS boot" partition type guid, when it comes to the grub-install command. But I'm not sure if GRUB as a concept of doing a search by arbitrary partition type codes. Thanks, Chris Murphy ___

How to boot Windows when Bitlocker enabled with key sealed in TPM

2022-02-07 Thread Chris Murphy
y will expand due to the Windows 11 requirement that supporting hardware have TPM 2.0. -- Chris Murphy ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

Re: search by partition type guid supported?

2022-02-07 Thread Chris Murphy
be made unambiguous, I'm not super fussy how that's done. The advantage of this is permitting static creation of configuration files, less dependency on customized configuration. -- Chris Murphy ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

Re: How to boot Windows when Bitlocker enabled with key sealed in TPM

2022-02-09 Thread Chris Murphy
t;BootNext" for this use case? Or else I guess distros need to consider removing the creation of a Windows menu entry, as there's no point creating menu entries that don't work. -- Chris Murphy ___ Grub-devel mailing list Grub-devel@gnu.

Re: How to boot Windows when Bitlocker enabled with key sealed in TPM

2022-02-10 Thread Chris Murphy
On Thu, Feb 10, 2022 at 10:18 AM Lennart Sorensen wrote: > > On Mon, Feb 07, 2022 at 04:48:43PM -0700, Chris Murphy wrote: > > One idea I've heard floated is, having GRUB alter efivars such that > > BootNext is changed to do a one time boot of Windows, instead of using &

Re: How to boot Windows when Bitlocker enabled with key sealed in TPM

2022-02-10 Thread Chris Murphy
On Thu, Feb 10, 2022 at 12:29 PM Lennart Sorensen wrote: > > On Thu, Feb 10, 2022 at 11:46:33AM -0700, Chris Murphy wrote: > > On Thu, Feb 10, 2022 at 10:18 AM Lennart Sorensen > > wrote: > > > > > > On Mon, Feb 07, 2022 at 04:48:43PM -0700, Chris Murph

[PATCH] kern/efi: Log a console error during a stack check failure

2022-03-21 Thread Chris Coulson
such as W^X, call in to boot services when an error occurs in order to log a message to the console before automatically rebooting the machine. Signed-off-by: Chris Coulson --- grub-core/Makefile.core.def | 4 +++- grub-core/kern/efi/init.c | 23 +-- 2 files changed, 24

Re: How to boot Windows when Bitlocker enabled with key sealed in TPM

2022-03-25 Thread Chris Murphy
For all practical purposes, this is functionally the end to dual boot in GRUB, if there is no work around, e.g. bootnext. Is that the direction GRUB maintainers want to go in? -- Chris Murphy ___ Grub-devel mailing list Grub-devel@gnu.org https

Re: How to boot Windows when Bitlocker enabled with key sealed in TPM

2022-03-25 Thread Chris Murphy
On Fri, Mar 25, 2022 at 2:32 PM Vladimir 'phcoder' Serbinenko wrote: > > On Fri, Mar 25, 2022 at 9:14 PM Chris Murphy wrote: > > > > For all practical purposes, this is functionally the end to dual boot > > in GRUB, if there is no work around, e.g. bootne

Re: How to boot Windows when Bitlocker enabled with key sealed in TPM

2022-03-25 Thread Chris Murphy
On Fri, Mar 25, 2022 at 5:00 PM Chris Murphy wrote: > > On Fri, Mar 25, 2022 at 2:32 PM Vladimir 'phcoder' Serbinenko > wrote: > > > > On Fri, Mar 25, 2022 at 9:14 PM Chris Murphy > > wrote: > > > > > > For all practical purposes, this

multibooting Linux distros with UEFI Secure Boot

2022-05-11 Thread Chris Murphy
enu, which causes GRUB to use --bootnext to do a one-time boot using that UEFI boot entry, thus loading that distro's signed shim+GRUB combo. Or, is this just not a priority for the foreseeable future, and users will have to use the UEFI firmware's built-in boot manager for this u

multibooting Linux distros with UEFI Secure Boot

2022-05-11 Thread Chris Murphy
for the foreseeable future, and users will have to use the UEFI firmware's built-in boot manager for this use case? This seems related to thread: "How to boot Windows when Bitlocker enabled with key sealed in TPM External" https://lists.gnu.org/archive/html/grub-devel/2022-02/msg00

a GRUB command to show the UEFI built-in boot manager

2022-05-11 Thread Chris Murphy
ring up this specific firmware menu though... Thanks, -- Chris Murphy ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

Re: btrfs trim erases bootloader area

2016-01-07 Thread Chris Murphy
using by referring to MBR, which mainly exists only at LBA 0. In the case of extended partitions, the EBR (using the same MBR format) is still outside the LBA range for Btrfs to apply fitrim ioctl. The VBR however, would be inside that range, and it's that 64KiB boot

Re: btrfs trim erases bootloader area

2016-01-07 Thread Chris Murphy
On Thu, Jan 7, 2016 at 4:10 PM, Filipe Manana wrote: > On Thu, Jan 7, 2016 at 10:05 PM, Chris Murphy wrote: >> On Thu, Jan 7, 2016 at 12:16 PM, Filipe Manana wrote: >>> On Thu, Jan 7, 2016 at 7:11 PM, Andrei Borzenkov >>> wrote: >>>> As discussed on o

grub2-probe confused by double bind mount?

2017-08-03 Thread Chris Murphy
-. 1 root tty 4, 19 Aug 3 2017 tty19 crw--w. 1 chris tty 4, 2 Aug 3 2017 tty2 crw--w. 1 root tty 4, 20 Aug 3 2017 tty20 crw--w. 1 root tty 4, 21 Aug 3 2017 tty21 crw--w. 1 root tty 4, 22 Aug 3 2017 tty22 crw--w. 1 root tty

Re: grub2-probe confused by double bind mount?

2017-08-06 Thread Chris Murphy
o as if whatever it finds there is not at all helpful. inside < 693 225 0:6 / /dev rw,nosuid shared:22 - devtmpfs devtmpfs rw,seclabel,size=3999060k,nr_inodes=999765,mode=755 outside > 21 71 0:6 / /dev rw,nosuid shared:22 - devtmpfs devtmpfs > rw,seclabel,size=3999060k,nr_ino

Re: grub2-probe confused by double bind mount?

2017-08-07 Thread Chris Murphy
On Mon, Aug 7, 2017 at 9:09 AM, Vladimir 'phcoder' Serbinenko wrote: > Upstream doesn't use grub2 prefix. Please try with latest upstream and make > sure it's compiled with libdevmapper Same result with current git as of today. [chris@f26wnuc grub]$ ./configure --

Re: grub2-probe confused by double bind mount?

2017-08-08 Thread Chris Murphy
paths are not really subvolumes. I hope that makes sense... If grub-probe does not parse for subvol= then that's not likely the problem here. -- Chris Murphy ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

grub-probe fails to find PC partition due to Apple disklabel

2008-04-13 Thread Chris Knadle
ated partitions in one of the partition maps. Is there, or can we think of, a good way of handling this? -- Chris -- Chris Knadle [EMAIL PROTECTED] ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: grub-probe fails to find PC partition due to Apple disklabel

2008-04-14 Thread Chris Knadle
On Monday 14 April 2008, Robert Millan wrote: > Hi Chris, > > Initially, all partmaps were arch-specific, so that "pc" arch had msdos > and gpt partmaps, etc. This avoided the problem; so maybe what we could > do is probe for "native" partmaps first, and then

Re: grub-probe fails to find PC partition due to Apple disklabel

2008-04-15 Thread Chris Knadle
On Monday 14 April 2008, Pavel Roskin wrote: > On Mon, 2008-04-14 at 10:21 -0400, Chris Knadle wrote: > >Instead of probing for partmaps in a particular order, it seems that > > solving for this might best be done by probing for all of the possible > > partmaps for the ar

Re: [PATCH] Extend the code to ignore junk files

2008-04-15 Thread Chris Knadle
inux 'make' system is concerned, so the generic 'make install' method which is commonly used on many systems will still allow it. -- Chris -- Chris Knadle [EMAIL PROTECTED] ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: TPM support with SATA drives

2008-04-26 Thread Chris Knadle
ng SMBIOS Reporting Clear Security Chip (enable/disable) Note says: "It will not be possible to access already-encrypted data after these keys are cleared" I think it's pretty clear that the intent is to report the above information to the OS manufa

Re: ext4 support in grub2

2008-05-22 Thread Chris Knadle
ate partition for /boot is undesirable? -- Chris -- Chris Knadle [EMAIL PROTECTED] ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: grub-probe fails to find PC partition due to Apple disklabel

2008-07-22 Thread Chris Knadle
Felix Zielcke asked me about the Apple/PC hybrid disk problem, so I'm trying to figure out how to fix it. Sorry for letting this fall through the cracks; this is from three months ago. On Monday 14 April 2008, Pavel Roskin wrote: > On Mon, 2008-04-14 at 10:21 -0400, Chris Knad

Re: grub-probe fails to find PC partition due to Apple disklabel

2008-07-23 Thread Chris Knadle
Thanks for your pointsers, Pavel; they were all helpful. On Tuesday 22 July 2008, Pavel Roskin wrote: > Quoting Chris Knadle <[EMAIL PROTECTED]>: > > Since I want the first (high) 16 bits, I > > think I need to make the comparison in a way such as: > > > &g

Re: grub-probe fails to find PC partition due to Apple disklabel

2008-07-23 Thread Chris Knadle
On Wednesday 23 July 2008, Chris Knadle wrote: > Right now part_map_iterate() detects an Apple partition based on Sector 0 > [which is unavoidable, since Sector 0 is not going to have an HFS+ magic > number] Sorry, I meant *partition 0*, not Sector 0... -- Chris -- Chris Knad

Re: [PATCH] Misc patches for grub2

2008-07-25 Thread Chris Knadle
'git-mv' to rename the file instead. -- Chris -- Chris Knadle [EMAIL PROTECTED] ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] Misc patches for grub2

2008-07-25 Thread Chris Knadle
On Friday 25 July 2008, Bean wrote: > On Sat, Jul 26, 2008 at 1:19 AM, Chris Knadle <[EMAIL PROTECTED]> wrote: > > On Friday 25 July 2008, Bean wrote: > >> 4. rename appleloader command to bootcamp > >> > >> The name appleloader may be a little confusing,

Re: grub-probe fails to find PC partition due to Apple disklabel

2008-07-25 Thread Chris Knadle
On Friday 25 July 2008, Robert Millan wrote: > On Wed, Jul 23, 2008 at 04:47:42PM -0400, Chris Knadle wrote: > > On Wednesday 23 July 2008, Chris Knadle wrote: > > > Right now part_map_iterate() detects an Apple partition based on Sector > > > 0 [which is unavoidable,

Re: Bug#475718: Bug #475718 grub gets confused by hybrid apple/pc partmap

2008-07-25 Thread Chris Knadle
On Friday 25 July 2008, Robert Millan wrote: > On Fri, Jul 25, 2008 at 07:36:25PM -0400, Chris Knadle wrote: > >If you ask me, I think this unfortunately looks like a complex > > detection problem -- which I think is eventually going to start with a > > *successful* d

Re: grub-probe fails to find PC partition due to Apple disklabel

2008-07-28 Thread Chris Knadle
On Monday 28 July 2008, Felix Zielcke wrote: > Am Montag, den 28.07.2008, 14:41 -0400 schrieb Chris Knadle: > >However on the last test I did make an error and left out the -d > > option to grub-probe, and that's required for the grub-probe to succeed, > > so unfortu

Re: grub-probe fails to find PC partition due to Apple disklabel

2008-07-28 Thread Chris Knadle
On Monday 28 July 2008, Robert Millan wrote: > On Mon, Jul 28, 2008 at 03:25:00PM -0400, Chris Knadle wrote: > > On Monday 28 July 2008, Felix Zielcke wrote: > > > Am Montag, den 28.07.2008, 14:41 -0400 schrieb Chris Knadle: > > > >However on the last test I did

Re: Bug#475718: Bug #475718 grub gets confused by hybrid apple/pc partmap

2008-08-05 Thread Chris Knadle
On Tuesday 05 August 2008, Marco Gerards wrote: > Robert Millan <[EMAIL PROTECTED]> writes: > > On Fri, Jul 25, 2008 at 07:36:25PM -0400, Chris Knadle wrote: > >>If you ask me, I think this unfortunately looks like a complex > >> detection problem -- which I t

Re: grub and root=label=

2008-09-08 Thread Chris Knadle
s along with the device names on the disk. For doing a double-check, have a look at the 'findfs' command. -- Chris -- Chris Knadle [EMAIL PROTECTED] ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: grub and root=label=

2008-09-08 Thread Chris Knadle
itrd image. Running '/sbin/modinfo ' should give you an idea of whether a device driver module is disk related and thus required to build-in. > Thanks, > > PS I know the drive is 250GB but labeled 320G. Is it? I didn't notice > And sorry for the other post with the wrong subject. Thanks for reposting with the right subject. -- Chris -- Chris Knadle [EMAIL PROTECTED] ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: grub and root=label=

2008-09-09 Thread Chris Knadle
to > keep track of this list already because of the number of mails. No problem. -- Chris -- Chris Knadle [EMAIL PROTECTED] ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Grub Scripting

2009-05-08 Thread Chris Umphress
required to get the scripting engine functional enough? I should be able to dedicate a couple days to this. Granted, that isn't much but I'm hoping it will be enough. Thanks! -- Chris Umphress <http://www.epicvoyage.org> ___ Grub-de

Re: Grub Scripting

2009-05-08 Thread Chris Umphress
dents. We intend to have a backup method in Windows to restore the boot loader should it be changed. Hopefully this explains our reasoning a little better. > -Isaac -- Chris Umphress <http://www.epicvoyage.org> ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: Grub Scripting

2009-05-08 Thread Chris Umphress
On Fri, May 8, 2009 at 3:44 PM, Colin D Bennett wrote: > Chris Umphress wrote on Friday 08 May 2009: >> We'll overwrite the boot loader and restore the partition table if it >> was destroyed. That would be handled from a custom, bootable live-CD >> or thumbdrive. T

Datecheck command (date comparison)

2009-05-20 Thread Chris Umphress
b-install). Some of the changes since then prevent it from being fully applied but the modifications required would be minor. -- Chris Umphress <http://www.epicvoyage.org> ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: Datecheck command (date comparison)

2009-05-20 Thread Chris Umphress
e, and an if statement utilizing the variables always returns "error: false" Am I missing something? -- Chris Umphress <http://www.epicvoyage.org> ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: Datecheck command (date comparison)

2009-05-20 Thread Chris Umphress
On Wed, May 20, 2009 at 10:01 PM, Bean wrote: > Hi, > > Have you forgotten "insmod datehook" ? It looks like I was. Thanks! -- Chris Umphress <http://www.epicvoyage.org> ___ Grub-devel mailing list Grub-devel@gnu.org htt

GRUB 1.96 - unknown commands

2009-07-09 Thread Chris Smart
nknown command 'initrd' ..and so on. Once that happens, none of the commands work, even though I'm at the prompt. It's like the config has broken everything. Any ideas? I have seen this post on the mailing list, but it doesn't seem to match my issue. "http://lists.

Re: GRUB 1.96 - unknown commands

2009-07-10 Thread Chris Smart
2009/7/10 Bean : > Hi, > > You need to add module sh, minicmd and linux. Thank you, thank you!! I don't mean to presume I know what I'm talking about, but should the Wiki entry on testing EFI be updated to reflect the fact that it needs these extra modules? "http://grub.enbug.org/TestingOnEFI"; "

Matrix of commands to modules?

2009-07-13 Thread Chris Smart
Hi all, Is there a resource somewhere which tells users which module a specific command is in? For example, which module contains the 'fakebios' command? Thanks, Chris ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.o

Re: Matrix of commands to modules?

2009-07-13 Thread Chris Smart
2009/7/14 Bean : > > The command.lst file contains this information, for example, > Perfect, thank you! -c ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

os-prober incorrectly generates stanza - wrong root= device.

2009-10-27 Thread Chris Jones
While detecting other kernels, update-grub generates the following: menuentry "Debian GNU/Linux, kernel 2.6.24-etchnhalf.1-686 (on /dev/sda12)" { insmod ext2 set root=(hd0,12)

Re: os-prober incorrectly generates stanza - wrong root= device.

2009-10-28 Thread Chris Jones
On Wed, Oct 28, 2009 at 05:55:29AM EDT, Felix Zielcke wrote: > Am Dienstag, den 27.10.2009, 23:23 -0400 schrieb Chris Jones: [..] > > Not sure this qualifies as a bug, or just incorrect setup my end. > > > os-prober is a seperate package. It has nothing to do with us, except

USB device not seen by grub

2009-12-02 Thread Chris Jones
I am trying to have grub boot off a partition on a USB stick. I issued the following command from the grub command line: % insmod uhci grub was hung and I had to do a hard reset. Is this to be expected, considering that this is a fairly old system and the BIOS knows nothing about USB devices.

Re: USB device not seen by grub

2009-12-03 Thread Chris Jones
On Thu, Dec 03, 2009 at 10:16:17AM EST, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > Chris Jones wrote: > > I am trying to have grub boot off a partition on a USB stick. > > > > > You can't chainload to disk invisible by BIOS. But you can load >

Re: USB device not seen by grub

2009-12-03 Thread Chris Jones
On Thu, Dec 03, 2009 at 03:02:27PM EST, Duboucher Thomas wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 [..] > You could do this easily using a serial null-modem cable, but I don't > think you have one. :( ;-) Another fascinating hardware aspect I never got down to investigating

Re: USB device not seen by grub

2009-12-03 Thread Chris Jones
On Thu, Dec 03, 2009 at 03:24:31PM EST, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > Chris Jones wrote: > >> Can you issue: > >> debug=all > >> insmod uhci > >> insmod usbms > >> debug=all > >> ls -l > >> debug= >

Re: USB device not seen by grub

2009-12-03 Thread Chris Jones
On Thu, Dec 03, 2009 at 03:24:31PM EST, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > Chris Jones wrote: > >> Can you issue: > >> debug=all > >> insmod uhci > >> insmod usbms > >> debug=all > >> ls -l > >> debug= &g

Re: USB device not seen by grub

2009-12-03 Thread Chris Jones
On Thu, Dec 03, 2009 at 05:52:37PM EST, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > Chris Jones wrote: [..] > > Barring typos or omissions, the trace reveals that the perceived > > 'hang' after issuing 'insmod uhci' is in fact grub looping ov

Re: USB device not seen by grub

2009-12-03 Thread Chris Jones
On Thu, Dec 03, 2009 at 05:52:37PM EST, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > Chris Jones wrote: [..] > > Barring typos or omissions, the trace reveals that the perceived > > 'hang' after issuing 'insmod uhci' is in fact grub looping ov

  1   2   3   >