grub lost, please help
Ioannis Vranos
ivranos at freemail.gr
Thu Mar 27 02:12:11 UTC 2008
Better don't do what I said below.
Check the BIOS to find out the boot sequence, that is which hard disk
boots first and change accordingly.
Ioannis Vranos wrote:
> Donny George wrote:
>> windows was installed first, and ubuntu was installed after that, so no
>> issues with mbr i believe
>
>
> Well here is what I think will fix your issue, but I do not provide any
> guarantees that it will work in your case. Make a backup of your
> critical data before proceeding, so as to be on the safe side.
>
>
> Type "sudo -i" in console.
>
> Use df -h to see the active Linux partitions. For example in my system
> they are:
>
> root at john-desktop:~# df -h
> Filesystem Size Used Avail Use% Mounted on
> ==> /dev/hdc3 292G 15G 263G 6% /
> varrun 506M 136K 506M 1% /var/run
> varlock 506M 0 506M 0% /var/lock
> udev 506M 104K 506M 1% /dev
> devshm 506M 0 506M 0% /dev/shm
> lrm 506M 34M 472M 7%
> /lib/modules/2.6.22-14-generic/volatile
> ==> /dev/hdc2 942M 35M 860M 4% /boot
> root at john-desktop:~#
>
>
>
> Use "fdisk /dev/hdc" where hdc your real Linux disk which you can find
> out from the above. In it type "p" and press enter to see all the Linux
> partitions.
>
> Verify that the "/boot" or "/" partition is flagged bootable. If not use
> the "a" option to make it bootable ("m" shows all the available options).
>
>
> If you made changes, enter "w" so as to write them and quit, else enter
> "q" to exit fdisk without saving any changes.
>
>
> Use "fdisk /dev/hdd" where hdd your real Windows disk. Type "p" to see
> all the partitions. Use "a" to remove the bootable flag on any partition
> that has it, in the Windows disk.
>
> Type "w" to save the changes, and then reboot.
>
>
More information about the ubuntu-users
mailing list