Find the answer to your Linux question:
Results 1 to 7 of 7
Hello! I'm trying to figure out how to create a dual boot with SuSE 9.2 and Mandrake (Mandriva) 10.1. Right now I have SuSE 9.2 on my PC and would ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User
    Join Date
    Mar 2005
    Location
    CA
    Posts
    352

    Dual Boot


    Hello! I'm trying to figure out how to create a dual boot with SuSE 9.2 and Mandrake (Mandriva) 10.1. Right now I have SuSE 9.2 on my PC and would like to add Mandrake or maybe another distro. Would anyone be able to lead me in the right direction or even give me a link to an older post with the same topic? Thanks in advance for the help.

  2. #2
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,242
    First do you have a partition ready for the new distro to go into.
    In my experience, Linux distros do not resize other Linux distros, no problem resizing NTFS.
    They like to delete other Linux distros rater than resize them.

    Now when you install the new distro into the partition you have set for it. The install is almost the same as a fresh install. With the exception that you either won't install a bootloader or you will install the bootloader to the partition that the new distro is on.
    Example: The new distro is on hda5, you will put the bootloader on hda5, not hda.
    Either write down the name of the kernel, or if you installed a bootloader.
    You can boot into your original distro(SUSE) and open up a terminal.
    Su into root
    Type "mkdir /mnt/name of new distro"
    Type "mount /dev/hda5 /mnt/name of new distro"
    Type "cd /mnt/name of new distro/boot/grub or lilo"
    Type "less" and get the name of the kernel
    It should be vmlinuz something.
    Now, to edit SUSE's /boot/grub.
    Type "nano -w /boot/grub/menu.lst"
    Put in there an entry like this
    Code:
    title Yoper
    kernel=(hd0,6)/boot/vmlinuz-2.6.8.1-3 root=/dev/hda7
    Modify it to suit your needs.
    Hit CTRL + x and save your work.
    Type "reboot" and finish installing the new distro.

    Hope this helps.
    How to know if you are a geek.
    when you respond to "get a life!" with "what's the URL?"
    - Birger

    New users read The FAQ

  3. #3
    Linux Engineer rong's Avatar
    Join Date
    Feb 2005
    Location
    California
    Posts
    803

    Re: Dual Boot

    Quote Originally Posted by soulbrothax831
    Hello! I'm trying to figure out how to create a dual boot with SuSE 9.2 and Mandrake (Mandriva) 10.1. Right now I have SuSE 9.2 on my PC and would like to add Mandrake or maybe another distro. Would anyone be able to lead me in the right direction or even give me a link to an older post with the same topic? Thanks in advance for the help.
    Whatever addtional Linux OS you decide on will recognize your existing install. You need to first address the Partition setup you currently have. If your SUSE is using the entire HDrive then use the SUSE Partitioning tool to reconfigure. Keep in mind that to have more than four partitions on a drive you will need to set the fourth as an Extended Partition and then create Logical Partitions within that Extended Partition. Since SUSE needs 3 Partitions and Mandrake (which I am NOT familiar with) will need at least two you can see what needs to be done.

    Aside from the Partitioning alll should work just fine. The GRUB bootloader will take care of dual booting.
    registered Linux user #388382

    Have you checked here first?

  4. $spacer_open
    $spacer_close
  5. #4
    Linux User
    Join Date
    Mar 2005
    Location
    CA
    Posts
    352
    Thanks for the replys guys. I do have a partition ready to go. I will try eveything out as soon as I get home from work.

  6. #5
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,242
    Don't bother creating a new swap. You can use the same swap that SUSE created.
    I have 7 distros all using the same swap space.
    How to know if you are a geek.
    when you respond to "get a life!" with "what's the URL?"
    - Birger

    New users read The FAQ

  7. #6
    Linux User
    Join Date
    Mar 2005
    Location
    CA
    Posts
    352
    Quote Originally Posted by budman7
    Code:
    title Yoper
    kernel=(hd0,6)/boot/vmlinuz-2.6.8.1-3 root=/dev/hda7
    Modify it to suit your needs.
    Hit CTRL + x and save your work.
    Type "reboot" and finish installing the new distro.

    Hope this helps.
    I should have probably mentioned this earlier, but would it be any different since I don't have grub as my boot loader? I actually have lilo installed, so would the response I quoted you still apply to lilo or would it be something entirely different?

  8. #7
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    Quote Originally Posted by soulbrothax831
    I should have probably mentioned this earlier, but would it be any different since I don't have grub as my boot loader? I actually have lilo installed, so would the response I quoted you still apply to lilo or would it be something entirely different?
    With LiLo is is slightly different. Once you have:
    Example: The new distro is on hda5, you will put the bootloader on hda5, not hda.
    Either write down the name of the kernel, or if you installed a bootloader.
    You can boot into your original distro(SUSE) and open up a terminal.
    Su into root
    Type "mkdir /mnt/name of new distro"
    Type "mount /dev/hda5 /mnt/name of new distro"
    Type "cd /mnt/name of new distro/boot/"
    Type "less" and get the name of the kernel
    It should be vmlinuz something.
    then open up you /etc/lilo.conf in a text editor as root e.g.
    Code:
    pico /etc/lilo.conf
    then add a stanza like this to the file:
    #stanza for name of distro
    image = /boot/vmlinuz
    lable = name of distro
    root = /dev/hda5
    I'm taking in this example that /dev/hda5 is the partition of the newdistro.

    Next type as root in a terminal
    Code:
    /sbin/lilo
    dylunio
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •