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

   Á¶È¸ 12142   Ãßõ 0    

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

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 9/0
°Ô½Ã¹°ÀÌ ¾ø½À´Ï´Ù.