openSUSE 11.3 installation (dual boot with windows 7)


Update (21-12-2011): You can also install openSUSE 12.1 with windows 7, read this new article here.

openSUSE 11.3 is released and many new users will be looking for some simple guide to have a dual boot. I am going to guide you in this article step by step with images showing the executed step that how to install openSUSE with windows 7. Installation medium used will be openSUSE 11.3 64bit KDE live CD. System configuration is:

  • Intel Centrino Dual core 2 Processor
  • 4GB RAM
  • Intel GM45 graphic Card
  • DVD Drive for CD to boot

I assume that you have already windows 7 installed on your system. Now the 1st thing you need to do is have some spare disk space to install Linux on it. If don’t have yet, use Gparted(live cd) or partition manager(windows software) to spare some space for new installation. Read the documentation of the mentioned software for how to have shrink or spare disk space from any drive. Now lets jump to the installation of openSUSE. Before doing all this, make sure you BACKUP your data.

1- If you don’t have it yet, download the iso from openSUSE download site and write it to CD, before writing always check the md5sum to check for the corrupt file. After burning, boot from the CD you just burned., and go to LIVE desktop. You will see the desktop showed in figure below.

Main Desktop

2- Now is the time to start installation. Click on the install icon on the desktop.

3- Select your language and keyboard setup.

Welcome Screen

4- Select your location and set the date & time.

Set your time

5- Now is the time to setup the partitions on the disk. By default setup will create its own partition table for you as shown in the below image. But it may not be the setup of the disk we want, so to create our own partitions click on the button ‘create partition setup‘.

Partition setup default

5a- Choose ‘Custom partitioning‘ from the three choices given as shown in the image.

Partition setup

5b- By completing step 5a, you will see the screen below. Now choose the drive you want to setup, if you have one drive, it will be sda, the 2nd will be showed as sdb. In this case, we will choose sda.

Disk partition

5c- By choosing sda you will see your disk partitions including windows NTFS one. You will also see the blank space which you created by using Gparted or other software. sda1,sda2,sda3 are windows partitions which i don’t want to touch except mounting them. In the image below you will see sda4 as Extended Partition, where it have logical partitions as sda5,sda6,sda7 will be used as root file system, swap and a backup partition(in my case for data to save). Here all these partitions are created before, but when you reach this setup, you can setup your disk partitions by using the spare drive you created. Make that whole spare drive as Extended and then make logical drives in it depending on your needs. You can create many as you want. I make three, one for root, one for swap and one for my documents. To mount it, choose the partition and click on Edit button below.

5d- If you are done successfully with above steps, now lets mount all partitions.

5d1- In this image you can see that i mounted the windows C partition where windows is installed. It is sda2, sda1 always is reserved partition in windows 7. You can mount all other drives like D, E if you have the same way like sda2.

Mounting partition

5d2- Now lets mount the root file system. You can choose any format option from the drop down, i choose ext4 and input / in mount partition (mount point) option below. It will mount sda5 as root to install your new Linux OS.

Mounting partition

5d3- Do the same with the swap partition. Just choose swap from the format option and click ok. If you have other partitions, like sda7, sda8 you can mount it to any name you want in mount point area.

5e- This image shows the changes i done to the partitions. Be careful about formatting partitions. You can see F, that mean this partition will be formatted. Don’t format partition which have your documents. Formatting option is discussed in step 5d2 and 5d3.

Setup after creating and mounting

6- This image shows the final changes we have done to the disk. Check it again and again and make sure is correct, if not you can edit it again. When you are sure click the next button to proceed.

Final partition setup

7- Next is to create user, enter the desired details and make sure that all the check boxes are unchecked for security reasons. Click next.

User details

8- Enter your root password here. Different from the normal user above.

Root password screen

9- After step 8, its time to check your setup for installation. Check the setup which is going to take place, if you are satisfy with it, click Install. It will ask to confirm the installation.

Final check

Confirm installation

Installation finished partially

10- Installation is finished partially. Choose to reboot to finish the installation. After 1st reboot, installation will setup the configuration for the hardware and system, this time it will not show any GRUB MENU for multiple boot. But the next time you reboot, it will show you the nice graphical screen with multiple boot options for Linux and windows.

Note: If something went wrong at the grub menu for multiple OS, so follow this tutorial to repair/install the grub again.

Update: If you are on 11.2 and want to upgrade to 11.3 through zypper and don’t want to install from scratch. This post will help you.

Good luck, enjoy openSUSE/Linux and have a lot of fun!

  • Phil Morris

    Thank you very much – sorted out our dual boot demo PC perfectly.

  • http://anl4u.com/blog Admin

    You are most welcome Phil, glad to hear this article helped you.

  • Steve

    I am confused about where GRUB is located. In the screenshot of step 9, neither Boot from MBR nor Boot from “/” is enabled. So where is SUSE going to put the boot information, kernel image etc? Shouldn’t you choose either one? Why didn’t SUSE complain that you have not chosen a boot location?

  • http://anl4u.com/blog Admin

    Hi Steve,
    As you can see, i am booting from Extended drive. Step 5c explain that. I did not enable MBR or ‘/’ purposely because i use extended partition to boot from, and it worked all the time for me.
    Actually there are partitions for windows 7 like C, D etc. So i went for extended partition(logical) to install Linux on it. That can be your choice, you can enable it to save entries to MBR or ‘/’. And if you wana do it like my way, i mean extended one then the steps i explained above will work flawlessly.

    Good luck!

  • Steve

    It is still not clear to me because the extended partition /dev/sda4 is just a container for the rest /dev/sda5, /dev/sda6, /dev/sda7. So where is the boot information, kernel image are located once I boot into this linux?

    I know if you had chosen “/”, then those would end up in /boot and the grub configurations would be in /boot/grub.

    In your case, where do you find /boot and grub?

  • http://anl4u.com/blog Admin

    By default it will of course goes to /, because it should have to be stored some where. In my case or / case you will find everything related to grub,boot in /boot and /boot/grub.
    One thing i am not sure about openSUSE this entry, why they give this option if every thing goes to / in case you select it or not.
    Now if you select / or none at the installation process, you will find all those in /boot and /boot/grub.
    Hope, this answer your question.

    Regards.

  • powerw00t

    hmm during the installation I am accidentally put the grub installed into mbr instead of / in root partition. What is the best way to shift the grub from mbr back into root partition?

  • Lalit

    this was easy…. thanks a lot !!!! but still when i use windows it only shows c:/ and the other logical partion assigned to it… can i not access the linux . home partition in windows ???

  • http://anl4u.com/blog Admin

    Hi Lalit,

    By default windows do not show Linux partitions as of M$ policy(maybe).
    But there is an application around.
    That will also depend on your drive partition format, i am not too sure it will support ext4 if you formatted you drive in ext4 and installed openSUSE on it. It shows ext1, ext2, ext3 partitions on windows.
    ext2fsd , read its feature page. I guess it support until ext3.

  • hoang

    Hello, thanks for your guide!
    So it needs 3 logical partitions for suse right? and in Suse, can I use data in other partitions such as “windows/D”?
    Thanks a lot! :D

    • http://anl4u.com/blog Admin

      Hi,
      Don’t understand by 3 logical partitions?, what for?, one partition with swap is enough for installation.
      Yes, you can use windows partitions in openSUSE.

      • hoang

        wow thanks for your fast reply, I can count on you :)
        I meant it needs 1 partition for swap and 1 for root, am I right? sorry for confusing you, I am new to “linux partitioning” :”>

      • hoang

        I have tried to install openSUSE with 2 partitions, 1 for root and 1 for swap. In windows, I have 1 partition called “swap” (11GB), I plan to split it into 2, root and swap (2GB). However, it says “resize not possible” when I try to resize the 11GB swap partition. I tried some ways around but they did not work. Here is image of my disk management.
        http://i200.photobucket.com/albums/aa308/pokemon17007/diskmanagement.png
        Please give me some advices.
        Thanks!

        • http://anl4u.com/blog Admin

          Hi hoang,
          1st i would recommend to thoroughly read this article, which is about openSUSE 12.1[latest stable release]. 11.3 is not supported any more. As i mentioned there, you will need Gparted for partitioning. Please follow the article and make the partitions. Please note, that NTFS are windows based partitions. You will need EXT4 or any other of your choice. Download Gparted and burn it as an image. Boot your pc from it and follow the instructions. This documentation will help you through.
          Keep in mind, that you will need at least 10GB[min] space for root, this is if later you wana install apps or playing around with other desktop environments.
          After partitioning, follow the guide steps and you will be fine.

          Feel free to ask in the openSUSE 12.1 article comment section[link above], if have more queries.

  • soby

    In my case I’ve installed successfully but even with live cd it doesn’t execute open suse 11.3 for first run. following link :http://anl4u-pl.blogspot.com/2009/08/solution-grub-issues-in-opensuse-with.html

    is helpful only if open suse 11.3 works at least once after installation

Search

Articles

What's Hot

Recent Comments