Thread: Grub rescue - not booting after a partition deletion
hi all,
problem happened me after deleting partition. hoping same issue.
* * * scenario (various linux logical partitons):
ubuntu 12.04 on /dev/sda12.
fedora on /dev/sda10.
kubuntu 12.04 on /dev/sda9.
swap on /dev/sda5
others on /dev/sda6..7.
extetended partion on /dev/sda4, wich "owns" /dev/sda5..12.
primry partitions on /dev/sda1..3
linux partitions have grub on partition boot sector (*not* in mbr).
in mbr there multi-boot manager program boot various installations.
* * * problem occurred:
deleted partition sda11 (fedora). after sda11 deletion, old sda12 (uduntu) becames sda11.
when grub2 boots ubuntu shows error:
no such partion
grub rescue>
* * * solution:
fom grub rescue prompt:
from ubuntu terminal (after booted normally):code:set # see "old" stored config set prefix=(hd0,msdos11)/boot/grub # correct partition load (msdos11 -> sda11) set root=hd0,msdos11 # correct partition load insmode normal # load "normal" normal # start usual boot screen
code:sudo grub-install --force --recheck /dev/sda11 # reinstall grub on /dev/sda11 boot sector correct parameters sudo update-grub # update /boot/grub/grub.cfg
* * * references:
1. http://www.terabyteunlimited.com/kb/article.php?id=408
2. http://superuser.com/questions/41987...on-name-change
3. http://ward.vandewege.net/blog/2011/...scue-commands/
cheers.
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installation & Upgrades [SOLVED] Grub rescue - not booting after a partition deletion
Ubuntu
Comments
Post a Comment