What is the equivalent of reinstalling Windows 10 in upgrade mode (software+data remains with new OS) in Ubuntu?How can I repair my installation?Unable to recognize and create partitions for Ubuntu Installation on Dell Inspiron 15R 5520Recover Windows after reinstalling UbuntuUbuntu i386 installed with bad DDR2 2GB memory cardHow to install Ubuntu and uninstall Windows 10 without losing my data,when I have already partitioned my PC?Linux installer keeps freezing, unable to install any Linux

Players who play fast in longer time control games

Can abstractions and good code practice in embedded C++ eliminate the need for the debugger?

1 kHz clock over long wire

What is David Chalmers' Naturalistic dualism?

What is Trump's position on the whistle blower allegations? What does he mean by "witch hunt"?

How does an ideal op amp amplify a voltage input when the voltage difference is 0?

Cheat at Rock-Paper-Scissors-Lizard-Spock

Replacing 2-prong outlets in basement - existing wiring has two hot wires, one neutral?

Is it ok to return default argument's value by const reference?

Would rocket engine exhaust create pockets of gas in space which could hinder further space exploration?

Is the MCU origin for the "Avengers” name consistent with the comics?

First attempt: Python Rock Paper Scissors

Someone called someone else with my phone number

What happens if a country signs mutual defense treaties with several countries who later go to war with each other?

Extend mapsto to exhaust space between the column elements of a given table

Security risks of user generated HTML?

What is the equivalent of "if you say so" in German?

Are there any galaxies visible in the night sky around the Orion constellation?

Dodging a Deathbeam travelling at speed of light

Select sets from a list which are in ascending order

How can infinite information be theoretically encoded or stored in a single qubit?

When can "at any time" actions be performed?

How should a leader behave when he misses deadlines himself?

Vintage vs modern B&W photography techniques differ in color luminance - what's going on here?



What is the equivalent of reinstalling Windows 10 in upgrade mode (software+data remains with new OS) in Ubuntu?


How can I repair my installation?Unable to recognize and create partitions for Ubuntu Installation on Dell Inspiron 15R 5520Recover Windows after reinstalling UbuntuUbuntu i386 installed with bad DDR2 2GB memory cardHow to install Ubuntu and uninstall Windows 10 without losing my data,when I have already partitioned my PC?Linux installer keeps freezing, unable to install any Linux






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









2

















I was using Ubuntu 18.10 on an Acer Nitro AN515-52, I got the following error:



initramfs unpacking failed...


After updating system, previous two kernels are also not booting due to some other different errors.



Problem: I've built and installed few softwares with certain config which I don't have right now.



Is there any way in which newer Ubuntu 19 or Ubuntu 18 can be installed so that the user data and softwares remains?










share|improve this question























  • 5





    Possible duplicate of How can I repair my installation? -- Similar to Windows, you can run the installer an "reinstall" -- but also like Windows, it's not the best path if your system is truly borked. You will likely spend less time doing a clean install and setting back up your software. There is also a high probability that something will be overwritten that you hoped would not be -- so you need to have everything backed up

    – Nmath
    Jul 7 at 15:45







  • 1





    This may work, but you should always have good backups. And it may be better to try to resolve errors first. Over install without formatting to reuse same home data. "Dirty Install" System settings or anything in / may be overwritten with defaults. Good backups still important help.ubuntu.com/community/UbuntuReinstallation & ubuntuforums.org/showthread.php?t=1941872

    – oldfred
    Jul 7 at 15:46

















2

















I was using Ubuntu 18.10 on an Acer Nitro AN515-52, I got the following error:



initramfs unpacking failed...


After updating system, previous two kernels are also not booting due to some other different errors.



Problem: I've built and installed few softwares with certain config which I don't have right now.



Is there any way in which newer Ubuntu 19 or Ubuntu 18 can be installed so that the user data and softwares remains?










share|improve this question























  • 5





    Possible duplicate of How can I repair my installation? -- Similar to Windows, you can run the installer an "reinstall" -- but also like Windows, it's not the best path if your system is truly borked. You will likely spend less time doing a clean install and setting back up your software. There is also a high probability that something will be overwritten that you hoped would not be -- so you need to have everything backed up

    – Nmath
    Jul 7 at 15:45







  • 1





    This may work, but you should always have good backups. And it may be better to try to resolve errors first. Over install without formatting to reuse same home data. "Dirty Install" System settings or anything in / may be overwritten with defaults. Good backups still important help.ubuntu.com/community/UbuntuReinstallation & ubuntuforums.org/showthread.php?t=1941872

    – oldfred
    Jul 7 at 15:46













2












2








2








I was using Ubuntu 18.10 on an Acer Nitro AN515-52, I got the following error:



