Multi-Booting Linux Distros?

GawdGawd Member Posts: 132
Hey,
Im sort of a Linux Newb, and Im wondering how I would go about Multi-booting:
Slackware
FreeBSD &
Redhat.

Any Thought?

Thanks,

Gawd

Comments

  • hc2abhc2ab Member Posts: 42 ■■□□□□□□□□
    Here is a general outline to multi-boot 2 linux OS.

    Install your first linux OS. Install your second linux OS. Modify the boot loader and that's it.

    For example I installed the OS and partitioned as follow:
    slackware OS:
    /dev/hda1 /
    /dev/hda2 swap
    Redhat OS:
    /dev/hda3 /
    /dev/hda4 EXTENDED
    /dev/hda5 swap

    You'll than need to edit the boot loader( I suggest using GRUB ) as follow:
    title Slackware
       root(hd0,0)
       kernel /boot/slackwarekernel.img
       initrd /boot/initrd-kernelinitrd
    title Red Hat
       root(hd0,2)
       kernel /boot/redhatkernel.img
       initrd /boot/initrd-kernelinitrd
    

    the root(hd0,0) means using hd0(hardisk 1 or hda), the first partition.
    For short (hd0,0)=hda1.
    the kernel and initrd specify the linux kernel and initrd location relatively to the root.

    Lastly FreeBSD is not linux. It's a completely different OS. Although they are similar infact most application run on both.

    Good luck
  • hc2abhc2ab Member Posts: 42 ■■□□□□□□□□
    title Slackware 
       root(hd0,0) 
       kernel /boot/slackwarekernel.img ro root=/dev/hda1
       initrd /boot/initrd-kernelinitrd 
    title Red Hat 
       root(hd0,2) 
       kernel /boot/redhatkernel.img ro root=/dev/hda3
       initrd /boot/initrd-kernelinitrd 
    

    sorry, you'll also need to add the root filesystem location
Sign In or Register to comment.