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

   Á¶È¸ 13626   Ãßõ 0    

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

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
ªÀº±Û Àϼö·Ï ½ÅÁßÇϰÔ.


PDS
Á¦¸ñPage 8/78
2015-12   1892775   ¹é¸Þ°¡
2014-05   5378585   Á¤ÀºÁØ1
2022-05   10796   PCMaster
2022-05   7949   PCMaster
2023-10   33263   »õÇϾᱸ¸§
2012-07   19269   ¹Ú¹®Çü
2013-10   32428   ÇÑ¿©¸§¹ãÀDzÞ
2014-11   66296   ¾Ë¸®»ç
2018-07   10321   ½Ãµµ´Ï
2018-08   9013   FOXBI
2018-09   12263   µ¿·Â
2016-01   22781   DoubleSH
2016-01   17190   DoubleSH
2016-02   18321   AKMU
2016-02   12848   HEUo±è¿ë¹Î
2016-03   13601   HEUo±è¿ë¹Î
2016-03   13148   µðºñµð
2016-03   12175   ³ë½º¿ìµå
2016-03   15274   µðºñµð
2016-04   12141   º­¶ûÀ§¿¡Æ÷´¢
2016-04   9970   °£Àå°ÔÀå
2016-10   13859   Á¦¿ÂÇÁ·Î