Boot Indicator?

Solved
duddy67 -  
mamiemando Posted messages 33228 Registration date   Status Moderator Last intervention   -
Hello,

I have 2 hard drives, the 1st (primary IDE) contains Windows XP and
I want to install Ubuntu on the 2nd (secondary IDE).

I would like the partitioning as follows:
root / /home and swap
but for the root partition / I'm not sure
if I should set the bootable flag as present or absent.

Could someone help me?

Thank you

Configuration: Linux / Firefox 3.0.19

5 answers

  1. mamiemando Posted messages 33228 Registration date   Status Moderator Last intervention   7 940
     
    It doesn't matter / serve any purpose. Anyway, Ubuntu allows you to partition and will take care of everything for you during the installation. As far as I know, the only thing under Windows is to make sure it only covers part of the disk and leaves at least 10GiB for Ubuntu to install (space unallocated at this stage).

    Then you restart from an Ubuntu installation CD and follow the guided instructions. You just need to be careful during partitioning not to delete your Windows and make sure to tell Ubuntu to create its partitions in the vacant space. Ideally, do a manual partitioning.

    Classic partitioning:
    - 1GiB for swap (as swap)
    - 9GiB for / (as ext4)
    - the rest for /home (as ext4) (size according to your needs, this is equivalent to "My Documents").

    If you end up with more than 4 partitions with Windows, you will need to create your Ubuntu partitions in an extended partition. An extended partition is simply a partition that can be sliced into sub-partitions (logical or secondary partitions).

    Good luck!
    0
  2. duddy67
     
    Thank you for your response; I had a doubt about the boot indicator. ;-)

    For partitioning, since I have a 40GB disk, I was planning to do:
    - 1Gi for swap (as swap)
    - 20Gi for / (as ext4)
    - the rest for /home (as ext4)

    Is this okay, or is 20Gi too much for the root?

    My Windows hard drive is partitioned into 3 (C:, D:, E:).
    Do I need to create an extended partition for Ubuntu, knowing that it is on another hard drive?
    0
  3. mamiemando Posted messages 33228 Registration date   Status Moderator Last intervention   7 940
     
    Is it okay, or is 20GB too much for the root?

    Well, 10GB or 20GB... it doesn't really make much difference these days. A pure text-mode Linux should require around 3GB, a fairly complete graphical mode about 5GB, a complete PC around 10GB. With 20GB, you're giving yourself a bit of extra reserve.

    In any case, whether it's 10GB or 20GB, nowadays disks are large so you can indulge yourself. Plus, a partition can be resized if needed (cf e2resize). When the machine doesn't have Windows, we can use LVM instead of MBR, which makes things easier. If you're curious:
    http://doc.ubuntu-fr.org/lvm

    Do I need to create an extended partition for Ubuntu knowing that it is on another hard drive?

    No no, the limit of 4 primary partitions only applies per disk and is due to the MBR model. A primary partition can be

    - a physical partition (typically, Windows must be installed on a physical partition)
    - an extended partition (which we will split into logical partitions or secondary partitions).

    I encourage you to read this:
    http://doc.ubuntu-fr.org/partitions

    Since Linux is a real operating system, you can install it without issues on multiple logical partitions of an extended partition. Given your current partitioning, you don't have a choice. Under Windows, you need to make sure that your three partitions C:, D:, E: do not cover the entire disk.

    Under Windows Vista and Windows 7, you can easily resize a partition via the disk management tool (right-click on My Computer, manage, disk management). It’s in this space that you will create your extended partition when installing Ubuntu. This extended partition will be divided into three logical partitions (swap, /, /home).

    In practice, nothing prevents you from separating / and /home, just as we could imagine a Linux without swap (as long as we have enough RAM, it works). This would allow you to fall to 4 partitions and therefore not have an extended partition. But that remains risky, and not partitioning this way has drawbacks (long fsck time, what to do when you run out of RAM, etc.). So, I encourage you to install your Linux on an extended partition.

    Good luck!
    0
  4. duddy67
     
    I will study the links you gave me a bit.
    Thank you very much for all this information and details. ;-)
    0
  5. mamiemando Posted messages 33228 Registration date   Status Moderator Last intervention   7 940
     
    You're welcome and have a great continuation :-)
    0
    1. Green-Anon-Hat1990
       
      --It doesn’t matter / serve any purpose. Anyway, Ubuntu allows you to partition and will take care of everything for you during installation...... Will take care of everything for you????!!!!!--......

      .. 0o''''... I’m sorry I have absolutely 0 relation to the subject I was browsing and I came across this famous phrase that I NEVER thought I would hear spoken with a mention tied to Linux in the same sentence.. I don’t think the question was whether the system would do everything for me like my dear ''chummy'' Ti-Billy-Boy does so well with Windows... The question is interesting and if I operate EXCLUSIVELY under Linux now it is precisely to have control over my computer without it doing ''everything for me''... I would be very interested to learn more about boot indicators as well and although I consider myself quite capable in general, I am very interested in developing more in depth regarding hard drive partitioning. P.S: I may be off-topic, I apologize, I am usually more of a ''silent reader'' and it is very very rare that I speak out on forums but when I see Linux users saying phrases like:

      Well no!!!! don’t worry, your computer will take care of everything for you, my friend ;) in the style of (Ti-Billy Gates aka Microsoft) it really makes me react a lot.. ''ok I can’t really assert myself on the Ubuntu issue since I don’t use this distro at all but well''...
      0
    2. mamiemando Posted messages 33228 Registration date   Status Moderator Last intervention   7 940
       
      But no, not at all :-)

      Linux allows you to configure everything to your liking if you wish. However, many users don't necessarily need to delve into the details, which is why Ubuntu offers options that allow you to set up your Linux "reasonably."

      Additionally, a major difference compared to Windows is that the software used is free, and you can, if you wish, reconfigure your Linux to your liking afterwards.

      Now I would like to return to the sentence that caught your attention regarding the boot flag: well, I maintain that if you have a bootloader (like Grub), this flag is of no utility. You can enable it or not, it makes no difference. It only serves if you do not install a bootloader (which would be the case for Windows), but if you install on Linux, you will have a bootloader (at least, I've never seen an installation without one). So the question does not arise.
      1