Tinycore ¿ë Grub Boot Menu Default Changer ¹èÆ÷ÇÕ´Ï´Ù.

   Á¶È¸ 12803   Ãßõ 0    

https://github.com/PeterSuh-Q3/tinycore-redpill/blob/main/grubmenu.sh (4529)

tc@box:~$ 

curl --location "https://github.com/PeterSuh-Q3/tinycore-redpill/raw/main/grubmenu.sh" --output grubmenu.sh; chmod +x grubmenu.sh;


Tinycore 를 위한 간단한 유틸 하나 배포합니다.

필요에 의해 grub.cfg 내의 재부팅후 기본 부팅 메뉴를 변경하고 싶으실 때 사용하시면 됩니다.

 

USB <-> Tiny Core Image Build

SATA <-> Tiny Core Image Build

사이에 변경하고 싶은경우 열심히 키보드 앞에서 대기하실 필요 없습니다.

사용법은 맨 위 커맨드로 다운로드 받으시고

 뒤 옵션은 메뉴 순서대로 1,2,3 중에 선택해 주시면 됩니다.

 

tc@box:~$ ./grubmenu.sh 1

tc@box:~$ ./grubmenu.sh 2

tc@box:~$ ./grubmenu.sh 3

 

1. menuentry 'Yet Another Jun`s Mod x RedPill DS1621+ v7.0.1-42218 (USB, Verbose)' {
2. menuentry 'Yet Another Jun`s Mod x RedPill DS1621+ v7.0.1-42218 (SATA, Verbose)' {
3. menuentry 'Tiny Core Image Build' {


tc@box:~$ ./grubmenu.sh 1

Mounting /dev/sda1 to localdiskp1 

grub boot partition mounted normally.

Entries in Localdisk bootloader :
=======================================================================
menuentry 'Yet Another Jun`s Mod x RedPill DS1621+ v7.0.1-42218 (USB, Verbose)' {
menuentry 'Yet Another Jun`s Mod x RedPill DS1621+ v7.0.1-42218 (SATA, Verbose)' {
menuentry 'Tiny Core Image Build' {

Setting default boot entry to USB

 

tc@box:~$ ./grubmenu.sh 2

Mounting /dev/sda1 to localdiskp1 

grub boot partition mounted normally.

Entries in Localdisk bootloader :
=======================================================================
menuentry 'Yet Another Jun`s Mod x RedPill DS1621+ v7.0.1-42218 (USB, Verbose)' {
menuentry 'Yet Another Jun`s Mod x RedPill DS1621+ v7.0.1-42218 (SATA, Verbose)' {
menuentry 'Tiny Core Image Build' {

Setting default boot entry to SATA

 

tc@box:~$ ./grubmenu.sh 3

Mounting /dev/sda1 to localdiskp1 

grub boot partition mounted normally.

Entries in Localdisk bootloader :
=======================================================================
menuentry 'Yet Another Jun`s Mod x RedPill DS1621+ v7.0.1-42218 (USB, Verbose)' {
menuentry 'Yet Another Jun`s Mod x RedPill DS1621+ v7.0.1-42218 (SATA, Verbose)' {
menuentry 'Tiny Core Image Build' {

Setting default boot entry to Tiny Core Image Build

 

------------------------------------------------------------------------------------

시놀로지에서 Tiny Core Image Build 부트로 변경하시고 싶으신 경우는

SSH 로 접속하시고

시놀로지 공유폴더 적당한곳에 위 커맨드로 내려 받으시고

 

sudo ./grubmenu.sh 1

sudo ./grubmenu.sh 2

sudo ./grubmenu.sh 3

 

이렇게 사용하시면 되겠습니다. ^^

image
ªÀº±Û Àϼö·Ï ½ÅÁßÇÏ°Ô.


óÀ½À¸·Î (232,934)
Á¦¸ñ
2CPU : ÆǸŠ06-16   177   ÀüÇö±Ô
2CPU : ÀÚÀ¯°Ô½ÃÆÇ 06-16   610   ¼ÛÁøÇö
2CPU : QnA 06-16   1530   Àü¼³¼ÓÀǹ̡¦
2CPU : ±¸¸Å 06-15   163   Áö·ç¹«·á½Ä»ó
A (1)
2CPU : ÆǸŠ06-15   514   µ¶Å丣µ§
2CPU : ÀÚÀ¯°Ô½ÃÆÇ 06-15   687   ¿¥ºê¸®¿À
2CPU : ÀÚÀ¯°Ô½ÃÆÇ 06-15   500   ³×¿À³×¸ð
2CPU : ÀÚÀ¯°Ô½ÃÆÇ 06-15   152   TubeAmp
2CPU : QnA 06-15   1308   pumkin
2CPU : ÀÚÀ¯°Ô½ÃÆÇ 06-15   559   ´ó´óÀÌ
2CPU : ÆǸŠ06-15   192   ´ÙÅ©Àå¹Ì
2CPU : QnA 06-15   1808   À嵿°Ç2014
2CPU : ÆǸŠ06-15   238   ´ÙÅ©Àå¹Ì
2CPU : PDS 06-15   12804   È­Á¤Å¥»ï
2CPU : ÀÚÀ¯°Ô½ÃÆÇ 06-15   493   epowergate