Today, my burg was freeze on loading. So im tried to reinstall grub by an Ubuntu liveCD 13.04 disk.
by these command below:
Code:
sudo mount /dev/sda5 /mnt
sudo mount --bind /dev /mnt/dev
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sys
sudo chroot /mnt
grub-install --boot-directory=/mnt dev/sda
update-grub
everything is success and then I reboot my laptop, but 'grub screen' only show me grub prompt, no menu to select.
I try to boot to ubutnu by grub prompt:
Code:
set prefix=(hd0,5)/boot/grub
set root=(hd0,5)
set
insmod /boot/grub/i386-pc/linux.mod
linux /vmlinuz root=/dev/sda5 ro
initrd /initrd.img
boot
oK, my ubuntu is booting up , and I reinstall grub:
Code:
sudo grub-install --boot-directory=/ /dev/sda
sudo update-grub
grub-install (GRUB) 2.00-13ubuntu3
everything is sussess
But when I reboot my laptop, still grub prompt.
Code:
fdisk -l
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 128018431 64008192 7 HPFS/NTFS/exFAT
/dev/sda2 128021985 976768064 424373040 5 Extended
Partition 2 does not start on physical sector boundary.
/dev/sda5 128022048 149002874 10490413+ 83 Linux
/dev/sda6 149002938 211929479 31463271 83 Linux
Partition 6 does not start on physical sector boundary.
/dev/sda7 211929543 358731449 73400953+ 7 HPFS/NTFS/exFAT
Partition 7 does not start on physical sector boundary.
/dev/sda8 358731513 685429289 163348888+ 7 HPFS/NTFS/exFAT
Partition 8 does not start on physical sector boundary.
/dev/sda9 685429353 829966094 72268371 7 HPFS/NTFS/exFAT
Partition 9 does not start on physical sector boundary.
/dev/sda10 829966158 967145129 68589486 7 HPFS/NTFS/exFAT
Partition 10 does not start on physical sector boundary.
/dev/sda11 967145193 976768064 4811436 82 Linux swap / Solaris
Partition 11 does not start on physical sector boundary.
Please help me reinstall grub on my Ubuntu 13.04 x64
OR Please help me install another grub version like
grub2_1.99-21ubuntu3.9_amd64.deb
from http://packages.ubuntu.com/precise-u...grub2/download
(because grub2 on my laptop can't booting to Windows 7 , now. but burg can do.)
thanks so much.
Sorry, my english is very bad.