grub2 -> grub
페이지 정보
작성자 조희승 댓글 0건 조회 5,791회 작성일 14-07-25 12:37본문
** 인터넷 되는지 확인
** apt-get install 되는지 확인
mv /etc/default/grub /etc/default/grub.old
mv /etc/grub.d /etc/grub.d.old
mv /boot/grub /boot/grub.old
apt-get purge grub2 grub-pc
apt-get install grub
mkdir /boot/grub
update-grub
ln -s /boot/grub/menu.lst /etc/menu.lst
grub-install /dev/sda
default 0
timeout 3
## hiddenmenu
title Ubuntu 14.04.1 LTS, kernel 3.13.0-32-generic
root (hd0,0)
kernel /boot/vmlinuz-3.13.0-32-generic root=/dev/sda1 ro
initrd /boot/initrd.img-3.13.0-32-generic
title Ubuntu 14.04.1 LTS, kernel 3.13.0-32-generic
root (hd0,1)
kernel /boot/vmlinuz-3.13.0-32-generic root=/dev/sda2 ro
initrd /boot/initrd.img-3.13.0-32-generic
title Ubuntu 14.04.1 LTS, kernel 3.13.0-32-generic
root (hd0,4)
kernel /boot/vmlinuz-3.13.0-32-generic root=/dev/sda5 ro
initrd /boot/initrd.img-3.13.0-32-generic
** apt-get install 되는지 확인
mv /etc/default/grub /etc/default/grub.old
mv /etc/grub.d /etc/grub.d.old
mv /boot/grub /boot/grub.old
apt-get purge grub2 grub-pc
apt-get install grub
mkdir /boot/grub
update-grub
ln -s /boot/grub/menu.lst /etc/menu.lst
grub-install /dev/sda
default 0
timeout 3
## hiddenmenu
title Ubuntu 14.04.1 LTS, kernel 3.13.0-32-generic
root (hd0,0)
kernel /boot/vmlinuz-3.13.0-32-generic root=/dev/sda1 ro
initrd /boot/initrd.img-3.13.0-32-generic
title Ubuntu 14.04.1 LTS, kernel 3.13.0-32-generic
root (hd0,1)
kernel /boot/vmlinuz-3.13.0-32-generic root=/dev/sda2 ro
initrd /boot/initrd.img-3.13.0-32-generic
title Ubuntu 14.04.1 LTS, kernel 3.13.0-32-generic
root (hd0,4)
kernel /boot/vmlinuz-3.13.0-32-generic root=/dev/sda5 ro
initrd /boot/initrd.img-3.13.0-32-generic
댓글목록
등록된 댓글이 없습니다.