Here is some basic information and advice about creating partitions when you install openSUSE:
**
Master Boot Record Partitioned Hard Disks:
**
openSUSE does not want to remove anything from your system when you first try to install it and if you want the whole thing to be openSUSE, you might consider downloading the KDE LiveCD or GNOME LiveCD from here:software.opensuse.org: Download openSUSE 12.2, boot from the LiveCD and make sure it works as you wish. Then, you can start the YaST / System / Partitioner and remove all existing partitions on your hard drive. Then, when you decide to install openSUSE, just take the defaults and let it rip. As for SWAP, 2-4 GB is enough, depending on the amount of memory your system has and if big enough, just let it be 4 GB and carry own. If your memory is low, the default may be small as well, but is is OK to use the default. For more info on setting up a SWAP partition, have a look at my blog on the subject here: https://forums.opensuse.org/blogs/jdmcdaniel3/setting-up-proper-size-swap-file-opensuse-114/
By default, during the installation of openSUSE, if it find's any partitions it thinks belongs to another Operating System, it will create a menu option to load that OS when the installation of openSUSE is complete. That is, of course, for any remaining partitions that you do not remove during the installation. If you have a copy of Windows installed for instance, you should end up with a working dual boot installation when the openSUSE installation is complete. Having another OS on your hard disk(s) does present a problem for your installation in that there must be somewhere on your hard drive, for openSUSE to be installed on. Since we already said that generally, openSUSE does not want to remove any existing partitions, though it may try to shrink the size of an existing one, like for Windows, just exactly where did you think openSUSE would install on your PC? In a simple setup, with only Windows, which has a partition that can be shrunk automatically, you may be just fine. However, you would be best served before you install openSUSE, to consider creating a blank place for the installation of openSUSE. How much free space you need depends on what you are going to use openSUSE for, but try to reserve or free up at least 80 Gigabytes if you can.
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 root “/” 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, perhaps /dev/sdb, is listed as the first hard drive in your grub device.map file and listed as drive hd0 (The Device Map file is for Grub Legacy Only and does not apply to Grub 2). If you are dual booting with Windows on a single hard disk, I always suggest that you do not load grub into the MBR, but rather into the openSUSE “/” root primary partition which means a primary numbers of 1, 2, 3 or 4. If you are loading openSUSE only (no Windows) or you are loading openSUSE on a second hard drive separate from Windows, I suggest you do place Grub into the MBR. As to the partitions for openSUSE to use if number one or two is used, then they will be out. When Grub is loaded into the root “/” Partition, that Partition must be marked active for booting and finally you must load generic booting code into the MBR so that it will boot the openSUSE partition.
For an openSUSE hard disk without Windows, I suggest a partition setup like this:
- /dev/sda, Load MBR with Grub
- /dev/sda1, Primary SWAP (4 GB)
- /dev/sda2, Primary EXT4 “/” openSUSE Partition Marked Active for booting (36-60 GB)
- /dev/sda3, Primary EXT4 “/home” Your main home directory (Rest of the hard disk)
For an openSUSE install on a hard disk with Windows, I suggest a Partition Setup Like This:
- /dev/sda, Load MBR with Generic Boot Code
- /dev/sda1, Primary Windows Boot Loader (Small < 500 MB)
- /dev/sda2, Primary Main Windows Program Partition
- /dev/sda3, Primary EXT4 “/” openSUSE Partition Marked Active for booting (36-60 GB)
- /dev/sda4, Primary Extended Partition (Rest of Hard Disk in Size but at least 44 GB in size)
- /dev/sda5, Logical SWAP (4 GB)
- /dev/sda6, Logical EXT4 “/home” Your main home directory (Rest of the Logical disk, but at least 40 GB in size)
Also see: SDB:Basics of partitions, filesystems, mount points - openSUSE
MBR Disks Info: Master boot record - Wikipedia, the free encyclopedia
The MBR disk partitions in openSUSE could be named sda1, sda2, sdb1 or sdb2 where ‘a’ is the first hard drive and ‘b’ is the second hard drive and so forth. Partition numbers 1-4 are always Primary and any of them could be an Extended Partition but only one Extended Partition is allowed. Partition numbers 5 and higher point to Logical Partitions within the Extended Partition. Deleting Partitions can cause missing Partition numbers and any added Partitions after a delete may not physically be in numerical order
– Continued —