Tiny Core Linux

Tiny Core Extensions => TCE Tips & Tricks => Topic started by: Juanito on December 23, 2015, 08:02:13 AM

Title: Howto make a legacy bios/uefi dual boot usb stick with grub2
Post by: Juanito on December 23, 2015, 08:02:13 AM
In case you need to boot tinycore from a usb stick on legacy bios and uefi machines.

Note that you will need to use corepure64 as most efi/uefi are 64-bit.

Format a usb stick using fdisk as follows:
Code: [Select]
$ sudo fdisk /dev/sdc
...
   Device Boot      Start         End      Blocks  Id System
/dev/sdc1               2        3670    29471242+ 83 Linux
/dev/sdc2   *        3671        3797     1020127+ ef EFI (FAT-12/16/32)
Note it is easier to partition on 1mb boundaries using fdisk from the util-linux extension

Format the partitions:
Code: [Select]
$ tce-load -i dosfstools e2fsprogs
$ sudo mkfs.ext4 /dev/sdc1
$ sudo mkfs.vfat /dev/sdc2

Install grub:
Code: [Select]
$ tce-load -i grub2-multi
$ sudo mount /dev/sdc1
$ sudo mount /dev/sdc2
$ sudo grub-install --target=x86_64-efi --boot-directory=/mnt/sdc2/EFI/BOOT --efi-directory=/mnt/sdc2 --removable
$ sudo grub-install --target=i386-pc --boot-directory=/mnt/sdc2/EFI/BOOT /dev/sdc

Copy the distribution files rootfs.gz, rootfs64.gz, modules.gz, modules64.gz, vmlinuz and vmlinuz64 to /mnt/sdc1/boot

..then create a grub.cfg in /mnt/sdc2/EFI/BOOT/grub that will be shared by legacy bios and uefi boot:
Code: [Select]
$ cat /mnt/sdc2/EFI/BOOT/grub/grub.cfg
loadfont unicode
insmod all_video
set gfxmode=1366x768x32
set gfxpayload=keep
set gfxterm_font=unicode
terminal_output gfxterm

search --no-floppy --fs-uuid --set=root d4432cde-d21a-4d40-b44b-f097ce72cdba

menuentry "core" {
linux /boot/vmlinuz quiet text tce=UUID="d4432cde-d21a-4d40-b44b-f097ce72cdba" waitusb=10:UUID="d4432cde-d21a-4d40-b44b-f097ce72cdba"
initrd /boot/rootfs.gz /boot/modules.gz
}

menuentry "core64" {
linux /boot/vmlinuz64 quiet text tce=UUID="d4432cde-d21a-4d40-b44b-f097ce72cdba" waitusb=10:UUID="d4432cde-d21a-4d40-b44b-f097ce72cdba"
initrd /boot/rootfs.gz /boot/modules64.gz
}

menuentry "corepure64" {
linux /boot/vmlinuz64 quiet text tce=UUID="d4432cde-d21a-4d40-b44b-f097ce72cdba"/tce64 waitusb=10:UUID="d4432cde-d21a-4d40-b44b-f097ce72cdba"
initrd /boot/rootfs64.gz /boot/modules64.gz
}

menuentry "corepure64 base" {
linux /boot/vmlinuz64 quiet text tce=UUID="d4432cde-d21a-4d40-b44b-f097ce72cdba"/tce64 waitusb=10:UUID="d4432cde-d21a-4d40-b44b-f097ce72cdba" base norestore
initrd /boot/rootfs64.gz /boot/modules64.gz
}
..where "d4432cde-d21a-4d40-b44b-f097ce72cdba" is the uuid of /dev/sdc1, obtained with "blkid -s UUID /dev/sdc1"

Substitute your machine's native resolution for 1366x768x32 if required.

Note: the efi partition does not need to be set as bootable for this to work with uefi boot, but (on my machine at least) it does need to be set for legacy-bios boot.

Edit: slightly modified grub.cfg for clarity

Edit2: changed grub.cfg insmod efi_gop -> insmod all_video to allow legacy-bios fb at 1366x768
Title: Re: Howto make a legacy bios/uefi dual boot usb stick with grub2
Post by: vincentyu1130 on August 13, 2016, 02:44:13 AM
I suppose you'll install CorePure64 after this procedure into sdc1 partition, right?
Thx.
Vincent
Title: Re: Howto make a legacy bios/uefi dual boot usb stick with grub2
Post by: Juanito on August 13, 2016, 03:24:46 AM
Yes - as it says above, "Copy the distribution files rootfs.gz, rootfs64.gz, modules.gz, modules64.gz, vmlinuz and vmlinuz64 to /mnt/sdc1/boot"  ;)
Title: Re: Howto make a legacy bios/uefi dual boot usb stick with grub2
Post by: punkgeek on August 08, 2017, 11:16:04 PM
Thank you.
How can I chose default?
Code: [Select]
set default="0"
It doesn't work
Title: Re: Howto make a legacy bios/uefi dual boot usb stick with grub2
Post by: Juanito on August 09, 2017, 12:16:25 AM
default=menu_label, i.e. default=core in the example above
Title: Re: Howto make a legacy bios/uefi dual boot usb stick with grub2
Post by: Arii on February 08, 2018, 05:30:51 PM
Hi, not sure what the necro-posting policy is here but given the relevance I decided to forgo it.

Upon loading "grub2-multi", the directories for x86 aren't actually there, only the i386 ones... I'm assuming they're not in a separate package because it probably would've been mentioned by now. Is something wrong with how I've gone about this or do I need to acquire it from somewhere else?
Title: Re: Howto make a legacy bios/uefi dual boot usb stick with grub2
Post by: Juanito on February 08, 2018, 09:16:00 PM
the i386 files are the equivalent of x86 ones, no?
Title: Re: Howto make a legacy bios/uefi dual boot usb stick with grub2
Post by: Misalf on February 08, 2018, 09:32:13 PM
Hi Arii,
I believe  i386-pc  is pretty much what you're looking for. As in i286, i386, i486, i586 ... = x86.
While this version of grub2 will boot on CPUs compatible with i386 and above, it won't on i286 and below, thus the strict naming.
Title: Re: Howto make a legacy bios/uefi dual boot usb stick with grub2
Post by: labeas on May 25, 2019, 03:40:47 AM
I didn't realise that this thread which was started in 2015, could be continued
in 2019!
My [possibly wrong] understanding of the STRUCTURE of this project is:
* Works only once the <UEFI security-lock> is overcome.
*  grub2-multi.tcz is installed.
    Does `man grub2-multi` exist; or is it internal to TC only ?
* The 2015 example/documented <grub2-multi HOW2> lists 4 entries.
   To reduce the confusion I want to analyse only the 1st: "core".
* The various versions of the <grub family>, list <global-vars / parameters>
  at the listing-start: which apply to all of the following entries.
   The grub2-multi that I'm trying to use: fails to responde to kybrd;
   showing: <the good 3-line-logo> plus:
     tc@box:~$
     with an appropriately FLASHING CURSOR;
     which to me, suggests that grub2-multi's kybrd-driver is bad.
------------
THIS laptop which runs TC64ver8, overcomes the UEFI/restiction problem by:
 navigation to the "Aptio Setup Utility/boot"
 and <disabling the UEFI-restriction>.
The Intel-Atom-based W10 which I'm trying to USBstik-boot TC from, has
 a differnt/newer (2018) "Aptio Setup Utility/boot".
 Examining the W10's settings NOW: I'll reorder:
  "Boot Option Priorities" to
  "Boot Option #1     [UEFI: SanDisk, Part...]"
!! Interestingly: it knows/shows that the USBstik has partn2 for booting;
and AFAIR it showed that my 32bitDebian7-stik used Partn-3.
  So a lot of the system seems to be working ?

What test can I do to help find out why <tc@box:~$ & Flashing cursor>
 doesn't respond to kybrd ?

