Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: partition plan

  1. #1
    Join Date
    Sep 2008
    Location
    Italy
    Beans
    96
    Distro
    Ubuntu Studio 12.04 Precise Pangolin

    partition plan

    Hi everybody, i'm back in the Ubuntu-realm after a few years of being away. Good to be back [a single tear runs down my cheek].

    A lot has changed, it seems and I've been reading up on UEFI, secure boot, Ubuntu 12.10. I bought an ASUS A56C laptop preinstalled with Windows 8, it'd like to dual boot with Ubuntu Studio.

    From what I've read it's best to shrink partitions in the windows disk management tool, restart windows, and then install Ubuntu to the empty space. My question is can I safely delete the D: partition (named "Data") or is it necessary for windows to run?
    I don't think it is because the C: partition called OS seems to have all the windows system files. I have no data on partition D, it's just taking up space. I'm aware that this is technically a windows-question. I just wanted to make 100% sure.

    My second question: is it correct that as windows 8 was preinstalled in UEFI mode that ubuntu should also be installed in UEFI mode?

    What about secure boot? should that be disabled or does it not really make a difference?

  2. #2
    Join Date
    Oct 2012
    Beans
    182

    Re: partition plan

    Quote Originally Posted by AstroLlama View Post
    Hi everybody, i'm back in the Ubuntu-realm after a few years of being away. Good to be back [a single tear runs down my cheek].

    A lot has changed, it seems and I've been reading up on UEFI, secure boot, Ubuntu 12.10. I bought an ASUS A56C laptop preinstalled with Windows 8, it'd like to dual boot with Ubuntu Studio.

    From what I've read it's best to shrink partitions in the windows disk management tool, restart windows, and then install Ubuntu to the empty space. My question is can I safely delete the D: partition (named "Data") or is it necessary for windows to run?
    I don't think it is because the C: partition called OS seems to have all the windows system files. I have no data on partition D, it's just taking up space. I'm aware that this is technically a windows-question. I just wanted to make 100% sure.

    My second question: is it correct that as windows 8 was preinstalled in UEFI mode that ubuntu should also be installed in UEFI mode?

    What about secure boot? should that be disabled or does it not really make a difference?
    As long as you are in windows, if a partition contains system files, it won't let you do that silently. So if you are going to delete D: do it from within windows.

    Windows has a tendency to keep hidden backup files and/setup installers on other partitions so make sure the partition is really empty before deleting it.

  3. #3
    Join Date
    May 2007
    Location
    Virginia, USA
    Beans
    13,377
    Distro
    Ubuntu Mate Development Release

    Re: partition plan

    It's never "safe" to remove ANY partitions that are already present on a preinstalled Windows PC -- without first confirming two things:
    1) What is IN the partition
    2) You don't need the stuff in that partition

    My guess, without seeing the PC, is that "D" is a Recovery partition, containing a compressed Windows image file, that could be used to restore your PC to its original state (know as a factory reset).

    Win8 has some kind of "refresh" option in its new boot manager. It probably uses the contents of this partition for that to work. If you remove this partition, that's probably NOT going to work.
    Ubuntu 20.04, Mint 19.10; MS Win10 Pro.
    Will not respond to PM requests for support -- use the forums.

  4. #4
    Join Date
    Sep 2008
    Location
    Italy
    Beans
    96
    Distro
    Ubuntu Studio 12.04 Precise Pangolin

    Re: partition plan

    Quote Originally Posted by Mark Phelps View Post
    It's never "safe" to remove ANY partitions that are already present on a preinstalled Windows PC -- without first confirming two things:
    1) What is IN the partition
    2) You don't need the stuff in that partition

    My guess, without seeing the PC, is that "D" is a Recovery partition, containing a compressed Windows image file, that could be used to restore your PC to its original state (know as a factory reset).

    Win8 has some kind of "refresh" option in its new boot manager. It probably uses the contents of this partition for that to work. If you remove this partition, that's probably NOT going to work.
    Well, in addition to the C and D partitions, there's another two named "Recovery partition" one is 600 MB and the other is 20 GB. I believe one is the system utilities for backup and the 20 gigs is for creating windows restore points. There is also a 300MB EFI partition but I wouldn't touch those.

    In this case D is really empty.

  5. #5
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: partition plan

    Several users have reported that with 12.10 and grub2 2.00 and the 64 bit version of Ubuntu booted in UEFI mode, it does not matter if secure boot is on or not.

    I think grub2's os-prober's bug has not been fixed, so you will need Boot-Repair to add the correct Windows chain load entry. The os-prober creates a BIOS/MBR type chain entry which does not work. Boot-Repair can create it, or you can manually add the correct chain entry to 40_custom or create a 25_custom as Boot-Repair does.
    Wrong style chain boot entry
    https://bugs.launchpad.net/ubuntu/+s...2/+bug/1024383

    https://wiki.archlinux.org/index.php/UEFI
    https://help.ubuntu.com/community/UEFI
    https://help.ubuntu.com/community/UEFIBooting

    Dual-boot Windows 8 and Ubuntu 12.10 on UEFI hardware
    http://www.linuxbsdos.com/2012/11/05...uefi-hardware/
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  6. #6
    Join Date
    Sep 2008
    Location
    Italy
    Beans
    96
    Distro
    Ubuntu Studio 12.04 Precise Pangolin

    Re: partition plan

    Thanks for the replies
    Partitioning went well, and install seemed successful, but now as oldfred correctly describes, the bootloader isn't functional. At boot, screen goes to a black Windows OS selection menu. choosing windows 8 works without problems, but Ubuntu studio does not.

    Strange that when you choose to load the Ubuntu option it gives a black screen saying "windows couldn't load properly." I will try to use boot repair as suggested here and in other posts as well.

    I don't understand all the options, however. Boot repair gave an alert that EFI and /boot were detected, and to check the options. (this was expected)

    below is the report made by boot repair, anymore suggestions?
    http://paste.ubuntu.com/1361496/

    PS thanks oldfred! you're being really helpful.

  7. #7
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: partition plan

    It looks like you did not install in UEFI mode, it created a bios_grub partition which is required for BIOS boot. Normally with BIOS boot it writes grub into protective MBR which is just there in gpt partitioning to let old MBR tools know drive is formated. But you do not have grub installed.

    You also have a separate /boot partition which should be ok, but usually not required with desktops. But with some systems we have seens BIOS that do not work if / (root) is too large or far into drive.

    I do not see the Ubuntu efi entry. But Boot-Repair can convert a BIOS install to UEFI install. It uninstalls grub-pc and installs grub-efi and updates a couple of files. You then also have to use UEFI menu to boot ubuntu. And Boot-Repair has to fix Windows chain entry in grub menu.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  8. #8
    Join Date
    Sep 2008
    Location
    Italy
    Beans
    96
    Distro
    Ubuntu Studio 12.04 Precise Pangolin

    Re: partition plan

    Alright now I'm confused again... I thought I needed to create a /boot (boot partition), / (root partition), and swap space.

    there is already a windows EFI partition (sda1), but is that where I should have installed the boot loader, or should there be an Ubuntu EFI partition as well?

  9. #9
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: partition plan

    With UEFI every system installs its boot loader files to the efi partition, it is like the MBR in BIOS, but allows multiple systems to all exist at once. Someone just filed a bug that multiple versions of Ubuntu cannot co-exist but you still use grub to boot anyway.

    With BIOS we have always said to install grub2's boot loader to the MBR and not to a partition. With UEFI you do install the bootloader to the efi partition and there can only be one efi partition per drive.

    The boot files in the efi partition are not the main boot files like the kernel, grub's menu & kernel files can be in a separate /boot partition or inside the / (root) partition.

    Some have had issues with very large / (root) partitions or boot files that are way past the start of the drive. Not sure if BIOS or grub issue as it works for some and not others. May also be settings in UEFI/BIOS??
    I normally suggest smaller / and separte /home if installing to a larger space. Still some have had issues and needed a separate /boot inside the first 100GB of a drive. But we have not seen a definitive reason why or bug report with anything other than a separte /boot. Or you may not know if you need it until you try to boot and it does not work. I have boot files near the end of my 650GB drive without issue, but it is a small / (25GB) partition.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  10. #10
    Join Date
    Sep 2008
    Location
    Italy
    Beans
    96
    Distro
    Ubuntu Studio 12.04 Precise Pangolin

    Re: partition plan

    Ok, now it's starting to make more sense.

    I booted a usb pen in UEFI mode and now I'm going to repartition. If I understand correctly I should only have to make a / (root partition), the optional /home partition (good advice, oldfred), and swap space.

    Now my only hesitation is the last step to choose the "Device for boot loader installation". I understand that It should be the in the preexisting EFI partition, but am nervous that this over right the existing entries needed for the windows install? Is this what boot repair will fix, should I not be worried?

    I read that each OS's boot instructions are in their respective /EFI/[name] folders in the EFI partiton. what will happen?

Page 1 of 2 12 LastLast

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
  •