I lost access to my ubuntu operating system because of a sudden "kernel panic", which I described in this question (Kernel panic 0x00007f00). I spent the entire day trying to boot to the system and get the data, since all my external hard drives failed recently. I am considering reinstalling ubuntu without the "format" checkbox. Will it delete the user files? I found completely opposite answers to this same question on previous stack overflow entries this year.
2 Answers
So, to help future users with the same issue:
-Boot into the Live USB
-Click install ubuntu
-When there is a list of options such as "Erase Partition and Reinstall Ubuntu", choose "Something else" instead
-There will be a list of partitions. If you, like me, have only one partition for ubuntu, and don't have any other separate partition for /home, then, one and only one of the partitions will be listed as having ubuntu. Choose that partition, choose Ext4 and mount point /, and make sure the "Format?" checkbox is not checked.
-If, for example, the ubuntu partition is /dev/sda2, choose /dev/sda as the device to mount the bootloader.
-If you do things right, the installation will warn you that you DIDN'T choose any partition to be formated. That's good. It will also warn you to backup any critical system files, and will list some system file directories as examples, which do not include /home. That's good too.
I had a kernel panic 0x0007f00, and could solve it after doing this procedure for reinstallation.
Always backup your personal data. But, if you, like me yesterday, wasn't able to do it in time, this procedure might help you reinstalling ubuntu while preserving the data.
- 131
- 5
You can reinstall Ubuntu without erase your personal data (the one in the /home). I assume that you create different partitions in your system for:
- /home
- swap (optional)
- root/
If you did that, then when you ask to select partitions in your install settings window, you check "format" only in root partition. Doing that, you keep your old files in /home partition (You still have to select the partition as mount point for /home, but without format it).
- 13