Title: Re: Howto make a legacy bios/uefi dual boot usb stick with grub2
Post by: Juanito on May 25, 2019, 04:08:33 AM
The extension is called grub2-multi because it contains both i386-pc and x86_64-efi files.

Please post your grub.cfg so that we can try to help you.
Title: Re: Howto make a legacy bios/uefi dual boot usb stick with grub2
Post by: labeas on May 26, 2019, 02:31:08 PM
> Please post your grub.cfg so that we can try to help you.
===================
=> move stik from dud W10 Laptop to W8.1 Laptop:
=> locate, mount & list Dir/S
=> locate & list grub.cfg
==> Some extra files, Dirs are omitted from the listings.

Code: [Select]
-> ls -l /mnt/sde2/EFI/BOOT/ ==
-rwxrwxrwx 1 root root  121344 May 16 15:59 BOOTX64.EFI
drwxrwxrwx 6 root root    4096 May 16 16:24 grub

Code: [Select]
-> ls -l /mnt/sde2/EFI/BOOT/grub/ ==
drwxrwxrwx 2 root root  4096 May 16 15:59 fonts
-rwxrwxrwx 1 root root  1048 May 24 16:12 grub.cfg
-rwxrwxrwx 1 root root  1288 May 16 16:26 grub.cfgBak
-rwxrwxrwx 1 root root  1024 May 16 15:59 grubenv
drwxrwxrwx 2 root root 20480 May 16 16:03 i386-pc
drwxrwxrwx 2 root root  4096 May 16 15:59 locale
drwxrwxrwx 2 root root 20480 May 16 15:59 x86_64-efi

Code: [Select]
-> cat /mnt/sde2/EFI/BOOT/grub/grub.cfg ==
loadfont unicode
insmod efi_gop
set gfxmode=800x600x32
set gfxpayload=keep
set gfxterm_font=unicode
terminal_output gfxterm

search --no-floppy --fs-uuid --set=root 5c4d3b5d-47c9-4e67-8403-4aa4eb9fb767

menuentry "core" {
linux /boot/vmlinuz quiet text tce=UUID="5c4d3b5d-47c9-4e67-8403-4aa4eb9fb767" waitusb=10:UUID="5c4d3b5d-47c9-4e67-8403-4aa4eb9fb767"
initrd /boot/rootfs.gz /boot/modules.gz
}

menuentry "core64" {
linux /boot/vmlinuz64 quiet text tce=UUID="5c4d3b5d-47c9-4e67-8403-4aa4eb9fb767" waitusb=10:UUID="5c4d3b5d-47c9-4e67-8403-4aa4eb9fb767"
initrd /boot/rootfs.gz /boot/modules64.gz
}

menuentry "corepure64" {
linux /boot/vmlinuz64 quiet text tce=UUID="5c4d3b5d-47c9-4e67-8403-4aa4eb9fb767"/tce64 waitusb=10:UUID="5c4d3b5d-47c9-4e67-8403-4aa4eb9fb767"
initrd /boot/rootfs64.gz /boot/modules64.gz
}

menuentry "corepure64 base" {
linux /boot/vmlinuz64 quiet text tce=UUID="5c4d3b5d-47c9-4e67-8403-4aa4eb9fb767"/tce64 waitusb=10:UUID="5c4d3b5d-47c9-4e67-8403-4aa4eb9fb767" base norestore
initrd /boot/rootfs64.gz /boot/modules64.gz
}
-------------------------
I don't know how this posting's line-len-overflow will work?

    [EDIT]: Added code tags.  Rich
Title: Re: Howto make a legacy bios/uefi dual boot usb stick with grub2
Post by: PDP-8 on June 19, 2019, 02:22:38 AM
Hey, it works!  Thanks Juanito..

I used CFDISK for the formatter and had no problem.

Tip: after formatting with mkfs, I removed the stick so the system would properly recognize the new partitions.  THEN I proceeded with mounting properly for the grub install.  I think everyone knows this, but this tripped me up before. :)

I actually turned this into a Tinycore / 64 setup with some tips from coreplayer2 - thanks man.

So happy I scarfed an entire pizza. :)
Title: Re: Howto make a legacy bios/uefi dual boot usb stick with grub2
Post by: labeas on August 13, 2019, 02:15:15 AM
=> /mnt/sda2/Tmp/Forum/CagedAces  2019 Aug 13

I'm used to acessing the whole file-tree, which includes ALL the
plugged devices in the USBhub, and the 4-partition Microsoft hardDrive
when running TC64ver7.2 from a USBstik via the <APTIO 2015> laptop.

Now I've managed to boot only the 2nd-listing-below of the 5 grub.cfg
entries. And install gpm & mc and get 1+11=12 VTs via `sudo openvt`
on the problematic <APTIO 2018> laptop.

Q: Why does `fdisk -l` & other tests NOT see the Microsoft hardDrive ?
Code: [Select]
root@box:/home/tc# ls /mnt
mmcblk0p1  sda1       sda2 <-sda=USBstik;mmcblk0p1=equipped SDcard

root@box:/home/tc# dmesg | grep sd
 sees sda* PLUS:...
sd 1:0:0:0: [sdb] 0 512-byte logical blocks: (0 B/0 B)
sd 1:0:0:0: [sdb] 0-byte physical blocks
sd 1:0:0:0: [sdb] Test WP failed, assume Write Enabled
sd 1:0:0:0: [sdb] Asking for cache data failed
sd 1:0:0:0: [sdb] Assuming drive cache: write through
sd 1:0:0:0: [sdb] Attached SCSI disk

OK, maybe sdb is the Microsoft hardDrive. I didn't notice that previousy.
When I can afford to take the USBhub from the <APTIO 2015> laptop,
I'll test if this system CAN see other devices, than its own-booted.

We often must "put the research to WRITNG" to spot our mistakes?
Now I'll boot to Win10; to post this FAT text from partn2 of our
<how to boot UEFI via grub> USBstik. Q: does `halt -n` <autoUnmount> ?

---> listing PASTED via mc & gpm:-
Code: [Select]
/mnt/sda2/EFI/BOOT/grub/grub.cfg     1154/1200      96%loadfont unicode
insmod efi_gop
set gfxmode=800x600x32
set gfxpayload=keep
set gfxterm_font=unicode
terminal_output gfxterm

search --no-floppy --fs-uuid --set=root bfe6116c-473a-4ee9-bbac-3638039dc9ad

menuentry "core" {
linux /boot/vmlinuz quiet text tce=UUID="bfe6116c-473a-4ee9-bbac-3638039dc9ad" waitusb=10:UUID="bfe6116c-473a-4ee9-bbac-3638039dc9ad"
initrd /boot/rootfs.gz /boot/modules.gz
}

menuentry "coreB" {  <-- ONLY THIS entry works OK
linux /boot/vmlinuz waitusb=10:UUID="bfe6116c-473a-4ee9-bbac-3638039dc9ad"
initrd /boot/rootfs.gz /boot/modules.gz
}

menuentry "core64" {
linux /boot/vmlinuz64v10 quiet text tce=UUID="bfe6116c-473a-4ee9-bbac-3638039dc9ad" waitusb=10:UUID="bfe6116c-473a-4ee9-bbac-3638039dc9ad"
initrd /boot/rootfs.gz /boot/modules64.gz
}
...
PS. I notice how the smart-arse web-based forum FALSELY wraps code-lines.
NNTP of 25 years ago is far superior. Too late to change now.
Whereas we wrote "27"; todays FB, twitter kiddie write "twenty seven".

    [EDIT]: Added code tags and corrected Microsoft spelling.  Rich
Title: Re: Howto make a legacy bios/uefi dual boot usb stick with grub2
Post by: Rich on August 13, 2019, 07:20:56 AM
Hi labeas
Please refrain from your  "clever"  spelling of Microsoft. If you feel a need to bash them, take it elsewhere. I'm sure there are sites
out there that specialize in that.

