Java Mailing List Archive

http://www.redhatconfig.com/

Home » Ubuntu Technical Support »

Re: grub lost, please help

Ioannis Vranos

2008-03-26

Replies:

Author LoginPost Reply
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@(protected)
> 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@(protected):~#
>
>
>
> 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.
>
>


--
ubuntu-users mailing list
ubuntu-users@(protected)
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.