Results 1 to 4 of 4

Thread: Dual boot partition size

  1. #1
    Join Date
    Feb 2010
    Beans
    2

    Dual boot partition size

    First of all, excuse me for my bad english, but it is not my native language.

    I must say that until now I have worked with Win2000/Xp. Long time ago I worked with Xenix and in the last 2 month sometimes with Ubuntu.

    Now I have brought a new PC with 320Gb HD and 4 Gb RAM, and I wish to built a dual boot system, with Win7 and Ubuntu.

    After doing some search on google and see some partitions scheme, I have thought the following schema:


    ================================================== =================================================
    Primary part. 1:
    Linux /boot, size 500 Mb, type ext3
    Primary part. 2 :
    Win7 disk C:\, size 80 Gb, type NTFS; for OS and Win programs

    Primary part. 3 :
    Reserved 500 Mb ext3; reserved for future /boot of another distro.

    Extended partition:
    Logical part. 1:
    Win7 disk E:\, size 60 Gb , type NTFS; Only data ( D:\ is CD )
    Logical part. 2:
    Space reserved 63 Gb Reserved for E:\ or \home increment or another distro.

    Logical part. 3:
    Linux /home , size 60 Gb, type ext3 ; Only data ( and /usr/locale )

    Logical part. 4:
    LVM volume, size 60 Gb so initially subdivided: / 30 Gb, /tmp 15 Gb, /var 15 Gb
    Logical part. 5:
    /swap, size 6 Gb , type: swap


    Note:
    1) /boot is the first, so if I need to increment C:\, I have to move only E:\ and partition 3
    2) Partition 3 may be user for another linux distro
    3) About swap: I have followed the Red Hat rule ( if ram >= 4Gb then swap = 2 + RAM;
    4) About /home: I want a partition that I can backup with an utility like Norton Ghost for example.
    5) About /, /tmp, /var: I want separate the temporary files from real OS files. LVM should give me the
    possibility of change the partitions size when I will have more experience.


    Can it work ?

    What do you think about ?

    Any suggestion will be highly appreciated.


    Best regards,
    Simone
    Last edited by 9x21; February 19th, 2010 at 12:18 AM. Reason: Text formatting

  2. #2
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Dual boot partition size

    Today desktops do not need nor normally require separate partitions for system folders. Servers with defined application use may need separte partitions. Only older computers with BIOS limits need the /boot at the beginning of the drive.
    .
    If you are thinking of multibooting separate /boot and separate /home can create problems. Then you may want separate /grub and /data. From a grub partition you can boot anything. /data can be mounted into any system to share data, but /home is unique to each install.

    Share Windows partition:
    http://lifehacker.com/348858/use-a-s...n-dual-booting
    Share data partition
    http://blog.linuxtoday.com/blog/2009...ess-linux.html

    http://members.iinet.net/~herman546/...GRUB_Partition

    Grub2 with chainboot examples
    http://kubuntuforums.net/forums/inde...opic=3106368.0

    Custom menu:
    http://sourceforge.net/apps/mediawik...ms:Custom_Menu
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  3. #3
    Join Date
    Jul 2005
    Location
    Hughenden, Australia
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Dual boot partition size

    I agree with oldfred.

    For a personal laptop or desktop computer, in my opinion it's much better to install in one large partition for everything. Some people like a separate /home.
    Be aware that you will still need to keep a separate backup of your files even if you do have a separate /home partition. I prefer not to have any separate partitions at all, not even for swap, I use dynamic swap space manager instead, (just install it from the Ubuntu Software Center).
    Advantages of installing in one big partition with directories for /bin / boot /dev /etc /home /lib /lost+found /media / mnt /opt /proc /root /sbin /selinux /srv /sys /tmp /usr and /var,

    • each directory is always as large as it needs to be - no need to resize with a partition editor if one directory grows too big
    • no need for careful planning of partition sizes in advance before installing, everything will be okay
    • no partition editing required each time a directory grows or shrinks, it takes care of itself automatically
    • only one file system to take care of, you only need to run e2fsck once a month or so
    • less complicated, less to go wrong, easier to fix if something does happen
    • besides, you will have a backup made, and you just need to make one backup
    • faster, simpler installation process
    • one file system - one file system overhead - less wasted disk space
    • only one file system to load at boot time - faster boot times

    For a personal desktop computer - if multiple booting more then one Ubuntu or other GNU/Linux distro, Advantages of installing with separate /home partition,

    • You can save disk space by sharing the same /home (very convenient too), and maybe the same swap area(s), (as long as you aren't planning on hibernating).

    For a computer you plan to share with other users, such as a server, especially if you suspect that some of the other users may not be completely trustworthy.
    Advantages of installing with separate partitions for each directory like /root /home /tmp /var and all the rest,

    • if you can only get say 4GB hard disks or something like that you still install an operating system in a computer and use three or four small hard disks with one or two partitions on each one. That would have been useful in the old days when most people could not buy very big hard disks, but now we can buy 1 or 2 TB size hard disks
    • you can arrange your partitions physically on the hard disk so the busiest ones are towards the outside circumference for faster reads and write speeds - especially effective with todays larger capacity HDDs see -Short Stroking.
    • useful for servers, especially in the old days when they used Unix in big old mainframe computers with a lot of users in a University campus or somewhere like that. May be useful even in these modern times for servers where they are anticipating the possibility of malicious users who might attack one directory and fill it up with large files to try to bring the system down - see The Importance of Linux Partitions - Nixcraft.
    • Different file systems can be used in different partitions and mounted with different file system options, eg. reiserfs is supposed to be faster for lots of small writes than other file systems, choose journaling or no journaling, encrypted or not-encrypted, etc.
    • supposed to be easier to recover from a catastrophe of some kind by restoring one just one or two affected partitions, (presumably from a dd backup I suppose). In order to make it recoverable you will probably need to go to the work of making and keeping frequent backups of every partition in case something happens to one of them to avoid the need to re-install the entire system. That would have been important in the old days when hard disks\ technology was not so far advanced and hard disks were flaky compared with the hard disks we have now. Actually it only takes half an hour or so to perform a complete re-install nowadays since we have CD installers instead of tapes or punch cards. (We don't have to type the operating system in by hand or anything like that).
    • You can learn how to maintain a complex system in case you decide to become a professional sys-admin some day in charge of complex equipment - practice borking your own system and getting it fixed again in the least possible time.
    • If you use LVM you can resize your partitions easily as required and do other cool tricks like taking snapshots and more - requires slightly more advanced learning.

    If you are really installing a server and you do insist on dividing your installation up into a lot of different partitions then I suggest you try using a Ubuntu 'alternate installation' CD and perform an LVM installation. With LVM you can take snapshots of your file systems and restore from the snapshots if things go wrong, you can resize your volumes when you need to and even replace a disk without shutting the system down, (useful for servers).
    You will need to be willing to spend more time than the average user reading and learning how to install and then how to administer such an operating system.
    Last edited by Herman; July 5th, 2011 at 10:21 AM.
    Ubuntu user since 2004 (Warty Warthog)

  4. #4
    Join Date
    Feb 2010
    Beans
    2

    Thumbs down Re: Dual boot partition size

    Thanks to all have replied.

    Bye
    Simone

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •