두 번째로 Linux를 설치한 후 grub_rescue

두 번째로 Linux를 설치한 후 grub_rescue

기존 설치를 통해 두 번째 하드 드라이브에 Arch Linux를 설치한 후 아치 위키, 현재 2.1단계에 있는데 따라오라는 메시지가 표시됩니다.일반 설치 지침. 거기에서 기본 패키지 설치를 완료하고 arch-chroot새 설치로 이동할 수 있었습니다.

~에서GRUB 위키페이지를 설치하고 os-prober실행한 결과 grub-mkconfig -o /boot/grub/grub.cfg로그에서 새로운 Arch 설치를 감지할 수 있었습니다.

그런 다음 재부팅하고 GRUB 메뉴에서 새 설치를 볼 수 있었습니다. 그러나 다시 재부팅한 후 오류 화면이 나타나고 콘솔이 grub_calloc not found제공되었습니다 .grub_rescue

Arch 설치 USB로 부팅한 후 다음을 게시할 수 있습니다.

> fdisk -l
Disk /dev/sda: 223.6 GiB, 240057409536 bytes, 468862128 sectors
Disk model: KINGSTON SA400S3
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x24c99faf

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sda1            2048 104859647 104857600    50G 83 Linux
/dev/sda2       104859648 138414079  33554432    16G 83 Linux
/dev/sda3       138414080 468862127 330448048 157.6G 83 Linux


Disk /dev/sdb: 223.6 GiB, 240057409536 bytes, 468862128 sectors
Disk model: KINGSTON SA400S3
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: C9F905D1-9A58-4E1E-8114-E7446C863C95

Device       Start       End   Sectors  Size Type
/dev/sdb1     2048   1023999   1021952  499M Windows recovery environment
/dev/sdb2  1024000   1228799    204800  100M EFI System
/dev/sdb3  1228800   1261567     32768   16M Microsoft reserved
/dev/sdb4  1261568 468860927 467599360  223G Microsoft basic data

Disk /dev/sdc: 447.1 GiB, 480103981056 bytes, 937703088 sectors
Disk model: KINGSTON SA400S3
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xed8d6cb0

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sdc1            2048 314574847 314572800   150G 83 Linux
/dev/sdc2       314574848 381683711  67108864    32G 83 Linux
/dev/sdc3       381683712 937703087 556019376 265.1G 83 Linux

/dev/sda이곳은 나의 원래 Arch 설치 위치이자 /dev/sdc1새 설치 위치입니다. sdx1곳에 위치하고 있습니다 ./mnt

