질문과 답변

기 타 리눅스 메뉴작성에 대해... 고수분 도움 요청...

2022.01.29 17:42

메인보드 조회:148

현제... 

맨땅에 해딩하는식으로 윈도우상에서 Grub2 to USB 를 제작중인데....

깡통 USB 에 Grub2 2.0.6 버전을 심었습니다.

Bios / Uefi 둘다 테스트 결과 부팅 잘 됩니다.

부팅 메뉴 는 아래 제일 하단에  재부팅 과 전원끄기 만 넣었습니다.

여기에 ......

멀티부팅 메뉴를 넣고자 하는데 종일 검색해봐도 답이 없어 도움요청합니다.

 

USB or 외장하드 기타 등등에서....

 

1. 윈도우 + 리눅스 멀티부팅 메뉴.

2. 윈도우 + 기타 OS 설치 메뉴.

 

Q. Ventoy 를 사용하면 되지않느냐?  반문하실것 같아...서....

A. Ventoy 는 EFi 파티션이 32MB 한계 입니다. 그러나 지금 작업중인건 제한이 없습니다.

 

 

 

 

#

# DO NOT EDIT THIS FILE

#

# It is automatically generated by grub2-mkconfig using templates

# from /etc/grub.d and settings from /etc/default/grub

#

 

### BEGIN /etc/grub.d/00_header ###

if [ -s $prefix/grubenv ]; then

  load_env

fi

if [ "${next_entry}" ] ; then

   set default="${next_entry}"

   set next_entry=

   save_env next_entry

   set boot_once=true

else

   set default="0"

fi

 

if [ x"${feature_menuentry_id}" = xy ]; then

  menuentry_id_option="--id"

else

  menuentry_id_option=""

fi

 

export menuentry_id_option

 

if [ "${prev_saved_entry}" ]; then

  set saved_entry="${prev_saved_entry}"

  save_env saved_entry

  set prev_saved_entry=

  save_env prev_saved_entry

  set boot_once=true

fi

 

function savedefault {

  if [ -z "${boot_once}" ]; then

    saved_entry="${chosen}"

    save_env saved_entry

  fi

}

 

function load_video {

  if [ x$feature_all_video_module = xy ]; then

    insmod all_video

  else

    insmod efi_gop

    insmod efi_uga

    insmod ieee1275_fb

    insmod vbe

    insmod vga

    insmod video_bochs

    insmod video_cirrus

  fi

}

 

if [ x$feature_default_font_path = xy ] ; then

   font=NanumGothic_Regular14

else

font="${prefix}/fonts/NanumGothic_Regular14.pf2"

fi

 

if loadfont $font ; then

set gfxmode=1024x768x32,1024x768x24,1024x768x16,1024x768,auto

set gfxpayload=keep

load_video

insmod gfxterm

insmod jpeg

insmod png

terminal_output gfxterm

background_image -m stretch $prefix/themes/Windows11_Dark/background.png

    set theme=($root)/grub/themes/Windows11_Dark/theme.txt

fi

if [ x$feature_timeout_style = xy ] ; then

  set timeout_style=menu

  set timeout=60

# Fallback normal timeout code in case the timeout_style feature is

# unavailable.

else

  set timeout=60

fi

 

### END /etc/grub.d/00_header ###

 

### BEGIN /etc/grub.d/10_linux ###

 

### END /etc/grub.d/10_linux ###

 

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

 

### BEGIN /etc/grub.d/30_os-prober ###

### END /etc/grub.d/30_os-prober ###

 

### BEGIN /etc/grub.d/40_custom ###

# This file provides an easy way to add custom menu entries.  Simply type the

# menu entries you want to add after this comment.  Be careful not to change

# the 'exec tail' line above.

### END /etc/grub.d/40_custom ###

 

### BEGIN /etc/grub.d/41_custom ###

if [ -f  ${config_directory}/custom.cfg ]; then

source ${config_directory}/custom.cfg

elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then

source $prefix/custom.cfg;

fi

### END /etc/grub.d/41_custom ###

 

menuentry "컴퓨터 재시작" {

reboot

}

 

menuentry "컴퓨터 전원끄기" {

halt

}

번호 제목 글쓴이 조회 등록일
[공지] 질문과 답변 게시판 이용간 유의사항 gooddew - -
3782 starting cmain() 이거 어떻게해야하나요 ㅠ. [6] 임규택 5374 07-29
3781 윈 도 우| 자꾸 구글인터넷창이 떠요 ㅜㅜ [4] 곰돌이~푸 5374 01-15
3780 기 타| 크롬이나 크롬 플러스에서 회색으로 된 빈 화면만 나옵니다. [2] 가다마 5374 02-21
3779 윈 도 우| 윈도우 7 잠금 폴더 삭제 문의 [2] Chris 5376 02-03
3778 소프트웨어| pdf 파일을 한글파일로 변환... [1] asklee 5376 10-13
3777 윈 도 우| 관리자 권한으로 파일을 어떻게 삭제하나요. [2] 우유빛갈 5377 11-26
3776 하드웨어| 램용량이 8G인데요~ 램 용량 부족으로 DVD을 못 구워요....... [3] mage 5381 12-02
3775 소프트웨어| 팟플레이어 관련 영상이 조금 끊기는 문제 문의입니다 [8] 회탈리카 5381 11-26
3774 [XP/Vista] 정말 정말!!! 개인적으로 궁금하네요... [6] 김용환 5382 10-21
3773 소프트웨어| 일러스트 cs6버전 영문판입니다만 한글패치파일 구할수 있나요 [2] joe 5383 10-21
3772 3d os [3] 사나이 5384 10-27
3771 홈프리미엄 vs 얼티메이트 [3] 김재형 5384 11-06
3770 구글 크롬 테마 기능사용한 스크린샷 보여주세요 [4] qodtlr 5384 08-06
3769 [re] 스펙설치후 한글 언어팩을 깔수 없나요 긴급.. 한글을 사 5385 10-27
3768 윈 도 우| 윈도우 7 8 통합본을 한에디션 빼오는방법... [6] >_ 5385 02-26
3767 윈 도 우| 윈도우7에서 외장하드 하드웨어 안전제거해도 전원이 켜져 ... [12] 에오윈 5386 08-16
3766 소프트웨어| VMware 파티션 나누기 어떻게 하나요? [5] 시나몬 5386 02-09
3765 윈 도 우| Win8 바탕화면에 시계를 하나 놓고 싶어요 [6] 따루아빠 5386 09-27
3764 윈 도 우| 윈도우8 디펜더 기능이 활성화가 전혀 안됩니다.ㅠㅠ [3] 별빛속에 5386 01-14
3763 모 바 일| 보안정책때문에 스마트폰화면 캡쳐안될때? [2] 빨간미소 5386 12-19
XE1.11.6 Layout1.4.8