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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-01-2007, 02:10 PM
|
#1
|
Member
Registered: Aug 2004
Location: London, UK
Distribution: Ubuntu 10.10, ubuntu 11.04, suse 9.2, OSX
Posts: 259
Rep:
|
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
|
|
|
05-01-2007, 03:10 PM
|
#2
|
Member
Registered: Apr 2007
Distribution: Gentoo
Posts: 337
Rep:
|
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.
|
|
|
05-01-2007, 04:27 PM
|
#3
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
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
|
|
|
05-01-2007, 04:36 PM
|
#4
|
Senior Member
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,409
Rep:
|
If all else fails and you don't want to become a grub expert, get a copy of Super Grub Disk.
|
|
|
05-02-2007, 02:12 AM
|
#5
|
Member
Registered: Aug 2004
Location: London, UK
Distribution: Ubuntu 10.10, ubuntu 11.04, suse 9.2, OSX
Posts: 259
Original Poster
Rep:
|
Thanks. I did as you said and all works well now. The text size on the loading screen changed but everything works. Thank you
|
|
|
All times are GMT -5. The time now is 12:20 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|