Linux Lite Forums
[SOLVED] Error installing along side Windows 10 - Printable Version

+- Linux Lite Forums (https://www.freecinema2022.gq/forums)
+-- Forum: Software - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=5)
+--- Forum: Installing Linux Lite (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=17)
+--- Thread: [SOLVED] Error installing along side Windows 10 (/showthread.php?tid=9262)

Pages: 1 2


Error installing along side Windows 10 - [email protected] - 11-09-2024

I chose to install Linux Lite 7.2 along side Windows 10.  No errors showed during the install, but, when I booted the machine, I did not get a choice of which OS to boot.  Instead, Linux Lite 7.2 came up.  So, I took a look using the Disks app in LL and found Windows in Partition 2 using 412 GB formatted NTFS.  I decided it wouldn't hurt to try and mount the partition.  This is what I got:

Error mounting /dev/sda2 at /media/linuxlite/windows:
Wrong fs type
bad option
bad superblock on /dev/sda2
missing codepage or helper program or 
other error (udisks-error-quark,0)

I have no idea what to do to try and get Windows back intact - if that's possible.  
Please help if you can.


RE: Error installing along side Windows 10 - stevef - 11-09-2024

Quote:I did not get a choice of which OS to boot.
On a dual boot system, usually one or the other OS will boot by default.  In that case, it is necessary to intervene to select the other OS or change which OS boots by default.

It should be possible to boot from W10 and you should be able to mount a Windows partition when you boot Linux.
But NTFS is proprietary to MS and Windows optimisation like fast boot/fast start can make the disk appear 'unclean' from the Linux point of view.
The mount error message you are seeing implies Linux is seeing the NTFS partition as unclean and won't mount it.
There are some steps that Linux can do to try to work around the problem, but it is usually best to get Windows to leave the disk clean.

To try this you need to get the system to boot from W10.
The best method to do this will depend on your system.
To begin, try to access the UEFI/BIOS settings while turning the system on.
Look for boot manager options and select the option for W10 at next boot.
When you get W10 working, ensure fast startup is disabled.


RE: Error installing along side Windows 10 - [email protected] - 11-10-2024

(11-09-2024, 06:55 AM)stevef Wrote:
Quote:I did not get a choice of which OS to boot.
On a dual boot system, usually one or the other OS will boot by default.  In that case, it is necessary to intervene to select the other OS or change which OS boots by default.

It should be possible to boot from W10 and you should be able to mount a Windows partition when you boot Linux.
But NTFS is proprietary to MS and Windows optimisation like fast boot/fast start can make the disk appear 'unclean' from the Linux point of view.
The mount error message you are seeing implies Linux is seeing the NTFS partition as unclean and won't mount it.
There are some steps that Linux can do to try to work around the problem, but it is usually best to get Windows to leave the disk clean.

To try this you need to get the system to boot from W10.
The best method to do this will depend on your system.
To begin, try to access the UEFI/BIOS settings while turning the system on.
Look for boot manager options and select the option for W10 at next boot.
When you get W10 working, ensure fast startup is disabled.


    I didn't see any sign of Windows 10 anywhere in the BIOS.  The boot sequence did not include Windows 10.  It started with a USB drive, then the hard drive followed by the DVD drive then the network.  FYI: I was able to mount and get to the Windows 10 partition - so I have a current back up of all my data and then some.  
   What should I try next to try and get Windows 10 to boot?



RE: Error installing along side Windows 10 - stevef - 11-10-2024

Can you tell us a bit more about your system ?
The manufacturer and model and the type and version of the UEFI/BIOS software - usually displayed fairly prominently on the set up screen.  Knowing this might help us understand what you are seeing.

Quote:I was able to mount and get to the Windows 10 partition
That's good.  Before, it gave the 'wrong fs type' message when trying to mount the W10 partition from Linux Lite.
What did you do differently to mount it so that you could access it?

Quote:I didn't see any sign of Windows 10 anywhere in the BIOS.
The UEFI/BIOS may not reference W10 directly.  Different UEFI/BIOS use different wording.
Any options called something like 'Boot Manager' or 'OS Manager' might be useful.

Quote:What should I try next to try and get Windows 10 to boot?
1) Some systems may display a brief message while booting suggesting to press a key to access a 'Boot Manager'.  Look out for anything like that and try it.
2) Assuming your system is UEFI, turn the system off and then power up while holding the right hand shift key down.
This may force the system to show a bootloader menu.


RE: Error installing along side Windows 10 - [email protected] - 11-11-2024

FYI: I know all (???) about the boot manager. I use it to boot from a Windows 7 USB stick quite often.
I was able to get to the information on the Windows partition(?) by right clicking on the "removable volume" icon on the Linux Lite desktop and choosing to mount the volume.
My computer is a Dell Optiplex 790 with a 500 Gb SSD. The BIOS is version A21.
The hold right shift key while booting did nothing (no UEFI).


