나는 몇 가지를 시도했습니다.
fdisk -l의 출력은 다음과 같습니다.
[root@localhost mohit_dubey]# fdisk -l
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes, 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk label type: gpt
# Start End Size Type Name
1 2048 206847 100M EFI System EFI System Partition
2 206848 411647 100M Microsoft basic
3 411648 409372671 195G Linux LVM
4 409372672 451315711 20G Microsoft basic
Disk /dev/sdb: 8076 MB, 8076132352 bytes, 15773696 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x13f6b0ea
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 15773695 7885824 c W95 FAT32 (LBA)
Disk /dev/mapper/centos-root: 207.2 GB, 207232172032 bytes, 404750336 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/mapper/centos-swap: 2147 MB, 2147483648 bytes, 4194304 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
grub2-mkconfig > /dev/null의 출력:
[root@localhost mohit_dubey]# grub2-mkconfig > /dev/null
/usr/bin/grub2-editenv: error: cannot open `/boot/grub2/grubenv.new': No space left on device.
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.10.0-327.el7.x86_64
Found initrd image: /boot/initramfs-3.10.0-327.el7.x86_64.img
완벽한
나열된 창이 없습니다.
답변1
Redhat 기반 Linux에서는 전문가가 아니지만 Debian 및 Arch에서는 os-prober
Grub 구성이라는 패키지를 설치한 다음 다시 생성해야 합니다.