grub.cfg이것은 새로운 Arch 설치에서 새로 생성되었습니다.

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
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=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,msdos1' --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  82c7a2ef-a680-4300-b9b3-67a9df9c5e5e
else
  search --no-floppy --fs-uuid --set=root 82c7a2ef-a680-4300-b9b3-67a9df9c5e5e
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_input console
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=10
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux, with Linux linux-nzxt' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-nzxt-advanced-82c7a2ef-a680-4300-b9b3-67a9df9c5e5e' {
    savedefault
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,msdos1' --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  82c7a2ef-a680-4300-b9b3-67a9df9c5e5e
    else
      search --no-floppy --fs-uuid --set=root 82c7a2ef-a680-4300-b9b3-67a9df9c5e5e
    fi
    echo    'Loading Linux linux-nzxt ...'
    linux   /boot/vmlinuz-linux-nzxt root=UUID=82c7a2ef-a680-4300-b9b3-67a9df9c5e5e rw cgroup_memory=1 cgroup_enable=memory swapaccount=1 quiet
    echo    'Loading initial ramdisk ...'
    initrd  /boot/initramfs-linux-nzxt.img
}
menuentry 'Arch Linux, with Linux linux-nzxt (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-nzxt-fallback-82c7a2ef-a680-4300-b9b3-67a9df9c5e5e' {
    savedefault
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,msdos1' --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  82c7a2ef-a680-4300-b9b3-67a9df9c5e5e
    else
      search --no-floppy --fs-uuid --set=root 82c7a2ef-a680-4300-b9b3-67a9df9c5e5e
    fi
    echo    'Loading Linux linux-nzxt ...'
    linux   /boot/vmlinuz-linux-nzxt root=UUID=82c7a2ef-a680-4300-b9b3-67a9df9c5e5e rw cgroup_memory=1 cgroup_enable=memory swapaccount=1 quiet
    echo    'Loading initial ramdisk ...'
    initrd  /boot/initramfs-linux-nzxt-fallback.img
}
menuentry 'Arch Linux, with Linux linux-lts' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-lts-advanced-82c7a2ef-a680-4300-b9b3-67a9df9c5e5e' {
    savedefault
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,msdos1' --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  82c7a2ef-a680-4300-b9b3-67a9df9c5e5e
    else
      search --no-floppy --fs-uuid --set=root 82c7a2ef-a680-4300-b9b3-67a9df9c5e5e
    fi
    echo    'Loading Linux linux-lts ...'
    linux   /boot/vmlinuz-linux-lts root=UUID=82c7a2ef-a680-4300-b9b3-67a9df9c5e5e rw cgroup_memory=1 cgroup_enable=memory swapaccount=1 quiet
    echo    'Loading initial ramdisk ...'
    initrd  /boot/initramfs-linux-lts.img
}
menuentry 'Arch Linux, with Linux linux-lts (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-lts-fallback-82c7a2ef-a680-4300-b9b3-67a9df9c5e5e' {
    savedefault
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,msdos1' --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  82c7a2ef-a680-4300-b9b3-67a9df9c5e5e
    else
      search --no-floppy --fs-uuid --set=root 82c7a2ef-a680-4300-b9b3-67a9df9c5e5e
    fi
    echo    'Loading Linux linux-lts ...'
    linux   /boot/vmlinuz-linux-lts root=UUID=82c7a2ef-a680-4300-b9b3-67a9df9c5e5e rw cgroup_memory=1 cgroup_enable=memory swapaccount=1 quiet
    echo    'Loading initial ramdisk ...'
    initrd  /boot/initramfs-linux-lts-fallback.img
}
menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-82c7a2ef-a680-4300-b9b3-67a9df9c5e5e' {
    savedefault
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,msdos1' --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  82c7a2ef-a680-4300-b9b3-67a9df9c5e5e
    else
      search --no-floppy --fs-uuid --set=root 82c7a2ef-a680-4300-b9b3-67a9df9c5e5e
    fi
    echo    'Loading Linux linux ...'
    linux   /boot/vmlinuz-linux root=UUID=82c7a2ef-a680-4300-b9b3-67a9df9c5e5e rw cgroup_memory=1 cgroup_enable=memory swapaccount=1 quiet
    echo    'Loading initial ramdisk ...'
    initrd  /boot/initramfs-linux.img
}
menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-82c7a2ef-a680-4300-b9b3-67a9df9c5e5e' {
    savedefault
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,msdos1' --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  82c7a2ef-a680-4300-b9b3-67a9df9c5e5e
    else
      search --no-floppy --fs-uuid --set=root 82c7a2ef-a680-4300-b9b3-67a9df9c5e5e
    fi
    echo    'Loading Linux linux ...'
    linux   /boot/vmlinuz-linux root=UUID=82c7a2ef-a680-4300-b9b3-67a9df9c5e5e rw cgroup_memory=1 cgroup_enable=memory swapaccount=1 quiet
    echo    'Loading initial ramdisk ...'
    initrd  /boot/initramfs-linux-fallback.img
}

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

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

### BEGIN /etc/grub.d/25_bli ###
if [ "$grub_platform" = "efi" ]; then
  insmod bli
fi
### END /etc/grub.d/25_bli ###