initramfs unpacking failed...


After updating system, previous two kernels are also not booting due to some other different errors.



Problem: I've built and installed few softwares with certain config which I don't have right now.



Is there any way in which newer Ubuntu 19 or Ubuntu 18 can be installed so that the user data and softwares remains?










share|improve this question

















I was using Ubuntu 18.10 on an Acer Nitro AN515-52, I got the following error:



initramfs unpacking failed...


After updating system, previous two kernels are also not booting due to some other different errors.



Problem: I've built and installed few softwares with certain config which I don't have right now.



Is there any way in which newer Ubuntu 19 or Ubuntu 18 can be installed so that the user data and softwares remains?







system-installation






share|improve this question
















share|improve this question













share|improve this question




share|improve this question








edited Jul 8 at 5:23









galoget

2,1862 gold badges10 silver badges20 bronze badges




2,1862 gold badges10 silver badges20 bronze badges










asked Jul 7 at 15:33









SholiSholi

185 bronze badges




185 bronze badges










  • 5





    Possible duplicate of How can I repair my installation? -- Similar to Windows, you can run the installer an "reinstall" -- but also like Windows, it's not the best path if your system is truly borked. You will likely spend less time doing a clean install and setting back up your software. There is also a high probability that something will be overwritten that you hoped would not be -- so you need to have everything backed up

    – Nmath
    Jul 7 at 15:45







  • 1





    This may work, but you should always have good backups. And it may be better to try to resolve errors first. Over install without formatting to reuse same home data. "Dirty Install" System settings or anything in / may be overwritten with defaults. Good backups still important help.ubuntu.com/community/UbuntuReinstallation & ubuntuforums.org/showthread.php?t=1941872

    – oldfred
    Jul 7 at 15:46












  • 5





    Possible duplicate of How can I repair my installation? -- Similar to Windows, you can run the installer an "reinstall" -- but also like Windows, it's not the best path if your system is truly borked. You will likely spend less time doing a clean install and setting back up your software. There is also a high probability that something will be overwritten that you hoped would not be -- so you need to have everything backed up

    – Nmath
    Jul 7 at 15:45







  • 1





    This may work, but you should always have good backups. And it may be better to try to resolve errors first. Over install without formatting to reuse same home data. "Dirty Install" System settings or anything in / may be overwritten with defaults. Good backups still important help.ubuntu.com/community/UbuntuReinstallation & ubuntuforums.org/showthread.php?t=1941872

    – oldfred
    Jul 7 at 15:46







5




5





Possible duplicate of How can I repair my installation? -- Similar to Windows, you can run the installer an "reinstall" -- but also like Windows, it's not the best path if your system is truly borked. You will likely spend less time doing a clean install and setting back up your software. There is also a high probability that something will be overwritten that you hoped would not be -- so you need to have everything backed up

– Nmath
Jul 7 at 15:45






Possible duplicate of How can I repair my installation? -- Similar to Windows, you can run the installer an "reinstall" -- but also like Windows, it's not the best path if your system is truly borked. You will likely spend less time doing a clean install and setting back up your software. There is also a high probability that something will be overwritten that you hoped would not be -- so you need to have everything backed up

– Nmath
Jul 7 at 15:45





1




1





This may work, but you should always have good backups. And it may be better to try to resolve errors first. Over install without formatting to reuse same home data. "Dirty Install" System settings or anything in / may be overwritten with defaults. Good backups still important help.ubuntu.com/community/UbuntuReinstallation & ubuntuforums.org/showthread.php?t=1941872

– oldfred
Jul 7 at 15:46





This may work, but you should always have good backups. And it may be better to try to resolve errors first. Over install without formatting to reuse same home data. "Dirty Install" System settings or anything in / may be overwritten with defaults. Good backups still important help.ubuntu.com/community/UbuntuReinstallation & ubuntuforums.org/showthread.php?t=1941872

– oldfred
Jul 7 at 15:46










1 Answer
1






active

oldest

votes


















4



















so that the user data & softwares remains.




  1. We all make backups so your question should be moot ;)

  2. Ubuntu exists with a live session version that you can use to mount your disks and extract your personal files. It allows for internet connections so you can even put files into an external source, like google drive. This allows you to completely format anything where a restore of the backup gets you your files back.

  3. The installer also allows you to mount partitions without formatting. So you can add /home without formatting, you can even add / without formatting. This will leave any personal configuration intact. Even apache and mysql configuration files are left alone if they already exist. Nevertheless: a backup should always be made.

And even then. It is generally better to ask for a fix. Ubuntu aint Windowa. In Linux almost anything can be fixed either from grub rescue or from a live session. If the message is ...




nitramfs unpacking failed.




