Re: grub2 BIOS booting iso and code

2022-05-23 Thread Thomas Schmitt
Hi, another experiment proposal for Dominik 'Rathann' Mierzejewski: Zeroize the GPT of a copy of boot-grub2-f36.iso and adjust MBR partition 1. Do this in bash for the $'\x...' gestures: # Create the playground cp boot-grub2-f36.iso test.iso # Zeroize the main GPT dd if=/dev/zero bs=1 s

Re: grub2 BIOS booting iso and code

2022-05-22 Thread Thomas Schmitt
Hi, i wrote: > > If test_oldlayout.iso does not boot, then i am quite clueless. Dominik 'Rathann' Mierzejewski wrote: > I'm afraid that this is the case. What a naughty machine. :)) I'll think about making a BIOS-only GRUB ISO, just for testing. (Am busy with finding out how to merge the two De

Re: grub2 BIOS booting iso and code

2022-05-21 Thread Dominik 'Rathann' Mierzejewski
Hello, Thomas. Thanks for your patience. I would've gotten the results sooner, but life got in the way. On Tuesday, 26 April 2022 at 23:18, Thomas Schmitt wrote: > Hi, > If test_oldlayout.iso does not boot, then i am quite clueless. I'm afraid that this is the case. I'll try to re-do the ISO man

Re: grub2 BIOS booting iso and code

2022-04-26 Thread Thomas Schmitt
Hi, Neal Gompa wrote: > I don't know if it's been mentioned, IIRC, Chris Murphy did. > but until very recently, pretty > much all TianoCore based UEFI implementations failed to boot > protective MBR marked GPT partitions. > [...] > https://github.com/tianocore/edk2/commit/b3db0cb1f8d163f22b769c2

Re: grub2 BIOS booting iso and code

2022-04-26 Thread Neal Gompa
On Tue, Apr 26, 2022 at 5:17 PM Thomas Schmitt wrote: > > Hi, > > Brian C. Lane wrote: > > If this fixes the boot issues with the XPS 15 then it's probably worth > > using this instead of the 'clean' GPT method and then revisit later once > > BIOS support finally goes away. > > (Now i am not sure

Re: grub2 BIOS booting iso and code

2022-04-26 Thread Thomas Schmitt
Hi, Brian C. Lane wrote: > If this fixes the boot issues with the XPS 15 then it's probably worth > using this instead of the 'clean' GPT method and then revisit later once > BIOS support finally goes away. (Now i am not sure whether i shall hope for a significant test result.) It should be note

Re: grub2 BIOS booting iso and code

2022-04-26 Thread Brian C. Lane
On Sat, Apr 23, 2022 at 10:43:39AM +0200, Thomas Schmitt wrote: > Hi, > > i uploaded a new GNU xorriso development tarball for the next experiment > with the Dell XPS 15 L502X of Dominik 'Rathann' Mierzejewski. I followed your instructions and confirmed that this method still works with qemu bios

Re: grub2 BIOS booting iso and code

2022-04-23 Thread Thomas Schmitt
Hi, i uploaded a new GNU xorriso development tarball for the next experiment with the Dell XPS 15 L502X of Dominik 'Rathann' Mierzejewski. The program will not interfere with the libraries or the /usr/bin/xorriso binary which gets installed by Fedora from the xorriso package. There are no special

Re: grub2 BIOS booting iso and code

2022-04-22 Thread Dusty Mabe
On 4/20/22 17:25, Thomas Schmitt wrote: > Hi, > Thanks Thomas for the reply. You've given us some good information to consider/pursue. Dusty ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fe

Re: grub2 BIOS booting iso and code

2022-04-21 Thread Thomas Schmitt
Hi, i wrote: > Whatever, if you want to try already now with the buggy result, It comes to me that the MBR signature will be missing too. So it won't be recognized by BIOS and its x86 code won't start. The signature could be inserted by echo $'\x55'$'\xAA' | dd of="$new_iso" conv=notrunc bs=1

Re: grub2 BIOS booting iso and code

2022-04-21 Thread Thomas Schmitt
Hi, i wrote: > > Does it boot with ubuntu-21.10-desktop-amd64.iso ? Dominik 'Rathann' Mierzejewski wrote: > It doesn't. Same error. > [...] > $ grub2-mkrescue -o output-mbr.iso --mbr-force-bootable minimal > gives me the "Operation System not found" BIOS error again. > > Building something neare

Re: grub2 BIOS booting iso and code

2022-04-20 Thread Dominik 'Rathann' Mierzejewski
On Tuesday, 19 April 2022 at 17:34, Thomas Schmitt wrote: > Hi, > > Dominik 'Rathann' Mierzejewski wrote: > > Looks like it's a common issue with USB stick booting on these old Dell > > XPS 15s: > > https://askubuntu.com/questions/611135/operation-system-not-found-during-usb-boot > > https://askub

Re: grub2 BIOS booting iso and code

2022-04-20 Thread Thomas Schmitt
Hi, Dusty Mabe wrote: > Currently we use isohybrid [1] (also from syslinux package) to modify the > ISO to be able to be booted on a USB key. Would we be able to still get that > functionality without isohybrid from the syslinux package? Yes. The GRUB2 MBR code will get the equivalent treatment a

Re: grub2 BIOS booting iso and code

2022-04-20 Thread Dominik 'Rathann' Mierzejewski
On Tuesday, 19 April 2022 at 09:20, Thomas Schmitt wrote: > Hi, > > i wrote: > > > Does the following bash hack "repair" the USB stick so that it boots on > > > the affected machine ? > > > echo $'\x80' | dd of=/dev/sdX conv=notrunc bs=1 seek=446 count=1 > > Dominik 'Rathann' Mierzejewski wrote

Re: grub2 BIOS booting iso and code

2022-04-20 Thread Dusty Mabe
On 4/13/22 19:52, Brian C. Lane wrote: > A huge thanks to Thomas Schmitt for posting xorrisofs arguments :) > > Here is a lorax PR switching to grub2 for BIOS and changing the layout > of the iso as described in his post: Hey Brian, thanks for sharing. Is this an effort to drop the isolinux/sys

Re: grub2 BIOS booting iso and code

2022-04-20 Thread Łukasz Posadowski
https://postimg.cc/bD87J8tF Tested on old Dell r720 with bios boot. ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/p

Re: grub2 BIOS booting iso and code

2022-04-20 Thread Łukasz Posadowski
https://postimg.cc/bD87J8tF Booted on the old Dell r710 via classic bios. ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/

Re: grub2 BIOS booting iso and code

2022-04-19 Thread Thomas Schmitt
Hi, Dominik 'Rathann' Mierzejewski wrote: > Looks like it's a common issue with USB stick booting on these old Dell > XPS 15s: > https://askubuntu.com/questions/611135/operation-system-not-found-during-usb-boot > https://askubuntu.com/questions/451931/operation-system-not-found-dell-xps-15z-l511z

Re: grub2 BIOS booting iso and code

2022-04-19 Thread Dominik 'Rathann' Mierzejewski
On Tuesday, 19 April 2022 at 09:08, Dominik 'Rathann' Mierzejewski wrote: > On Tuesday, 19 April 2022 at 08:46, Dominik 'Rathann' Mierzejewski wrote: > > On Monday, 18 April 2022 at 12:17, Thomas Schmitt wrote: > [...] > > > xorrisofs option --mbr-force-bootable may be added to the grub-mkrescue >

Re: grub2 BIOS booting iso and code

2022-04-19 Thread Thomas Schmitt
Hi, i wrote: > > Does the following bash hack "repair" the USB stick so that it boots on > > the affected machine ? > > echo $'\x80' | dd of=/dev/sdX conv=notrunc bs=1 seek=446 count=1 Dominik 'Rathann' Mierzejewski wrote: > No, it doesn't. Still getting "Operation System not found". A new fir

Re: grub2 BIOS booting iso and code

2022-04-19 Thread Dominik 'Rathann' Mierzejewski
On Tuesday, 19 April 2022 at 08:46, Dominik 'Rathann' Mierzejewski wrote: > On Monday, 18 April 2022 at 12:17, Thomas Schmitt wrote: [...] > > xorrisofs option --mbr-force-bootable may be added to the grub-mkrescue > > arguments. If we indeed face this bug, then a grub-mrescue ISO with EFI > > equi

Re: grub2 BIOS booting iso and code

2022-04-18 Thread Dominik 'Rathann' Mierzejewski
On Monday, 18 April 2022 at 12:17, Thomas Schmitt wrote: > Hi, > > Dominik 'Rathann' Mierzejewski wrote: > > > > Dell XPS 15 L502X 8GB RAM (BIOS only) > > BIOS-only on a laptop might mean the firmware quirk which demands > to see the "boot/active" flag at some MBR partition table slot. > > See a

Re: grub2 BIOS booting iso and code

2022-04-18 Thread Dominik 'Rathann' Mierzejewski
On Monday, 18 April 2022 at 19:00, Brian C. Lane wrote: > On Sun, Apr 17, 2022 at 03:12:59PM +0200, Dominik 'Rathann' Mierzejewski > wrote: > > I've tested your ISO with: > > > > - Dell XPS 15 L502X 8GB RAM (BIOS only) CD-R physical media > > > > Booted and started the installer reasonably fast

Re: grub2 BIOS booting iso and code

2022-04-18 Thread Dominik 'Rathann' Mierzejewski
On Monday, 18 April 2022 at 04:41, John Reiser wrote: > > - Dell XPS 15 L502X 8GB RAM (BIOS only) CD-R physical media > > It would be very nice to run /sbin/dmidecode, which is on the .iso, > and report the "BIOS Information" section, such as: Here's mine: Handle 0x, DMI type 0, 24 bytes BIO

Re: grub2 BIOS booting iso and code

2022-04-18 Thread Brandon Nielsen via devel
On 4/15/22 5:06 PM, Thomas Schmitt wrote: Hi, Initial test with a CD-R and an HP Compaq 8510w are mixed. It boots to GRUB, but it spins a long time blinking the HDD light displaying nothing but "Welcome to GRUB". It eventually spits out "failure reading sector 0x4f838 from 'hd31'." 'hd31' loo

Re: grub2 BIOS booting iso and code

2022-04-18 Thread Geraldo Simião Kutz
Tested this iso with an USB stick on this machine here and it passed the tests and Anaconda started correctly. Machine: Type: Laptop System: Hewlett-Packard product: HP G42 Notebook PC Mobo: Hewlett-Packard model: 1484 v: 77.19 BIOS: Hewlett-Packard v: F.17 date: 07/06/2010 CPU Dual core Pentium T

Re: grub2 BIOS booting iso and code

2022-04-18 Thread Thomas Schmitt
Hi, i wrote: > > xorrisofs option --mbr-force-bootable Chris Murphy wrote: > with the bit set it means older versions of > Tianocore or anything based on Tianocore up until maybe 6 months ago, > won't boot. Is this maybe about the code snippet of Tianocore which Alexander E. Patrakov showed in t

Re: grub2 BIOS booting iso and code

2022-04-18 Thread Brian C. Lane
On Sun, Apr 17, 2022 at 03:12:59PM +0200, Dominik 'Rathann' Mierzejewski wrote: > I've tested your ISO with: > > - Dell XPS 15 L502X 8GB RAM (BIOS only) CD-R physical media > > Booted and started the installer reasonably fast > > - same machine USB media (written to whole device using dd) > > B

Re: grub2 BIOS booting iso and code

2022-04-18 Thread Chris Murphy
On Mon, Apr 18, 2022 at 5:17 AM Thomas Schmitt wrote: > > Hi, > > Dominik 'Rathann' Mierzejewski wrote: > > > > Dell XPS 15 L502X 8GB RAM (BIOS only) > > BIOS-only on a laptop might mean the firmware quirk which demands > to see the "boot/active" flag at some MBR partition table slot. > > See a th

Re: grub2 BIOS booting iso and code

2022-04-18 Thread John Reiser
It would be very nice to run /sbin/dmidecode, which is on the .iso, and report the "BIOS Information" section, such as: Is the attached any use? In the attachment I see these interesting lines (snipped): = SMBIOS 3.0.0 present. BIOS Information Vendor: American Megatrends Inc.

Re: grub2 BIOS booting iso and code

2022-04-18 Thread Philip Rhoades via devel
People, On 2022-04-18 12:41, John Reiser wrote: - Dell XPS 15 L502X 8GB RAM (BIOS only) CD-R physical media It would be very nice to run /sbin/dmidecode, which is on the .iso, and report the "BIOS Information" section, such as: Is the attached any use? Phil. = # dmidecode 3.3 Getti

Re: grub2 BIOS booting iso and code

2022-04-18 Thread Thomas Schmitt
Hi, Dominik 'Rathann' Mierzejewski wrote: > > > Dell XPS 15 L502X 8GB RAM (BIOS only) BIOS-only on a laptop might mean the firmware quirk which demands to see the "boot/active" flag at some MBR partition table slot. See a thread of grub-bug (and later grub-devel) from 2015/16 https://marc.info

Re: grub2 BIOS booting iso and code

2022-04-18 Thread Dominik 'Rathann' Mierzejewski
On Monday, 18 April 2022 at 10:13, Thomas Schmitt wrote: > Hi, > > Dominik 'Rathann' Mierzejewski wrote: > > - same machine USB media (written to whole device using dd) > > Boot fails with "Operation system not found" error. > > (Looks like my optimism was somewhat premature.) > > I wonder from

