작성일 : 14-07-25 12:37
grub2 -> grub
 글쓴이 : 조희승
조회 : 1,213  
** 인터넷 되는지 확인

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