Tiny Core Base > CorePlus
Use of external boot loaders with CorePlus frugal install on hard drive
Len E.:
Hi mocore:
My comments are largely based on limited experience on one of
my test machines configured as follows:
sda1 ntfs Windows 7 primary partition
sda2 ext4 1 GB boot partition primary partition
sda3 ext4 a Linux distro primary partition
sda4 extended partition
sda5 ext4 a Linux distro logical partition
sda6 ext4 a Linux distro logical partition
sda7 ext4 Bodhi 4.3.1 logical partition
sda8 swap logical partition
Bodhi 4.3.1 is installed with sda2 as its boot partition, sda7 as its / (root) partition.
Bodhi, as a Ubuntu derivative, has the update-grub command available to update
the current chain list of distros in sda2 after any new installations in the other partitions.
I am not nearly as adept as polikuo is on maintaining the menu entries in the sda2
boot partition, so I rely on the update-grub command in Bodhi to do that.
At one point, I did a straight-forward frugal install of CorePlus 8.2.1 in sda3,
and found it accessible with Plop or Super Grub Version 2.02s3 directly.
At another time, I did the frugal install followed by the grub-0.97 install as initially
described in this post into sda6. I then invoked Bodhi, and ran update-grub,
and expected to be able to boot CorePlus up from Plop accessing sda2, but it
didn't work. Somehow, the chaining from sda2 to sda6 didn't work.
I was able to boot into sda6 directly with Super Grub and bring CorePlus up o.k.
Throughout all this, the MBR is untouched, and with no external boot loader
employed, the machine boots up in Windows 7.
***************************************************************
(My intended use of CorePlus is for a very old, small laptop with only an sda1 root
partition and a sda2 swap partition, but while I'm finding my way on my other machines,
I've run into these boot-up intricacies).
Hope this now makes more sense .......
Len E.
Misalf:
I believe the update-grub command creates a fresh grub.cfg file based on the operating systems it finds and knows about. It doesn't know about Tiny Core though and won't create a boot stanza for it.
However, one can add a boot stanza for Tiny Core in the file custom.cfg , which is untouched by the update-grub command but sourced by grub.cfg by default.
--- Code: ---### BEGIN custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END custom ###
--- End code ---
coreplayer2:
I got be honest here, using two boot managers to choose between various systems seems a little complicated and unnecessary unless there's some security advantage to this technique.. IMO its better to ditch the windows boot loader, install Grub2 which can boot windows or any version of Linux you desire all from one menu.
Len E.:
Thanks to some definitive, expert advice from GNUser in the last day
or two in connection with the recent post, "Configure LILO to
boot Tiny Core Plus", this old post can finally be closed off properly.
The test machine I refer to in the "Configure LILO ...." post is the
same machine described in detail at the start of this old post.
My terminology herein has been confusing at times. The
"boot list" I refer to is more correctly termed the "Grub menu",
as pointed out by GNUser.
The configuration as described herein is unnecessarily complicated,
based on my early ignorance about ensuring that Windows controls
the mbr. The smarter way, given that a Ubuntu or Debian derivative
is to control the grub menu, is to have its boot loader installed to the mbr.
The desired functionality is the same either way.
In this post, Misalf referred to concept of using a custom.cfg file in the
Ubuntu or Debian derivative, but at the time, I really didn't understand
what he was suggesting. In the "Configure LILO ..." post, GNuser
prescribes a simple implementation of a custom.cfg which worked
for CorePlus with the lilo boot loader. I've just applied it to
CorePlus with the grub-legacy-0.9997 boot loader installed, and it works
just fine.
Len E.
Navigation
[0] Message Index
[*] Previous page
Go to full version