RE: Error installing along side Windows 10 - stevef - 11-11-2024

Quote:I was able to get to the information on the Windows partition(?) by right clicking on the "removable volume" icon on the Linux Lite desktop and choosing to mount the volume.
Trying to understand how/why you got the 'wrong fs type' message reported in post 1.
Can you confirm that trying to mount the partition using the Disks utility gives the 'wrong fs type' message but that right click and 'mount volume' works ok?

Quote:FYI: I know all (???) about the boot manager. I use it to boot from a Windows 7 USB stick quite often.
What choices does the Boot Manager show you when you boot the system ?

Does the A21 BIOS/UEFI have a 'Legacy/UEFI' choice under  General > Boot Sequence > Boot List Option ?
If so, what is it set to ?

Please open a terminal by pressing Ctrl, Alt and T together and then enter this command.
Code:
sudo os-prober
Followed by Enter. You may be asked for your password.
Post the output back here.


RE: Error installing along side Windows 10 - [email protected] - 11-12-2024

sudo os-prober show the following:

/dev/sda1:Windows 10:Windows:chain

I'm going to reboot now and look for a Legacy/UEFI option.


RE: Error installing along side Windows 10 - [email protected] - 11-12-2024

(11-12-2024, 01:35 AM)[email protected] Wrote: sudo os-prober show the following:

/dev/sda1:Windows 10:Windows:chain

I'm going to reboot now and look for a Legacy/UEFI option.

I found a choice between Legacy and UEFI.  When I select UEFI, it shows ubuntu as the only OS to boot to.  If I choose to add another choice, it says that it can't find a valid file system.

(11-12-2024, 01:35 AM)[email protected] Wrote: sudo os-prober show the following:

/dev/sda1:Windows 10:Windows:chain

I'm going to reboot now and look for a Legacy/UEFI option.

I found a choice between Legacy and UEFI.  When I select UEFI, it shows ubuntu as the only OS to boot to.  If I choose to add another choice, it says that it can't find a valid file system.

(11-12-2024, 03:19 AM)[email protected] Wrote:
(11-12-2024, 01:35 AM)[email protected] Wrote: sudo os-prober show the following:

/dev/sda1:Windows 10:Windows:chain

I'm going to reboot now and look for a Legacy/UEFI option.

I found a choice between Legacy and UEFI.  When I select UEFI, it shows ubuntu as the only OS to boot to.  If I choose to add another choice, it says that it can't find a valid file system.

(11-12-2024, 01:35 AM)[email protected] Wrote: sudo os-prober show the following:

/dev/sda1:Windows 10:Windows:chain

I'm going to reboot now and look for a Legacy/UEFI option.

I found a choice between Legacy and UEFI.  When I select UEFI, it shows ubuntu as the only OS to boot to.  If I choose to add another choice, it says that it can't find a valid file system.

I tried mounting the Windows partition using the Disks app and it mounted this time.



RE: Error installing along side Windows 10 - stevef - 11-12-2024

Quote:I tried mounting the Windows partition using the Disks app and it mounted this time.
It is odd that the Windows partition mounts ok now. Something must have changed, but the initial failure to mount was a distraction.

Quote:I found a choice between Legacy and UEFI.  When I select UEFI, it shows ubuntu as the only OS to boot to.  If I choose to add another choice, it says that it can't find a valid file system.
Sorry, I was trying to get information about your set up, not asking you to change it.
Can you confirm what choice was active when it was a working single boot W10 system (before the LL installation was done).  If you made any changes to the BIOS/UEFI during the installation of LL, let us know.

Quote:/dev/sda1:Windows 10:Windows:chain
I think this confirms W10 is still there, but one of the problems we may have is the Linux boot loader (GRUB) is not being informed about the existing W10 installation.  This may be due to a fairly recent policy change in the set up which stops os-prober running by default.  This gets more complicated if the original W10 system is Legacy mode (which was the reason for asking the question about the Legacy/UEFI set up).

Originally, your question was around getting Windows 10 back.
Is this still your priority ?
Do you have a system backup taken before the LL installation ?


RE: Error installing along side Windows 10 - [email protected] - 11-13-2024

The boot list choices are Legacy or UEFI. I did not change from Legacy to UEFI. I just looked at the UEFI options, but I did not save anything. Also, I made no changes to BIOS/UEFI during the install of LL 7.2.
When all I had was Windows 10, the choice was Legacy - and that's the way it is still.

My goal is to turn on my computer and come to a screen allowing me to boot to either Windows 10 or Linux Lite 7.2. My most recent backup includes all data files. I can see one option which is to download a Windows 10 iso file to a USB stick, reformat my SSD (fat32 or NTFS ???), install Windows 10, validate Windows 10, and start over. Should I be looking for a sticker on the hardware with the validation code? If there is a better way to get to my goal, please tell me what it is.