First time install CentOS 7 problem

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I'm using Windows 8.1 in my company, now for the need of work, I need to install CentOS 7 dual boot with my Windows.



But I have this problem when trying to install. Here is what I'm planning to do with the partition.




/boot - 500MB - Standard Partition

/swap - Half of my RAM size

/root - 20GB - Standard Partition

/home - Rest of my space - Standard Partition




The problem is: if I create /swap first, then I couldn't create Standard Partition anymore. Likewise if I create Standard first, I couldn't create /swap. The error message is: Unable to allocate requested partition scheme.



After research, I understand that my MBR disk can not have more than 4 primary partition. Here is the current status of my disk



My Partition



As my understand, Windows already took 3 primary partition




System (C)

System Reversed (E)

Extended Partition (container of Data and AOMEI Recovery Partition)




And CentOS require 2 more Primary Partition: one for /boot and one for the rest (correct me this part if I'm wrong)



Now I have no idea what I should do next to fix this problem. Should I change the setup of CentOS partition or do something to reduce the number of Primary Partitions on Windows and how to do this without losing data.



Anyone have the solution please guide me, thank you.



P/S: I may not answer your questions for the rest of the day so please pardon me.







share|improve this question




















  • centos does not require any primary partitions. linux has no difficulty booting from extended partitions.
    – cas
    Jan 5 at 6:32










  • if you want to avoid repartitioning that disk, your best bet is to just have a single partition with /, /boot, /home, and everything else on it (i.e. that 115GB unallocated partition), and use a swap file instead of a swap partition (or don't bother with swap at all). Alternatively, install Virtual Box and run Centos in a VM. Yet another alternative is to use LVM (centos installer should offer this automatically) and it will make LVM volumes as needed from that 115GB unallocated partition.
    – cas
    Jan 5 at 6:36











  • When I try to set LVM volumes for all my disk, the installer said that "/boot can not be LVM". I don't remember the full sentence exactly. Are there any problems if I remove swap partition? Every tutorial I read on the Internet told me that swap is neccessary :(
    – Huy
    Jan 5 at 8:24










  • does the centos installer give you the option of not having a /boot partition? e.g. "install on one big filesystem" or words to that effect? RE: swap - how much RAM do you have, and what do you expect to be using the system for? btw, you can always use a swapfile - they're a bit slower than using a swap partition, but it works.
    – cas
    Jan 5 at 9:24










  • swap is useful but not absolutely necessary. running out of RAM is no different to running out of RAM+SWAP, it just happens a little sooner.
    – cas
    Jan 5 at 9:25














up vote
0
down vote

favorite












I'm using Windows 8.1 in my company, now for the need of work, I need to install CentOS 7 dual boot with my Windows.



But I have this problem when trying to install. Here is what I'm planning to do with the partition.




/boot - 500MB - Standard Partition

/swap - Half of my RAM size

/root - 20GB - Standard Partition

/home - Rest of my space - Standard Partition




The problem is: if I create /swap first, then I couldn't create Standard Partition anymore. Likewise if I create Standard first, I couldn't create /swap. The error message is: Unable to allocate requested partition scheme.



After research, I understand that my MBR disk can not have more than 4 primary partition. Here is the current status of my disk



My Partition



As my understand, Windows already took 3 primary partition




System (C)

System Reversed (E)

Extended Partition (container of Data and AOMEI Recovery Partition)




And CentOS require 2 more Primary Partition: one for /boot and one for the rest (correct me this part if I'm wrong)



Now I have no idea what I should do next to fix this problem. Should I change the setup of CentOS partition or do something to reduce the number of Primary Partitions on Windows and how to do this without losing data.



Anyone have the solution please guide me, thank you.



P/S: I may not answer your questions for the rest of the day so please pardon me.







share|improve this question




















  • centos does not require any primary partitions. linux has no difficulty booting from extended partitions.
    – cas
    Jan 5 at 6:32










  • if you want to avoid repartitioning that disk, your best bet is to just have a single partition with /, /boot, /home, and everything else on it (i.e. that 115GB unallocated partition), and use a swap file instead of a swap partition (or don't bother with swap at all). Alternatively, install Virtual Box and run Centos in a VM. Yet another alternative is to use LVM (centos installer should offer this automatically) and it will make LVM volumes as needed from that 115GB unallocated partition.
    – cas
    Jan 5 at 6:36











  • When I try to set LVM volumes for all my disk, the installer said that "/boot can not be LVM". I don't remember the full sentence exactly. Are there any problems if I remove swap partition? Every tutorial I read on the Internet told me that swap is neccessary :(
    – Huy
    Jan 5 at 8:24










  • does the centos installer give you the option of not having a /boot partition? e.g. "install on one big filesystem" or words to that effect? RE: swap - how much RAM do you have, and what do you expect to be using the system for? btw, you can always use a swapfile - they're a bit slower than using a swap partition, but it works.
    – cas
    Jan 5 at 9:24










  • swap is useful but not absolutely necessary. running out of RAM is no different to running out of RAM+SWAP, it just happens a little sooner.
    – cas
    Jan 5 at 9:25












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I'm using Windows 8.1 in my company, now for the need of work, I need to install CentOS 7 dual boot with my Windows.



But I have this problem when trying to install. Here is what I'm planning to do with the partition.




/boot - 500MB - Standard Partition

/swap - Half of my RAM size

/root - 20GB - Standard Partition

/home - Rest of my space - Standard Partition




The problem is: if I create /swap first, then I couldn't create Standard Partition anymore. Likewise if I create Standard first, I couldn't create /swap. The error message is: Unable to allocate requested partition scheme.



After research, I understand that my MBR disk can not have more than 4 primary partition. Here is the current status of my disk



My Partition



As my understand, Windows already took 3 primary partition




System (C)

System Reversed (E)

Extended Partition (container of Data and AOMEI Recovery Partition)




And CentOS require 2 more Primary Partition: one for /boot and one for the rest (correct me this part if I'm wrong)



Now I have no idea what I should do next to fix this problem. Should I change the setup of CentOS partition or do something to reduce the number of Primary Partitions on Windows and how to do this without losing data.



Anyone have the solution please guide me, thank you.



P/S: I may not answer your questions for the rest of the day so please pardon me.







share|improve this question












I'm using Windows 8.1 in my company, now for the need of work, I need to install CentOS 7 dual boot with my Windows.



But I have this problem when trying to install. Here is what I'm planning to do with the partition.




/boot - 500MB - Standard Partition

/swap - Half of my RAM size

/root - 20GB - Standard Partition

/home - Rest of my space - Standard Partition




The problem is: if I create /swap first, then I couldn't create Standard Partition anymore. Likewise if I create Standard first, I couldn't create /swap. The error message is: Unable to allocate requested partition scheme.



After research, I understand that my MBR disk can not have more than 4 primary partition. Here is the current status of my disk



My Partition



As my understand, Windows already took 3 primary partition




System (C)

System Reversed (E)

Extended Partition (container of Data and AOMEI Recovery Partition)




And CentOS require 2 more Primary Partition: one for /boot and one for the rest (correct me this part if I'm wrong)



Now I have no idea what I should do next to fix this problem. Should I change the setup of CentOS partition or do something to reduce the number of Primary Partitions on Windows and how to do this without losing data.



Anyone have the solution please guide me, thank you.



P/S: I may not answer your questions for the rest of the day so please pardon me.









share|improve this question











share|improve this question




share|improve this question










asked Jan 5 at 5:35









Huy

112




112











  • centos does not require any primary partitions. linux has no difficulty booting from extended partitions.
    – cas
    Jan 5 at 6:32










  • if you want to avoid repartitioning that disk, your best bet is to just have a single partition with /, /boot, /home, and everything else on it (i.e. that 115GB unallocated partition), and use a swap file instead of a swap partition (or don't bother with swap at all). Alternatively, install Virtual Box and run Centos in a VM. Yet another alternative is to use LVM (centos installer should offer this automatically) and it will make LVM volumes as needed from that 115GB unallocated partition.
    – cas
    Jan 5 at 6:36











  • When I try to set LVM volumes for all my disk, the installer said that "/boot can not be LVM". I don't remember the full sentence exactly. Are there any problems if I remove swap partition? Every tutorial I read on the Internet told me that swap is neccessary :(
    – Huy
    Jan 5 at 8:24










  • does the centos installer give you the option of not having a /boot partition? e.g. "install on one big filesystem" or words to that effect? RE: swap - how much RAM do you have, and what do you expect to be using the system for? btw, you can always use a swapfile - they're a bit slower than using a swap partition, but it works.
    – cas
    Jan 5 at 9:24










  • swap is useful but not absolutely necessary. running out of RAM is no different to running out of RAM+SWAP, it just happens a little sooner.
    – cas
    Jan 5 at 9:25
















  • centos does not require any primary partitions. linux has no difficulty booting from extended partitions.
    – cas
    Jan 5 at 6:32










  • if you want to avoid repartitioning that disk, your best bet is to just have a single partition with /, /boot, /home, and everything else on it (i.e. that 115GB unallocated partition), and use a swap file instead of a swap partition (or don't bother with swap at all). Alternatively, install Virtual Box and run Centos in a VM. Yet another alternative is to use LVM (centos installer should offer this automatically) and it will make LVM volumes as needed from that 115GB unallocated partition.
    – cas
    Jan 5 at 6:36











  • When I try to set LVM volumes for all my disk, the installer said that "/boot can not be LVM". I don't remember the full sentence exactly. Are there any problems if I remove swap partition? Every tutorial I read on the Internet told me that swap is neccessary :(
    – Huy
    Jan 5 at 8:24










  • does the centos installer give you the option of not having a /boot partition? e.g. "install on one big filesystem" or words to that effect? RE: swap - how much RAM do you have, and what do you expect to be using the system for? btw, you can always use a swapfile - they're a bit slower than using a swap partition, but it works.
    – cas
    Jan 5 at 9:24










  • swap is useful but not absolutely necessary. running out of RAM is no different to running out of RAM+SWAP, it just happens a little sooner.
    – cas
    Jan 5 at 9:25















centos does not require any primary partitions. linux has no difficulty booting from extended partitions.
– cas
Jan 5 at 6:32




centos does not require any primary partitions. linux has no difficulty booting from extended partitions.
– cas
Jan 5 at 6:32












if you want to avoid repartitioning that disk, your best bet is to just have a single partition with /, /boot, /home, and everything else on it (i.e. that 115GB unallocated partition), and use a swap file instead of a swap partition (or don't bother with swap at all). Alternatively, install Virtual Box and run Centos in a VM. Yet another alternative is to use LVM (centos installer should offer this automatically) and it will make LVM volumes as needed from that 115GB unallocated partition.
– cas
Jan 5 at 6:36





if you want to avoid repartitioning that disk, your best bet is to just have a single partition with /, /boot, /home, and everything else on it (i.e. that 115GB unallocated partition), and use a swap file instead of a swap partition (or don't bother with swap at all). Alternatively, install Virtual Box and run Centos in a VM. Yet another alternative is to use LVM (centos installer should offer this automatically) and it will make LVM volumes as needed from that 115GB unallocated partition.
– cas
Jan 5 at 6:36













When I try to set LVM volumes for all my disk, the installer said that "/boot can not be LVM". I don't remember the full sentence exactly. Are there any problems if I remove swap partition? Every tutorial I read on the Internet told me that swap is neccessary :(
– Huy
Jan 5 at 8:24




When I try to set LVM volumes for all my disk, the installer said that "/boot can not be LVM". I don't remember the full sentence exactly. Are there any problems if I remove swap partition? Every tutorial I read on the Internet told me that swap is neccessary :(
– Huy
Jan 5 at 8:24












does the centos installer give you the option of not having a /boot partition? e.g. "install on one big filesystem" or words to that effect? RE: swap - how much RAM do you have, and what do you expect to be using the system for? btw, you can always use a swapfile - they're a bit slower than using a swap partition, but it works.
– cas
Jan 5 at 9:24




does the centos installer give you the option of not having a /boot partition? e.g. "install on one big filesystem" or words to that effect? RE: swap - how much RAM do you have, and what do you expect to be using the system for? btw, you can always use a swapfile - they're a bit slower than using a swap partition, but it works.
– cas
Jan 5 at 9:24












swap is useful but not absolutely necessary. running out of RAM is no different to running out of RAM+SWAP, it just happens a little sooner.
– cas
Jan 5 at 9:25




swap is useful but not absolutely necessary. running out of RAM is no different to running out of RAM+SWAP, it just happens a little sooner.
– cas
Jan 5 at 9:25










1 Answer
1






active

oldest

votes

















up vote
1
down vote



accepted










Here is the way I solved this problem:



Move 115 GB unallocated (the one with black bar) into the Extended Partition. Then it would become freespace (with green bar). Now you can install CentOS on this free partition. I used EaseUS to move the partition.



Before partition format (not working):




System Reversed (E)
Unallocated Space

System (C)

Extended Partition (container of Data, AOMEI Recovery Partition)




Working partition format:




System Reversed (E)

System (C)

Extended Partition (container of Data, AOMEI Recovery Partition, Free space)







share|improve this answer




















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: false,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );








     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f414918%2ffirst-time-install-centos-7-problem%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote



    accepted










    Here is the way I solved this problem:



    Move 115 GB unallocated (the one with black bar) into the Extended Partition. Then it would become freespace (with green bar). Now you can install CentOS on this free partition. I used EaseUS to move the partition.



    Before partition format (not working):




    System Reversed (E)
    Unallocated Space

    System (C)

    Extended Partition (container of Data, AOMEI Recovery Partition)




    Working partition format:




    System Reversed (E)

    System (C)

    Extended Partition (container of Data, AOMEI Recovery Partition, Free space)







    share|improve this answer
























      up vote
      1
      down vote



      accepted










      Here is the way I solved this problem:



      Move 115 GB unallocated (the one with black bar) into the Extended Partition. Then it would become freespace (with green bar). Now you can install CentOS on this free partition. I used EaseUS to move the partition.



      Before partition format (not working):




      System Reversed (E)
      Unallocated Space

      System (C)

      Extended Partition (container of Data, AOMEI Recovery Partition)




      Working partition format:




      System Reversed (E)

      System (C)

      Extended Partition (container of Data, AOMEI Recovery Partition, Free space)







      share|improve this answer






















        up vote
        1
        down vote



        accepted







        up vote
        1
        down vote



        accepted






        Here is the way I solved this problem:



        Move 115 GB unallocated (the one with black bar) into the Extended Partition. Then it would become freespace (with green bar). Now you can install CentOS on this free partition. I used EaseUS to move the partition.



        Before partition format (not working):




        System Reversed (E)
        Unallocated Space

        System (C)

        Extended Partition (container of Data, AOMEI Recovery Partition)




        Working partition format:




        System Reversed (E)

        System (C)

        Extended Partition (container of Data, AOMEI Recovery Partition, Free space)







        share|improve this answer












        Here is the way I solved this problem:



        Move 115 GB unallocated (the one with black bar) into the Extended Partition. Then it would become freespace (with green bar). Now you can install CentOS on this free partition. I used EaseUS to move the partition.



        Before partition format (not working):




        System Reversed (E)
        Unallocated Space

        System (C)

        Extended Partition (container of Data, AOMEI Recovery Partition)




        Working partition format:




        System Reversed (E)

        System (C)

        Extended Partition (container of Data, AOMEI Recovery Partition, Free space)








        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 9 at 3:23









        Huy

        112




        112






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f414918%2ffirst-time-install-centos-7-problem%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Bahrain

            Postfix configuration issue with fips on centos 7; mailgun relay