rrq | onefang: so you have chain loading working with syslinux? Across devices too? Great! | 01:23 |
---|---|---|
rrq | .. on UEFI | 01:38 |
onefang | Still experimenting with that stuff, but making progress. | 01:40 |
onefang | What do you mean by "Across devices too?" | 01:41 |
rrq | I would like an UEFI boot loader that uses the isolinux.cfg set up of a drive (and/or partition) other than where the UEFI boot loader is | 01:50 |
rrq | or syslinux.cfg would be enough I guess | 01:50 |
rrq | the next of course is a cfg that points to kernel/initrd on a different drive/partition from where the cfg is | 01:53 |
onefang | That's the sort of thing I'm working on, yes. | 01:55 |
onefang | Hampered by my lack of a working DVD burner though. Makes it hard to test the isolinux parts properly. | 01:58 |
onefang | Which is why I'm hanging out for someone to burn that test ISO to a DVD and test it for me. B-) | 02:00 |
rrq | isn't a vm with a proper CD drive model good enough? | 02:01 |
onefang | "Works in simulation" isn't the same as "works for real". | 02:02 |
onefang | There are plenty of quirks in all of this, and plenty of quirky BIOSes as well. | 02:04 |
rrq | yes it seems every uefi implementation on every device is different :) | 02:04 |
onefang | Which is why I test boot on my ASUS ROG and my Mac Mini. | 02:05 |
onefang | I tried testing on my desktop as well, but it's an 11 year old box with no EFI. lol | 02:05 |
rrq | oh.. a mac mini; I guess you hae the robe, the candles and the dancers available for its "flexible" boot | 02:06 |
onefang | And a plentiful supply of sacrificial three headed chooks. | 02:06 |
rrq | :) | 02:07 |
onefang | And why I don't test boot the Mac Mini at night. The copious amounts of tho Mac boot sound and me swearing while I reboot yet again to see if it will work this time would wake my neighbours. | 02:08 |
rrq | ok, first I need to learn what a "triangular number" is (for the grandchile) .. and then I'll see if I can help you with a test case | 02:09 |
onefang | One of my neighbours has his bed right on the other side of the wall from where the Mac is, and he has told me he can hear me typing. lol | 02:09 |
rrq | ok could you drop the link again pls.. I'll burn a dvd and dust of the old lenovo | 02:12 |
onefang | A design goal for MAgic Pixie Dust is the ability to boot it on damn near anything. | 02:12 |
onefang | https://sledjhamr.org/test/onefangs_test_refracta5.iso | 02:12 |
onefang | It's a bit under 2 GB, I'm still working on the 1GB version. | 02:13 |
rrq | mmm though I wonder if the old lenovo has uefi... maybe I need to go off line and mess with my asus | 02:17 |
onefang | Testing it under BIOS booting is useful to. | 02:18 |
onefang | I do both. | 02:18 |
rrq | I don't actually have to install do I? Just see that it will want to? | 02:18 |
onefang | It's Refracta beta5, it boots directly to the desktop, no install needed. | 02:19 |
rrq | ok ... I have an old dell rack unit as well with some peculiar bios I think | 02:20 |
onefang | I'm experimenting with Refracta coz fsmithred asked me to. Once it's working I'll fold it into Magic Pixie Dust. | 02:20 |
rrq | well desktop live + install is "the better way" I think | 02:22 |
rrq | ... slow download ~1.8MB/s | 02:23 |
onefang | Magic Pixie Dust is a micro SD card with 20+ operating systems on it, some are live, some are live+install, some are just installed on their own partition on the card. | 02:23 |
rrq | .. for people with decision angst, then :) | 02:24 |
onefang | It's something I carry in my wallet, so I can sit at random persons computer and do almost anything with it. B-) | 02:26 |
onefang | So lots of repair tools, lots of forensic and security tools, lots of music tools, a wide variety of desktop Linuxes for demonstrations, etc... | 02:27 |
rrq | handy yes .. but a maintenace nightmare probably? | 02:33 |
onefang | So you want to move away from Windows? Here's a few I can show you. demo demo demo OK, I can install this one on your computer now. | 02:33 |
onefang | Well, this is only the second version. I'm trying to automate more of it this time. | 02:33 |
onefang | Think I'll avoid rolling distros this time, they ALL eventually shat themselves. | 02:35 |
rrq | .. coming closer; the cat had dragged in a dvd-r from the street; we'll see how that goes | 02:38 |
onefang | At least the cat isn't eating your three headed chooks. | 02:38 |
rrq | ok it mounts after writing ... 816M it says | 02:45 |
onefang | Ignore that, or load it into something like gparted to fix the partition table size. | 02:46 |
onefang | None of the tools that can fix that are scriptable. I'll try expect later. | 02:46 |
rrq | 1.8G partition says fdisk | 02:46 |
onefang | Oh wait, there's two 800M partitions, one ISO9660, one FAT32. | 02:47 |
rrq | I'll go and see how the lenovo likes it | 02:47 |
onefang | Boot the bugger. B-) | 02:47 |
rrq | the lenovo has a Phoenix SecureBoot bios ... booting fine | 03:00 |
rrq | the asus has an UEFI whatever.. can't see this cdrom as bootable | 03:00 |
onefang | Might need to juggle some BIOS options. | 03:01 |
rrq | it didn't find any EFI partition on the cdrom | 03:02 |
onefang | Oddly it's not Secure Boot compatible, only U/EFI and BIOS. | 03:02 |
rrq | well I may have turned that off on the lenovo.. it's just its name | 03:02 |
onefang | What was the menu title, the bit at the end in ()? | 03:03 |
rrq | on the lenovo ... (ISO) | 03:05 |
rrq | onefangs ReFracta tester (ISO) | 03:07 |
onefang | That means it did an actual Isolinux boot, not on EFI one. See if you can convince it to do an EFI boot by twiddling the BIOS. Hours of fun. | 03:07 |
onefang | If it boots EFI, it will show (EFI/BOOT) or (EFI/SYSLINUX), or similar, depending on which of the three EFI directories it decided to boot from. | 03:09 |
rrq | I think that lenovo is too old; doesn't have uefi ... and my asus (which has uefi) doesn't like this dvd | 03:13 |
onefang | Try DDing the iso file to USB and boot from that. And try a BIOS boot on the asus of the DVD. | 03:15 |
onefang | I managed to get my Asus to boot isolinux once last night, but not since. It boots EFI from the USB fine. | 03:20 |
onefang | Hmmm, if the Lenovo has Secure Boot, it should have U/EFI. | 03:21 |
rrq | it's named: Phoenix SecureCore(tm) .. and is not uefi | 03:22 |
rrq | I have another asus, which does see the dvd but fails too boot it | 03:23 |
onefang | Any error messages? | 03:23 |
rrq | doesn't accept the media .. I'll try from the top again | 03:24 |
onefang | I have my virus "bonus" money, I've been using it to replace all my broken and worn out shit that I otherwise can't afford. A new Blu-ray burner is up next I guess. Just gotta find one that is region free. | 03:25 |
rrq | the asus seem to see the dvd as 2 different boot options, as cd and as uefi, .. none works .. so far ... bios fiddling | 03:28 |
onefang | It should see both, and boot from either. | 03:29 |
rrq | mmm no luck with that asus; can't even boot as cd | 03:42 |
onefang | I'm having trouble getting my asus to boot Isolinux from the USB. It worked last night dammit. lol | 03:44 |
rrq | ok.. I'll send my cat hunting for another dvd-r for later | 03:50 |
onefang | Or maybe a dvd-rw? | 03:50 |
onefang | Thanks for trying rrq. | 04:07 |
rrq | nw I can pave the road from here to Brisbane with cd-r but my dvd-r stack is a on-handed count | 04:43 |
rrq | for dvd-rw I'd need to visit officework down the road .. so that won't be this month | 04:44 |
onefang | If I can get this chain booting to work reliably, then the file size will reduce to something that'll fit on a CD. I wont need two copies of the file system image. | 04:44 |
onefang | Or I could switch to experimenting with something smaller. lol | 04:45 |
rrq | i suppose the could go tag-along with some other gadget for home delivery, but I'm not in gadget mood atm | 04:45 |
rrq | btw there was this uefi forth thingy; rewrite your uefi boot loader in jonesforth .. worked fine as such | 04:47 |
rrq | just find someone to do an ext4 api for it :) | 04:47 |
onefang | Syslinux has a Lua module I intend to play with later. | 04:47 |
rrq | hmm that's almost a reason to learn lua | 04:48 |
onefang | I like Lua. | 04:48 |
rrq | yeah I had a nibble some long time ago, but then ran out of programming langauge back pockets | 04:49 |
onefang | I've used 100 programming languages in my career. I have a geek party trick - throw me a language manual, I'll learn the language in an hour. | 04:51 |
onefang | And be an expert in it in a week, but I've not been to any parties that last that long. | 04:52 |
rrq | :) | 04:52 |
onefang | The head of computing at RMIT actually let me sit an exam that way. B-) | 04:53 |
onefang | Coz taking a whole semester to learn a language wasn't working for me. So I skipped the classes, cracked open the Pascal manual an hour before the exam, got 100%. | 04:54 |
onefang | Fortran I did at an actual geek party. | 04:55 |
rrq | did you explore the recursion depth of Cobol as well? | 04:55 |
onefang | Cobol was my very first paying job. I scripted something to write it for me. | 04:56 |
rrq | Volvo's 360 Cobol had a recursion depth of 9 calls .. after that they had to reboot it.. only tested it once though | 04:57 |
onefang | Did some work experience at Darwin's government mainframe, they hired me during the school holidays to write input validation routines in COBOL. The specs and code where simple, so I scripted that work, then played with their more interesting toys the rest of the time. | 05:00 |
onefang | *then they hired me" | 05:00 |
rrq | hmm but that means you'd whip together an ext4 api before eofy .. unless sidetracked by some party | 05:01 |
onefang | I've got enough projects on my plate. ;-P | 05:02 |
onefang | Well that was a waste of half a day. Turns out Isolinux was booting and chaining properly after all. What wasn't working was the debugging stuff I had put in there so I knew it was going through isolinux first, and not just straight to the chained MBR. lol | 07:28 |
onefang | Instead of complaining about the missing debug module, it thought "screw this, just try the next boot MBR on the disk", which was the one I chain to anyway. | 07:32 |
onefang | It works! Well, on my Asus and from USB. | 08:54 |
onefang | The 64 bit EFI version of the chain module is broken, but this is a pre release version of Syslinux & friends. BIOS module works fine. Naturally I can't just chain to the BIOS version from EFI to work around that. lol | 08:56 |
onefang | When booting in ISO mode, the BIOS version of chain is used, and you get a menu to show it booted in ISO mode, then you chain to BIOS mode. | 08:57 |
onefang | When booting in U/EFI mode, you get straight to the main menu. | 08:57 |
onefang | As mentioned above, the menu title shows the boot mode, for testing. Coz things like CSM might decide to boot into a different mode than you expected. | 09:00 |
onefang | Naturally it's smaller than the official Refracta, coz it doesn't have GRUB2 as well as Isolinux. Which is what fsmithred wanted. | 09:01 |
onefang | The extra directories might not be in the corerct place, I didn't test that. | 09:02 |
onefang | https://sledjhamr.org/test/onefangs_test_refracta5_2.iso | 09:04 |
onefang | Now running it on my Mac. B-) | 09:11 |
onefang | WARNING! Don't run the included /syslinux/install.sh! It will attempt to dd the resulting ISO over /dev/sdd. It will also fail unless you have the SID versions of the Syslinux stuff unpacked in the correct place, Refracta unpacked into the correct place, etc. It's only my test script, I'll make it better later. | 10:47 |
onefang | Still wont fit on a CD. lol | 10:54 |
onefang | fsmithred: Did you try https://sledjhamr.org/test/onefangs_test_refracta5_2.iso ? | 23:18 |
fsmithred | not yet | 23:21 |
fsmithred | downloading now | 23:22 |
fsmithred | 13MB/s wow! | 23:23 |
onefang | Much better speed than rrq got. lol | 23:27 |
fsmithred | I can't get it to boot in qemu | 23:28 |
fsmithred | bios boot gives me a menu but doesn't boot, uefi doens't get to a menu | 23:28 |
fsmithred | checksum of primary and backup gpt header is valid, but values fail sanity check | 23:29 |
onefang | xorrisofs leaves it in a state where you have to fix the size, in a way I haven't managed to automate yet. Copy it to a USB, gparted it, cl/ick "fix". | 23:30 |
fsmithred | ok, I'm about to put it on usb | 23:31 |
onefang | All the partitioning tools have code to fix that, none of them let me do it from a script. I'll point expect at it later. Also not sure how to do that to the file before copying it to USB, or burning it to a DVD. | 23:33 |
onefang | Though I'd prefer if xorriso just didn't leave things in a mess like that. lol | 23:40 |
fsmithred | I don't know it well enough to say what needs to be changed | 23:46 |
fsmithred | Attempt Data Rescue, under Device?? | 23:47 |
onefang | From my research it's just that the secondary GPT header is in the wrong place. Or something like that, I just woke up, haven't had brekky yet. | 23:48 |
fsmithred | well that's the closest thing to 'fix' I can find in gparted | 23:49 |
onefang | So I copy it to USB, and run gparted or parted or other partitioning tool on it, the tool complains about the size, and offers to fix or ignore. So I have to manually tell it to fix. | 23:49 |
fsmithred | gparted is not offering to fix anything | 23:50 |
onefang | "Not all of the space available to /dev/sdd appears to be used, you can fix the GPT to use all of the space (an extra 29599680 blocks) or continue with the current setting?" | 23:50 |
onefang | Is what gparted says, in a popup window with "Fix" "Ignore" buttons. Also puts that message on the console, so I can copy paste in now. | 23:51 |
fsmithred | I get that with parted | 23:52 |
onefang | "GPT PMBR size mismatch (193963 != 31266815) will be corrected by w(rite)." Is another of those messages. | 23:52 |
onefang | And yeah, parted does something similar. | 23:53 |
fsmithred | do I need to tell parted to write to disk before I exit? | 23:53 |
fsmithred | I'm not seeing that | 23:54 |
onefang | Is that what you meant by "checksum of primary and backup gpt header is valid, but values fail sanity check"? | 23:54 |
fsmithred | I don[t mean anyting by that - that was an error message | 23:54 |
onefang | Parted should offer "Fix/Ignore?" from memory. | 23:54 |
fsmithred | yes, did that | 23:54 |
fsmithred | print shows that it changed | 23:55 |
onefang | Ah, some other tool complaining about the values of the GPT size then I guess. lol | 23:55 |
fsmithred | I can quit | 23:55 |
fsmithred | do I need to write to disk before I quit? | 23:55 |
fsmithred | if so, where is that? | 23:55 |
onefang | Nah, the fix is in. B-) | 23:55 |
onefang | If you told it to fix at the "Fix/Ignore?" prompt. | 23:56 |
fsmithred | yes | 23:56 |
fsmithred | I quit and started it again to check | 23:56 |
onefang | So you don't get this problem when you run xorriso to make your ISOs? | 23:57 |
fsmithred | no | 23:59 |
fsmithred | they just work | 23:59 |
fsmithred | and this usb is now booting on the toshiba | 23:59 |
onefang | Hmmm, what am I doing wrong? | 23:59 |
fsmithred | didn't work on the thinkpad, but that one is really funky about booting | 23:59 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!