Thread: Grub cannot find partition
ok. installed ubuntu 11.04 on clean hard drive. went , ended giving /home it's own partition. after while figured dual boot windows 7 , mbr got overwritten. after happened googles how fix , found same answer everywhere. had me go terminal , run grub find partition , setup grub again. of done off livecd. problem livecd didn't have grub shell installed. everytime ran "sudo grub" "sudo: grub: command not found" tried install kept giving me errors , once got grub, not find partition. whenever typed "find /boot/grub/stage1" said directory not exist. attempted fix own way. installed version of ubuntu along sid first. allowed me triple boot between 2 versions of ubuntu , windows 7. booted original ubuntu (11.04) , deleted older version of ubuntu gparted. deleted partition , restarted, when restarted got error saying grub not find partition. can boot original ubuntu through ultimate boot cd round bout way of doing it. there anyway can set grub search ubuntu 11.04 on startup instead of deleted version of ubuntu?
in live cd:.
code:sudo mount /dev/sdax /mntcode:sudo grub-install --root-directory=/mnt /dev/sdax being whatever partition # in:code:sudo umount /mnt
(lower case l)code:sudo fdisk -l
reboot:
go ubuntu install and:
#you installing grub sda , looks boot files in whatever install tellcode:sudo update-grub
grub (the sdax tell mount).
#there numerous ways this, above 1 way, here couple of links nice
keep around below:
howto: purge , reinstall grub 2 live cd - ubuntu forums
grub/xp/vista bootloader - ubuntu forums
grub2 - community ubuntu documentation
##you cannot "sudo update-grub" in live cd unless use "chroot method" in how to- purge , reinstall grub 2 link:
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Grub cannot find partition
Ubuntu
Comments
Post a Comment