Results 1 to 9 of 9

Thread: Partitioning help needed - Triple boot with full disk encryption

  1. #1
    Join Date
    Dec 2006
    Beans
    174

    Partitioning help needed - Triple boot with full disk encryption

    I need some help to structure the layout of my partitions. I'm installing Windows 7, Backtrack 4 R2 and Ubuntu 10.10 Desktop on my laptop. I've got a 500 GB HDD named sda.

    I've already installed Windows 7. It's my opinion that it's easiest to begin with Windows.

    The partitions look like this right now:
    /dev/sda1 ntfs System reserved 100 MB
    /dev/sda2 ntfs Windows OS 100 GB

    The Windows installation is unencrypted and I want it to stay that way. It's only there in case my laptop gets stolen, I've installed various nasty things there.

    The Backtrack 4 installation will also be given 100 GB space, I want it to be encrypted. The Ubuntu installation should get the rest of all the remaining space and preferably be encrypted but it's not 100% necessary.

    So, got any ideas how I should partition this? There's a limit on 4 primary partitions? How do I circumvent this? There should be one dedicated GRUB partition which will point to each of the installations own boot loaders?

  2. #2
    Join Date
    Aug 2009
    Location
    Rayong, Thailand.
    Beans
    141
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Partitioning help needed - Triple boot with full disk encryption

    Quote Originally Posted by wconstantine View Post
    I need some help to structure the layout of my partitions.

    The partitions look like this right now:
    /dev/sda1 ntfs System reserved 100 MB
    /dev/sda2 ntfs Windows OS 100 GB

    There's a limit on 4 primary partitions? How do I circumvent this?
    Make either /dev/sda3 or /dev/sda4 an EXTENDED partition, so you can create a good range of logical partiitons inside the extended partition.

    Linux root (/) and /home/ and SWAP partitions are all quite happy as logical partitions within an extended partition, but GRUB will want to be somewhere that's bootable, as you probably already know.
    The code is free but the data is priceless.

  3. #3
    Join Date
    Oct 2009
    Location
    Phoenix, AZ
    Beans
    125
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Partitioning help needed - Triple boot with full disk encryption

    It really depends on what you will be using each OS for as far as deciding the size of the partitions. As far as Grub, just make sure you install ubuntu last and it will install grub and detect all of the operating systems.
    HP G-71 Notebook Intel Core2-Duo 2.2GHz 4GB
    Dual boot Win7 - Ubuntu 10.04x64
    Shared RHEL-5.4 Virtual Machines via VMware

  4. #4
    Join Date
    Dec 2006
    Beans
    174

    Re: Partitioning help needed - Triple boot with full disk encryption

    Quote Originally Posted by Sean Moran View Post
    Make either /dev/sda3 or /dev/sda4 an EXTENDED partition, so you can create a good range of logical partiitons inside the extended partition.

    Linux root (/) and /home/ and SWAP partitions are all quite happy as logical partitions within an extended partition, but GRUB will want to be somewhere that's bootable, as you probably already know.
    Is it possible for me to have both / for BT and Ubuntu in the same extended partition? The only partition that needs to be primary is the dedicated GRUB partition?

    This is how I plan to partition my system now:

    Primary /dev/sda1 Windows bootloader 100 MB
    Primary /dev/sda2 Windows OS 100 GB
    Primary /dev/sda3 DEDICATED GRUB BOOTLOADER 100 MB
    Extended /dev/sda4 368 GB
    Logical /dev/sda5 BT4 BOOT 256 MB
    Logical /dev/sda6 UBUNTU BOOT 256 MB
    Logical /dev/sda7 BT4 ROOT 100 GB
    Logical /dev/sda8 UBUNTU ROOT 270 GB

    Could this work?
    Last edited by wconstantine; March 28th, 2011 at 07:02 PM.

  5. #5
    Join Date
    Jun 2008
    Location
    London, Kentucky
    Beans
    2,093
    Distro
    Ubuntu Development Release

    Re: Partitioning help needed - Triple boot with full disk encryption

    Quote Originally Posted by wconstantine View Post
    Is it possible for me to have both / for BT and Ubuntu in the same extended partition? The only partition that needs to be primary is the dedicated GRUB partition?

    This is how I plan to partition my system now:

    Primary /dev/sda1 Windows bootloader 100 MB
    Primary /dev/sda2 Windows OS 100 GB
    Primary /dev/sda3 DEDICATED GRUB BOOTLOADER 100 MB
    Extended /dev/sda4 368 GB
    Logical /dev/sda5 BT4 BOOT 256 MB
    Logical /dev/sda6 UBUNTU BOOT 256 MB
    Logical /dev/sda7 BT4 ROOT 100 GB
    Logical /dev/sda8 UBUNTU ROOT 270 GB

    Could this work?
    No, you don't need a boot partition for Ubuntu, however you do need a Swap partition, equal to the size of your RAM.

    Have a look at mine, although I don't have windows on this hdd.
    Attached Images Attached Images
    Last edited by Dutch70; March 28th, 2011 at 07:13 PM.
    Intel-System Freeze Post#22
    How to mark your thread [SOLVED]
    Registered Linux User-#473773-Ubuntu User-#23255-Machine-#384048

  6. #6
    Join Date
    Dec 2006
    Beans
    174

    Re: Partitioning help needed - Triple boot with full disk encryption

    Totally forgot about swap! But since I got 4GB RAM I guess I hardly need 4GB swap space. Thanks.

  7. #7
    Join Date
    Jun 2008
    Location
    London, Kentucky
    Beans
    2,093
    Distro
    Ubuntu Development Release

    Re: Partitioning help needed - Triple boot with full disk encryption

    You may also want to make Ubuntu "/" about 15-20GB and create a /home partition with the rest of the 270 or so GB. That way if/when you have to reinstall, you won't lose anything, not even your settings.
    Intel-System Freeze Post#22
    How to mark your thread [SOLVED]
    Registered Linux User-#473773-Ubuntu User-#23255-Machine-#384048

  8. #8
    Join Date
    Dec 2006
    Beans
    174

    Re: Partitioning help needed - Triple boot with full disk encryption

    Quote Originally Posted by Dutch70 View Post
    You may also want to make Ubuntu "/" about 15-20GB and create a /home partition with the rest of the 270 or so GB. That way if/when you have to reinstall, you won't lose anything, not even your settings.
    I'm regularly backing up my laptop home directory to a file server. But it doesn't hurt I guess.

  9. #9
    Join Date
    Jun 2008
    Location
    London, Kentucky
    Beans
    2,093
    Distro
    Ubuntu Development Release

    Re: Partitioning help needed - Triple boot with full disk encryption

    Nice! It's up to you, but when the day comes that you have to reinstall, you'll still be glad you have a separate /home. When you can have your OS on a different partition that your files, it's just a smart move. You can have over 60 logical partitions, so that's not an issue.

    Best regards
    Dutch
    Intel-System Freeze Post#22
    How to mark your thread [SOLVED]
    Registered Linux User-#473773-Ubuntu User-#23255-Machine-#384048

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
  •