LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-16-2003, 10:06 PM   #1
Pisces107
Member
 
Registered: Dec 2003
Distribution: Slackware Current, Gentoo , Debian SID
Posts: 90

Rep: Reputation: 15
How can i run Redhat and Slackware on same PC?


hi,

i have Redhat 8 and Windows XPs running at the moment. i have two hard drives, one have Windows and on other i'm running Redhat 8. i have three linux partitions for Redhat.

now i want to install slackware too. my questions are:

1. should i make another 3 partitions for slackware ?

2. would i be able to choose the linux partitions made for slackware during install ( i don't want to accidently overwrite Redhat partitons)?

3. how would i configure grub for redhat and Slackware? right now, i'm using grub in MBR, and i can choose to boot Linux/Windows.


thanks.
 
Old 12-16-2003, 10:20 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,000
Blog Entries: 11

Rep: Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893
Re: How can i run Redhat and Slackware on same PC?

Quote:
Originally posted by Pisces107
1. should i make another 3 partitions for slackware ?
Slack and RH could definitely share /home, /boot and
swap... (if /home and /boot were a partition by itself).

Quote:
2. would i be able to choose the linux partitions made for slackware during install ( i don't want to accidently overwrite Redhat partitons)?
Yes, you come to explicitly chose the partitions
you want to use, and also whether to format or
not.

Quote:
3. how would i configure grub for redhat and Slackware? right now, i'm using grub in MBR, and i can choose to boot Linux/Windows.
Depends on your current and intended partitioning
scheme. :}


Cheers,
Tink
 
Old 12-16-2003, 10:34 PM   #3
Pisces107
Member
 
Registered: Dec 2003
Distribution: Slackware Current, Gentoo , Debian SID
Posts: 90

Original Poster
Rep: Reputation: 15
thanks tinkster. for redhat8 i have following partitions:

/
/boot
swap

i'm little worried about sharing the same partitions, e.g /boot. isn't /boot partition used for a specific linux installation(in this case redhat) , like "Windows" directory for one window version?

i'm not sure but it looks like i might not need new partitions for slackware if i can share the existing Redhat's. what about the swap and the root partitions?

1. ok, for example, in case i have to create new partitions," /,swap & /boot", is this recommended/workable? and how would i configure grub in this scenario?

2. if you or somebody recommends sharing the exisitng partitions, how ould i install slackware into those partitions without destroying the exisiting Redhat? and what would be the grub's config in this scenario?

pls give me a guideline keeping in mind that i'm a linux newbie.

thanks.
 
Old 12-16-2003, 10:44 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,000
Blog Entries: 11

Rep: Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893
Quote:
Originally posted by Pisces107
1. ok, for example, in case i have to create new partitions," /,swap & /boot", is this recommended/workable? and how would i configure grub in this scenario?

2. if you or somebody recommends sharing the exisitng partitions, how ould i install slackware into those partitions without destroying the exisiting Redhat? and what would be the grub's config in this scenario?

pls give me a guideline keeping in mind that i'm a linux newbie.

thanks. [/B]
/boot is fine if the kernels have different names ...
You can't share root, though, because the startup scripts
are completely different. If you're worried about the /boot,
just create a / for slack, and install slacks lilo into that
/ partition... then just make a entry in RH's grub pointing
to the slackware partition without a kernel-image (as if booting
winDOHs) ...


Cheers,
Tink
 
Old 12-16-2003, 11:45 PM   #5
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
........ adding to what Tink said - you can share your Swap partition between Red Hat and Slackware ( very common ) - personally I'd just use cfdisk during the install and create a Root partition only for Slackware - you've already got a Swap partition which you can instruct Slackware to use during the setup -

Have you already got some free unpartitioned space to create a Root partition for Slackware - or does Red Hat currently take up your whole drive?

Last edited by Skyline; 12-16-2003 at 11:47 PM.
 
Old 12-17-2003, 08:05 AM   #6
rip
Member
 
Registered: Apr 2003
Location: Ohio
Distribution: PCLinuxOS
Posts: 97

Rep: Reputation: 15
I too wanted to do the same thing - that is to share partitions between different distros. I ran into a major problem which I feel I should share so you don't muck things up also.

Here was my setup:
RedHat 8 and RedHat 9 shared a harddrive. Each had it's own root partition. They both shared a /swap and /home partition. I had all my family members set up so they saw the same username and config regardless of what version was booted.

At this point all was well.

Then I discovered Slackware. This went onto some unused space, same harddrive. It too shared /swap and /home. I set up all of our logins using the same usernames. This was a *bad* thing. Apparently when I logged into Slack with KDE, it overwrote the users /home config files with it's own way of doing things. When I rebooted back into RedHat, my desktop ws hosed up badly. Icons were missing, app links were broken. It was nearly unusable.

All is well now, though. I picked up an 80gb maxtor for a song, so I started over with Slack as my main distro. I will not share /home again. Don't have to...


Bottom line, in my opinion, be careful sharing /home. Maybe if I had not used the same user names I would have been ok.
 
Old 12-17-2003, 04:08 PM   #7
Pisces107
Member
 
Registered: Dec 2003
Distribution: Slackware Current, Gentoo , Debian SID
Posts: 90

Original Poster
Rep: Reputation: 15
imy setup is:

1. 2 hard drives 40g and 80g
2. Windows Xp Home+Pro + programs and lots of software on 80g
3. Linux 9 on 40 g
4. i created separate " /, /boot and swap" partitions for Slackware.

i'm using grub as boot loader. how do i put an entry for the slackware?
i'm booting slackware off of "hdb6". what should i write in grub.conf to have slackware in the list and i don't have to use boot floppy.

thanks.
 
Old 12-17-2003, 04:38 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,000
Blog Entries: 11

Rep: Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893
Quote:
Originally posted by Pisces107
4. i created separate " /, /boot and swap" partitions for Slackware.

i'm using grub as boot loader. how do i put an entry for the slackware?
i'm booting slackware off of "hdb6". what should i write in grub.conf to have slackware in the list and i don't have to use boot floppy.

thanks. [/B]
During setup, when it asks you for the linux install
tell it to install lilo in the / or /boot partition. If you
already have a installed version of slack, edit
your /etc/lilo.conf
and make
boot=/dev/hdb6
Then run lilo

Cheers,
Tink
 
  


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
How to get OpenOffice to run on Slackware 10.1? Basel Slackware 21 06-20-2005 07:03 AM
cant get my slackware to run ? Yoshimura Slackware - Installation 4 09-07-2004 06:18 PM
first run with linux slackware 9.0 skull98 Linux - Newbie 6 03-06-2004 10:19 AM
Evolution won't run on Slackware 9.1 NOT_a_n00b Linux - Software 1 12-15-2003 06:07 AM
getting samba to run in Slackware gaijinn Slackware 2 05-08-2003 01:20 AM


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