LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-01-2007, 02:10 PM   #1
PB0711
Member
 
Registered: Aug 2004
Location: London, UK
Distribution: Ubuntu 10.10, ubuntu 11.04, suse 9.2, OSX
Posts: 259

Rep: Reputation: 30
Grub won't install in MBR


Hello all and thanks.
So windoze had some problems and I reinstalled it. Of course it wrote over my MBR. I put my suse 10.2 disk in and did the reinstall grub. I ask it to read from the disk so that windoze is on the list and click ok. It says successful install of grub. But when I reboot I go straight to the xp logon no grub menu
I've attached my menu.lst . Any help would be greatly appreciated.
Cheers,
Paul

Code:
# Modified by YaST2. Last modification on Tue May  1 02:34:43 PDT 2007
default 0
timeout 8
gfxmenu (hd0,6)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 10.2
    root (hd0,6)
    kernel /boot/vmlinuz root=/dev/hda7 resume=/dev/hda6 splash=silent showopts
    initrd /boot/initrd

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 10.2
    root (hd0,6)
    kernel /boot/vmlinuz root=/dev/hda7 showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off 3
    initrd /boot/initrd

title Windows XP
    rootnoverify (hd0,0)
    chainloader (hd0,0)+1
 
Old 05-01-2007, 03:10 PM   #2
reverse
Member
 
Registered: Apr 2007
Distribution: Gentoo
Posts: 337

Rep: Reputation: 30
Perhaps the installer is not installing it to MBR. Does the SuSE cd allow you to obtain a chroot shell of your installed system? If it does, chroot, and manually install GRUB to MBR.
 
Old 05-01-2007, 04:27 PM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
If you install GRUB from live CD, you need to be sure how it is seeing the drive(s) and you need to be sure that the correct partition is specified for GRUB's "home base".

This **should** work:
fdisk -l to confirm how the live Linux sees the disk(s)
(let's assume that the Linux partition containing /boot is actually hda7 as implied in your listing.)
grub opens the grub shell
root (hd0,6) tells grub installer where /boot is
setup (hd0) puts grub on the mbr of the first drive--ie hda
 
Old 05-01-2007, 04:36 PM   #4
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,409

Rep: Reputation: 141Reputation: 141
If all else fails and you don't want to become a grub expert, get a copy of Super Grub Disk.
 
Old 05-02-2007, 02:12 AM   #5
PB0711
Member
 
Registered: Aug 2004
Location: London, UK
Distribution: Ubuntu 10.10, ubuntu 11.04, suse 9.2, OSX
Posts: 259

Original Poster
Rep: Reputation: 30
Thanks. I did as you said and all works well now. The text size on the loading screen changed but everything works. Thank you
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install Grub other than MBR? terryxela Ubuntu 1 04-08-2007 05:31 PM
Install GRUB in MBR or /boot? kmlinux12 Linux - Enterprise 7 09-25-2004 02:47 AM
I did fdisk/mbr, how to install GRUB again? yarnar Linux - Software 4 12-13-2003 03:15 AM
how do i install grub in the mbr? spyghost Linux - Newbie 2 11-07-2003 10:52 AM
GRUB Install on MBR JakeFarley Linux - Newbie 3 10-22-2002 08:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration