Go Back   TechArena Community > Software > Operating Systems
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , , , ,

Sponsored Links


MBR & GRUB Not Working

Operating Systems


Reply
 
Thread Tools Search this Thread
  #1  
Old 07-12-2009
Dilbert's Avatar
Member
 
Join Date: Aug 2006
Posts: 253
MBR & GRUB Not Working

Sponsored Links
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 09:20 PM.
Reply With Quote
  #2  
Old 07-12-2009
Lillebror's Avatar
Member
 
Join Date: Apr 2008
Posts: 3,263
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.
Reply With Quote
  #3  
Old 07-12-2009
jesse's Avatar
Member
 
Join Date: Nov 2005
Posts: 3,015
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.
Reply With Quote
  #4  
Old 07-12-2009
Humberto's Avatar
Member
 
Join Date: Nov 2005
Posts: 1,199
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.
Reply With Quote
Reply

  TechArena Community > Software > Operating Systems


Thread Tools Search this Thread
Search this Thread:

Advanced Search


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


All times are GMT +5.5. The time now is 01:30 AM.