onefang | BIOS and U/EFI booting on the toshiba? | 00:00 |
---|---|---|
fsmithred | just uefi | 00:01 |
fsmithred | I'm afraid to set that one to legacy - that's my build machine | 00:01 |
onefang | Fair enough. The real test is to burn a DVD and boot it. | 00:01 |
fsmithred | I can bios boot on another machine | 00:01 |
onefang | Coz as I mentioned, my DVD burner is broke, so I can't do the DVD test. | 00:03 |
onefang | Oh, you might not be getting the GPT problem, coz you are not creating a GPT partition table, just ISO9660. | 00:05 |
fsmithred | yeah, gparted showed it as iso9660, parted showed me two partitions | 00:11 |
fsmithred | the chainloader works | 00:11 |
onefang | https://lists.gnu.org/archive/html/bug-xorriso/2014-04/msg00015.html is the author of xorriso saying he fixed that bug in 2014. | 00:11 |
fsmithred | I got the default beige menu and that took me to the cinnabar menu with all the choices | 00:12 |
fsmithred | was slow to boot at first, but that is probably the usb stick that I used | 00:12 |
onefang | That's ISOLINUX chaining to the BIOS MBR on the GPT partiiton, which is how a DVD should do things. | 00:13 |
fsmithred | I'll probably get around to burning a dvd since nobody else is going to do it. | 00:16 |
onefang | I need to carefully pick which burner I will buy, then probably wait a week for it to get delivered. It's on my shopping TODO. | 00:19 |
onefang | https://bugs.launchpad.net/ubuntu-cdimage/+bug/1062737 says he fixed the same bug in 2012. lol | 00:20 |
onefang | It does suggest a workaround though, which I am trying now. | 00:25 |
onefang | Workaround didn't help. | 00:36 |
onefang | fsmithred: those extra Refracta directories (doc, accessibility, pkglist_refracta10-beta5_xfce_amd64-20200518_0033), do they have to be in a specific place? I'm not sure how to test them. My only tests so far have been "boots to Refracta desktop?). | 00:41 |
fsmithred | accessibility needs to stay where it is | 00:42 |
fsmithred | pkglist doesn't matter and I'm not sure if the docs are linked from the desktop or not | 00:42 |
onefang | That makes things hard for Magic Pixie Dust. All the stuff for any given OS that's in the main FAT32 partition should be separated into their own directory. | 00:43 |
onefang | Is accessibility at least the same for 32 and 64 bit versions? So I can include both on the disk that share it. | 00:44 |
onefang | Coz some other rando OS might also have a docs directory, that it insists is in aspecific place for the same reason Refracta might, and thus choses the same place. | 00:46 |
fsmithred | accessibility doesn't work. There's a custom live-config script that looks for that directory | 00:48 |
fsmithred | but don't worry about that. I don't need this right now, I just want to know how to do it. | 00:48 |
fsmithred | will play with it over some time. | 00:49 |
onefang | /syslinux/install.sh is the script I use. | 00:49 |
fsmithred | that comes with the package? | 00:49 |
onefang | Don't run it without reading it, if you value whatever is on /dev/sdd. | 00:49 |
fsmithred | lol, ok | 00:50 |
onefang | It's in the ISO file. | 00:50 |
fsmithred | accessibility is the same for both arches - it just sets the desktop and icon themes to high-contrast | 00:50 |
onefang | On the FAT32 partition. | 00:50 |
fsmithred | it's a script you wrote? | 00:51 |
onefang | Yep. | 00:51 |
fsmithred | ok | 00:51 |
fsmithred | thanks | 00:51 |
onefang | Just a test script, you'll need to pull it apart to see what files it grabs from where. SID is all of the Debian sid Syslinux packages copied to a SID directory. | 00:52 |
onefang | It's short and sweet though, just no docs. | 00:52 |
fsmithred | ok | 00:52 |
fsmithred | can't be too bad - I've played with syslinux before | 00:53 |
onefang | Mostly it creates a FAT32 file image, copies files around, runs xorriso, dd's the result to /dev/sdd. | 00:54 |
onefang | Naturally parted and friends don't complain about the GPT size problem and offer to fix it if I just run them on the .iso file, it HAS to be copied to a USB first! grumble | 00:57 |
onefang | So to make a porper fixed iso file, I have to dd it to USB, fix that, dd it back to a file. | 00:58 |
onefang | Time for supermarket shopping, and get some brekky while I'm out. | 01:00 |
fsmithred | ok | 01:00 |
fsmithred | have fun | 01:00 |
fsmithred | you laid this out like a multi-boot usb | 01:10 |
onefang | Yep, coz my goal is to get this working for Magic Pixie Dust, a multi-boot SD micro card in a tiny USB reader. Hence why I need each OS to be in it's own folder for the things that share the FAT32 partition. | 02:04 |
onefang | I'm guessing that maybe the Beowulf and Ceres versions of xorriso and friends might have this GPT size bug squashed. I'm using ASCII. I'll see if backports offers anything useful. | 02:05 |
onefang | I'm already using the ceres / sid version of syslinux and friends to avoid other bugs. If ascii-backports doesn't help, some ceres pinning might. | 02:07 |
onefang | After the FAT32 partition, that is full of ISO files it can boot, are lots and lots of other partitions with other OSes installed in them. Which is why I used GPT in the first place, msdos partition table can't handle that many partitions. EFI prefers running from GPT as well, so bonus. | 02:22 |
fsmithred | I was wondering why you used gpt | 02:58 |
fsmithred | do you use the findiso option for live-boot? | 02:59 |
onefang | Apart from being written into the spec that U/EFI wants to be on GPT. B-) | 02:59 |
onefang | No. | 02:59 |
fsmithred | it's a way to boot the intact iso file | 03:00 |
fsmithred | from a usb or hard drive | 03:00 |
onefang | I did read about it. | 03:00 |
fsmithred | I think some of the more popular multi-boot usb writers use that | 03:01 |
fsmithred | you put the iso and the kernel and initrd from inside the iso all in a directory together | 03:02 |
fsmithred | and point the boot menu to that | 03:02 |
onefang | While it makes my life easier to use findiso, I prefer to unpack the live ISOs and merge their menus into the main Syslinux menu. | 03:03 |
fsmithred | me too | 03:04 |
onefang | Also avoids the whole "my syslinux stuff works on rando computer, but the boot system embedded on a bunch of ISOs might not". | 03:05 |
onefang | Same reasons you want to remove grub from Refracta, less shit to go wrong, less space used, things will run quicker if you are not jumping through a handful of boot loaders. | 03:11 |
fsmithred | yeah, I don't necessarily want to remove grub | 03:26 |
onefang | I do. B-) | 03:27 |
fsmithred | but it's been bugging me for a few years that there are some syslinux efi files... | 03:27 |
fsmithred | and nobody seems to know how to use them | 03:27 |
fsmithred | I like having grub command line sometimes | 03:27 |
onefang | From what I have been reading, it was only in February 2019 that Syslinux managed to get U/EFI to work well. | 03:28 |
fsmithred | and possibly the next incarnation of the live installer will give you a choice | 03:28 |
onefang | I'm sure you'll tell me soon if it works from an actual DVD. | 03:28 |
fsmithred | yes, I will tell you | 03:29 |
fsmithred | it should work ok. I've seen a multi-boot iso before. | 03:30 |
onefang | I want to be sure MINE works OK. B-) | 03:30 |
fsmithred | similar layout | 03:30 |
onefang | Have I got a proper working Syslinux, did I properly work around enough EFI quirks, ... etc. | 03:31 |
onefang | Syslinux has a command line to, rosh, but I dunno if that's the sort of thing you do from grubs command line. | 03:41 |
fsmithred | grub command line lets you boot using some of the commands you'd see in grub.cfg | 03:44 |
fsmithred | with tab-completion | 03:44 |
fsmithred | so you can find your way around if something is screwed up | 03:45 |
onefang | Rosh is more of an explore the file system thing, but Syslinux has a boot: prompt you can run Syslinux commands from, might even have tab completion. | 03:45 |
fsmithred | it doesn't | 03:46 |
fsmithred | but you can have different boot entries that you call by name from that boot: prompt | 03:46 |
onefang | Ah OK. I tend to not use those sorts of things, coz they assume my dvorak keyboard is qwerty, makes it hard to type. lol | 03:47 |
onefang | Syslinux has keymap support I'll add. B-) | 03:48 |
onefang | No xorriso in ascii-backports. B-( | 04:05 |
onefang | Solved the GPT size error. You'll get that after dding any image that has a GPT in it to a USB. "sgdisk /dev/sdd -e" solves it in a script. | 04:16 |
onefang | No idea yet if it's a problem for GPT on a DVD. | 04:16 |
onefang | The basic problem is that the secondary GPT partition table has to be at the END of the USB stick, and I have no idea how big a stick you'll be DDing it to. | 04:30 |
onefang | https://sledjhamr.org/test/onefangs_test_refracta5_3.iso is a little bigger, coz it has a mitigation in place for BIOses that think only Microsoft exists. | 10:32 |
onefang | More importantly, the install.sh script is tightened up, and documented. | 10:33 |
onefang | I've gone off the idea of buying a new disk burner. My existing one hasn't seen any use in years, and died. I bought a blu-ray player a yew years ago, haven't used it in two years. I only need one now to test if my ISO building script works for actual disks, so it'll get a few days of use, then collect dust for years. I expect most of my old disks have rotted. | 20:04 |
fsmithred | onefang, which one should I test? 5_2 or the newer one? | 20:23 |
onefang | https://sledjhamr.org/test/onefangs_test_refracta5_3.iso | 20:23 |
fsmithred | does not boot uefi | 20:32 |
fsmithred | have to reboot to test bios boot. brb | 20:33 |
fsmithred | no boot bios, either. I got the first boot screen, it didn't make it to the second one. Could not read primary gpt header. | 20:37 |
onefang | Guess I'll have to by a cheap burner then. sigh | 20:38 |
onefang | Though it sounds like dumping more of the Syslinux stuff into the ISO9660 partition, as well as having it in the GPT partition, might do the trick. | 20:40 |
fsmithred | fdisk -l *.iso | 20:46 |
fsmithred | well, do them one at a time | 20:46 |
fsmithred | your has a big efi partition and small Microsoft basic data | 20:47 |
fsmithred | mine has small efi partition and big Empty partition | 20:47 |
fsmithred | I think you should avoid putting the system in a subdirectory. That shouldn't be needed in an iso. | 20:48 |
fsmithred | When you add it to the sdcard, you pull that apart anyway | 20:49 |
fsmithred | refracta2usb might work for you | 20:50 |
onefang | Officeworks, which is nearby, is useless, they don't have cheap burners that I can find on their web site. | 21:05 |
onefang | I can order one from Umart, which might be ready later today or tomorrow, it's a bit of a hike though, but I could use the exercise. | 21:06 |
onefang | Oh wait, lets see what Jaycar has. They are nearby as well. | 21:06 |
onefang | Umart it is then. lol | 21:08 |
onefang | Ordered and paid for, now to wait for them to tell me I can pick it up. | 23:10 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!