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

Notices


Reply
  Search this Thread
Old 09-07-2003, 07:52 AM   #1
abd_bela
Member
 
Registered: Dec 2002
Location: algeria
Distribution: redhat 7.3, debian lenny
Posts: 627

Rep: Reputation: 31
debian and redhat in same machine ?


I use redhat in my machine, I want to install also debian in this machine,
is it possible?
if it how to do it. root / , /usr /etc are common ?

thank you for help
bela
 
Old 09-07-2003, 10:11 AM   #2
ikkuh
LQ Newbie
 
Registered: Aug 2003
Location: Amsterdam
Distribution: OpenBSD3.4 debian wind*ws
Posts: 15

Rep: Reputation: 0
the easiest way is to make just a / partition for both the distro's, Make a shared swap, first install debian, and then redhat or whatever, as they might have a GUI with installing a bootloader.

as far I know you shudden't make other patitions rather then / and one shared swap, as both distro's might mount the same partitions.

there's lots of info out there, so go out and read the RTFM as I mean that without any pre-justice offcourse.

Good luck.
 
Old 09-07-2003, 08:31 PM   #3
masinick
Member
 
Registered: Apr 2002
Location: Greenville, SC
Distribution: Debian, antiX, MX Linux
Posts: 639
Blog Entries: 16

Rep: Reputation: 104Reputation: 104
Re: debian and redhat in same machine ?

Quote:
Originally posted by abd_bela
I use redhat in my machine, I want to install also debian in this machine,
is it possible?
if it how to do it. root / , /usr /etc are common ?

thank you for help
bela
The best thing to do is to install one version or the other, and as you do so, set up 3 or 4 disk partitions. As the other person suggested, make a common swap file. I'd recommend a swap file sized somewhere between 256 - 512 MB. Unless you're tight on memory, you won't even use that much swap space very often unless you keep a large number of processes running at the same time.

That swap file is stored on a disk partition, and it may be used by both systems. You can use a utility such as fdisk, cfdisk, GNU Parted, or the Red Hat disk druid to set up the disk partition sizes.

I would NOT recommend sharing root, /, /usr, /etc, /var, or any of the primary directories, but you can have a shared data directory. You could even call it /data and make it mountable on both systems. Don't share home directories, however, because subtle desktop differences will interfere between the two systems.

Personally, I create a disk partition, /dev/hda12 and mount it to /mnt/mozilla, then I use a soft link:

ln -sf /mnt/mozilla ~/.mozilla to create a common Web browser context between ALL of my Linux systems (and I have 8-10 of them on a single disk at any given time).

I plan to reorganize my disk again soon, and when I do, I plan to have three primary partitions available for FreeBSD, NetBSD, and OpenBSD, and around a dozen partitions available for logical Linux system partitions. Right now I have one primary partition containing a Linux system, one extended primary partition pointing to about ten logical partitions, and these have my Linux systems on them. What I have now works, but I intend to make my next change more scalable and flexible.
 
  


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
Trouble installing Debian on new machine GAMMA_BLADE Debian 4 02-02-2005 01:30 PM
Trouble booting a new RAID0 machine with Debian sarge miggins Linux - Hardware 1 12-01-2004 01:27 AM
Telnet to debian machine dun_noe Debian 6 10-30-2004 07:17 AM
Setting up a gateway on Debian machine colabus Linux - Networking 0 05-22-2004 11:16 AM
Debian router machine element Linux - Networking 0 08-15-2003 02:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:15 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration