LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 09-15-2004, 08:18 AM   #1
jturnbul
Member
 
Registered: Sep 2004
Location: Toronto, Canada
Distribution: Fedora 4 - Slackware 10 - PHLAK
Posts: 92

Rep: Reputation: 15
adding OS to Grub


I have a 2 hard drive system. What I have done is Successfully installed Win2K on hda, and split hdb in half. On one half I have installed Fedora, and the 2nd slackware.

now if i just let my system boot, GRUB appears, and gives me the option to boot Win2K or Fedora. If I want to boot slackware, I use the boot disk it made for me when I installed, and of course it only gives me the optin to boot slackware.

How can I add slackware to GRUB? I am very new to LINUX, and eager to learn, but I just cant get the syntax down, as the filesystem, and boot process is just to alien to me right now.

This is the current entry I have for Slackware right now...

title Slackware 10
root (hd1,4 )
kernel /boot/vmlinuz-2.4.26-ide root=/dev/hdb5 ro vga=normal
initrd /slackware/initrd.mai.splash
savedefault
boot


I get this error....
root (hd1,4)
Filesystem type is ext2fs, partition type 0x83
kernel /boot/vmlinuz-2.4.26-ide root=/dev/hdb5 ro vga=normal

error 15 file not found


I'll give some additional info (B4 i added the above entry)...
GRUB boot info............
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd1,0)
# kernel /vmlinuz-version ro root=/dev/hdb2
# initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd1,0)/grub/splash.xpm.gz

title Fedora Core (2.6.5-1.358)
root (hd1,0)
kernel /vmlinuz-2.6.5-1.358 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.5-1.358.img

title Windows 2000
rootnoverify (hd0,0)
chainloader +1

From the Slackware boot disk
label mount
kernel vmlinuz
append ramdisk_size=7000 root=/dev/hdb5 vga=normal ro
label ramdisk
kernel vmlinuz
append vmlinuz ramdisk_size=7000 root=/dev/fd0u1440 vga=normal rw
 
Old 09-15-2004, 09:35 AM   #2
phoeniks
LQ Newbie
 
Registered: Aug 2004
Posts: 9

Rep: Reputation: 0
http://www.linuxquestions.org/questi...hreadid=223094


that's a link to a thread i had with a similar problem. The syntax suggested is good, but the .conf file was in a different place for me.
 
Old 09-15-2004, 09:56 AM   #3
jturnbul
Member
 
Registered: Sep 2004
Location: Toronto, Canada
Distribution: Fedora 4 - Slackware 10 - PHLAK
Posts: 92

Original Poster
Rep: Reputation: 15
that thread just talks about adding an xp partition, or something. Doesnt even touch on this.
 
Old 09-15-2004, 10:58 AM   #4
jturnbul
Member
 
Registered: Sep 2004
Location: Toronto, Canada
Distribution: Fedora 4 - Slackware 10 - PHLAK
Posts: 92

Original Poster
Rep: Reputation: 15
Disk /dev/hdb: 30.7 GB, 30736613376 bytes
255 heads, 63 sectors/track, 3736 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 13 104391 83 Linux
/dev/hdb2 14 2053 16386300 83 Linux
/dev/hdb3 2054 2183 1044225 82 Linux swap
/dev/hdb4 2184 3736 12474472+ f W95 Ext'd (LBA)
/dev/hdb5 2184 3736 12474441 83 Linux
[root@localhost root]# cat /etc/fstab
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/hdb3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
[root@localhost root]#
 
Old 09-15-2004, 01:50 PM   #5
jturnbul
Member
 
Registered: Sep 2004
Location: Toronto, Canada
Distribution: Fedora 4 - Slackware 10 - PHLAK
Posts: 92

Original Poster
Rep: Reputation: 15
got it to work with........

title Slackware 10
root (hd1,4)
kernel /boot/vmlinuz-ide-2.4.26 root=/dev/hdb5 ro vga=normal
 
Old 09-15-2004, 01:55 PM   #6
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 46
don't double post -- it adds clutter to the forum and can be confusing to people trying to answer. it's also against the rules.
 
Old 09-16-2004, 08:29 PM   #7
jturnbul
Member
 
Registered: Sep 2004
Location: Toronto, Canada
Distribution: Fedora 4 - Slackware 10 - PHLAK
Posts: 92

Original Poster
Rep: Reputation: 15
sorry, just figured there are probably people who are strictly fedora or strictly slackware users, that might not bother with the other forum, if they dont use that distro.

I guess its a good thing I did not post in here only, otherwise I would have gotten nowhere.
 
  


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
Adding to Grub zchoyt Linux - Software 3 08-15-2005 10:34 PM
Adding to GRUB stolieman Linux - General 1 11-20-2004 12:42 AM
Adding Boot from cd to grub madd matt Linux - General 4 06-16-2004 05:42 PM
1st HDD = RH9.0 (grub) ... How do I modify grub when adding 2nd hard disk ? Onyx^ Linux - Software 1 09-05-2003 09:16 AM
Help adding XP to Grub? superdigg Linux - Newbie 1 01-09-2003 04:13 PM


All times are GMT -5. The time now is 02:46 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration