<Anarchos>
Test succeed !!!! I managed to get BootManager detect and able to boot all the bootable paritions of all my drives. The only limitation left is that haiku boot menu must be installed on the same boot device (cause bios drive id are consistent only if you boot on same media).
<Anarchos>
and i spotted a 14yo (at least) typo in bootman.S :)
<Anarchos>
more to come , i go to sleep
Anarchos has quit []
DKnoto_W2 has joined #haiku
DKnoto_W has quit [Ping timeout: 480 seconds]
Nasina has quit [Read error: Connection reset by peer]
Nasina has joined #haiku
Nasina has quit [Read error: Connection reset by peer]
Nasina has joined #haiku
Nasina has quit [Read error: Connection reset by peer]
itanium686 has joined #haiku
erysdren has quit [Quit: Konversation terminated!]
neoncortex has quit []
neoncortex has joined #haiku
PetePete has joined #haiku
<PetePete>
Good evening
<PetePete>
I was thinking about something tonight regarding encryption..
<PetePete>
You know how Puppy linux can open and load a personal storage file and allow you to encrypt and decrypt it? Would it be possible to implement something similar in Haiku?
Nasina has joined #haiku
<PetePete>
Now... admittedly, I am basically retarded....
<PetePete>
But it seems it would be possible.
Nasina has quit [Read error: Connection reset by peer]
Skipp_OSX has joined #haiku
PetePete has quit [Quit: Vision[]: i've been blurred!]
erysdren has joined #haiku
mmu_man has quit [Ping timeout: 480 seconds]
Nasina has joined #haiku
bjorkintosh has quit [Ping timeout: 480 seconds]
wicknix_ has quit [Ping timeout: 480 seconds]
Nasina has quit [Read error: Connection reset by peer]
Nasina has joined #haiku
pvalue has joined #haiku
Nasina has quit [Read error: Connection reset by peer]
xet7 has quit [Remote host closed the connection]
pvalue has quit [Quit: Vision[]: i've been blurred!]
<Anarchos>
Begasus[m]: it was an annoying C++ behaviour (i could solve but not found the root cause), and an incorrect assembly instruction 14years old in bootman.S code :)
nephele has joined #haiku
DKnoto_W2 has quit [Quit: Leaving]
DKnoto has joined #haiku
<Begasus[m]>
nice that you catched it Anarchos !
<Begasus[m]>
Hi nephele :)
<Anarchos>
Begasus[m]: yes i am very proud :)
vdamewood_ has joined #haiku
<Anarchos>
Begasus[m]: of course as usual, it will need some polishing and discussion, but the core issue is solved !
<Anarchos>
Begasus[m]: and finding an error in assembly code of Axeld is like finding an error in a Knuth book :)
Nasina has quit [Read error: Connection reset by peer]
Nasina has joined #haiku
vdamewood has quit [Ping timeout: 480 seconds]
<nephele>
hi Begasus[m]
<nephele>
Skipp_OSX: do we have an equivalent for a generic selected item. i.e control colors for selected stuff? html5 makes a distinction here with SelectedItem and SelectedItemText
<Begasus[m]>
Anarchos: as we say, a needle in the haystack :)
<Anarchos>
Begasus[m]: yes
Nasina has quit [Read error: Connection reset by peer]
<nekobot>
• threedeyes (c75ea013): pygobject: fix lib dir
<Begasus[m]>
so far some progress, up to : /Opslag/wip/openscad/src/gui/input/JoystickInputDriver.cc:39:10: fatal error: linux/input.h: No such file or directory
<Begasus[m]>
that's fixed
<Begasus[m]>
... /boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/13.3.0/../../../../x86_64-unknown-haiku/bin/ld: GeometryEvaluator.cc:(.text+0xe16): undefined reference to `CGALCache::CGALCache(unsigned long)'
SLema has quit [Quit: Vision[]: i've been blurred!]
SLema has joined #haiku
neoncortex has joined #haiku
dpirate has quit [Ping timeout: 480 seconds]
<Anarchos>
waddlesplash: did you see my good news yesterday ? I finally managed to get haiku boot loader to boot deifferent OS on different disks (tested with 2sata (windows,haiku, grub)and and one USB key) !!!!
<waddlesplash>
nice!
<waddlesplash>
but you said the BIOS drive IDs change?
Nasina has joined #haiku
janking has joined #haiku
Nasina has quit [Ping timeout: 480 seconds]
<Anarchos>
waddlesplash: it works if bootmanager is installed on the same boot media.
<waddlesplash>
is all the code you are adding to get BIOS drive IDs in the kernel even useful at all then?
<Anarchos>
(then bios drives ids are the same across boots)
<Anarchos>
waddlesplash: yes my code was needed, and i made some tweak to C++ code of BootManager, and even a correction on an incorrect ASM instruction in bootasm.S
<Anarchos>
(bootman.S) sorry
bjorkintosh has quit [Quit: "Every day, computers are making people easier to use." David Temkin]
bjorkintosh has joined #haiku
<Anarchos>
waddlesplash: my code was needed cause BootManager needs to call the syscall drive_get_bios_id to put the correct one in the haiku loader menu
<Anarchos>
for each drive
<waddlesplash>
right, but if this can actually change depending on the situation, is it really useful?
<waddlesplash>
maybe a better solution is to just use GPT for everything
<waddlesplash>
and then record the GPT UUIDs
<waddlesplash>
instead of bios drive id + identifiers
<waddlesplash>
this would require modifying bootman.S more however
<waddlesplash>
maybe we can translate it into C?
dodo75 has joined #haiku
<Anarchos>
i don't know anything about GPT. My issue was really to use the haiku boot loader to boot all my OS on all my disks, which i am able to do know (but i will launch a discussion on discuss.haiku cause it implies to relaunch BootManager after first install) :)
<Anarchos>
(anyway i am aware that all i did is fully BIOS specific)
<waddlesplash>
GPT can be used with BIOS drives
<waddlesplash>
it just must be supported by the OSes
<waddlesplash>
Haiku does and Linux does at least
<waddlesplash>
Windows does in 8 and up at least, I don't know about 7
<Anarchos>
waddlesplash: you really don't want me to solve ticket #3545 :)
<waddlesplash>
I want us to have good and correct code that many people find usable
<waddlesplash>
if the default implementation doesn't work properly with multiple drives depending on what drive it's run from ... that sounds like a problem :P
<waddlesplash>
and will easily lead to people using it wrongly
wicknix has joined #haiku
<Anarchos>
waddlesplash: i am well aware of that problem. That's why i will (re) launch a discussion. I just wanted to tell i made improvements towards a multidrive aware BootManager.
<waddlesplash>
OK, sounds good!
* Anarchos
is very proud to have found a 14yo bug in bootman.S :)
<x512[m]>
Anarchos: Why not select boot drive in BIOS menu?
janking has quit [Quit: Vision[]: i've been blurred!]
<x512[m]>
Using BIOS boot drive ID may be a bad idea because it may stop working when plug boot drive to another PC.
Nasina has joined #haiku
<Anarchos>
x512[m]: i don't want to go into bios menu anytime i choose to boot win or haiku....
<x512[m]>
What is the difference?
<Anarchos>
x512[m]: i am aware of that limitation
<Anarchos>
x512[m]: it is faster and easier to use haiku menu than bios one :)
<x512[m]>
Why? Just press F11 and choose Haiku/Windows.
<x512[m]>
Boot menu key depends on BIOS vendor.
<Anarchos>
x512[m]: no i have to press F2 then chosse the disk to boot, wait while bios reboots, then on the boot menu choose the OS again....
<Anarchos>
x512[m]: anyway i just wanted to solve ticket #3545, and i made very great progress on it. I am sad that GPT and UEFI come after that ticket....
<x512[m]>
That is strange. For me it directly boot selected item without reboot and I observed it on various hardware.
<x512[m]>
Anyway, at least it should not depend on boot ID if partition is on the same drive as BootMan MBR.
<Anarchos>
x512[m]: i solved the case where partition is on another drive thant bootman :)
<x512[m]>
I mean it should not regress existing use case.
<x512[m]>
So portable drive with BootMan should work.
<Anarchos>
x512[m]: i will test this use case
<Anarchos>
x512[m]: should be easy : if bios drive is '0' for a partition then bootman uses the BIOS 'dl' drive id.
<Anarchos>
so it will only break cases where you isntalled in bootman partitions of other drives, and plug disk to another PC.
Nasina has quit [Ping timeout: 480 seconds]
<Anarchos>
in which case, you can just relaunch BootManager...
<x512[m]>
It is fine to break booting of another drives from BootMan menu if drive with BootMan is moved.
coronavirus has joined #haiku
neoncortex has quit [Ping timeout: 480 seconds]
AlienSoldier has joined #haiku
Anarchos has quit [Remote host closed the connection]
<AlienSoldier>
i guess waterfox can't be build on 32bit either?
freddietilley has quit [Quit: WeeChat 4.5.0]
<PulkoMandy>
waddlesplash: bootman cannot be installed on gpt disks, it would overwrite the gpt partition table. Just accept that BIOS is a limited legacy and quirky system
<PulkoMandy>
And yes the menu entries will stop working if you change the bootable drive. They already do, bootman just hardcodes the menu to use drive 0x80 for everything currently
<waddlesplash>
well, we still have the fundamental problem then that if the BIOS drive IDs are unstable depending on what disk we are "looking from", then we can't really use BootManager here?
<waddlesplash>
well, changing the hardcoding sounds good
<PulkoMandy>
"Lookink from" here is from bootman context, always
<Skipp_OSX>
we do not have a designated highlight color or highlighted text color, no
<PulkoMandy>
Bootman just feeds that info tothe kernel and the kernel reuses it when setting up the menu
<PulkoMandy>
So this only change if you mess with bios settings or add/remove disks really
Skipp_OSX has quit [Remote host closed the connection]
Skipp_OSX has joined #haiku
<x512[m]>
PulkoMandy: Separate BootMan implementation is needed for UEFI.
<x512[m]>
But built-in UEFI boot menu is already enough for most cases.
<PulkoMandy>
yes, if someone wants to write one. I am happy with refind, personally, and I would instead justwrite an installer for that
<PulkoMandy>
Yes, built in boot menu could be configurable from the OS as well, maybe?
<x512[m]>
UEFI boot menu configuration from OS need to implement UEFI runtime services support on OS side.
<x512[m]>
refind etc. have overcomplicated config and no good themes.
<PulkoMandy>
Making a good theme seems easier than writing a new bootmenu app to me (but again, if soreone wants to do that, I'm not against it). I didn't need to touch any configuration so far, so I don't know about that
mmu_man has quit [Ping timeout: 480 seconds]
<nekobot>
• ElectrodeYT (500ac1ef): limine: bump to 9.2.0 (#12011)
<AlienSoldier>
i did not think about move the Deskbar around, don't know if this would have made a frefresh
<AlienSoldier>
*refresh
<Skipp_OSX>
not sure, changing the icon size definitely would though
<Skipp_OSX>
It's not like an invisible pink unicorn in that it's possible for the error case to occur, I've just never triggered it "in the wild" only when I first implemented it.
<Skipp_OSX>
I'm impressed you managed it somehow.
<AlienSoldier>
don't let me drive a spaceship :)
* Anarchos
lends pinball space cadet to AlienSoldier (fond memories of win95)
AD_Haiku_onPC has joined #haiku
<Skipp_OSX>
either a memory error wouldn't let it make the bitmap or it got a false positive on the Vision icon
Nasina has quit [Read error: Connection reset by peer]