... Q: Why does `fdisk -l` & other tests NOT see the Microsoft hardDrive ? ...
Since you didn't show the results of  fdisk -l  we don't know what it saw. If your disk has GPT partitions, you probably need  gdisk.

Quote
PS. I notice how the smart-arse web-based forum FALSELY wraps code-lines.
If your line is longer than the display area it wraps at the last whitespace that still fits on the line. It will not wrap in the middle of a
word. If it encounters this and it's too long to still fit on the current line:
Code: [Select]
waitusb=10:UUID="5c4d3b5d-47c9-4e67-8403-4aa4eb9fb767"it will wrap that to the next line because it contains no whitespace. If you use  code tags,  it will wrap in the editing window, but
when you click the  Preview  button, you'll see it in a code box with a horizontal scrollbar on the bottom.
Title: Re: Howto make a legacy bios/uefi dual boot usb stick with grub2
Post by: labeas on November 27, 2019, 11:36:21 PM
This is the first & last time I use a FULL-BROWSER for the TCforum.
And now I see were the verbose/redundant:jsGenerated "Code: [Select]" comes from.
It seems absurd for TINYcore, which hasn't even got: awk, bash, X to want to ape
the WinTel/Bigboys? And we'd better solve this UEFI-booting, since there's a whole
flood of ChineseCheapo UEFI WinTel laptops coming.
---The following seems inconsistent with previous instructions:--
>installing manually is quite easy if you check off the following list items & notes below
>...
>* that Grub2 is installed from a 64bit operating system, with the following directory paths
>*         sd(x)1/EFI/BOOT
?????????? On the USBstik which mostly works, nonTClinux sees:---
=> /mnt/sdg2/EFI/BOOT/grub/ =fonts/ grub.cfg  grubenv i386-pc/ x86_64-efi/
Ie. -/EFI/BOOT is on the 2nd [FAT] partition, not the 1st [linux].

How can I continue fumbling in the dark; or has this instruction-error been corrected?

Title: Re: Howto make a legacy bios/uefi dual boot usb stick with grub2
Post by: Juanito on November 28, 2019, 01:55:30 AM
There are two parts to (u)efi boot:

1 - Choose the correct bootloader - 32-bit for old apple machines and 64-bit for almost everything else

2 - Create an appropriate grub.cfg or equivalent.

It is still unclear from your posts where the problem lies with your atom machine.
Title: Re: Howto make a legacy bios/uefi dual boot usb stick with grub2
Post by: Rich on November 28, 2019, 07:27:21 AM
Hi labeas
This is the first & last time I use a FULL-BROWSER for the TCforum. ...
Then use a lightweight browser like  dillo  which is capable of properly displaying this forums content.

Quote
... And now I see were the verbose/redundant:jsGenerated "Code: [Select]" comes from. ...
The purpose of the  [Select]  link is to highlight all the text in the code box so you can copy it (Ctrl-C) into the paste buffer and
then paste it (Ctrl-V) elsewhere. Good news, if you use  dillo  you'll need to highlight text in the code box with your mouse since
dillo  does not support Javascript.

Quote
... It seems absurd for TINYcore, which hasn't even got: awk, bash, X to want to ape ...
What are you talking about? awk and ash are supplied by busybox (first line after Currently defined functions:):
Code: [Select]
tc@E310:~$ busybox
BusyBox v1.29.3 (2018-12-19 15:29:37 UTC) multi-call binary.
BusyBox is copyrighted by many authors between 1998-2015.
Licensed under GPLv2. See source distribution for detailed
copyright notices.

Usage: busybox [function [arguments]...]
   or: busybox --list[-full]
   or: busybox --install [-s] [DIR]
   or: function [arguments]...

        BusyBox is a multi-call binary that combines many common Unix
        utilities into a single executable.  Most people will create a
        link to busybox for each function they wish to use and BusyBox
        will act like whatever it was invoked as.

Currently defined functions:
        [, [[, addgroup, adduser, adjtimex, ar, arp, arping, ash, awk, basename, bunzip2, bzcat, bzip2, cal, cat, chgrp, chmod,
        chown, chpasswd, chroot, chrt, chvt, cksum, clear, cmp, comm, cp, cpio, crond, cut, date, dc, dd, deallocvt, delgroup,
        deluser, depmod, df, diff, dirname, dmesg, dnsdomainname, dos2unix, du, dumpkmap, dumpleases, echo, egrep, eject, env,
        ether-wake, expr, false, fbset, fdflush, fdformat, fdisk, fgconsole, fgrep, find, flock, fold, free, freeramdisk, fsck,
        ftpget, ftpput, fuser, getopt, getty, grep, gunzip, gzip, halt, hdparm, head, hexdump, hostid, hostname, hwclock, id,
        ifconfig, inetd, init, insmod, install, ipcalc, ipcrm, ipcs, kill, killall, killall5, klogd, last, less, linux32, linux64,
        ln, loadfont, loadkmap, logger, logname, logread, losetup, ls, lsmod, lsof, lzcat, lzma, md5sum, mesg, microcom, mkdir,
        mkfifo, mknod, mkswap, mktemp, modinfo, modprobe, more, mv, nameif, nbd-client, nc, netstat, nice, nohup, nslookup, ntpd,
        od, openvt, patch, pgrep, pidof, pivot_root, pkill, poweroff, printenv, printf, ps, pstree, pwd, rdate, readlink, realpath,
        reboot, renice, reset, resize, rev, rm, rmdir, rmmod, route, rpm, rpm2cpio, script, sed, seq, setarch, setconsole,
        setkeycodes, setsid, sh, sha1sum, sleep, sort, split, start-stop-daemon, strings, stty, sulogin, sum, swapoff, swapon,
        switch_root, sync, sysctl, syslogd, tail, tar, taskset, tee, telnet, test, tftp, tftpd, time, timeout, top, touch, tr,
        true, tty, udhcpc, udhcpd, udpsvd, uname, uncompress, uniq, unix2dos, unlink, unlzma, unxz, unzip, uptime, usleep, vconfig,
        vi, watch, wc, wget, which, who, whoami, xargs, xz, xzcat, yes, zcat
tc@E310:~$

If you want GNU awk, install  gawk.tcz.  If you want bash, install  bash.tcz. If you want X, there's Xvesa (X86 only), Xorg, or Xfbdev.
Title: Re: Howto make a legacy bios/uefi dual boot usb stick with grub2
Post by: labeas on December 05, 2019, 05:07:02 PM
Re: Howto make a legacy bios/uefi dual boot usb stick with grub2
« Reply #15 on: November 28, 2019, 01:55:30 AM »

Quote
There are two parts to (u)efi boot:

1 - Choose the correct bootloader - 32-bit for old apple machines and 64-bit for almost everything else

2 - Create an appropriate grub.cfg or equivalent.

It is still unclear from your posts where the problem lies with your atom machine.
-------------------------------------end of pasted quote.
As an experiment I'm using W10 to read/write this.
What a DISASTER !!
My previous post [inteded to] told that <from possibly faulty human memory rather than
copy-pasted> the Wifi-firmware needed is RTL8723BS. <--- !!!

Title: Re: Howto make a legacy bios/uefi dual boot usb stick with grub2
Post by: PDP-8 on December 05, 2019, 07:57:08 PM
Labeas - I can confirm these instructions work on cheapo uefi-only hardware.  I currently run on devices that are uefi-only that are made that way, OR when I have disabled all legacy stuff myself just to prove a point.

1) Wintel W8 Pro hockey puck.  UEFI only with American Megtrends bios / Aptio .  All you have to do is change your boot drive and leave the rest alone.  No legacy at all.

2) Vnopn fanless mini-pc.  Same deal, although it tries to be all things.  I turned OFF any legacy options, and run uefi-only.

3) Intel NUC.  Even turned off the old-school hybrid-iso booting hack.  UEFI only.

4) Acer laptop emulating a cheap Chromebook.  No legacy stuff there - running uefi only and just changed my boot order to boot from usb stick.

Kind of hard to keep track of all that you have done, although I'm wondering if maybe you aren't able to scroll the code Juanito supplies and might be missing the end of some lines?

I even went so far as to not even make the stick dual-boot, just basically corepure64 distribution files only.  Works great every time, on every machine.

Maybe your build environment is so twisted that something is wrong?  Have you tried using these instructions on a full-featured distribution like a live Debian Buster or equivalent which has all these tools?

Or maybe as a worst-case, resetting anything you've done to your Bios back to "default", and trying again?

Anyway, just wanted to give you hope that although for UEFI, *core isn't click-n-play, it is pretty easy and fast to create your own.  Is it time to go clean-slate and try again?
Title: Re: Howto make a legacy bios/uefi dual boot usb stick with grub2
Post by: labeas on December 09, 2019, 03:10:15 PM
PDP-8 wrote:-   
> Anyway, just wanted to give you hope that although for UEFI, *core isn't
> click-n-play, it is pretty easy and fast to create your own.  Is it
> time to go clean-slate and try again?
--
My only experience with TC has been 64PureVer7.2.
I put about 8 entries in the <grub2-UEFI> QuadAtom.
TC64 & core both boot; others fail.
Core which is running now on the QuadAtom:-
$ uname -a = ...4.19.10...i686
 That's 32bit isn't it? The remaining problem is RTL8723BS driver.
$ sudo openvt (times 8: gives me 8 root Terminals).
# df | grep loop = Nul; shows that it's bare/no *.tcz installed yet.
An inconvenient quirk is that the native/Win10 disk is not seen,
so the TC-effort/bootStik is seen as /dev/sda.
It sees the sdCard, which has LinuxNativeOberon. Astounding!
Especially for anybody with PASCAL experience.
Full GUI with color...Multiple Frames per Screen, to be able to
see multiple aspects of complex problems, and even wipe/dab
texts to different colors/fonts to represent a further layer
of association. Eg. 6 Frames, showing 6 files, and RED, BLUE, GREEN,
YELLOW. marking of textS to Highlight the Price, Weight, Age,
Language aspects of the problem under consideration.
And it's running in TC:core with no X/GUI - via framebuffer.
This dating from the 90's compared to the lame-shit Win10 of today!
Yes LNO running under TCcore, now: a full GUI/OS.
nuf-sed....
Title: Re: Howto make a legacy bios/uefi dual boot usb stick with grub2
Post by: Juanito on December 09, 2019, 11:54:28 PM
The remaining problem is RTL8723BS driver

rtl8723bs-4.19.10-tinycore extension posted to the tc-10.x x86 repo.

You need to download the following:

http://tinycorelinux.net/10.x/x86/tcz/rtl8723bs-4.19.10-tinycore.tcz
http://tinycorelinux.net/10.x/x86/tcz/rtl8723bs-4.19.10-tinycore.tcz.dep
http://tinycorelinux.net/10.x/x86/tcz/rtl8723bs-4.19.10-tinycore.tcz.md5.txt

You also need to download the *tcz, *tcz.dep and *tcz.md5.txt files for each extension listed in the following url:

http://tinycorelinux.net/10.x/x86/tcz/rtl8723bs-4.19.10-tinycore.tcz.tree

..and repeat recursively for each of the extension tree files.
Title: Re: Howto make a legacy bios/uefi dual boot usb stick with grub2
Post by: Rich on December 10, 2019, 05:49:51 AM
Hi Juanito
... http://tinycorelinux.net/10.x/x86/tcz/rtl8723bs-4.19.10-tinycore.tcz.tree

