질문과 답변

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

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 - -
97962 비스타 64 설치와 재부팅 관련성? [3] 비스타 2206 04-09
97961 스누피님께서 4월에 배포하신 비스타 dell인증 관련 [2] 비스타유저 2616 04-09
97960 Camtasia Studio 5 이 프로그램을 쓰고 싶습니다. 돌멩이 2470 04-09
97959 ASUS 바이오스 수정한거 입히기만 했는데 인증이 되버리네... [4] 이장식 2736 04-09
97958 auto update utility 작동이 중지 되었습니다. 라고 뜹니다.. 망구 3142 04-09
97957 한글 ubcd를 구할 수 있을까요? [1] 오륀지 2304 04-09
97956 [질문] 인증을 건너뛸 수 있게... [2] 도토리 2375 04-09
97955 하드 디스크 확인은 어디서?? [5] koras 2557 04-09
97954 보안 업데이트 후 부팅 불가~~!! [1] x100 2976 04-09
97953 그런데 정식 비스타 sp1 한국어판은 나왔나요? [8] 이지윤 2750 04-09
97952 비스타 울트라 버젼 사용중 마우스 속도 저하 [1] 임영근 2462 04-09
97951 서팩1 깔면 Atitool 되나요? 그래픽카드 오버클럭하게요 ㅋㅋ [2] 김상희 2193 04-09
97950 컴퓨터 본체 접지 원리에 대해서... [3] 이중재 3559 04-09
97949 특정 사이트 로그인 시 오류가 납니다. [3] 루겔 3556 04-09
97948 제 컴퓨터 전원용량이 적당한거 좀 봐 주세요. [5] 주차단속 2456 04-09
97947 레지스트리편집기의 폴더 이게 열린건지 아닌지;;;; [3] 2183 04-09
97946 아~~주 긴 파일 이름 변경하는 방법요.. [6] 잠탱이얌 5299 04-09
97945 LG ibm ThinkPad R30 드라이버 시디을 구합니다 [4] pc_박사 3430 04-09
97944 김용환님 ATITOOL 저는안되는데... [2] 김상희 2157 04-09
97943 오류발견 : 코드 0x80072f8f [3] 망구 5035 04-09
XE1.11.6 Layout1.4.8