Results 1 to 3 of 3

Thread: How to install making sure bootloader doesn't touch other disc drives?

  1. #1
    Join Date
    Jan 2009
    Location
    Taft, Republic of California. UTC -8
    Posts
    1,476

    Default How to install making sure bootloader doesn't touch other disc drives?

    I have three drives on my system and I want to put 11.4 on the third drive.

    My BIOS can select which drive I am going to boot from. I don't want my Windows 7 or Windows XP drives included in grub or grub to over write/install the bootloader on any other drive except the one I am installing 11.4 on how do I do that?
    Tumbleweed

  2. #2
    Join Date
    Jan 2009
    Location
    Taft, Republic of California. UTC -8
    Posts
    1,476

    Default Re: How to install making sure bootloader doesn't touch other disc drives?

    Solved my problem by disconnecting the other two drives and putting boot in the MBR 11.4 works great.
    Now restoring the XP install I blew away LOL cleaning house.
    Tumbleweed

  3. #3
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: How to install making sure bootloader doesn't touch other disc drives?

    The secret is in the booting section. You must make sure that drive you are installing openSUSE on to is listed as the first hard drive. The drive order, for the third drive might say: sdc, sda, sdb where sdc is the hard drive you are installing openSUSE on to. You normally want to install generic boot code to the MBR, install openSUSE root folder as primary partition 1, 2, 3 or 4 AND mark it as active for booting. All of these options (except for the partition setup you create first) is located in the booting section. Here is more on partitioning:

    Each hard drive can have up to four PRIMARY partitions, any of which could be marked active and bootable. No matter what you might hear, only one of the first four primary partitions can be booted from. That means you can boot from Primary partitions 1, 2, 3 or 4 and that is all. In order to boot openSUSE, you must load openSUSE and the grub boot loader into one of the first four partitions. Or, your second choice is to load the grub boot loader into the MBR (Master Boot Record) at the start of the disk. The MBR can be blank, like a new disk, it can contain a Windows partition booting code or generic booting code to boot the active partition 1, 2, 3, or 4. Or, as stated before, it can contain the grub boot loader. Why load grub into the MBR then? You do this so that you can "boot" openSUSE from a logical partition, numbered 5 or higher, which is not normally possible. In order to have more than four partitions, one of them (and only one can be assigned as extended) must be a extended partition. It is called an Extended Primary Partition, a container partition, it can be any one of the first four and it can contain one or more logical partitions within. Anytime you see partition numbers 5, 6 or higher for instance, they can only occur inside of the one and only Extended Primary partition you could have.

    What does openSUSE want as far as partitions? It needs at minimum a SWAP partition and a "/" partition where all of your software is loaded. Further, it is recommended you create a separate /home partition, which makes it easier to upgrade or reload openSUSE without losing all of your settings. So, that is three more partitions you must add to what you have now. What must you do to load and boot openSUSE from an external hard drive? Number one, you must be able to select your external hard drive as the boot drive in your BIOS setup. Number two, you need to make sure that the external hard drive (or second or third internal), perhaps /dev/sdc, is listed as the first hard drive in your grub device.map file and listed as drive hd0. I always suggest that you do not load grub into the MBR, but rather into the openSUSE "/" root primary partition which means a primary number of 1, 2, 3 or 4. If number one is used, then that will be out. You will mark the openSUSE partition as active for booting and finally you must load generic booting code into the MBR so that it will boot the openSUSE partition. I suggest a partition like this:

    0. /dev/sdc, Load MBR with generic booting code
    1. /dev/sdc1, Primary SWAP (4 GB)
    2. /dev/sdc2, Primary EXT4 "/" openSUSE Partition Marked Active for booting (80-120 GB)
    3. /dev/sdc3, Primary EXT4 "/home" Your main home directory (Rest of the disk)

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

Similar Threads

  1. 11.3 - can't find grub without disc/boot from hard disc
    By idee in forum Install/Boot/Login
    Replies: 36
    Last Post: 03-Jan-2011, 09:09
  2. bootloader fails to install(grub cannot install bootloader)
    By samir_him in forum Install/Boot/Login
    Replies: 16
    Last Post: 09-Nov-2010, 15:14

Posting Permissions

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