Tinycore 용 Grub Boot Menu Default Changer 배포합니다.
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
이렇게 사용하시면 되겠습니다. ^^
좋은 자료 감사합니다~
시놀로지용은 로직이 조금 다르게 구현되야 해서 지금 수정중입니다.
범용으로 시놀로지 / TC 두 시스템에서 같이 쓸 수 있도록 다시 개발하겠습니다.
해놀로지 올려서 쓰다가 로더 변경해야 할때 위 명령어로
Tiny Core Image Build 메뉴를 기본으로 변경한 다음 해놀로지 재부팅하면 자동으로 TC로 부팅되겠군요.
그러고나서 putty로 접속해서 이래저래 빌드 한다음
다시 위 명령어로 Redpill 이미지를 기본값으로 변경하고 재부팅하면 다시 해놀로지로 돌아오는..
그런 용도로 쓰면 될것 같네요.
지금까지는 메뉴 선택해야 해서 모니터, 키보드 찾아다 연결하고 불편했었는데 큰 문제 없다면 앞으로는 키보드, 모니터 쓸일이 별로 없겠군요! 감사합니다.
cmt alert