0

I have a dual boot system with Windows Server 2012 & Ubuntu.

It initially presents the Windows Bootloader when powering on the computer. Windows is the top entry, with Ubuntu second and default.

If I select Ubuntu, it then moves onto the Grub bootloader allowing further boot options.

All bootloader and O/S partitions are on a single SSD drive, /dev/sde. The other disks make up a 4-disk RAID partition. Here is a listing of these partitions from fdisk:

Disk /dev/sde: 111.8 GiB, 120034123776 bytes, 234441648 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x63d2eba0

Device     Boot     Start       End   Sectors  Size Id Type
/dev/sde1  *         2048    718847    716800  350M  7 HPFS/NTFS/exFAT
/dev/sde2          718848 150552575 149833728 71.5G  7 HPFS/NTFS/exFAT
/dev/sde3       150554622 210122751  59568130 28.4G  5 Extended
/dev/sde5       150554624 151529471    974848  476M 83 Linux
/dev/sde6       151531520 200357887  48826368 23.3G 83 Linux
/dev/sde7       200359936 210122751   9762816  4.7G 82 Linux swap / Solaris

I would like to:

  1. Remove the Windows partition and bootloader, without affecting my ability to boot into the exsting Ubuntu instance
  2. Add an additional (second) Ubuntu instance / partition and add this to a new / replaced / edited bootloader

Can you provide the best method to achieve this? Keep using Windows Bootloader? Replace with a Linux Bootloader, i.e. Grub?

I use Ubuntu Server edition, so only have access to the terminal.

Thanks

  • I do not fully understand your boot process. Windows in BIOS mode does not normally boot Ubuntu. Is grub in MBR of sde? And then if BIOS boots sde you should get grub menu with Ubuntu as first entry. Since server you cannot run Boot-Repair as it needs gui, but can run bootinfoscript. github.com/arvidjaar/bootinfoscript Post results to pastebin site as it will be longer. – oldfred May 19 '17 at 14:19
  • i'm not entirely sure what you are asking for, but ran your script and i will provide some of the top level info (not sure all of is needed...): link when i first boot the device, i get a Microsoft Bootloader. it looks something like link then it goes to a Grub Bootloader if I choose Ubuntu, something like this: link – danb May 19 '17 at 15:02
  • @oldfred It is possible to configure the Windows bootloader to present an option for GRUB – Android Dev May 19 '17 at 15:12
  • With UEFI you can (As I understand it) add an entry to BCD that reboots system and uses UEFI one time reboot entry to boot Ubuntu. Someone edited my entries here, so now III askubuntu.com/questions/486752/… That is the one often suggested at the end of Boot-Repairs summary report. – oldfred May 19 '17 at 15:53
  • @ Dan Burt, ignore all UEFI discussion. You have BIOS/MBR configuration. Still not sure how you are booting as you did not post full report. But grub is in PBR or partition boot sector of sde5. That is not recommended by grub2 as unreliable. But Some Windows users use that by either a dd of MBR, or using EasyBCD. Better to use Boot-Repair and do a total uninstall/reinstall of grub to MBR of sde. Use advanced mode to choose operating system & drive to install grub into (sde). – oldfred May 19 '17 at 16:00

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.