Post by m***@privacy.netI have an old laptop with Windows 7 and Lubuntu 18.04. with 2G memory. I
intend to give up Lubuntu and try Slackware instead. Can lilo boot
Windows? Or do I have to use grub2?
There's another way to look at this.
a computer's BIOS can be configured to boot devices in a given order.
Sometimes, depending on the computer, this gives a useful solution.
Don't change the master boot record on the hard drive. (It works, so
why change it?) Instead change the boot order. Make it boot from CD or
USB first before the hard drive, and make a corresponding boot stick or
boot disk with Lilo, Grub2 or whatever you choose on it. That boot
stick or boot disk will then boot your Linux partition on the hard
drive or on any device. (Set it up to serve your needs.)
To boot from Windows, just remove the boot disk or boot stick. When
you boot the BIOS will go through the boot order looking for something
to boot. Not finding a boot stick or boot disk it will get to the next
boot option, the hard drive, and boot Windows.
Some computers, I have found, don't let you put a removable USB drive
in the boot order. In this case if you know how to to make a bootable
CD, that is still an option. However, I like to use a (USB) boot
stick. So when I'm faced with this problem (not being able to use the
boot order to choose the USB device), I just use the keyboard to
interupt the booting and specify the device to boot from. It's not
hard once you learn how, although which key to press and when to press
it can vary from one computer to another.
On my (older) Dell computer I just press F9 repeatedly when booting to
get a menu. Then I choose the USB drive that I want to boot. Normally
I'm booting a USB drive that besides having Grub2 installed to the
master boot record, to make it bootable, it also has a full (but
modified) Slackware 14.2 installation. Then, if I want to, I can
interupt the Grub2 boot and redirect Grub2 to boot something else.
Normally, however I stop there and use Slackware 14.2.
The world is your oyster!
Incidentally, if your computer has secure boot, you will need to turn
that off. Also what I described works for BIOS booting--I don't know
much about UEFI. You said yours is an older laptop, so I don't expect
either of these caveats will apply.
-Joe
--https://JoesLife.org