News for hackers. Stuff that matters.
Re:Had enough of Android? First 'Focal' based Ubuntu Touch i... by nunodonato on Thursday March 30, 2023 @01:55PM (#35376635)
how do you expect it to boot? At least linux keeps windows as an option, try installing windows after linux and you will be left without a way to boot it
Re:Had enough of Android? First 'Focal' based Ubuntu Touch i... by dizhn on Thursday March 30, 2023 @02:59PM (#35377413)
It would install its bootloader into its own partition and then it would be up to you to direct your boot sequence to look there. I just did this 2 hours ago with opensuse.
Re:Had enough of Android? First 'Focal' based Ubuntu Touch i... by nunodonato on Thursday March 30, 2023 @04:15PM (#35378278)
how does a non-technical user direct its boot loader to boot from a partition?
Re:Had enough of Android? First 'Focal' based Ubuntu Touch i... by csdvrx on Thursday March 30, 2023 @04:52PM (#35378675)
efibootmgr
Re:Had enough of Android? First 'Focal' based Ubuntu Touch i... by dizhn on Thursday March 30, 2023 @06:02PM (#35379387)
Depends on what kind of user it is. My BIOS can select the disk that will be first tried for boot, and within that which partition has priority. I can select this during boot without setting it in the bios too. Another option is to use one of the boot disk on usb drive solutions. There are even alternative boot loaders (not windows or grub) that can search the disk for ALL bootable partitions.
Re:Had enough of Android? First 'Focal' based Ubuntu Touch i... by loloquwowndueo on Thursday March 30, 2023 @06:43PM (#35379873)
A non-technical user does not mess around with partitions :)
Re:Had enough of Android? First 'Focal' based Ubuntu Touch i... by bmacho on Thursday March 30, 2023 @06:39PM (#35379817)
While windows had its things in the bootloader, how could opensuse take over the boot, without touching it?
Re:Had enough of Android? First 'Focal' based Ubuntu Touch i... by dizhn on Thursday March 30, 2023 @07:12PM (#35380149)
Windows bootloader is at the mbr of the first disk. You have opensuse install its bootloader into its own disk. I am not sure if UEFI changes things here but if anything it probably makes things easier.
Re:Had enough of Android? First 'Focal' based Ubuntu Touch i... by Dalewyn on Thursday March 30, 2023 @07:28PM (#35380297)
Both NTLDR and Windows Boot Manager are capable of redirecting to subsequent bootloaders, this feature is intended for dual booting with older versions of Windows but can also be used to dual boot into Linux and other operating systems.

As an example, if you install Windows 98, then Windows XP, then Windows 10 side by side, the following things happen:

1. Windows 98 installs its bootloader.

2. Windows XP takes a dump of 98's bootloader into a file and then overwrites the MBR with NTLDR. NTLDR is then configured with an option to chainload into 98's bootloader by reading its dump file.

3. Windows 10 takes a dump of NTLDR into a file and then overwrites the MBR with Windows Boot Manager. Windows Boot Manager is then configured with an option to chainload into NTLDR by reading its dump file.

This means you can install Windows 10 (and Windows Boot Manager), install Linux and have it install its bootloader (eg: GRUB) somewhere, then configure Windows Boot Manager to chainload the Linux bootloader (eg: GRUB) by reading from wherever it's stored.

Re:Had enough of Android? First 'Focal' based Ubuntu Touch i... by Dalewyn on Thursday March 30, 2023 @07:31PM (#35380316)
Windows only cares for other installations of Windows, it doesn't care about anything else. For Linux installations, you need to do all the proper preparation work prior to installing Windows.

That being said, as I wrote in a comment[1] further down both NTLDR and Windows Boot Manager are capable of chainloading into other bootloaders, including Linux bootloaders like GRUB.

[1]: https://news.ycombinator.com/item?id=35380297

Re:Had enough of Android? First 'Focal' based Ubuntu Touch i... by maximus-decimus on Thursday March 30, 2023 @11:06PM (#35381992)
By selecting the Ubuntu drive I installed linux in the Bios and then that would let me boot either windows or Ubuntu. Which is what it's supposed to do.