Safest way to remove other installed OS












0















This is my current configuration



Device     Boot     Start       End   Sectors   Size Id Type
/dev/sda1 2048 743215128 743213081 354.4G 83 Linux
/dev/sda2 743217150 976771071 233553922 111.4G 5 Extended
/dev/sda5 964487168 976771071 12283904 5.9G 82 Linux swap / Solaris
/dev/sda6 * 743217152 744265727 1048576 512M ef EFI (FAT-12/16/32)
/dev/sda7 744267776 860537355 116269580 55.5G 83 Linux
/dev/sda8 860538880 964478975 103940096 49.6G 83 Linux


And here the explanation, yesterday I have changed my computer. All hardware is new, except the hard disk, where I have a working Ubuntu 18.04 (/dev/sda1)



When I tried to boot the computer, it gave some errors so I tried to fix it by booting with USB device



/dev/sda7 refers to the first try, I installed a new Ubuntu alongside the old one, using free space in HD... Grub was not loading, so I made a second try, installing again a new Ubuntu alongside the others, using more free space. /dev/sda8 refers to that second try



Later, I found a solution & I have been able to boot the old Ubuntu... so now I want to safely delete that 2 new installed Ubuntus



After reading this Proper way to remove other operating systems after installing ubuntu? I am not sure if just deleting that 2 partitions would be a good idea, as they are the most recent OS in the computer



Any tips?










share|improve this question







New contributor




