LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation
User Name
Password
Fedora - Installation This forum is for the discussion of installation issues with Fedora.

Notices

Reply
 
Search this Thread
Old 01-16-2005, 12:26 PM   #1
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 52
FC2 + Slack 10 in one box


Well this should be an easy question.....

I had an 80Gb disk with windoz and FC2 installed.
and 256 MB Ram.

Today I bought a 1G Ram and a hd 200GB.
and i tried to install slackware 10.
now i have:
hda -> hd 80gb
hdb-> DVD
hdc -> CD-R
hdd-> hd 200gb

I created a small primary partition (8gb)in the new hd and i installed Slackware and used the swap partition of hda in. Anyway i don't think that i need a swap partition with 1GB of Ram.
then i installed lilo in this partition and not mbr (i've got FC's grub in mbr)

My question is how do i add another entry in grubs menu to redirect the boot to the installed lilo. (I don't want to boot slack directly from grub if this is possible.)

I tried something like the the entry grub has for windows like:
title Slackware
rootnoverify (hd3,0)
chainloader +1
but that does not work.
the slackware partition is the first (primary partition) in hdd.
My grub.conf looks like this:
Code:
default=1
timeout=10
splashimage=(hd0,6)/grub/splash.xpm.gz
title Fedora Core (2.6.5-1.358)
	root (hd0,6)
	kernel /vmlinuz-2.6.5-1.358 ro root=LABEL=/ quiet
	initrd /initrd-2.6.5-1.358.img
title Windows XP 
	rootnoverify (hd0,0)
	chainloader +1
Thanks in advance
 
Old 01-16-2005, 11:08 PM   #2
aus9
Guru
 
Registered: Oct 2003
Posts: 5,056

Rep: Reputation: Disabled
you only have 2 drives so your new one is (hd1)

linux does not recognise chainloader so use grub to boot into slack direct
thats not too hard??

http://www.linuxquestions.org/questi...hreadid=237511
 
Old 01-17-2005, 05:46 AM   #3
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Original Poster
Rep: Reputation: 52
Thanks for the answer.
Quote:
you only have 2 drives so your new one is (hd1)
I thought that the grub hd counting was like the /dev counting.
The new disk is hdd (secondary slave), so i thought it should be hd3 in groub.
As far as i know if you use a non-linux bootloader (lilo - grub), like the partition magic boot loader,
you install the linux loader in the linux partition and you install the other loader in mbr, and make an entry to point
to the linux partition. Isn't that posible with grub and lilo?
 
Old 01-17-2005, 07:11 AM   #4
aus9
Guru
 
Registered: Oct 2003
Posts: 5,056

Rep: Reputation: Disabled
well what I am saying is what I think you want is this

bios to drive A's mbr then jumps to grub booting files
then amend grub's menu to allow grub to have a menu to jump to lilo
then have lilo boot slackware

2) You are trying it on? I am a grub devotee not a lilo lover heh heh

I could tell you how to get from one mbr to another......but you are increasing the risk of a mess by having 2 or more mbr and 2 or more boot loaders.....try to keep it as simple as possible.

3) its your computer so feel free to change your bios boot order to mbr 2 with lilo installed in it
and that lilo then loads the other drive

see which bootloader you prefer......and see if lilo has good dox on how to burn a kernel to cdr etc and compare to my howto.
 
Old 01-17-2005, 11:09 AM   #5
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Original Poster
Rep: Reputation: 52
Actually i did not try to install lilo in the mbr of the other disk (hdd) but in hdd1.
the root partition.
I do have a /boot partition where the kernel of FC2 is but can I boot slackware with grub,
without having to copy the kernel image and the other stuff to this partition, by using the /boot directory of slackware?
I have only a / partition in slackware, not a seperated /boot partition, and its reisorfs not ext2 like the fedora. (don't ask me whyext2 and not ext3, i did a default instalation).

lI tried to create a /boot/slackware directory in the seperate /boot partition, and write there the hole slackware's /boot partition. I don't know what went wrong but i couldn't configure grub. Right now i've got grub in mbr and lilo in a floppy. I'm afraid to mess things up and don't wont to put everything in /boot. At least i would like to use a directory in /boot for slackware. I tried this:

Code:
# 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 (hd0,6)
#          kernel /vmlinuz-version ro root=/dev/hda8
#          initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd0,6)/grub/splash.xpm.gz
title Fedora Core (2.6.5-1.358)
	root (hd0,6)
	kernel /vmlinuz-2.6.5-1.358 ro root=LABEL=/ quiet
	initrd /initrd-2.6.5-1.358.img
title Windows XP 
	rootnoverify (hd0,0)
	chainloader +1
title Slackware
	root (hd1,0)
	kernel /slackware/vmlinuz ro root=/dev/hdd1 hdb=ide-scsi hdc=ide-scsi

Last edited by perfect_circle; 01-17-2005 at 11:11 AM.
 
Old 01-17-2005, 11:24 AM   #6
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Original Poster
Rep: Reputation: 52
wait... I did it. I didn't realize that the root option is the /boot partition, and thought you cannot have 2 /boot partitions in grub.
SO this works:
Code:
title Slackware
	root (hd0,6)
	kernel /slackware/vmlinuz ro root=/dev/hdd1 hdb=ide-scsi hdc=ide-scsi
and this also works:
Code:
title Slackware
	root (hd1,0)
	kernel /boot/vmlinuz ro root=/dev/hdd1 hdb=ide-scsi hdc=ide-scsi
hope i did not forget anything.
Thanx for your help.

Last edited by perfect_circle; 01-18-2005 at 04:33 AM.
 
Old 01-18-2005, 04:46 AM   #7
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Original Poster
Rep: Reputation: 52
well... one more thing.
My slackware's lilo.conf looked like this:
Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
append="hdb=ide-scsi hdc=ide-scsi"
boot = /dev/fd0
message = /boot/boot_message.txt
prompt
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
  reset
# Normal VGA console
vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# Windows bootable partition config begins
other = /dev/hda1
  label = Windows
  table = /dev/hda
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/hdd1
  label = Linux
  read-only
# Linux bootable partition config ends
When i used grub I did not use the prompt, change-rules, reset,vga options.
Slackware seems to boot fine but does anybody know how i can use the change-rules, reset thing in grub for slackware?
Or better do I need this?
 
  


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
Wireless worked in FC2, but not in Slack 10.1 jonlake Linux - Wireless Networking 0 09-15-2005 12:04 AM
Can't get FC2 to load with GRUB on same box with XP. Going crazy!!! AdamBige Fedora 4 11-03-2004 09:17 AM
How to see windows box from fc2 box yeehi Fedora 3 06-10-2004 12:28 PM
Slack on Sparc Box? bgriesi Slackware - Installation 3 01-07-2004 02:11 PM
need help setting up slack box as gateway Inix Slackware 6 06-13-2003 04:05 AM


All times are GMT -5. The time now is 12:15 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