Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-18-2003, 02:00 AM   #1
LQ Newbie
Registered: Sep 2003
Distribution: Gentoo, Ubuntu, FreeBSD
Posts: 18

Rep: Reputation: 0
Redhat / Slackware Dual boot... howto??

I want to set up a dual boot with RedHat and Slackware. I don't know how to accomplish this...

I already have a working RedHat installation and don't want it to be destroyed.

I have 256MB RAM. My HD is 40GB, there are 30GB unpartitioned space...
Could anyone give me some advise how to partition the rest of the disc?
When finished installing Slackware, which config file(s) do I have to edit? Will my current boot loader be overwritten?
Old 10-18-2003, 02:21 AM   #2
LQ Guru
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
You have two choices, either not installing any bootloader(slackware only comes with lilo i think) during slackware setup, and use grub/lilo which you installed during redhat installation to load slackware, or installing the bootloader to the bootsector of the slackware partition and have redhat lilo/grub chainloading it.
how to configure it depends on which bootloader you use for redhat, it's the only one you need to worry about.
Old 10-18-2003, 03:44 AM   #3
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
What bootloader are you currently using? - where have you installed it to?
Old 10-18-2003, 05:56 AM   #4
Registered: Apr 2003
Location: Netherlands
Distribution: SuSE (before: Gentoo, Slackware)
Posts: 613

Rep: Reputation: 30
Slackware has lilo, Redhat uses grub.

I only know how lilo works, so that's all I can expain about booting

Lilo has 3 essential parameters:
- location where to install (most likely your root partition)
- location of the kernels.
- location of the root device, can be assigned per kernel.

I think you could even use the same kernel for both Linux OS-es. Because the 'root' parameter is different, the system will start the /bin/init program at the other root, and the boot process will continue as it's supposed to be.
Old 10-18-2003, 11:06 AM   #5
Registered: Jun 2003
Location: Venice Italy
Distribution: Slackware 12.0 kernel
Posts: 284

Rep: Reputation: 30
I am using RedHat and Slackware too:
You have to install Slackware and then goo to /boot/grub
and edit your grub.conf file.
The following is my one:

title Red Hat Linux (2.4.20-18.9)
root (hd0,2)
kernel /boot/vmlinuz-2.4.20-18.9 ro root=LABEL=/ hdc=ide-scsi
initrd /boot/initrd-2.4.20-18.9.img
title DOS
rootnoverify (hd0,0)
chainloader +1
title Slackware
root (hd0,3)
kernel /boot/vmlinuz-ide-2.4.20 ro root=/dev/hda4 hdc=ide-scsi

I think it's intuitive. I have XP on hda1 Swap on hda2 RedHat on hda3 and Slackware on hda4.
Old 10-18-2003, 12:29 PM   #6
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
harp's idea will work fine (although i like to keep my swap partition as the last thing on my harddrive)

basically, since u have 30 gig unpartitioned, u must have used 10 gigs and used the default redhat partitioning (the primary 100 meg /boot, the /, and the 512 meg swap)

all u have to do now is download slackware, pop in the cd, and at one of the boot prompts type cfdisk (the instructions will tell u when) and create an ext3 partition at the end of your harddrive (the program is not hard, just not pretty)

then go through the normal install, but when asked to space out partitions, tell the installer to use /dev/hda1 mounted as /boot (that way all kernels will be placed in the same place for both redhat and slack and avoid confusion later for grub/lilo)

go through everything, and i would strongly recommend that you use lilo (only because i like it and u can have cool vga modes in it)
u can add your redhat partition and configure lilo later to load the correct kernel
if not, just choose not to install lilo and use the same grub format as harp to boot slack


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
Howto recover data from ntfs after suse dual boot install jdlr Linux - General 1 04-20-2005 09:51 AM
problem, dual boot, xp/redhat, cdtray kept ejecting, del redhat part. wont boot a OS mraym84 Linux - General 2 08-22-2004 01:46 PM
Howto: Existing Win98 + Linux, dual boot using GRUB TheSwine Linux - Newbie 3 01-03-2004 10:06 AM
howto view linux hdd from windows? dual-boot aheirich Linux - Newbie 1 11-16-2003 10:02 PM
RedHat and Slackware dual boot ksgill Linux - Newbie 12 08-09-2003 11:20 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:44 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration