Safest way to remove other installed OS
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
add a comment |
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
Deleting them safe. After deletion runupdate-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
Feb 13 at 19:41
3
I suspectupdate-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 runninggrub-install
(help.ubuntu.com/community/Grub2/Installing in the re-installing from a working system section). @LeonidMew's advice was good, but addinggrub-install
won't create any problems and may be necessary in my opinion (if your kept OS wasn't the last installed)
– guiverc
Feb 13 at 21:45
1
Thanks... You should post this as answer, I will accept it
– Raul Sanchez
Feb 14 at 6:29
add a comment |
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
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
grub2 partitions boot-partition
asked Feb 13 at 19:19
Raul SanchezRaul Sanchez
1013
1013
Deleting them safe. After deletion runupdate-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
Feb 13 at 19:41
3
I suspectupdate-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 runninggrub-install
(help.ubuntu.com/community/Grub2/Installing in the re-installing from a working system section). @LeonidMew's advice was good, but addinggrub-install
won't create any problems and may be necessary in my opinion (if your kept OS wasn't the last installed)
– guiverc
Feb 13 at 21:45
1
Thanks... You should post this as answer, I will accept it
– Raul Sanchez
Feb 14 at 6:29
add a comment |
Deleting them safe. After deletion runupdate-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
Feb 13 at 19:41
3
I suspectupdate-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 runninggrub-install
(help.ubuntu.com/community/Grub2/Installing in the re-installing from a working system section). @LeonidMew's advice was good, but addinggrub-install
won't create any problems and may be necessary in my opinion (if your kept OS wasn't the last installed)
– guiverc
Feb 13 at 21:45
1
Thanks... You should post this as answer, I will accept it
– Raul Sanchez
Feb 14 at 6:29
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
Feb 13 at 19:41
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
Feb 13 at 19:41
3
3
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
Feb 13 at 21:45
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
Feb 13 at 21:45
1
1
Thanks... You should post this as answer, I will accept it
– Raul Sanchez
Feb 14 at 6:29
Thanks... You should post this as answer, I will accept it
– Raul Sanchez
Feb 14 at 6:29
add a comment |
1 Answer
1
active
oldest
votes
Following the comments finally I just deleted /dev/sda7 & /dev/sda8 partitions (in my case, with https://gparted.org/) and then
sudo update-grub
sudo grub-install /dev/sda
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Following the comments finally I just deleted /dev/sda7 & /dev/sda8 partitions (in my case, with https://gparted.org/) and then
sudo update-grub
sudo grub-install /dev/sda
add a comment |
Following the comments finally I just deleted /dev/sda7 & /dev/sda8 partitions (in my case, with https://gparted.org/) and then
sudo update-grub
sudo grub-install /dev/sda
add a comment |
Following the comments finally I just deleted /dev/sda7 & /dev/sda8 partitions (in my case, with https://gparted.org/) and then
sudo update-grub
sudo grub-install /dev/sda
Following the comments finally I just deleted /dev/sda7 & /dev/sda8 partitions (in my case, with https://gparted.org/) and then
sudo update-grub
sudo grub-install /dev/sda
answered Feb 15 at 18:00
Raul SanchezRaul Sanchez
1013
1013
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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
Feb 13 at 19:41
3
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 runninggrub-install
(help.ubuntu.com/community/Grub2/Installing in the re-installing from a working system section). @LeonidMew's advice was good, but addinggrub-install
won't create any problems and may be necessary in my opinion (if your kept OS wasn't the last installed)– guiverc
Feb 13 at 21:45
1
Thanks... You should post this as answer, I will accept it
– Raul Sanchez
Feb 14 at 6:29