That is NOT the whole message. It is missing the key parts (the actual error is on the next line). The generic method to regenerate the initramfs image is ...



  • Boot a live session

  • list the partitions with fdisk -l. Mount the one that is the boot (sda1 is likely the one)


  • mount these (assuming sda1):



    sudo mount /dev/sda1 /mnt
    sudo mount --bind /dev /mnt/dev
    sudo mount --bind /proc /mnt/proc
    sudo mount --bind /sys /mnt/sys


  • and create a chroot with sudo chroot /mnt



  • sudo su (all the other commands up the the exit need to be done as root)


  • Build a new initramfs:



    update-initramfs -c -k 3.11.0.12-generic
    update-grub
    exit



  • Activate the changes to grub and reset the chroot



    grub-update
    sudo umount /dev
    sudo umount /proc
    sudo umount /sys
    sudo umount /mnt


  • Take the usb out of the system and reboot. You should have a working system.






share|improve this answer




























  • thanks for 3rd point , didn't knew that

    – Sholi
    Jul 9 at 18:22












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/4.0/"u003ecc by-sa 4.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
);



);














draft saved

draft discarded
















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1156560%2fwhat-is-the-equivalent-of-reinstalling-windows-10-in-upgrade-mode-softwaredata%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









4



















so that the user data & softwares remains.




  1. We all make backups so your question should be moot ;)

  2. Ubuntu exists with a live session version that you can use to mount your disks and extract your personal files. It allows for internet connections so you can even put files into an external source, like google drive. This allows you to completely format anything where a restore of the backup gets you your files back.

  3. The installer also allows you to mount partitions without formatting. So you can add /home without formatting, you can even add / without formatting. This will leave any personal configuration intact. Even apache and mysql configuration files are left alone if they already exist. Nevertheless: a backup should always be made.

And even then. It is generally better to ask for a fix. Ubuntu aint Windowa. In Linux almost anything can be fixed either from grub rescue or from a live session. If the message is ...




nitramfs unpacking failed.




That is NOT the whole message. It is missing the key parts (the actual error is on the next line). The generic method to regenerate the initramfs image is ...



  • Boot a live session

  • list the partitions with fdisk -l. Mount the one that is the boot (sda1 is likely the one)


  • mount these (assuming sda1):



    sudo mount /dev/sda1 /mnt
    sudo mount --bind /dev /mnt/dev
    sudo mount --bind /proc /mnt/proc
    sudo mount --bind /sys /mnt/sys


  • and create a chroot with sudo chroot /mnt



  • sudo su (all the other commands up the the exit need to be done as root)


  • Build a new initramfs:



    update-initramfs -c -k 3.11.0.12-generic
    update-grub
    exit



  • Activate the changes to grub and reset the chroot



    grub-update
    sudo umount /dev
    sudo umount /proc
    sudo umount /sys
    sudo umount /mnt


  • Take the usb out of the system and reboot. You should have a working system.






share|improve this answer




























  • thanks for 3rd point , didn't knew that

    – Sholi
    Jul 9 at 18:22















4



















so that the user data & softwares remains.




  1. We all make backups so your question should be moot ;)

  2. Ubuntu exists with a live session version that you can use to mount your disks and extract your personal files. It allows for internet connections so you can even put files into an external source, like google drive. This allows you to completely format anything where a restore of the backup gets you your files back.

  3. The installer also allows you to mount partitions without formatting. So you can add /home without formatting, you can even add / without formatting. This will leave any personal configuration intact. Even apache and mysql configuration files are left alone if they already exist. Nevertheless: a backup should always be made.

And even then. It is generally better to ask for a fix. Ubuntu aint Windowa. In Linux almost anything can be fixed either from grub rescue or from a live session. If the message is ...




nitramfs unpacking failed.




That is NOT the whole message. It is missing the key parts (the actual error is on the next line). The generic method to regenerate the initramfs image is ...



  • Boot a live session

  • list the partitions with fdisk -l. Mount the one that is the boot (sda1 is likely the one)


  • mount these (assuming sda1):



    sudo mount /dev/sda1 /mnt
    sudo mount --bind /dev /mnt/dev
    sudo mount --bind /proc /mnt/proc
    sudo mount --bind /sys /mnt/sys


  • and create a chroot with sudo chroot /mnt



  • sudo su (all the other commands up the the exit need to be done as root)


  • Build a new initramfs:



    update-initramfs -c -k 3.11.0.12-generic
    update-grub
    exit



  • Activate the changes to grub and reset the chroot



    grub-update
    sudo umount /dev
    sudo umount /proc
    sudo umount /sys
    sudo umount /mnt


  • Take the usb out of the system and reboot. You should have a working system.






share|improve this answer




























  • thanks for 3rd point , didn't knew that

    – Sholi
    Jul 9 at 18:22