..and repeat recursively for each of the extension tree files.
Huh? Maybe I'm misunderstanding your wording, but the  rtl8723bs-4.19.10-tinycore.tcz.tree  file already lists all of the dependencies.
Title: Re: Howto make a legacy bios/uefi dual boot usb stick with grub2
Post by: Juanito on December 10, 2019, 06:09:57 AM
Ah - you’re correct - well spotted  :)
Title: Re: Howto make a legacy bios/uefi dual boot usb stick with grub2
Post by: labeas on December 12, 2019, 01:08:15 PM
Got: http://tinycorelinux.net/10.x/x86/tcz/rtl8723bs-4.19.10-tinycore.tcz
wget http://tinycorelinux.net/10.x/x86/tcz/rtl8723bs-4.19.10-tinycore.tcz.dep
= 61bytes : rtl8723bs-4.19.10-tinycore.tcz.dep ==
wireless-KERNEL.tcz
firmware-rtlwifi.tcz
firmware-rtl_bt.tcz
wget http://tinycorelinux.net/10.x/x86/tcz/wireless-KERNEL.tcz =wget: bad address...
wget http://tinycorelinux.net/10.x/x86/tcz/firmware-rtlwifi.tcz =750240 : firmware-rtlwifi.tcz
wget http://tinycorelinux.net/10.x/x86/tcz/firmware-rtl_bt.tcz =wget: bad address 'tinycorelinux.net'
wget http://tinycorelinux.net/10.x/x86/rtl8723bs-4.19.10-tinycore.tcz.tree
 == wget: bad address 'tinycorelinux.net'
---- BTW I found the GOOD <TC wiki for wifi>.html
and would like to test/confirm the precedures,
on the minimalist: TC:core [uname -a =...686i...]
which seems to UEFI:boot without problems.
Various wiki-listed tests/confirms fail for the
TC64: rtl8723bs-4.19.10 install attempt.
Isn't there a script to fetch/install the dependencies
which haven't aleady been installed?
Title: Re: Howto make a legacy bios/uefi dual boot usb stick with grub2
Post by: Rich on December 12, 2019, 01:38:10 PM
Hi labeas
... wget http://tinycorelinux.net/10.x/x86/tcz/wireless-KERNEL.tcz =wget: bad address... ...
You're supposed to replace  KERNEL  with your kernel version:
http://tinycorelinux.net/10.x/x86/tcz/wireless-4.19.10-tinycore.tcz

Quote
wget http://tinycorelinux.net/10.x/x86/tcz/firmware-rtl_bt.tcz =wget: bad address 'tinycorelinux.net'
That one's fine. I don't know why you have a problem with it.

Quote
wget http://tinycorelinux.net/10.x/x86/rtl8723bs-4.19.10-tinycore.tcz.tree
 == wget: bad address 'tinycorelinux.net'
Of course it won't work if you mangle the address:
http://tinycorelinux.net/10.x/x86/tcz/rtl8723bs-4.19.10-tinycore.tcz.tree
Title: Re: Howto make a legacy bios/uefi dual boot usb stick with grub2
Post by: labeas on December 12, 2019, 10:05:10 PM
Your superior visio-cognitive skills, compensates for using inferior tools.
-rw-r--r-- 1 root root     112 Dec 10 07:45 rtl8723bs-4.19.10-tinycore.tcz.tree
-rw-r--r-- 1 root root 3284992 Dec 18  2018 wireless-4.19.10-tinycore.tcz

Further possible errorS:
wireless-4.19.10-tinycore.tcz =3284992 <- for 32bit system?.
wireless-4.19.10-tinycore64.tcz =3481600

Recent advances in USBstik technology will boost the use of tinycore.
Assuming the USA also is still dominated by <SanDisk> ?
These plasticPlugged things *WEAR* each time they're moved.
For me, Toshiba metalPlugged stiks prevent disasterous loss due
to SanDisk becoming unuseable.
Title: Re: Howto make a legacy bios/uefi dual boot usb stick with grub2
Post by: Rich on December 13, 2019, 07:04:52 AM
Hi labeas
... Further possible errorS:
wireless-4.19.10-tinycore.tcz =3284992 <- for 32bit system?.
wireless-4.19.10-tinycore64.tcz =3481600 ...
Yes, the first one is for 32 bit systems and the second one is for 64 bit systems.
No, they don't have to be the same size.
If you still feel there is a "possible error" you will have to be more specific.