### BEGIN /etc/grub.d/30_os-prober ###
    menuentry 'Arch Linux (on /dev/sdc1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-linux-lts--35cf6588-879a-44c9-a971-2b113ddf3f3a' {
        savedefault
        insmod part_msdos
        insmod ext2
        set root='hd2,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,msdos1' --hint-bios=hd2,msdos1 --hint-efi=hd2,msdos1 --hint-baremetal=ahci2,msdos1  35cf6588-879a-44c9-a971-2b113ddf3f3a
        else
          search --no-floppy --fs-uuid --set=root 35cf6588-879a-44c9-a971-2b113ddf3f3a
        fi
        linux /boot/vmlinuz-linux-lts root=UUID=35cf6588-879a-44c9-a971-2b113ddf3f3a rw loglevel=3 quiet
        initrd /boot/initramfs-linux-lts.img
    }
    menuentry 'Arch Linux, with Linux linux-lts (on /dev/sdc1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-linux-lts--35cf6588-879a-44c9-a971-2b113ddf3f3a' {
        savedefault
        insmod part_msdos
        insmod ext2
        set root='hd2,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,msdos1' --hint-bios=hd2,msdos1 --hint-efi=hd2,msdos1 --hint-baremetal=ahci2,msdos1  35cf6588-879a-44c9-a971-2b113ddf3f3a
        else
          search --no-floppy --fs-uuid --set=root 35cf6588-879a-44c9-a971-2b113ddf3f3a
        fi
        linux /boot/vmlinuz-linux-lts root=UUID=35cf6588-879a-44c9-a971-2b113ddf3f3a rw loglevel=3 quiet
        initrd /boot/initramfs-linux-lts.img
    }
    menuentry 'Arch Linux, with Linux linux-lts (fallback initramfs) (on /dev/sdc1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-linux-lts--35cf6588-879a-44c9-a971-2b113ddf3f3a' {
        savedefault
        insmod part_msdos
        insmod ext2
        set root='hd2,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,msdos1' --hint-bios=hd2,msdos1 --hint-efi=hd2,msdos1 --hint-baremetal=ahci2,msdos1  35cf6588-879a-44c9-a971-2b113ddf3f3a
        else
          search --no-floppy --fs-uuid --set=root 35cf6588-879a-44c9-a971-2b113ddf3f3a
        fi
        linux /boot/vmlinuz-linux-lts root=UUID=35cf6588-879a-44c9-a971-2b113ddf3f3a rw loglevel=3 quiet
        initrd /boot/initramfs-linux-lts-fallback.img
    }
    menuentry 'Arch Linux, with Linux linux (on /dev/sdc1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-linux--35cf6588-879a-44c9-a971-2b113ddf3f3a' {
        savedefault
        insmod part_msdos
        insmod ext2
        set root='hd2,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,msdos1' --hint-bios=hd2,msdos1 --hint-efi=hd2,msdos1 --hint-baremetal=ahci2,msdos1  35cf6588-879a-44c9-a971-2b113ddf3f3a
        else
          search --no-floppy --fs-uuid --set=root 35cf6588-879a-44c9-a971-2b113ddf3f3a
        fi
        linux /boot/vmlinuz-linux root=UUID=35cf6588-879a-44c9-a971-2b113ddf3f3a rw loglevel=3 quiet
        initrd /boot/initramfs-linux.img
    }
    menuentry 'Arch Linux, with Linux linux (fallback initramfs) (on /dev/sdc1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-linux--35cf6588-879a-44c9-a971-2b113ddf3f3a' {
        savedefault
        insmod part_msdos
        insmod ext2
        set root='hd2,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,msdos1' --hint-bios=hd2,msdos1 --hint-efi=hd2,msdos1 --hint-baremetal=ahci2,msdos1  35cf6588-879a-44c9-a971-2b113ddf3f3a
        else
          search --no-floppy --fs-uuid --set=root 35cf6588-879a-44c9-a971-2b113ddf3f3a
        fi
        linux /boot/vmlinuz-linux root=UUID=35cf6588-879a-44c9-a971-2b113ddf3f3a rw loglevel=3 quiet
        initrd /boot/initramfs-linux-fallback.img
    }

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

### BEGIN /etc/grub.d/30_uefi-firmware ###
if [ "$grub_platform" = "efi" ]; then
    fwsetup --is-supported
    if [ "$?" = 0 ]; then
        menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
            fwsetup
        }
    fi
fi
### END /etc/grub.d/30_uefi-firmware ###

### 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 ###

