[SATLUG] How to fix a broken grub boot after Window 7 upgrade

Jeremy Mann jeremymann at gmail.com
Wed Apr 7 15:40:36 CDT 2010


On Wed, Apr 7, 2010 at 4:35 PM, Dylan Nelson <cold2na at gmail.com> wrote:
> My computer is a dual booted Win / Ubuntu. I did a windows 7 upgrade from
> vista and it removed the grub boot option. I know that I can load a live cd
> and try to rescue it from there. However, all the live cds I have tell me
> that option is not included on the cd and that I should boot to the live OS
> and do work from within. How can I rescue my linux partition from
> Microsoft?
> Dylan

Which Live CD are you using? If you know what partition your Ubuntu is
on you can do:

mkdir /mnt/image
mount /dev/hdaX /mnt/image
grub-install --root-directory=/mnt/image /dev/hda

This will reinstall the Grub boot sector.



-- 
Jeremy Mann
jeremy at biochem.uthscsa.edu

University of Texas Health Science Center
Bioinformatics Core Facility
http://www.bioinformatics.uthscsa.edu
Phone: (210) 567-2672


More information about the SATLUG mailing list