LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-18-2004, 04:29 PM   #1
patrioerotic
LQ Newbie
 
Registered: Dec 2003
Distribution: SUSE 9.0
Posts: 2

Rep: Reputation: 0
help i f***ed up...... XP/SuSE/FC2-test-1 grub cant get to suse


first off i would like to thank everyone on this board for all answers they have provided me with, for it has allowed me to free myself from windows.

I have been using Suse 9.0 pro for some time and i love it, but have lots of hard drive space so thought i would try Fedora Core 2 test 1.

when i installed it i thought i added added my suse.

when i choose suse from the boot loader options it says something like
something something
chainloader +1

here is my grub.conf file if needed

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,3)
# kernel /boot/vmlinuz-version ro root=/dev/hda4
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd0,3)/boot/grub/splash.xpm.gz
title Fedora Core 2 test 1 (2.6.1-1.65)
root (hd0,3)
kernel /boot/vmlinuz-2.6.1-1.65 ro root=LABEL=/ rhgb
initrd /boot/initrd-2.6.1-1.65.img
title SuSE Linux 9.0
rootnoverify (hd0,1)
chainloader +1
title Windows XP
rootnoverify (hd0,0)
chainloader +1

any help to fix this so i can boot into suse will be apreciated.
 
Old 02-19-2004, 05:37 AM   #2
rootboy
Member
 
Registered: Oct 2001
Distribution: Mint 15
Posts: 770

Rep: Reputation: 51
The simplest thing is to boot using your SuSE DVD (or CD) and cancel out of the installation process and select either the "boot installed OS" (not at a linux box, so this is from memory), or a second similar choice (a little help here folks...)

Anyways, this tells SuSE to boot up your already installed system by telling which partition to boot. From there you can repair & rerun grub.

As for your grub config file, this looks fishy:

Quote:
title Fedora Core 2 test 1 (2.6.1-1.65)
root (hd0,3)
kernel /boot/vmlinuz-2.6.1-1.65 ro root=LABEL=/ rhgb
initrd /boot/initrd-2.6.1-1.65.img
title SuSE Linux 9.0
rootnoverify (hd0,1)
chainloader +1
I can't help but notice that you don't seem to have a kernel in mind when you are booting into SuSE. Details, details...

So if I get this right, you can boot into Fedora?

If so, boot into Fed and mount your SuSE partition (/dev/hda2 it appears) and get the names of the SuSE initrd and vmlinuz files that you wish to use (hint: you can purloin this info from the /SuSE/boot/grub.conf file that resides on the SuSE partition. Just replace the /SuSE with the actual mount point or partition).

Add these lines into your /boot/grub.conf using the absolute path to the files (alternatively you could copy these files over to the Mandrake side) like this:

root (hd0,1)
kernel /dev/hda2/boot/vmlinuz
initrd /dev/hda2/boot/initrd

Notice that you can use both the old method of describing a partition (good) with the new way (evil)?

Not that I have a preference... Actually, I still wonder how grub is better than lilo. Shrug.

Save the file (you did make a backup first?), run "grub-install /dev/hda" as root.


John
 
  


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
SuSE and XP, OK--Like to add FC2 herkdrvr SUSE / openSUSE 2 10-14-2004 10:38 AM
fc2 versus SUSE 8.0 techristian Linux - General 2 10-12-2004 03:45 PM
Uninstall FC2 go to suse MikeyMike Linux - General 1 09-27-2004 10:26 AM
ssh into fc2 from suse 9.1 invasian Linux - Networking 0 09-10-2004 06:27 PM
ssh into fc2 from suse 9.1 invasian Linux - Networking 1 09-10-2004 06:18 PM


All times are GMT -5. The time now is 06:26 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration