Recover files after uninstalling ubuntu-desktop with tasksel?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I am going to do my best to explain what happened:
- I had been using Ubuntu 18.04.1, and a friend wanted me to install Drupal on my computer. I followed this guide blindly: https://www.youtube.com/watch?v=UKSjO0irgHg (which was a terrible idea since its from 2015).
- The guide instructed me to install tasksel, so I did.
- I then ran 'sudo tasksel'
- In tasksel I selected 'basic ubuntu server', 'LAMP server', and 'postgreSQL database', as well as 'ubuntu desktop' because I figured I just wanted to use Drupal right on my desktop for testing purposes.
- Then in the video, the next step said I just have to enter my mysql password... and since I never had an option to create a mysql password I just assumed the previous step didn't work... so I did steps 3 and 4 again... which without warning uninstalled ubuntu desktop.
- All of the sudden all my sidebar programs were gone and I couldn't access files.. so I restarted my computer and since then whenever I select Ubuntu from grub it just gives me a loading screen forever.
Is it possible to fix this and get into my previous installation of ubuntu desktop? How?
Other answers say to just 'upgrade' ubuntu with a bootable drive.. this doesnt give me a safe option to keep my files. All options say 'will delete all files'
If it's not possible to get into my previous installation, how can I recover my files? They were important :(
Thank you so much for your help.
18.04 lamp tasksel
add a comment |
I am going to do my best to explain what happened:
- I had been using Ubuntu 18.04.1, and a friend wanted me to install Drupal on my computer. I followed this guide blindly: https://www.youtube.com/watch?v=UKSjO0irgHg (which was a terrible idea since its from 2015).
- The guide instructed me to install tasksel, so I did.
- I then ran 'sudo tasksel'
- In tasksel I selected 'basic ubuntu server', 'LAMP server', and 'postgreSQL database', as well as 'ubuntu desktop' because I figured I just wanted to use Drupal right on my desktop for testing purposes.
- Then in the video, the next step said I just have to enter my mysql password... and since I never had an option to create a mysql password I just assumed the previous step didn't work... so I did steps 3 and 4 again... which without warning uninstalled ubuntu desktop.
- All of the sudden all my sidebar programs were gone and I couldn't access files.. so I restarted my computer and since then whenever I select Ubuntu from grub it just gives me a loading screen forever.
Is it possible to fix this and get into my previous installation of ubuntu desktop? How?
Other answers say to just 'upgrade' ubuntu with a bootable drive.. this doesnt give me a safe option to keep my files. All options say 'will delete all files'
If it's not possible to get into my previous installation, how can I recover my files? They were important :(
Thank you so much for your help.
18.04 lamp tasksel
add a comment |
I am going to do my best to explain what happened:
- I had been using Ubuntu 18.04.1, and a friend wanted me to install Drupal on my computer. I followed this guide blindly: https://www.youtube.com/watch?v=UKSjO0irgHg (which was a terrible idea since its from 2015).
- The guide instructed me to install tasksel, so I did.
- I then ran 'sudo tasksel'
- In tasksel I selected 'basic ubuntu server', 'LAMP server', and 'postgreSQL database', as well as 'ubuntu desktop' because I figured I just wanted to use Drupal right on my desktop for testing purposes.
- Then in the video, the next step said I just have to enter my mysql password... and since I never had an option to create a mysql password I just assumed the previous step didn't work... so I did steps 3 and 4 again... which without warning uninstalled ubuntu desktop.
- All of the sudden all my sidebar programs were gone and I couldn't access files.. so I restarted my computer and since then whenever I select Ubuntu from grub it just gives me a loading screen forever.
Is it possible to fix this and get into my previous installation of ubuntu desktop? How?
Other answers say to just 'upgrade' ubuntu with a bootable drive.. this doesnt give me a safe option to keep my files. All options say 'will delete all files'
If it's not possible to get into my previous installation, how can I recover my files? They were important :(
Thank you so much for your help.
18.04 lamp tasksel
I am going to do my best to explain what happened:
- I had been using Ubuntu 18.04.1, and a friend wanted me to install Drupal on my computer. I followed this guide blindly: https://www.youtube.com/watch?v=UKSjO0irgHg (which was a terrible idea since its from 2015).
- The guide instructed me to install tasksel, so I did.
- I then ran 'sudo tasksel'
- In tasksel I selected 'basic ubuntu server', 'LAMP server', and 'postgreSQL database', as well as 'ubuntu desktop' because I figured I just wanted to use Drupal right on my desktop for testing purposes.
- Then in the video, the next step said I just have to enter my mysql password... and since I never had an option to create a mysql password I just assumed the previous step didn't work... so I did steps 3 and 4 again... which without warning uninstalled ubuntu desktop.
- All of the sudden all my sidebar programs were gone and I couldn't access files.. so I restarted my computer and since then whenever I select Ubuntu from grub it just gives me a loading screen forever.
Is it possible to fix this and get into my previous installation of ubuntu desktop? How?
Other answers say to just 'upgrade' ubuntu with a bootable drive.. this doesnt give me a safe option to keep my files. All options say 'will delete all files'
If it's not possible to get into my previous installation, how can I recover my files? They were important :(
Thank you so much for your help.
18.04 lamp tasksel
18.04 lamp tasksel
edited Feb 11 at 0:48
DylanLalonde
asked Feb 8 at 7:06
DylanLalondeDylanLalonde
11
11
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Having done something similar myself, if you can access the Ubuntu console via recovery mode or login screen console via Ctrl+Alt+F2, you may be able to either:
- manually mount another drive to back up your files (via the console) and then install Ubuntu over your broken installation
or
- attempt to fix Ubuntu by reinstalling what you uninstalled.
Option 2 would be easier if you hadn't rebooted and the console was still up since you would know what was uninstalled (though I guess you could repeat the steps in a virtual machine on another computer to find out).
If you need to access the Internet via the console to download missing files, this requires manually building a connection by configuring a certain text file and then manually updating, but I don't recall how to do the configuration at the moment.
When I press CTRL + ALT + F2 to access Ubuntu console while it's showing the load screen I just get a black screen with a cursor up in the top left of the screen with nothing before or after it. When I typed anything into it it just leaves it there, creates a new line, and doesn't seem to do anything.
– DylanLalonde
Feb 8 at 23:12
The shortcut I mentioned is for the login screen. I know which screen you're talking about, but I've never used it for anything so I don't know what it does. Guess you're stuck trying the recovery mode console (which uses a different shortcut).
– Patrick Dark
Feb 9 at 0:30
add a comment |
I resolved my own issue in the following way:
- Entered Ubuntu Recovery mode through GRUB
- Dropped to root shell prompt
- Used
sudo su [username]
to login to my user account - Inserted a usb drive
- Created a mount point:
sudo mkdir /media/usb
- Mounted the usb:
sudo mount /dev/sdb1 /media/usb
- Copied the files from /home/[user] to the usb:
sudo cp -r /home/[user]/* /media/usb/
- Unmounted the usb:
sudo umount /media/usb
I can now access my files from that usb on other computers without issue!
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%2f1116585%2frecover-files-after-uninstalling-ubuntu-desktop-with-tasksel%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Having done something similar myself, if you can access the Ubuntu console via recovery mode or login screen console via Ctrl+Alt+F2, you may be able to either:
- manually mount another drive to back up your files (via the console) and then install Ubuntu over your broken installation
or
- attempt to fix Ubuntu by reinstalling what you uninstalled.
Option 2 would be easier if you hadn't rebooted and the console was still up since you would know what was uninstalled (though I guess you could repeat the steps in a virtual machine on another computer to find out).
If you need to access the Internet via the console to download missing files, this requires manually building a connection by configuring a certain text file and then manually updating, but I don't recall how to do the configuration at the moment.
When I press CTRL + ALT + F2 to access Ubuntu console while it's showing the load screen I just get a black screen with a cursor up in the top left of the screen with nothing before or after it. When I typed anything into it it just leaves it there, creates a new line, and doesn't seem to do anything.
– DylanLalonde
Feb 8 at 23:12
The shortcut I mentioned is for the login screen. I know which screen you're talking about, but I've never used it for anything so I don't know what it does. Guess you're stuck trying the recovery mode console (which uses a different shortcut).
– Patrick Dark
Feb 9 at 0:30
add a comment |
Having done something similar myself, if you can access the Ubuntu console via recovery mode or login screen console via Ctrl+Alt+F2, you may be able to either:
- manually mount another drive to back up your files (via the console) and then install Ubuntu over your broken installation
or
- attempt to fix Ubuntu by reinstalling what you uninstalled.
Option 2 would be easier if you hadn't rebooted and the console was still up since you would know what was uninstalled (though I guess you could repeat the steps in a virtual machine on another computer to find out).
If you need to access the Internet via the console to download missing files, this requires manually building a connection by configuring a certain text file and then manually updating, but I don't recall how to do the configuration at the moment.
When I press CTRL + ALT + F2 to access Ubuntu console while it's showing the load screen I just get a black screen with a cursor up in the top left of the screen with nothing before or after it. When I typed anything into it it just leaves it there, creates a new line, and doesn't seem to do anything.
– DylanLalonde
Feb 8 at 23:12
The shortcut I mentioned is for the login screen. I know which screen you're talking about, but I've never used it for anything so I don't know what it does. Guess you're stuck trying the recovery mode console (which uses a different shortcut).
– Patrick Dark
Feb 9 at 0:30
add a comment |
Having done something similar myself, if you can access the Ubuntu console via recovery mode or login screen console via Ctrl+Alt+F2, you may be able to either:
- manually mount another drive to back up your files (via the console) and then install Ubuntu over your broken installation
or
- attempt to fix Ubuntu by reinstalling what you uninstalled.
Option 2 would be easier if you hadn't rebooted and the console was still up since you would know what was uninstalled (though I guess you could repeat the steps in a virtual machine on another computer to find out).
If you need to access the Internet via the console to download missing files, this requires manually building a connection by configuring a certain text file and then manually updating, but I don't recall how to do the configuration at the moment.
Having done something similar myself, if you can access the Ubuntu console via recovery mode or login screen console via Ctrl+Alt+F2, you may be able to either:
- manually mount another drive to back up your files (via the console) and then install Ubuntu over your broken installation
or
- attempt to fix Ubuntu by reinstalling what you uninstalled.
Option 2 would be easier if you hadn't rebooted and the console was still up since you would know what was uninstalled (though I guess you could repeat the steps in a virtual machine on another computer to find out).
If you need to access the Internet via the console to download missing files, this requires manually building a connection by configuring a certain text file and then manually updating, but I don't recall how to do the configuration at the moment.
edited Feb 8 at 12:43
grooveplex
2,21411433
2,21411433
answered Feb 8 at 9:14
Patrick DarkPatrick Dark
1015
1015
When I press CTRL + ALT + F2 to access Ubuntu console while it's showing the load screen I just get a black screen with a cursor up in the top left of the screen with nothing before or after it. When I typed anything into it it just leaves it there, creates a new line, and doesn't seem to do anything.
– DylanLalonde
Feb 8 at 23:12
The shortcut I mentioned is for the login screen. I know which screen you're talking about, but I've never used it for anything so I don't know what it does. Guess you're stuck trying the recovery mode console (which uses a different shortcut).
– Patrick Dark
Feb 9 at 0:30
add a comment |
When I press CTRL + ALT + F2 to access Ubuntu console while it's showing the load screen I just get a black screen with a cursor up in the top left of the screen with nothing before or after it. When I typed anything into it it just leaves it there, creates a new line, and doesn't seem to do anything.
– DylanLalonde
Feb 8 at 23:12
The shortcut I mentioned is for the login screen. I know which screen you're talking about, but I've never used it for anything so I don't know what it does. Guess you're stuck trying the recovery mode console (which uses a different shortcut).
– Patrick Dark
Feb 9 at 0:30
When I press CTRL + ALT + F2 to access Ubuntu console while it's showing the load screen I just get a black screen with a cursor up in the top left of the screen with nothing before or after it. When I typed anything into it it just leaves it there, creates a new line, and doesn't seem to do anything.
– DylanLalonde
Feb 8 at 23:12
When I press CTRL + ALT + F2 to access Ubuntu console while it's showing the load screen I just get a black screen with a cursor up in the top left of the screen with nothing before or after it. When I typed anything into it it just leaves it there, creates a new line, and doesn't seem to do anything.
– DylanLalonde
Feb 8 at 23:12
The shortcut I mentioned is for the login screen. I know which screen you're talking about, but I've never used it for anything so I don't know what it does. Guess you're stuck trying the recovery mode console (which uses a different shortcut).
– Patrick Dark
Feb 9 at 0:30
The shortcut I mentioned is for the login screen. I know which screen you're talking about, but I've never used it for anything so I don't know what it does. Guess you're stuck trying the recovery mode console (which uses a different shortcut).
– Patrick Dark
Feb 9 at 0:30
add a comment |
I resolved my own issue in the following way:
- Entered Ubuntu Recovery mode through GRUB
- Dropped to root shell prompt
- Used
sudo su [username]
to login to my user account - Inserted a usb drive
- Created a mount point:
sudo mkdir /media/usb
- Mounted the usb:
sudo mount /dev/sdb1 /media/usb
- Copied the files from /home/[user] to the usb:
sudo cp -r /home/[user]/* /media/usb/
- Unmounted the usb:
sudo umount /media/usb
I can now access my files from that usb on other computers without issue!
add a comment |
I resolved my own issue in the following way:
- Entered Ubuntu Recovery mode through GRUB
- Dropped to root shell prompt
- Used
sudo su [username]
to login to my user account - Inserted a usb drive
- Created a mount point:
sudo mkdir /media/usb
- Mounted the usb:
sudo mount /dev/sdb1 /media/usb
- Copied the files from /home/[user] to the usb:
sudo cp -r /home/[user]/* /media/usb/
- Unmounted the usb:
sudo umount /media/usb
I can now access my files from that usb on other computers without issue!
add a comment |
I resolved my own issue in the following way:
- Entered Ubuntu Recovery mode through GRUB
- Dropped to root shell prompt
- Used
sudo su [username]
to login to my user account - Inserted a usb drive
- Created a mount point:
sudo mkdir /media/usb
- Mounted the usb:
sudo mount /dev/sdb1 /media/usb
- Copied the files from /home/[user] to the usb:
sudo cp -r /home/[user]/* /media/usb/
- Unmounted the usb:
sudo umount /media/usb
I can now access my files from that usb on other computers without issue!
I resolved my own issue in the following way:
- Entered Ubuntu Recovery mode through GRUB
- Dropped to root shell prompt
- Used
sudo su [username]
to login to my user account - Inserted a usb drive
- Created a mount point:
sudo mkdir /media/usb
- Mounted the usb:
sudo mount /dev/sdb1 /media/usb
- Copied the files from /home/[user] to the usb:
sudo cp -r /home/[user]/* /media/usb/
- Unmounted the usb:
sudo umount /media/usb
I can now access my files from that usb on other computers without issue!
edited Feb 9 at 21:42
answered Feb 9 at 1:13
DylanLalondeDylanLalonde
11
11
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%2f1116585%2frecover-files-after-uninstalling-ubuntu-desktop-with-tasksel%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