[ale] Adding entry to FC2 grub so I can boot SUSE

James Taylor James.Taylor at eastcobbgroup.com
Fri Jun 18 21:18:16 EDT 2004


Why did you use lilo as your boot manager?  The default for SuSE is
grub.

I have SuSE 9.1 installed as a sole OS on all my boxes.  My
/etc/grub.conf is here:

root (hd0,1)
install --stage2=/boot/grub/stage2 /boot/grub/stage1 d (hd0)
/boot/grub/stage2 0x8000 (hd0,1)/boot/grub/menu.lst
quit

My /boot/grub/menu.lst is here:

# Modified by YaST2. Last modification on Wed May 26 00:28:36 2004


color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd0,1)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title Linux
    kernel (hd0,1)/boot/vmlinuz root=/dev/hda2 vga=0x31a splash=silent
acpi=off desktop resume=/dev/hda1 showopts
    initrd (hd0,1)/boot/initrd

###Don't change this comment - YaST2 identifier: Original name:
floppy###
title Floppy
    root (fd0)
    chainloader +1

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

###Don't change this comment - YaST2 identifier: Original name:
memtest86###
title Memory Test
    kernel (hd0,1)/boot/memtest.bin


-jt


James Taylor
The East Cobb Group, Inc.
Voice - 770-874-0872
Fax    - 678-623-8002
Cell    - 678-697-9420
james.taylor at eastcobbgroup.com
http://www.eastcobbgroup.com

>>> trey at fastmail.fm 06/18/04 7:46 PM >>>
I installed SUSE 9.1 on my desktop machine as the sole OS with lilo as
the boot manager on the MBR.  I then installed Fedora Core 2 on some
free space on the same drive and put grub on the MBR (effectively
overwriting the original lilo.  I have an FC2 entry in grub, but no
entry for SUSE, so I currently can't boot into SUSE.  The / partition
for SUSE is /dev/hda1 (FC2's / is on /dev/hda8).  I want to add an entry
for SUSE to grub.conf in FC2 so I can boot.   I thought I understood the
syntax, but it will not work with the following in my /etc/grub.conf
file:

[root at localhost trey]# cat /etc/grub.conf
# 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,7)
#          kernel /boot/vmlinuz-version ro root=/dev/hda8
#          initrd /boot/initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd0,7)/boot/grub/splash.xpm.gz
title Fedora Core (2.6.6-1.435)
        root (hd0,7)
        kernel /boot/vmlinuz-2.6.6-1.435 ro root=LABEL=/1 rhgb quiet
        initrd /boot/initrd-2.6.6-1.435.img
title Fedora Core (2.6.5-1.358)
        root (hd0,7)
        kernel /boot/vmlinuz-2.6.5-1.358 ro root=LABEL=/1 rhgb quiet
        initrd /boot/initrd-2.6.5-1.358.img
title SUSE 9.1
        root (hd0,0)
        kernel /boot/vmlinuz-2.6.4-54.5-default
        chainloader +1
[root at localhost trey]#


Hoping someone can get me straightened out so I can get back into SUSE.

Thanks.

-- 
Cheers,
Trey
---

"There is a theory which states that if ever anyone discovers
exactly what the Universe is for and why it is here,
it will instantly disappear and be replaced by something
even more bizarre and inexplicable.

There is another which states that this has already happened."
-- Douglas Adams 

7:45pm up 10:21, 3 users, load average: 0.11, 0.13, 0.19 
Linux linux 2.6.5-17.14-default #1 Tue May 18 14:09:50 UTC 2004 i686
i686 i386 GNU/Linux



More information about the Ale mailing list