note: i do not want to install windows at all:

Make Room For Linux

have a new notebook: HP with 500 GB HDD

Notebook Hewlett Packard; HP 14-r103ng Notebook 14" [Intel Pentium N3540 QuadCore, 4GB, 500GB]

i want to create system partition to make room for Linux. All is new - and nothing is on the hard drive.

note: i do not want to install windows at all: i want to install opensuse 13.2 as a first system.

And besides this i want to play with other linux-distributions - as a second system.

How to do this - how to prepare the notebook?

what do i need to do else?do i have to take care of Grub2? and furthermore: do i have to edit or configure the bootloader!?

i heard about this procedures:
ce you’ve installed Linux, it will install the Grub2 boot loader to the system. Whenever we boot our computer, Grub2 will load first, allowing us to choose which operating system we want to boot —

Question: do we need to customize Grub’s options, including which operating system is the default and how long Grub2 waits
until it automatically boots that default operating system. Most Linux distributions don’t offer easy Grub2
configuration applications, so one may need to configure the Grub2 boot loader by editing its configuration files.

But first of all - how to prepare the hdd of the notebook?!
Should i do this with Gparted!?

    hello dealecosp,

    many many thanks - for a quick note.

    here some raw and quick measurements of the notebook - a HP Notebook hp 14 r 103ng - Prozessor N 3450, RAM 4 GB -

    
    martin@linux-vkhz:~> sudo dmidecode -t0
    root's password:
    # dmidecode 2.12
    # SMBIOS entry point at 0x79025000
    SMBIOS 2.7 present.
    
    Handle 0x0000, DMI type 0, 24 bytes
    BIOS Information
            Vendor: Insyde
            Version: F.39
            Release Date: 05/26/2015
            Address: 0xF0000
            Runtime Size: 64 kB
            ROM Size: 4608 kB
            Characteristics:
                    PCI is supported
                    BIOS is upgradeable
                    BIOS shadowing is allowed
                    Boot from CD is supported
                    Selectable boot is supported
                    EDD is supported
                    8042 keyboard services are supported (int 9h)
                    Serial services are supported (int 14h)
                    Printer services are supported (int 17h)
                    CGA/mono video services are supported (int 10h)
                    ACPI is supported
                    USB legacy is supported
                    ATAPI Zip drive boot is supported
                    BIOS boot specification is supported
                    Function key-initiated network boot is supported
                    Targeted content distribution is supported
            BIOS Revision: 15.57
            Firmware Revision: 57.54
    
    martin@linux-vkhz:~> uname -a
    Linux linux-vkhz 4.1.12-1-default #1 SMP PREEMPT Thu Oct 29 06:43:42 UTC 2015 (e24bad1) x86_64 x86_64 x86_64 GNU/Linux                                                                          
    martin@linux-vkhz:~> sudo parted -l
    Model: ATA TOSHIBA MQ01ABF0 (scsi)
    Disk /dev/sda: 500GB
    Sector size (logical/physical): 512B/4096B
    Partition Table: gpt
    Disk Flags: Number Start End Size File system Name Flags
    1 1049kB 538MB 537MB fat32 boot
    2 538MB 43,5GB 43,0GB btrfs primary
    4 43,5GB 496GB 452GB xfs primary
    3 496GB 500GB 4174MB linux-swap(v1)

    und weiter unten noch Abfragen - etwa diese hier:

    
    [code]sudo fdisk -l
    
    
    sudo sfdisk -l -uM
    
    
    sudo parted -l

    also hier die Ergebnisse:

    Festplatte /dev/sda: 465,8 GiB, 500107862016 Bytes, 976773168 Sektoren
    Einheiten: Sektoren von 1 * 512 = 512 Bytes
    Sektorgröße (logisch/physikalisch): 512 Bytes / 4096 Bytes
    E/A-Größe (minimal/optimal): 4096 Bytes / 4096 Bytes
    Festplattenbezeichnungstyp: gpt
    Festplattenbezeichner: 6229C7C4-758C-450E-9D59-F59E2AE3CB11
    
    Device         Start       End   Sectors   Size Type
    /dev/sda1       2048   1050623   1048576   512M EFI System
    /dev/sda2    1050624  84951039  83900416    40G Microsoft basic data
    /dev/sda3  968617984 976771071   8153088   3,9G Linux swap
    /dev/sda4   84951040 968617983 883666944 421,4G Microsoft basic data
    
    Partitionstabelleneinträge sind nicht in Festplatten-Reihenfolge.
    
    martin@linux-vkhz:~> sfdisk -l -uM
    Absolute path to 'sfdisk' is '/usr/sbin/sfdisk', so running it may require superuser privileges (eg. root).
    martin@linux-vkhz:~> su
    Passwort: 
    linux-vkhz:/home/martin # sfdisk -l -uM
    
    Festplatte /dev/sda: 60801 Zylinder, 255 Köpfe, 63 Sektoren/Spur
    Einheiten: 1MiB = 1024*1024 Bytes, Blöcke von 1024 Bytes, Zählung
    beginnt bei 0
    
       Gerät  boot. Anfang Ende   MiB    #Blöcke   Id  System
    /dev/sda1         0+ 476940- 476941- 488386583+  ee  GPT
                    Anfang: (c,h,s) erwartet (0,0,2) gefunden (0,0,1)
    /dev/sda2         0      -      0          0    0  Leer
    /dev/sda3         0      -      0          0    0  Leer
    /dev/sda4         0      -      0          0    0  Leer
    linux-vkhz:/home/martin # parted -l                                                                                                                                                             
    Model: ATA TOSHIBA MQ01ABF0 (scsi)
    Disk /dev/sda: 500GB
    Sector size (logical/physical): 512B/4096B
    Partition Table: gpt
    Disk Flags: Number Start End Size File system Name Flags
    1 1049kB 538MB 537MB fat32 boot
    2 538MB 43,5GB 43,0GB btrfs primary
    4 43,5GB 496GB 452GB xfs primary
    3 496GB 500GB 4174MB linux-swap(v1) linux-vkhz:/home/martin #

    now i try to find out how to do the first steps with GParted - what do you suggest

    i come back later the weekend

      i'm installing OpenSuse 13.2 on a 50 GB partition of a Notebook with 500 GB hard disk with 4 GB RAM.

      I want to use following partition scheme: is this okay.

      How much (in percent) of disk space should be given to following partitions?
      The order in which partitions should be created?

      So that system runs very fast and smooth.

      /
      /boot
      /home
      /tmp
      /usr
      /var
      /srv
      /opt
      /var/www
      /usr/local
      SWAP

      MACHINE INFORMATION
      Notebook Hewlett Packard; HP 14-r103ng Notebook 14" [Intel Pentium N3540 QuadCore, 4GB, 500GB]

      BTW; i want to create system partition to make room for Linux. All is new - and nothing is on the hard drive.
      note: i do not want to install windows at all: i want to install opensuse 13.2 as a first system.
      And besides this i want to play with other linux-distributions - as a second system.

      Role of Machine Server:
      Main Software
      Bind9, Apache2, Mysql-Server, PHP5
      500 GB Hard Disk

      idea: 2 Partitions 50 GB & 450 GB I do not want touch 450 GB Partition (sda2) however I can take 50 GB more from sda2 if required

      should i make use LVM for partitioning. Well It's a bit more complex, but I think that its versatility makes it worth it.
      So I'd partition like this:

      sda1: /boot (256M)
      sda2: LVM physical volume (everything else)

      one could use LVM also for boot, but it's more complex.

      Should I'd create a volume group using sda2 and define these logical volumes:

      root (mounted on /): 2G
      usr (/usr): 10G
      var (/var): 3G
      home (/home): 10G
      swap (for swap): 2G (depending on your memory; I'd use 4GB tops)

      I like to use names for LVs that tell me what is in them. Plus, it makes it easier to tab-complete :-)
      This layout would leave about 23GB (50 - (2+10+3+10+2)) free to assign to whatever we want.
      With LVM you can create volumes for temporary things and then delete them,
      or resize current volumes if we find we need more space.

      the partition layout has zero influence on the speed of the system
      (unless we have partitions across multiple drives). So we can choose what makes maintenance easier
      (which is part of running smooth). Unless we have special needs, we can create the following filesystems (in addition to swap):

      / for the operating system
      /home for user data, unless it's a server that only has a few dot files in /home`
      Possibly a separate for data that doesn't belong to a human user, usually mounted on /srv.

      In our case, a separate /home is probably not warranted, but we might want a separate /srv.
      If we do separate /srv then /var/www and /var/mysql should be symbolic links to directories under /srv.
      The partition sizes depend on how much data we have and how many programs we want to install beyond
      the basic LAMP installation. 10GB for the OS is plenty.

      So what do you say - how to prepare with GPARTED

        9 days later

        hello again

        How to Choose a Partition Scheme

        i want to create a Partitionsheme :: the Notebook Hewlett Packard; a HP 14-r103ng Notebook 14" [Intel Pentium N3540 QuadCore, 4GB, 500GB]

        i want to create a Partitionsscheme only for Linux.

        i do not want to install windows any more - i want to install opensuse 13.2 (others do not run propperly on the machine)

        which partition sheme would you create:

         /dev/sda, Load MBR with Grub
        1. /dev/sda1, Primary SWAP (4 GB)
        2. /dev/sda2, Primary EXT4 "/" openSUSE Partition zum booten (36-60 GB)
        3. /dev/sda3, Primary EXT4 "/home" das home directory (Rest of the hard disk)
        

        ...what is on the notebook at the monent is the following

        
        Festplatte /dev/sda: 465,8 GiB, 500107862016 Bytes, 976773168 Sektoren
        Einheiten: Sektoren von 1 * 512 = 512 Bytes
        Sektorgröße (logisch/physikalisch): 512 Bytes / 4096 Bytes
        E/A-Größe (minimal/optimal): 4096 Bytes / 4096 Bytes
        Festplattenbezeichnungstyp: gpt
        Festplattenbezeichner: 6229C7C4-758C-450E-9D59-F59E2AE3CB11
        
        Device     	Start   	End   Sectors   Size Type
        /dev/sda1   	2048   1050623   1048576   512M EFI System
        /dev/sda2	1050624  84951039  83900416	40G Microsoft basic data
        /dev/sda3  968617984 976771071   8153088   3,9G Linux swap
        /dev/sda4   84951040 968617983 883666944 421,4G Microsoft basic data
        
        Partitionstabelleneinträge sind nicht in Festplatten-Reihenfolge.
        
        martin@linux-vkhz:~> sfdisk -l -uM
        Absolute path to 'sfdisk' is '/usr/sbin/sfdisk', so running it may require superuser privileges (eg. root).
        martin@linux-vkhz:~> su
        Passwort:
        linux-vkhz:/home/martin # sfdisk -l -uM
        
        Festplatte /dev/sda: 60801 Zylinder, 255 Köpfe, 63 Sektoren/Spur
        Einheiten: 1MiB = 1024*1024 Bytes, Blöcke von 1024 Bytes, Zählung
        beginnt bei 0
        
           Gerät  boot. Anfang Ende   MiB	#Blöcke   Id  System
        /dev/sda1     	0+ 476940- 476941- 488386583+  ee  GPT
                    	Anfang: (c,h,s) erwartet (0,0,2) gefunden (0,0,1)
        /dev/sda2     	0  	-  	0      	0	0  Leer
        /dev/sda3     	0  	-  	0      	0	0  Leer
        /dev/sda4     	0  	-  	0      	0	0  Leer
        linux-vkhz:/home/martin # parted -l                                                                                                                                                        	 
        Model: ATA TOSHIBA MQ01ABF0 (scsi)                                                                                                                                                        	 
        Disk /dev/sda: 500GB                                                                                                                                                                      	 
        Sector size (logical/physical): 512B/4096B                                                                                                                                                	 
        Partition Table: gpt                                                                                                                                                                      	 
        Disk Flags:                                                                                                                                                                                	 
        
        Number  Start   End 	Size	File system 	Name 	Flags                                                                                                                            	 
         1  	1049kB  538MB   537MB   fat32                	boot                                                                                                                              	 
         2  	538MB   43,5GB  43,0GB  btrfs       	primary                                                                                                                                    	 
         4  	43,5GB  496GB   452GB   xfs         	primary                                                                                                                                    	 
         3  	496GB   500GB   4174MB  linux-swap(v1)                                                                                                                                            	 
        
        
        linux-vkhz:/home/martin # 	
        
        

        note: i want to wipe all windows things -

        would love to hear from you

          found something very helpful on the question

          Can I erase all partitions including EFI and install only Ubuntu?

          see here http://askubuntu.com/questions/682147/can-i-erase-all-partitions-including-efi-and-install-only-ubuntu

          Yes, when you completely erase the disk, you can install ubuntu as the single operating system.
          When you can disable UEFI in BIOS (mostly you can) you even can install ubuntu in mbr mode.
          Boot from ubuntu install media, open GParted and create a new partition table - choose mbr.
          In case you can not disable UEFI and/or secure boot you as well can install ubuntu in EFI mode.
          Then the installer will create a new EFI partition where the GRUB boot loader will be installed.

          You question is not completely clear to me.
          If you want to install Ubuntu in UEFI mode here is what you need to do :
          You will need to set your BIOS in UEFI mode and to create an UEFI bootable Ubuntu USB key.
          Follow this guide to create a UEFI bootable USB. Then simply run the Ubuntu installer;
          at step Installation Type, select Something Else and partition your disk as explained in this answer.
          If boot mode (UEFI or Legacy) does not matter for you simply install Ubuntu as usual. (Refer to this guide if needed)

          You need to keep UEFI mode only if you want to install Ubuntu in UEFI mode. –

          answer 4
          The question uses some terminology incorrectly, which can lead to confusion and problems down the road, so I want to address these issues first.
          The Extensible Firmware Interface (EFI), or its 2.x version, the Unified EFI (UEFI), is a type of firmware. The EFI is not a partition. That said, there is a partition called the EFI System Partition (ESP), which holds boot loaders. Chances are that lapisdecor meant "ESP" rather than "EFI" in the original question.
          Also, the EFI is a type of firmware that replaces the older Basic Input/Output System (BIOS). As such, if your computer uses an EFI, it does not have a BIOS. There are, however, some caveats and exceptions. Most commonly, EFIs provide a feature called the Compatibility Support Module (CSM), which is a sort of BIOS emulator; the CSM is to EFI like what dosemu is to Linux, in that it enables a newer and more sophisticated environment (EFI or Linux) to run programs designed for an older and simpler system (BIOS or DOS). In other words, "BIOS" in the original question should be "EFI." That said, using "BIOS" in place of "EFI" is a common practice. It's a bad one, but it's common, both among users and among manufacturers. I suspect it's done because people know (more or less) what a BIOS is, whereas "EFI" is an unfamiliar acronym; and since EFI replaces BIOS, using "BIOS" makes the job easier for copywriters. The trouble is that people then drag all their BIOS knowledge up when they read "BIOS," but much of it is inapplicable. EFI boots in a very different way from BIOS, so if you think of EFI as being an enhanced BIOS, you'll have a mental model that's very wrong and you'll make mistakes. Then people like me end up spending a lot of time explaining how it all actually works -- but I digress....
          Moving on to real issues: If you're "in legacy mode," that just means that your CSM is active. This does not guarantee a boot in BIOS/CSM/legacy mode, though. On most EFI-based computers, when the CSM is disabled, the boot path is relatively simple; you can boot only EFI-mode boot loaders. Note that you can't "disable the EFI"; the EFI is the firmware, and it's in charge of the computer. Some computers do enable you to disable the ability to boot in EFI mode, but such options are rare -- and some computers provide interfaces that make it sound as if you're disabling EFI-mode booting, but you really aren't. When you activate the CSM, most computers enable either type of boot loader to run, which makes it impossible to predict what will happen when you feed the computer a disk that provides both types of boot loader. This isn't normally a big deal for a single-boot computer; when you install the OS, the installer will detect its boot mode and install the boot loader only for the installer's boot mode, so the computer can boot from the hard disk only in that same mode. If you multi-boot, though, you can easily install one OS in one boot mode and the other OS in the other boot mode. The hair-pulling begins at this point.
          In the not-too-distant past, EFI-mode booting was an exercise in frustration because of bugs in EFIs, bugs in boot loaders, and misinformation, which often made enabling the CSM appealing. Today, though, EFI-mode booting poses fewer problems, and my estimate from questions posted here and elsewhere is that the biggest single problem area today is from activated CSMs. Thus, I recommend that the CSM (aka "legacy boot") be disabled on EFI-based computers unless you have a good reason to enable it. To be sure, EFI-mode booting today poses more challenges than BIOS-mode booting did five years ago; but on an EFI-based computer, BIOS-mode booting creates pitfalls that didn't exist five years ago.
          So, that long-winded stuff out of the way, let's get back to your original question, re-phrased slightly:
          Can I erase all partitions on my computer, including ESP, and install only Ubuntu? Will the EFI work in this case?

          Yes and yes.

          After you erase your partitions, the Ubuntu installer will create new ones if you select an automatic partitioning option. If you partition manually, you'll need to create appropriate partitions. These may include an ESP if you install in EFI mode or a BIOS Boot Partition if you install to a GPT disk in BIOS mode.

            Write a Reply...