Re: grub2 BIOS booting iso and code

2022-04-18 Thread Thomas Schmitt
Hi, Dominik 'Rathann' Mierzejewski wrote: > - same machine USB media (written to whole device using dd) > Boot fails with "Operation system not found" error. (Looks like my optimism was somewhat premature.) I wonder from where this message comes. Was it really "Operation system" and not "Operati

Re: grub2 BIOS booting iso and code

2022-04-17 Thread John Reiser
- Dell XPS 15 L502X 8GB RAM (BIOS only) CD-R physical media It would be very nice to run /sbin/dmidecode, which is on the .iso, and report the "BIOS Information" section, such as: = # dmidecode 3.3 Getting SMBIOS data from sysfs. SMBIOS 2.5 present. 70 structures occupying 2511 bytes. Table

Re: grub2 BIOS booting iso and code

2022-04-17 Thread Dominik 'Rathann' Mierzejewski
Hello, Brian. On Thursday, 14 April 2022 at 01:52, Brian C. Lane wrote: > A huge thanks to Thomas Schmitt for posting xorrisofs arguments :) > > Here is a lorax PR switching to grub2 for BIOS and changing the layout > of the iso as described in his post: > > https://github.com/weldr/lorax/pull/1

Re: grub2 BIOS booting iso and code

2022-04-15 Thread Thomas Schmitt
Hi, > Initial test with a CD-R and an HP Compaq 8510w are mixed. > It boots to GRUB, but it spins a long time blinking the HDD light displaying > nothing but "Welcome to GRUB". It eventually spits out "failure reading > sector 0x4f838 from 'hd31'." 'hd31' looks strange for HDD as well as for CD-R

Re: grub2 BIOS booting iso and code

2022-04-15 Thread Brandon Nielsen via devel
On 4/13/22 6:52 PM, Brian C. Lane wrote: A huge thanks to Thomas Schmitt for posting xorrisofs arguments :) Here is a lorax PR switching to grub2 for BIOS and changing the layout of the iso as described in his post: https://github.com/weldr/lorax/pull/1226 And a Fedora 36 iso: https://bcl.fed

Re: grub2 BIOS booting iso and code

2022-04-14 Thread Brian C. Lane
On Thu, Apr 14, 2022 at 08:59:28PM +0200, Hans de Goede wrote: > Hi Brian, > > On 4/14/22 01:52, Brian C. Lane wrote: > > A huge thanks to Thomas Schmitt for posting xorrisofs arguments :) > > > > Here is a lorax PR switching to grub2 for BIOS and changing the layout > > of the iso as described i

Re: grub2 BIOS booting iso and code

2022-04-14 Thread John Reiser
https://bcl.fedorapeople.org/boot-grub2-f36.iso I installed successfully using physical CD-R and physical DVD+R on American Megatrends Inc version 1613 BIOS of 12/03/2008 running on Intel Core2 Duo (E8400, 3GHz, 8GB). The USB reade was LG Slim Portable DVD Writer GP50NB40 (August 2014). The med

Re: grub2 BIOS booting iso and code

2022-04-14 Thread Brian C. Lane
FWIW I've now added a commit that makes the same changes for livemedia-creator created isos and tested it with QEMU. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart ___ devel mailing list -- devel@lists.fedoraproject.org To u

Re: grub2 BIOS booting iso and code

2022-04-14 Thread Hans de Goede
Hi Brian, On 4/14/22 01:52, Brian C. Lane wrote: > A huge thanks to Thomas Schmitt for posting xorrisofs arguments :) > > Here is a lorax PR switching to grub2 for BIOS and changing the layout > of the iso as described in his post: > > https://github.com/weldr/lorax/pull/1226 > > And a Fedora 3

Re: grub2 BIOS booting iso and code

2022-04-13 Thread Neal Gompa
On Wed, Apr 13, 2022 at 7:52 PM Brian C. Lane wrote: > > A huge thanks to Thomas Schmitt for posting xorrisofs arguments :) > > Here is a lorax PR switching to grub2 for BIOS and changing the layout > of the iso as described in his post: > > https://github.com/weldr/lorax/pull/1226 > > And a Fedor

grub2 BIOS booting iso and code

2022-04-13 Thread Brian C. Lane
A huge thanks to Thomas Schmitt for posting xorrisofs arguments :) Here is a lorax PR switching to grub2 for BIOS and changing the layout of the iso as described in his post: https://github.com/weldr/lorax/pull/1226 And a Fedora 36 iso: https://bcl.fedorapeople.org/boot-grub2-f36.iso I've test