Results 1 to 4 of 4

Thread: MBR & GRUB Not Working

  1. #1
    Join Date
    Aug 2006
    Posts
    253

    MBR & GRUB Not Working

    I am having two hard disks in my machine. First hard disk has two partitions with OS as Windows Vista. In second hard disk I wanted to install Unix. When I try to install Unix, its starts flawlessly till the time it comes to GRUB. Then there is error stating that error while writing GRUB, and it asks me that whether I have to change the default settings. If I choose any option still it gives an error. Another problem is that I cannot edit the MBR on first hard disk. Due to which BIOS automatically boot to Windows Vista. So I should install GRUB manually into MBR of sda. But the same thing Unix is not letting me to do. Can anyone help me in fixing this problem.
    Last edited by Dilbert; 07-12-2009 at 10:20 PM.

  2. #2
    Join Date
    Apr 2008
    Posts
    3,295

    Re: MBR & GRUB Not Working

    You need to install GRUB by using the bootable floppy or CD. Before trying this installation take the back up of the files that you need. You can create a bootable floppy or CD, by following the steps :

    Take blank floppy or CD. On Unix operating system the bootable is created by using the following commands :

    # cd /usr/share/grub/i386-pc
    # dd if=stage1 of=/dev/fd0 bs=512 count=1
    1+0 records in
    1+0 records out
    # dd if=stage2 of=/dev/fd0 bs=512 seek=1
    153+1 records in
    153+1 records out
    #

    When you will boot from the floppy, that will bring you to a grub command line.
    #root $BOOT PARTITION
    #configfile /grub/grub.conf

    Instead $BOOT PARTITION write the boot partition e.g. (hd0,3)
    Once you have done this re-install grub to your mbr and all should be well.

  3. #3
    Join Date
    Nov 2005
    Posts
    3,026

    Re: MBR & GRUB Not Working

    Try doing this at the installation time. At the installation menu, type in the Linux rescue. After finishing this command press the enter key. After the system loads , type the command "chroot /mnt/sysimage". After then type
    "grub-install --recheck/dev/hda" or "grub-install /dev/hda" if grub is on another boot partition. Otherwise type the first command. This may take few minutes to complete and must return the command prompt without any errors. After that type reboot and check whether the GRUB comes normally.

  4. #4
    Join Date
    Nov 2005
    Posts
    1,203

    Re: MBR & GRUB Not Working

    This is the simple method. While booting from the live CD, go to the yast. In that go to the system where you will find the bootloader. Once you go into bootloader choose that option so that it will start installation from the bootable disk.

Similar Threads

  1. Grub not working on dual boot of Ubuntu 12.04 LTS/11.10
    By Olivia in forum Operating Systems
    Replies: 12
    Last Post: 15-01-2012, 07:20 AM
  2. Grub is unable to boot CentOS, hangs at the Grub prompt
    By Man-Than in forum Operating Systems
    Replies: 5
    Last Post: 07-05-2011, 12:17 PM
  3. Edit grub/defaults/grub file on triple-boot system
    By Hishem-Remashiya in forum Operating Systems
    Replies: 5
    Last Post: 14-11-2010, 06:44 AM
  4. GRUB load shows unknown filesystem, grub rescue error
    By aFRODITA in forum Operating Systems
    Replies: 4
    Last Post: 13-11-2010, 07:34 AM
  5. Backtrack grub and Ubuntu grub
    By Mulan in forum Operating Systems
    Replies: 6
    Last Post: 09-05-2010, 12:11 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,716,247,106.94468 seconds with 17 queries