Jump to content
XPEnology Community

Tinycore Redpill Create Boot Image & USB (tr_cb v0.9.9-r02)


FOXBI

Recommended Posts

Hello~!

 

This is a topic I have been writing for a long time since I wrote the ch_cpuinfo topic.

 

I am xpenology user. And I am an IT engineer who creates shell scripts as hobbies.

 

Please understand that it is written by a google translate site. because i’m korean who is not fluent in English.

 

I created a tool to help image or USB creation After Tinycore + Redpill build.

 

 

Requirement
=============================================================

 

Tinycore, Build completion status

image.png.acc68e2abd68ee3a8aa79f3fbc66ba31.png

 

 

Howto Run

=============================================================

 

1. Download attached file on your PC (tr_cb.tar)

    or See the source page on github -> http://github.com/FOXBI/tr_cb

 

2. Start up your Tinycore and upload it. (using sftp....)

    Alternatively, you can paste the source directly from the shell.

    or wget, gitclone ...

 

3. Connect to ssh by tc account.

 

4. Progress as tc user. 

 

5. Build (rploader or tr_st,  ....)

 

6. Check Directory location

# pwd /home/tc

 

7. Decompress file & check file:

# tar xvf tr_cb.tar 
# ls -lrt 
# chmod 755 tr_cb.sh

 

8. Run to Source file

# ./tr_cb.sh

 

When you execute it, proceed according to the description that is output.

 

image.thumb.png.5e8756eabdb913f0449f50a5d9140911.png

 

 

Additional notes

=============================================================

 

1. You can proceed only when the build has been completed.

2. In the case of USB, it will not proceed unless the USB is plugged in.

3. Please note that all data will be deleted in the case of USB.

4. In case of USB, it may take some time depending on the capacity.

5. In case of USB, VID and PID are automatically put in grub.cfg.

6. In the case of USB, the default is hd0, which is the default boot order.

7. Image is created in /home/tc/ in the form of model name_version.img and is quickly created in 150MB.

8. Image is changed to hd0 -> hd1 according to the boot order based on the environment being built.

 

Changelog

=============================================================

Update v0.9.9-r02 - 2022.04.27

- A typo was identified and corrected in the USB creation function

 

Attachement

=============================================================

 

Download : tr_cb.tar

 

 

Finally comment

=============================================================

 

 

I'm an ESXi user, so the Native test is lacking.(Check only basic bootability)

Please note that there may be errors.

If you tell me the test results and points for improvement, I'll reflect them.

 

Have Nice Day!! Thank you~!!!

Edited by FOXBI
update new version
  • Like 3
  • Thanks 1
Link to comment
Share on other sites

  • FOXBI changed the title to Tinycore Redpill Create Boot Image & USB (tr_cb v0.9.9-r02)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...