openSUSE grub rescue 修復經歷 opensuse trying manual resume 修復經歷
阿新 • • 發佈:2019-01-29
### BEGIN /etc/grub.d/10_linux ### menuentry 'openSUSE 12.2' --class 'opensuse-12-2' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-f8b70b14-23bf-4703-9cc8-ed593448ae61' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos8' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8 --hint='hd0,msdos8' f8b70b14-23bf-4703-9cc8-ed593448ae61 else search --no-floppy --fs-uuid --set=root f8b70b14-23bf-4703-9cc8-ed593448ae61 fi echo '載入 Linux 3.4.47-2.38-desktop ...' linux /boot/vmlinuz-3.4.47-2.38-desktop root=UUID=f8b70b14-23bf-4703-9cc8-ed593448ae61 video=1366x768 resume=/dev/disk/by-id/ata-ST95005620AS_5YX1CJ2L-part6 splash=silent quiet showopts echo '載入初始化記憶體盤...' initrd /boot/initrd-3.4.47-2.38-desktop }
也就是把這行
root=UUID=f8b70b14-23bf-4703-9cc8-ed593448ae61 video=1366x768 resume=/dev/disk/by-id/ata-ST95005620AS_5YX1CJ2L-part6 splash=silent quiet showopts
簡化為linux /boot/vmlinuz-3.4.47-2.38-desktop再修改一下/etc/fstab