Raul Sanchez is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Deleting them safe. After deletion run update-grub from sda1 Ubuntu to remove deleted installations from boot menu. In case you have some booting problems make live cd/usb before deletion, you may use it if something fail, to repair.

    – LeonidMew
    10 hours ago








  • 1





    I suspect update-grub won't be enough; yes it'll update the grub menus to reflect the removed partitions, but if the soon-to-be-killed OSes owned the boot sector I suspect you'll need to ensure MBR points correct and I'd suggest also running grub-install (help.ubuntu.com/community/Grub2/Installing in the re-installing from a working system section). @LeonidMew's advice was good, but adding grub-install won't create any problems and may be necessary in my opinion (if your kept OS wasn't the last installed)

    – guiverc
    8 hours ago











  • Thanks! What should be the parameters to grub-install command?

    – Raul Sanchez
    7 hours ago
















0















This is my current configuration



Device     Boot     Start       End   Sectors   Size Id Type
/dev/sda1 2048 743215128 743213081 354.4G 83 Linux
/dev/sda2 743217150 976771071 233553922 111.4G 5 Extended
/dev/sda5 964487168 976771071 12283904 5.9G 82 Linux swap / Solaris
/dev/sda6 * 743217152 744265727 1048576 512M ef EFI (FAT-12/16/32)
/dev/sda7 744267776 860537355 116269580 55.5G 83 Linux
/dev/sda8 860538880 964478975 103940096 49.6G 83 Linux


And here the explanation, yesterday I have changed my computer. All hardware is new, except the hard disk, where I have a working Ubuntu 18.04 (/dev/sda1)



When I tried to boot the computer, it gave some errors so I tried to fix it by booting with USB device



/dev/sda7 refers to the first try, I installed a new Ubuntu alongside the old one, using free space in HD... Grub was not loading, so I made a second try, installing again a new Ubuntu alongside the others, using more free space. /dev/sda8 refers to that second try



Later, I found a solution & I have been able to boot the old Ubuntu... so now I want to safely delete that 2 new installed Ubuntus



After reading this Proper way to remove other operating systems after installing ubuntu? I am not sure if just deleting that 2 partitions would be a good idea, as they are the most recent OS in the computer



Any tips?










share|improve this question







New contributor




Raul Sanchez is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Deleting them safe. After deletion run update-grub from sda1 Ubuntu to remove deleted installations from boot menu. In case you have some booting problems make live cd/usb before deletion, you may use it if something fail, to repair.

    – LeonidMew
    10 hours ago








  • 1





    I suspect update-grub won't be enough; yes it'll update the grub menus to reflect the removed partitions, but if the soon-to-be-killed OSes owned the boot sector I suspect you'll need to ensure MBR points correct and I'd suggest also running grub-install (help.ubuntu.com/community/Grub2/Installing in the re-installing from a working system section). @LeonidMew's advice was good, but adding grub-install won't create any problems and may be necessary in my opinion (if your kept OS wasn't the last installed)

    – guiverc
    8 hours ago











  • Thanks! What should be the parameters to grub-install command?

    – Raul Sanchez
    7 hours ago














0












0








0








This is my current configuration



Device     Boot     Start       End   Sectors   Size Id Type
/dev/sda1 2048 743215128 743213081 354.4G 83 Linux
/dev/sda2 743217150 976771071 233553922 111.4G 5 Extended
/dev/sda5 964487168 976771071 12283904 5.9G 82 Linux swap / Solaris
/dev/sda6 * 743217152 744265727 1048576 512M ef EFI (FAT-12/16/32)
/dev/sda7 744267776 860537355 116269580 55.5G 83 Linux
/dev/sda8 860538880 964478975 103940096 49.6G 83 Linux


And here the explanation, yesterday I have changed my computer. All hardware is new, except the hard disk, where I have a working Ubuntu 18.04 (/dev/sda1)



When I tried to boot the computer, it gave some errors so I tried to fix it by booting with USB device



/dev/sda7 refers to the first try, I installed a new Ubuntu alongside the old one, using free space in HD... Grub was not loading, so I made a second try, installing again a new Ubuntu alongside the others, using more free space. /dev/sda8 refers to that second try



Later, I found a solution & I have been able to boot the old Ubuntu... so now I want to safely delete that 2 new installed Ubuntus



After reading this Proper way to remove other operating systems after installing ubuntu? I am not sure if just deleting that 2 partitions would be a good idea, as they are the most recent OS in the computer



Any tips?










share|improve this question







New contributor




Raul Sanchez is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












This is my current configuration



Device     Boot     Start       End   Sectors   Size Id Type
/dev/sda1 2048 743215128 743213081 354.4G 83 Linux
/dev/sda2 743217150 976771071 233553922 111.4G 5 Extended
/dev/sda5 964487168 976771071 12283904 5.9G 82 Linux swap / Solaris
/dev/sda6 * 743217152 744265727 1048576 512M ef EFI (FAT-12/16/32)
/dev/sda7 744267776 860537355 116269580 55.5G 83 Linux
/dev/sda8 860538880 964478975 103940096 49.6G 83 Linux


And here the explanation, yesterday I have changed my computer. All hardware is new, except the hard disk, where I have a working Ubuntu 18.04 (/dev/sda1)



When I tried to boot the computer, it gave some errors so I tried to fix it by booting with USB device



/dev/sda7 refers to the first try, I installed a new Ubuntu alongside the old one, using free space in HD... Grub was not loading, so I made a second try, installing again a new Ubuntu alongside the others, using more free space. /dev/sda8 refers to that second try



Later, I found a solution & I have been able to boot the old Ubuntu... so now I want to safely delete that 2 new installed Ubuntus



After reading this Proper way to remove other operating systems after installing ubuntu? I am not sure if just deleting that 2 partitions would be a good idea, as they are the most recent OS in the computer



Any tips?







grub2 partitions boot-partition






share|improve this question







New contributor




Raul Sanchez is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




Raul Sanchez is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




Raul Sanchez is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 10 hours ago









Raul SanchezRaul Sanchez

1012




1012




New contributor




Raul Sanchez is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Raul Sanchez is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Raul Sanchez is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













  • Deleting them safe. After deletion run update-grub from sda1 Ubuntu to remove deleted installations from boot menu. In case you have some booting problems make live cd/usb before deletion, you may use it if something fail, to repair.

    – LeonidMew
    10 hours ago








  • 1





    I suspect update-grub won't be enough; yes it'll update the grub menus to reflect the removed partitions, but if the soon-to-be-killed OSes owned the boot sector I suspect you'll need to ensure MBR points correct and I'd suggest also running grub-install (help.ubuntu.com/community/Grub2/Installing in the re-installing from a working system section). @LeonidMew's advice was good, but adding grub-install won't create any problems and may be necessary in my opinion (if your kept OS wasn't the last installed)

    – guiverc
    8 hours ago











  • Thanks! What should be the parameters to grub-install command?

    – Raul Sanchez
    7 hours ago



















  • Deleting them safe. After deletion run update-grub from sda1 Ubuntu to remove deleted installations from boot menu. In case you have some booting problems make live cd/usb before deletion, you may use it if something fail, to repair.

    – LeonidMew
    10 hours ago








  • 1





    I suspect update-grub won't be enough; yes it'll update the grub menus to reflect the removed partitions, but if the soon-to-be-killed OSes owned the boot sector I suspect you'll need to ensure MBR points correct and I'd suggest also running grub-install (help.ubuntu.com/community/Grub2/Installing in the re-installing from a working system section). @LeonidMew's advice was good, but adding grub-install won't create any problems and may be necessary in my opinion (if your kept OS wasn't the last installed)

    – guiverc
    8 hours ago











  • Thanks! What should be the parameters to grub-install command?

    – Raul Sanchez
    7 hours ago

















Deleting them safe. After deletion run update-grub from sda1 Ubuntu to remove deleted installations from boot menu. In case you have some booting problems make live cd/usb before deletion, you may use it if something fail, to repair.

– LeonidMew
10 hours ago







Deleting them safe. After deletion run update-grub from sda1 Ubuntu to remove deleted installations from boot menu. In case you have some booting problems make live cd/usb before deletion, you may use it if something fail, to repair.

– LeonidMew
10 hours ago






1




1





I suspect update-grub won't be enough; yes it'll update the grub menus to reflect the removed partitions, but if the soon-to-be-killed OSes owned the boot sector I suspect you'll need to ensure MBR points correct and I'd suggest also running grub-install (help.ubuntu.com/community/Grub2/Installing in the re-installing from a working system section). @LeonidMew's advice was good, but adding grub-install won't create any problems and may be necessary in my opinion (if your kept OS wasn't the last installed)

– guiverc
8 hours ago





I suspect update-grub won't be enough; yes it'll update the grub menus to reflect the removed partitions, but if the soon-to-be-killed OSes owned the boot sector I suspect you'll need to ensure MBR points correct and I'd suggest also running grub-install (help.ubuntu.com/community/Grub2/Installing in the re-installing from a working system section). @LeonidMew's advice was good, but adding grub-install won't create any problems and may be necessary in my opinion (if your kept OS wasn't the last installed)

– guiverc
8 hours ago













Thanks! What should be the parameters to grub-install command?

– Raul Sanchez
7 hours ago





Thanks! What should be the parameters to grub-install command?

– Raul Sanchez
7 hours ago










0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});






Raul Sanchez is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1118033%2fsafest-way-to-remove-other-installed-os%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes








Raul Sanchez is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















Raul Sanchez is a new contributor. Be nice, and check out our Code of Conduct.













Raul Sanchez is a new contributor. Be nice, and check out our Code of Conduct.












Raul Sanchez is a new contributor. Be nice, and check out our Code of Conduct.
















Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1118033%2fsafest-way-to-remove-other-installed-os%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How did Captain America manage to do this?

迪纳利

南乌拉尔铁路局