Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Dist
zeitgeist
post Jul 7 2004, 02:03 PM
Post #1


Grub-er
**

Group: Members
Posts: 37
Joined: 14-August 03
Member No.: 1,259



Is it possible to run 2 linux dstributions on the single pc ?
Go to the top of the page
 
+Quote Post
Robert83
post Jul 7 2004, 03:50 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,439
Joined: 3-January 04
From: Germany
Member No.: 2,069



yes, and even more , the only thing you must make sure is that you have enough space for your distros


Sincerely
Robert B


--------------------
Robert Becskei
robert83@linuxhelp.net
--------------------
May the source be with us!
--------------------
AMD X2-3800 @ 2400Mhz
2048MB DDR 400Mhz
DFI Lanparty UT4 NF4 ULTRA-D
GeForce 7800GT
250GB+250GB
Pioneer DVD-RW
17inch Samsung Syncmaster 757NF
WinXP Pro (SP2)/ CentOS 4.3
--------------------
Go to the top of the page
 
+Quote Post
zeitgeist
post Jul 7 2004, 05:40 PM
Post #3


Grub-er
**

Group: Members
Posts: 37
Joined: 14-August 03
Member No.: 1,259



but how ? any tutorials on this ?
Go to the top of the page
 
+Quote Post
hughesjr
post Jul 7 2004, 06:28 PM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



How:

Install the first one normally .... pick MBR so it boots everything

When installing the second one ... use the same swap partition as the first one...and only create a root partition ...

On the second distro, when picking where the bootloader boots, pick boot from the root partition (of the second distro).

In the first disto's grub file ... use chainloader to boot to the other distros....

Here is my test machine's fdisk -l and the main grub.conf file:
CODE
Disk /dev/hda: 60.0 GB, 60022480896 bytes
255 heads, 63 sectors/track, 7297 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1        13    104391   83  Linux
/dev/hda2            14      1580  12586927+  83  Linux
/dev/hda3          1581      1711   1052257+  82  Linux swap
/dev/hda4          1712      7297  44869545    5  Extended
/dev/hda5          1843      3148  10490445   83  Linux
/dev/hda6          3149      4486  10747453+  83  Linux
/dev/hda7          4487      5900  11357923+  83  Linux
/dev/hda8          5901      7297  11221371   83  Linux
/dev/hda9          1712      1842   1052226   82  Linux swap
-------
Disk /dev/hdb: 60.0 GB, 60022480896 bytes
255 heads, 63 sectors/track, 7297 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot    Start       End    Blocks   Id  System
/dev/hdb1             1      1034   8305573+  83  Linux
/dev/hdb2          1035      2068   8305605   83  Linux
/dev/hdb3   *      2069      3102   8305605   83  Linux
/dev/hdb4          3103      7297  33696337+   5  Extended
/dev/hdb5          3103      4136   8305573+  83  Linux
/dev/hdb6          4137      5170   8305573+  83  Linux
/dev/hdb7          5171      6204   8305573+  83  Linux
/dev/hdb8          6205      7297   8779491   83  Linux
-------
Disk /dev/hdd: 15.0 GB, 15020457984 bytes
16 heads, 63 sectors/track, 29104 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

  Device Boot    Start       End    Blocks   Id  System
/dev/hdd1   *         1     29104  14668384+  83  Linux


And here is the /boot/grub/grub.conf for the first installed distro
CODE
#grub.menu
default 9
timeout 5
color cyan/blue white/blue

title           Debian GNU/Linux, kernel 2.6.6-1-686
       root            (hd0,0)
       kernel          /vmlinuz-2.6.6-1-686 root=/dev/hda2 ro vga=792
       initrd          /initrd.img-2.6.6-1-686
       savedefault
       boot

title SUSE 9.0 Professional
       rootnoverify (hd0,4)
       chainloader +1

title Slackware-10
       rootnoverify (hd0,5)
       chainloader +1

title Mandrake 9.2
       rootnoverify (hd0,6)
       chainloader +1

title Mandrake 10 Official
       rootnoverify (hd1,0)
       chainloader +1

title Fedora Core 1
       rootnoverify (hd1,1)
       chainloader +1

title RedHat 9
       rootnoverify (hd1,4)
       chainloader +1

title Gentoo 2004.1
       rootnoverify (hd0,7)
       chainloader +1

title LAMP Debian
       rootnoverify (hd1,7)
       chainloader +1

title CentOS-31 Minimal
       rootnoverify (hd1,6)
       chainloader +1

title FedoraCore2 - Final
       rootnoverify (hd2,0)
       chainloader +1

title TaoLinux Minimal
       rootnoverify (hd1,2)
       chainloader +1

title WhiteBox Compiles
       rootnoverify (hd1,5)
       chainloader +1


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 17th October 2017 - 06:42 AM