grub.cfg새로운 아치 설치를 감지하기 전의 상태로 되돌리려 했지만 역시 작동하지 않았습니다.

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
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="${saved_entry}"
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=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  82c7a2ef-a680-4300-b9b3-67a9df9c5e5e
else
  search --no-floppy --fs-uuid --set=root 82c7a2ef-a680-4300-b9b3-67a9df9c5e5e
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_input console
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=0
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=0
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux, with Linux linux-nzxt' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-nzxt-advanced-82c7a2ef-a680-4300-b9b3-67a9df9c5e5e' {
    savedefault
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  82c7a2ef-a680-4300-b9b3-67a9df9c5e5e
    else
      search --no-floppy --fs-uuid --set=root 82c7a2ef-a680-4300-b9b3-67a9df9c5e5e
    fi
    echo    'Loading Linux linux-nzxt ...'
    linux   /boot/vmlinuz-linux-nzxt root=UUID=82c7a2ef-a680-4300-b9b3-67a9df9c5e5e rw cgroup_memory=1 cgroup_enable=memory swapaccount=1 quiet
    echo    'Loading initial ramdisk ...'
    initrd  /boot/initramfs-linux-nzxt.img
}
menuentry 'Arch Linux, with Linux linux-nzxt (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-nzxt-fallback-82c7a2ef-a680-4300-b9b3-67a9df9c5e5e' {
    savedefault
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  82c7a2ef-a680-4300-b9b3-67a9df9c5e5e
    else
      search --no-floppy --fs-uuid --set=root 82c7a2ef-a680-4300-b9b3-67a9df9c5e5e
    fi
    echo    'Loading Linux linux-nzxt ...'
    linux   /boot/vmlinuz-linux-nzxt root=UUID=82c7a2ef-a680-4300-b9b3-67a9df9c5e5e rw cgroup_memory=1 cgroup_enable=memory swapaccount=1 quiet
    echo    'Loading initial ramdisk ...'
    initrd  /boot/initramfs-linux-nzxt-fallback.img
}
menuentry 'Arch Linux, with Linux linux-lts' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-lts-advanced-82c7a2ef-a680-4300-b9b3-67a9df9c5e5e' {
    savedefault
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  82c7a2ef-a680-4300-b9b3-67a9df9c5e5e
    else
      search --no-floppy --fs-uuid --set=root 82c7a2ef-a680-4300-b9b3-67a9df9c5e5e
    fi
    echo    'Loading Linux linux-lts ...'
    linux   /boot/vmlinuz-linux-lts root=UUID=82c7a2ef-a680-4300-b9b3-67a9df9c5e5e rw cgroup_memory=1 cgroup_enable=memory swapaccount=1 quiet
    echo    'Loading initial ramdisk ...'
    initrd  /boot/initramfs-linux-lts.img
}
menuentry 'Arch Linux, with Linux linux-lts (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-lts-fallback-82c7a2ef-a680-4300-b9b3-67a9df9c5e5e' {
    savedefault
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  82c7a2ef-a680-4300-b9b3-67a9df9c5e5e
    else
      search --no-floppy --fs-uuid --set=root 82c7a2ef-a680-4300-b9b3-67a9df9c5e5e
    fi
    echo    'Loading Linux linux-lts ...'
    linux   /boot/vmlinuz-linux-lts root=UUID=82c7a2ef-a680-4300-b9b3-67a9df9c5e5e rw cgroup_memory=1 cgroup_enable=memory swapaccount=1 quiet
    echo    'Loading initial ramdisk ...'
    initrd  /boot/initramfs-linux-lts-fallback.img
}
menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-82c7a2ef-a680-4300-b9b3-67a9df9c5e5e' {
    savedefault
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  82c7a2ef-a680-4300-b9b3-67a9df9c5e5e
    else
      search --no-floppy --fs-uuid --set=root 82c7a2ef-a680-4300-b9b3-67a9df9c5e5e
    fi
    echo    'Loading Linux linux ...'
    linux   /boot/vmlinuz-linux root=UUID=82c7a2ef-a680-4300-b9b3-67a9df9c5e5e rw cgroup_memory=1 cgroup_enable=memory swapaccount=1 quiet
    echo    'Loading initial ramdisk ...'
    initrd  /boot/initramfs-linux.img
}
menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-82c7a2ef-a680-4300-b9b3-67a9df9c5e5e' {
    savedefault
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  82c7a2ef-a680-4300-b9b3-67a9df9c5e5e
    else
      search --no-floppy --fs-uuid --set=root 82c7a2ef-a680-4300-b9b3-67a9df9c5e5e
    fi
    echo    'Loading Linux linux ...'
    linux   /boot/vmlinuz-linux root=UUID=82c7a2ef-a680-4300-b9b3-67a9df9c5e5e rw cgroup_memory=1 cgroup_enable=memory swapaccount=1 quiet
    echo    'Loading initial ramdisk ...'
    initrd  /boot/initramfs-linux-fallback.img
}

### 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 ###

나도 grub-install --removable시도했다이 포럼에 대한 댓글, 그러나 이로 인해 install device isn't specified.

이 문제를 해결하는 방법을 아는 사람이 있나요?

답변1

나는 grub-install --target=i386-pc /dev/sda팔로우한다이 포럼 게시물, 다시 작동합니다.

관련 정보