Somehow I have got boot failure message while the ubuntu is loading. I want to format the OS keeping the data I have undisturbed. The datas are kept in root partition. Will formatting the boot partition erase root's data ?
Asked
Active
Viewed 1,771 times
1 Answers
1
In order to do this, you would need to have your data on a different partition. ie:
[drive]
|
+--- [volume1]
| +---[LVM (All linux partitions)]
|
+--- [volume2]
+---[Data Partition]
edit: Because you have all your data on the root directory, yes you will loose it if you format the drive. You can create a new data partition on the drive, move your data to it and then go from there. But you will probably need to manually edit the partitions, not let it auto partition during the install...

Roxana
- 76
-
is there any way to move data using live usb drive because my os is not loading up – avishekdr Feb 05 '20 at 04:36
-
1You should be able to access the drive's data from a live USB... if you have access to an external USB drive, I would SERIOUSLY copy it off the drive, partition and format... Then just keep your data backed up so you never have to worry about this again. – Roxana Feb 05 '20 at 04:47
mkfs
you'll erase any data that exists on that partition and create a new partition instead (which will be empty). I suspect its something different to format that you are wanting as if your data is on that same partition; it will be lost. You can re-install Ubuntu without erasing data, as can some other OSes - but note many cannot; as a formatted (clean) install has less issues, they often opt for that (which as consequence erases all data because they format partition).rm
is probably what you want, but it's unclear sorry. – guiverc Feb 05 '20 at 02:16rm
) system directories, install, re-add back your additional software installed on last system if available, then ask to reboot. – guiverc Feb 05 '20 at 02:29