4














4










4










so that the user data & softwares remains.




  1. We all make backups so your question should be moot ;)

  2. Ubuntu exists with a live session version that you can use to mount your disks and extract your personal files. It allows for internet connections so you can even put files into an external source, like google drive. This allows you to completely format anything where a restore of the backup gets you your files back.

  3. The installer also allows you to mount partitions without formatting. So you can add /home without formatting, you can even add / without formatting. This will leave any personal configuration intact. Even apache and mysql configuration files are left alone if they already exist. Nevertheless: a backup should always be made.

And even then. It is generally better to ask for a fix. Ubuntu aint Windowa. In Linux almost anything can be fixed either from grub rescue or from a live session. If the message is ...




nitramfs unpacking failed.




That is NOT the whole message. It is missing the key parts (the actual error is on the next line). The generic method to regenerate the initramfs image is ...



  • Boot a live session

  • list the partitions with fdisk -l. Mount the one that is the boot (sda1 is likely the one)


  • mount these (assuming sda1):



    sudo mount /dev/sda1 /mnt
    sudo mount --bind /dev /mnt/dev
    sudo mount --bind /proc /mnt/proc
    sudo mount --bind /sys /mnt/sys


  • and create a chroot with sudo chroot /mnt



  • sudo su (all the other commands up the the exit need to be done as root)


  • Build a new initramfs:



    update-initramfs -c -k 3.11.0.12-generic
    update-grub
    exit



  • Activate the changes to grub and reset the chroot



    grub-update
    sudo umount /dev
    sudo umount /proc
    sudo umount /sys
    sudo umount /mnt


  • Take the usb out of the system and reboot. You should have a working system.






share|improve this answer

















so that the user data & softwares remains.




  1. We all make backups so your question should be moot ;)

  2. Ubuntu exists with a live session version that you can use to mount your disks and extract your personal files. It allows for internet connections so you can even put files into an external source, like google drive. This allows you to completely format anything where a restore of the backup gets you your files back.

  3. The installer also allows you to mount partitions without formatting. So you can add /home without formatting, you can even add / without formatting. This will leave any personal configuration intact. Even apache and mysql configuration files are left alone if they already exist. Nevertheless: a backup should always be made.

And even then. It is generally better to ask for a fix. Ubuntu aint Windowa. In Linux almost anything can be fixed either from grub rescue or from a live session. If the message is ...




nitramfs unpacking failed.




That is NOT the whole message. It is missing the key parts (the actual error is on the next line). The generic method to regenerate the initramfs image is ...



  • Boot a live session

  • list the partitions with fdisk -l. Mount the one that is the boot (sda1 is likely the one)


  • mount these (assuming sda1):



    sudo mount /dev/sda1 /mnt
    sudo mount --bind /dev /mnt/dev
    sudo mount --bind /proc /mnt/proc
    sudo mount --bind /sys /mnt/sys


  • and create a chroot with sudo chroot /mnt



  • sudo su (all the other commands up the the exit need to be done as root)


  • Build a new initramfs:



    update-initramfs -c -k 3.11.0.12-generic
    update-grub
    exit



  • Activate the changes to grub and reset the chroot



    grub-update
    sudo umount /dev
    sudo umount /proc
    sudo umount /sys
    sudo umount /mnt


  • Take the usb out of the system and reboot. You should have a working system.







share|improve this answer















share|improve this answer




share|improve this answer








edited Jul 7 at 19:05

























answered Jul 7 at 18:59









RinzwindRinzwind

224k29 gold badges435 silver badges577 bronze badges




224k29 gold badges435 silver badges577 bronze badges















  • thanks for 3rd point , didn't knew that

    – Sholi
    Jul 9 at 18:22

















  • thanks for 3rd point , didn't knew that

    – Sholi
    Jul 9 at 18:22
















thanks for 3rd point , didn't knew that

– Sholi
Jul 9 at 18:22





thanks for 3rd point , didn't knew that

– Sholi
Jul 9 at 18:22


















draft saved

draft discarded















































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%2f1156560%2fwhat-is-the-equivalent-of-reinstalling-windows-10-in-upgrade-mode-softwaredata%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

Tamil (spriik) Luke uk diar | Nawigatjuun

Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

Where does the image of a data connector as a sharp metal spike originate from?Where does the concept of infected people turning into zombies only after death originate from?Where does the motif of a reanimated human head originate?Where did the notion that Dragons could speak originate?Where does the archetypal image of the 'Grey' alien come from?Where did the suffix '-Man' originate?Where does the notion of being injured or killed by an illusion originate?Where did the term “sophont” originate?Where does the trope of magic spells being driven by advanced technology originate from?Where did the term “the living impaired” originate?