Yesterday, I ran into a problem on my dual-boot system. To give you some context, I hadn't used for some days the laptop, and when I finally decided to get back to work its battery was on zero. I plugged it in and opened it and as I have both Ubuntu 20.04 on a HDD of 1TB and Windows 10 on a SSD of 500Gb, the laptop (HP) by default opened the Windows partition. All fine till now, but I needed to open Ubuntu so I clicked the restart button, but then Windows started an update. I waited for it to finish as the message told not to shut down the PC. However, after the update completed the message "Cleaning Up, Do Not Turn Off Your Computer" appeared. At this point, I don't exactly know why, probably because of not paying attention, I panicked a bit and shut down the PC. As I lately found out here, I probably should not have done this because that process of cleaning was unharmfull and even necessary.
After all of these, I finally entered GRUB and chose to open Ubuntu. The Grub interface looked fine, but after it, some error messages appeared. These errors are not fatal in my view, but I have some trouble in understanding them and I don't know how to correct them. It is the first time I see them. I say they are not fatal because the booting process does not stop and after 30 seconds, at most, Ubuntu starts. From yesterday till now, I rebooted my Ubuntu OS several times and the message log varied, but as I see know it reached some sort of stable state. I would put an image but I don`t have 10 reputation yet. I'm going to copy the log by hand instead:
[0.117946] x86/CPU: SGX disabled by BIOS
[0.300647] platform MSFT0101:00: failed to claim resource 1: [mem 0xfed40000-0Xfed40fff]
[0.300655] acpi MSFT0101:00: platform device creation failed: -16
/dev/sdb1: clean, 276988/1531904 files, 4922273/6103515 blocks
[14.079275] usb 1-5: Failed to query (GET_INFO) UVC control 8 on unit 1: -32(exp. 1).
Ok, so coming back to my initial question, is it something I should be worried about if I let the systems as they are and continue my work? (I should mention probably that Windows seems to work fine). In addition, if anyone can come with any explanation of any of the error messages above I would be very grateful.
When searching the web, I didn't find the exact answer to my problem. It isn't singular for sure. From what I understand, it might be that I interrupted that process of cleaning after the update of Windows and some fragments or temporary files remained possibly on the HDD where Ubuntu stands. The ultimate solution would be to format the HDD and reinstall Ubuntu but it might be quite a hassle as Ubuntu seems to work fine and properly aside these 4 error messages.
I also tried the "fsck" command. However, I didn't manage to apply it on /dev/sdb1 because the partition was mounted and on use. I read about entering recovery mode, which I did, but somehow I still didn't manage to solve the issue. I inspired myself from here.
Given Jos request, I'm going to add here the output of "df" command:
Filesystem | 1K-blocks | Used | Available | Use% | Mounted on |
---|---|---|---|---|---|
/dev/sdb1 | 22980836 | 18297544 | 3446208 | 85% | / |
/dev/sdb2 | 936350412 | 39407764 | 849308936 | 5% | /home |
/dev/sda1 | 98304 | 30890 | 67414 | 32% | /boot/efi |
df
command. – Jos Sep 06 '22 at 17:14/dev/sda1
is certainly not the Windows partition, it is theEFI
partition. There must be another partition containing Windows. Anyway the Ubuntu partitions are clean. There is no need tofsck
them. A Windows partition should be checked and repaired using Windows tools. The error messages you mention can each be googled and do not turn up anything serious. Only the last one may indicate that your webcam (or some such device) doesn't work. If so, please post a separate question. – Jos Sep 06 '22 at 18:25fsck
is done at every Ubuntu boot for the filesystems to be mounted; you posted the outcome of thefsck
of/
yourself. If there were any inconsistencies, your boot would pause until you ranfsck
manually. So yes, I am pretty confident that everything is OK on the Ubuntu side. – Jos Sep 06 '22 at 18:43