Discuss Scratch

TheSmartGuy1234
Scratcher
1000+ posts

How do I convert SB3 to BOOTABLE ISO?

Major breakthrough! “ezremaster” extension!

Switching back to TC.
EDIT: http://forum.tinycorelinux.net/index.php/topic,25445.0.html proof i'm not the smartest person in the world

Step zero: Install Firefox on your computer.
Step one: Install the ezremaster extension.
Step two: Set the working directory to anything that's on a hard drive, unless you have about 32 GB of RAM and the .iso file to a TinyCorePure64 .iso file.
Step three: Do Remaster step #1.
Step four (WIP): Package your scratch project using forkphorus. Add
<script>document.onkeydown=function(e){return!e.ctrlKey||67!==e.keyCode&&86!==e.keyCode&&85!==e.keyCode&&117!==e.keyCode};</script>
to the head of the HTML. (not tested. from here)
Step five: (untested): Add Firefox (sudo cp /mnt/sda1/tce/firefox.tcz /tempDir/image/cde/optional) to the .iso. Also add firefox.tcz.dep to the app_dep folder (sudo cp /mnt/sda1/tce/firefox.tcz.dep /tempDir/app_dep). Do sudo chmod 444 to it. Add the project to /tempDir/extract/opt/storage/www/index.html. Edit the onboot.lst and the users.json file (see old guide).
Step six: Replace /tempDir/image/boot/isolinux.cfg with
DEFAULT corepure64
LABEL corepure64
KERNEL /boot/vmlinuz64
INITRD /boot/corepure64.gz
APPEND (showapps) [show apps loading] (xsetup) [Prompt the user for resolution setup] base norestore
(in quotes = optional). Delete menu.c32 and everything starting with f.
Step seven: Do Remaster step 2.
Step eight: (uncompleted) Change Ctrl alt Del, maximize on startup, blah blah boring zzzz (don't stay up all night)

REMEMBER TO DO sudo rm /tempDir/ezremaster.iso and .cfg BETWEEN EACH ATTEMPT BEFORE YOU START EZREMASTER!
might as well delete the whole thing

Note: Remember to add the dependencies I didn't realize you needed!
Here they are:
gtk3.tcz
libasound.tcz
dbus-glib.tcz
hicolor-icon-theme.tcz
cairo.tcz
gamin.tcz
libGLESv2.tcz
gdk-pixbuf2.tcz
gcc_libs.tcz
libXt.tcz
libXtst.tcz
Add them like you added Firefox.

Done in less than ten steps*!
New year, new distro
bye

EDIT: Try one: IT WORKED! I GOT AN .ISO FILE! Bootable? Yes. Tested? Yes. Has Firefox? No. Has project? No.
EDIT: Try two: (using chromium)… It worked. Chromium wasn't there (for some reason, so I'll add it manually) but the other changes I made did. (I didn't add the project this time). So basically I made a small version of TinyCore that does not work and isn't functional at all. Exactly what we want.
EDIT: Try 3: I forgot to delete ezremaster.iso so I didn't get a new .iso. Try 3.1: It didn't boot. Due to a single line in the log, I have found that the boot folder is corrupted. Any NASA PCs I can use?
EDIT: Try 4: This error pops up and you get sent to text mode. Probably because Firefox's dependencies also have dependencies. Everything else* worked though. (Also, again, the “Unknown file type (unallocated) ./.. - ignoring and continuing” error popped up. For some reason.)
EDIT: Try 5: I added Firefox's dependencies' dependencies. Still same issue. Apparently it's an issue with Xvesa? EDIT: I realized Firefox's dependencies' dependencies has dependencies. Oof.
EDIT: Try 6: Got a massive list of every dependency. Here they are:
gtk3 libepoxy at-spi2-atk gdk-pixbuf2 libXcomposite pango libXcursor libXinerama libXrandr libXi pcre libasound dbus-glib dbus glib2 hicolor-icon-theme cairo glib2 fontconfig pixman libpng libXrender libXext libEGL libGLESv2 gamin gcc_libs libXt libICE libSM libX11 libXtst libXi shared-mime-info glib2 libxml2 libtiff liblzma libjpeg-turbo libzstd at-spi2-core harfbuzz libXft fontconfig freetype libXrender fribidi glib2 libXfixes libX11 libX11 bzip2-lib expat2 libffi pcre21042 libXdamage libXfixes libXxf86vm libXext libdrm libpciaccess udev-lib libxshmfence libxcb libXau libXdmcp libXau libXdmcp
Working on a shell script. EDIT: It worked but I forgot the .md5.txt files as well. Oof. Okay so I have the shell script!!!! EDIT: IT WORKED!!! FIREFOX IS THERE! There is an different error this time though.
EDIT: Try 7: Tinycore says “no need to put dependencies in the startup apps!!!”. Welp. That wasn't true. Also someone FINALLY replied to my topic on the TinyCore Forums! So looks like I'm reinstalling TinyCore to get the home directory I need… EDIT: Oh look! I can install x64 TinyCore! Anyway it seem to be working well. EDIT: Oh look! That's cool. One .iso and one .sh coming in about 2 weeks! EDIT: Oh look! Running Firefox in safe mode disables the welcome thing!
EDIT: Try 8: Surprise! Look! MORE DEPENDENCIES!!! MWAH HA HA!!!
EDIT: Try 9: Fixed ISOLINUX bootcodes. Added MORE dependencies. Deleted useless boot stuff. IDEA: Make website + settings for Firefox into a custom extension.

Last edited by TheSmartGuy1234 (Jan. 30, 2024 07:45:32)

NexusSfan
Scratcher
100+ posts

How do I convert SB3 to BOOTABLE ISO?

archiso is an official tool to make arch linux iso files
applejuiceproduc
Scratcher
1000+ posts

How do I convert SB3 to BOOTABLE ISO?

NexusSfan wrote:

archiso is an official tool to make arch linux iso files
You can customize it to make it whatever you want.
NexusSfan
Scratcher
100+ posts

How do I convert SB3 to BOOTABLE ISO?

applejuiceproduc wrote:

NexusSfan wrote:

archiso is an official tool to make arch linux iso files
You can customize it to make it whatever you want.
and that
NexusSfan
Scratcher
100+ posts

How do I convert SB3 to BOOTABLE ISO?

TheSmartGuy1234 wrote:

Step six: Replace /tempDir/image/boot/isolinux.cfg
Ah yes, ISOLINUX
grub
ajskateboarder
Scratcher
1000+ posts

How do I convert SB3 to BOOTABLE ISO?

Unironically the longest living AT thread But uhhhm what's going on here these days?
TheSmartGuy1234
Scratcher
1000+ posts

How do I convert SB3 to BOOTABLE ISO?

ajskateboarder wrote:

Unironically the longest living AT thread But uhhhm what's going on here these days?
Shh. You disturbed by sneaky sneaky.

NexusSfan wrote:

TheSmartGuy1234 wrote:

Step six: Replace /tempDir/image/boot/isolinux.cfg
Ah yes, ISOLINUX
grub
Doing grub later (for UEFI)

Anyways I'm almost done.
Steps 5 and 6 are already able to be done by the shell script and 3 and 7 are done but untested. Step 6 soon!
EDIT: 3 and 7 are done and tested! Also the last one. EDIT: Step six (ISOLINUX only) done!

Last edited by TheSmartGuy1234 (Jan. 31, 2024 06:39:37)

applejuiceproduc
Scratcher
1000+ posts

How do I convert SB3 to BOOTABLE ISO?

NexusSfan wrote:

TheSmartGuy1234 wrote:

Step six: Replace /tempDir/image/boot/isolinux.cfg
Ah yes, ISOLINUX
grub
Isolinux is good
NexusSfan
Scratcher
100+ posts

How do I convert SB3 to BOOTABLE ISO?

applejuiceproduc wrote:

NexusSfan wrote:

TheSmartGuy1234 wrote:

Step six: Replace /tempDir/image/boot/isolinux.cfg
Ah yes, ISOLINUX
grub
Isolinux is good
Doesn't ISOLinux only support MBR and not EFI?
TheSmartGuy1234
Scratcher
1000+ posts

How do I convert SB3 to BOOTABLE ISO?

Tinycore uses GRUB too! I'm just trying to figure out how to change the config files. Script is going ok atm.
NexusSfan
Scratcher
100+ posts

How do I convert SB3 to BOOTABLE ISO?

TheSmartGuy1234 wrote:

Tinycore uses GRUB too! I'm just trying to figure out how to change the config files. Script is going ok atm.
archiso
Swiftpixel
Scratcher
100+ posts

How do I convert SB3 to BOOTABLE ISO?

NexusSfan wrote:

Or you can create an EXE file that will make the Scratch file run at startup and kill “explorer.exe”
or set the shell to the EXE and completely skip explorer boot
Swiftpixel
Scratcher
100+ posts

How do I convert SB3 to BOOTABLE ISO?

I'm gonna make an OS that converts SB3 to JS then runs that
applejuiceproduc
Scratcher
1000+ posts

How do I convert SB3 to BOOTABLE ISO?

Swiftpixel wrote:

NexusSfan wrote:

Or you can create an EXE file that will make the Scratch file run at startup and kill “explorer.exe”
or set the shell to the EXE and completely skip explorer boot
turn that into an iso.
Swiftpixel
Scratcher
100+ posts

How do I convert SB3 to BOOTABLE ISO?

applejuiceproduc wrote:

Swiftpixel wrote:

NexusSfan wrote:

Or you can create an EXE file that will make the Scratch file run at startup and kill “explorer.exe”
or set the shell to the EXE and completely skip explorer boot
turn that into an iso.
sure I'll do that now

maybe ill use WinPE though since it's so much smaller
ajskateboarder
Scratcher
1000+ posts

How do I convert SB3 to BOOTABLE ISO?

Has anyone here considered buildroot
NexusSfan
Scratcher
100+ posts

How do I convert SB3 to BOOTABLE ISO?

Swiftpixel wrote:

applejuiceproduc wrote:

Swiftpixel wrote:

NexusSfan wrote:

Or you can create an EXE file that will make the Scratch file run at startup and kill “explorer.exe”
or set the shell to the EXE and completely skip explorer boot
turn that into an iso.
sure I'll do that now

maybe ill use WinPE though since it's so much smaller
windows moment

ajskateboarder wrote:

Has anyone here considered buildroot
Oh my
SweetiePieH1
Scratcher
100+ posts

How do I convert SB3 to BOOTABLE ISO?

I don't know if this would be a good idea, because I would think that the Linux environment would need a special dialog at startup to connect to the internet. I'm thinking to make an arch Linux copy in a VM and add a turbowarp Linux compilation. then make it that X11 would start with the electron app.
saverofthewo
Scratcher
100+ posts

How do I convert SB3 to BOOTABLE ISO?

so what if you wake up and your operating system is getting over it by griffpatch
J4ol
Scratcher
100+ posts

How do I convert SB3 to BOOTABLE ISO?

All we need to do is

1. Pack Project For Linux

2. Edit Linux Install Disk and replace What ever loads the taskbar (Like how windows has explorer.exe) and replace it with the “start.sh” in the packed project. move all the files of the packed project TO THE FOLDER WERE YOU REPLACED THE TASKBAR PROGRAM!

3. Save files.

4. Install

5. You now have a OS GUI coded out of Scratch.

5.5. Want to boot it without installing? Boot to “Live Disk Test Mode”

Powered by DjangoBB