boot – Failed to activate /swapfile – not booting – Ubuntu 20.04

Almost similar to System Not Booting – Failed to activate swap /swapfile

So far, i tried the recovery option –

sudo swapoff -a           # turn off swap 
sudo rm -i /swapfile      # remove old /swapfile

2nd command gave me a read-only filesystem

So, i switched over to a USB- Try Ubuntu
My disk partitions are as below : with /dev/sda4 earlier the root option

ubuntu@ubuntu:/media/ubuntu/cb1214b9-cc5f-4821-8696-6044cd0e2a61/etc$ ls -lha /dev/disk/by-uuid
total 0
drwxr-xr-x 2 root root 360 Jul 25 04:06 .
drwxr-xr-x 8 root root 160 Jul 25 04:05 ..
lrwxrwxrwx 1 root root  10 Jul 25 04:07 0ad87ec8-0c57-41d8-b277-8cf469820e8c -> ../../sda6
lrwxrwxrwx 1 root root  11 Jul 25 04:07 131DFDC34BBA1B17 -> ../../sda10
lrwxrwxrwx 1 root root  10 Jul 25 04:07 1FCC21D90C781BA8 -> ../../sda2
lrwxrwxrwx 1 root root  10 Jul 25 04:06 2021-02-09-19-06-26-00 -> ../../sdb1
lrwxrwxrwx 1 root root  11 Jul 25 04:07 2438-A503 -> ../../sda11
lrwxrwxrwx 1 root root  10 Jul 25 04:07 281947eb-197b-418f-8f53-c630cfcb3847 -> ../../sda8
lrwxrwxrwx 1 root root  10 Jul 25 04:07 2db7640d-b1d5-48a4-a6a4-35fa3fd741de -> ../../sda9
lrwxrwxrwx 1 root root  10 Jul 25 04:06 54C5-9C6C -> ../../sdb2
lrwxrwxrwx 1 root root  10 Jul 25 04:07 7166EF9617172034 -> ../../sda5
lrwxrwxrwx 1 root root  11 Jul 25 04:07 90509752-f7bd-4b73-be59-cd3328ffb91a -> ../../sda13
lrwxrwxrwx 1 root root  10 Jul 25 04:07 cb1214b9-cc5f-4821-8696-6044cd0e2a61 -> ../../sda4
lrwxrwxrwx 1 root root  10 Jul 25 04:07 d3c656dc-da0a-450c-8504-e83715baa550 -> ../../sda7
lrwxrwxrwx 1 root root  10 Jul 25 04:06 db9ce043-9631-4612-832e-4063811343af -> ../../sdb3
lrwxrwxrwx 1 root root  10 Jul 25 04:07 dc6fc5a0-7823-483c-88f2-cdfceeb87c13 -> ../../sda1
lrwxrwxrwx 1 root root  10 Jul 25 04:07 E849-541F -> ../../sda3
lrwxrwxrwx 1 root root  11 Jul 25 04:07 f9aa78a2-409a-491c-b912-8a14d771cb64 -> ../../sda12

ubuntu@ubuntu:/media/ubuntu/cb1214b9-cc5f-4821-8696-6044cd0e2a61/etc$ cat fstab 
# /etc/fstab: static file system information.
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda4 during installation
# /boot/efi was on /dev/sda3 during installation
UUID=E849-541F  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0
/dev/sda4 /mnt/sda4 ext4 errors=remount-ro,x-gvfs-show 0 1
/dev/sda6 /mnt/sda6 auto nosuid,nodev,nofail,x-gvfs-show 0 0
/dev/sda7 /mnt/sda7 auto nosuid,nodev,nofail,x-gvfs-show 0 0

I think my fstab is screwed up and while i wait for answers, i can just change the /dev/sda4 line from

/dev/sda4 /mnt/sda4 ext4 errors=remount-ro,x-gvfs-show 0 1


/dev/sda4 / ext4 errors=remount-ro,x-gvfs-show 0 1

and reboot and see if that works.

grub2 – Dual Booting ubuntu 20.04 and windows 10 no longer working

I had a working Windows 10 Thinkpad E530c, then I installed Ubuntu 20.04 using Grub.This setup worked fine. I used one to many commands in Ubuntu and messed up my Ubuntu side and could not fix the errors. I decided I would reinstall Kubuntu over Ubuntu. When I tried to reinstall via Kubuntu live usb disk, there were no partitions visible. I can not remember the command, but It said that that I had mbr, but not a GPT , so I ran a command to create a GPT. My pc no longer boots up. I tried boot repair and it said “GPT detected. Please create a BIOS-Boot partition (>1MB, unformatted filesystem, bios_grub flag). This can be performed via tools such as Gparted. ” The boot repair wrote a log file which lives in . Any help would be appreciated. Thanks.

linux – Ubuntu not showng in boot manager of OS after dual booting with windows 10

I am using a HP laptop which has both SSD and HDD. Windows 10 is installed in the SSD so I have decided to install linux in HDD. I have allocated around 50GB for Ubuntu 20.04 and installed it in the HDD, but after restarting the computer GRUB is not showing I thought it may be problem with the ordering of the OS in the boot loader so I decided to check in the BIOS, to my suprise even after successfull installation of the OS, OS boot manager in BIOS is showing only windows and there is no trace of linux. I am unable to understand what is the problem I have tried with different combinations of the secure boot and legacy support but nothing seems to work for me.
Currently I don’t have enough credits to post the image show i am posting the link to the image which contains the snapshot of the BIOS. If any one knows the solution then please let me know

enter image description here

partitioning – Dual booting Win10/Ubuntu upgraded to a new SSD, don’t know how to fix the EFI folder for grub loader

So I previously was using a dual OS (Win10/Ubu) on a 1TB HDD, decided to upgrade to a SSD 500GB and keep Win10/Ubu in separate Drives. I installed a fresh Win 10 on the SSD successfully.

Afterwards, I added the 1 TB which will be a side storage for Win10 and where Ubuntu is currently. Deleted the Old Windows OS and all the NTFS partitions from the 1 TB HDD. Didn’t delete any ext4 Ubuntu partitions (root, home, and swap).

So now my question is the EFI partition (Fat32) which is the Grub Boot for Ubuntu and my Old Windows OS. I’m currently stuck, and I’m hesitant to load up Ubuntu. Why can’t each OS have it’s own EFI folder, would avoid this problem.

My system: UEFI bios GPT partitions.

Thank you and would appreciate any help,

boot – Windows stopped booting after a restart

Please help me kindly. My PC is really important to me.
I upgraded my PC from windows 10 to 11 using the dev channel. Now today I restarted it and it is not booting anymore. The Windows Boot Manager from the select boot priority place in bios disappeared. I have a windows DVD with windows 10. Now what can I do?
There must be a way to get my lost boot files back, there must be a CMD command or something. Can anyone help me ?
I can’t install windows from the DVD with windows 10 because I have GPT disk but that DVD is MBR. Bootrec rebuildbcd says the requested device could not be found.

Getting horizontal dotted screen when booting windows installer via USB

I’m trying to boot an windows 10 installer on my laptop (Asus K53).

The problem is when I boot I will get an weird colored dotted screen. I don’t understand it! here is a picture of it: pic

I tried two USBs, one USB3 and the other USB2. Both of them will result in this problem. And I’ve checked the USB boots on other computers so I know they are OK.

boot – NextCloud Home Ubuntu appliance on Raspberry Pi booting from an SSD disk

With the proper updated boot loader a Raspbery Pi 4 model B can boot from an SSD drive connected to the USB3 port typically with an SATA – USB converter. This is well known and works well with both Raspbian OS and Ubuntu, e.g Ubuntu 64 bit Server for Raspberry Pi and I have that working on more than one Raspberrpy Pi 4 Model B with e.g. 2 or 4 Gb RAM.

However I cannot boot from an SSD with the NextCloud Home Ubuntu appliance image. I’m guessing this has to to with the fact that this appliance is based on the Ubuntu core 18, published on 2020-06-16.
Do anybody know of a workaround or do anybody know if this this image is going to be updated?

boot – Booting error with mm.c:376: out of memory

My machine (Dell PowerEdge r940(4sockets and RAID)) has been working well for a while without any crush before.
But someday, it stops to boot with the error as below

../../grub-core/kern/mm.c:376: out of memory.

Press any key to continue...

But the weird thing is that only complied kernels incurs such a problem.

The default kernel that came with Ubuntu does not incur this error and works well.

I tried to install another ubuntu (20.04), and it has the same error (only with compiled kernels)

I have recovered grub, but that doesn’t work.

I installed fedora too, and it works well without any problems even with compiled kernels.

Do you have any ideas?

P.S. After typing sth on the error page, the following kernel panic occurs.

Kernel Offset: 0xb000000 from 0xffffffff81000000 (relocation range: 0xfffffff80000000-0xffffffffbfffffff)

---(end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0))--- 

windows – Windows10 not booting

I have used my laptop for more than 4 years now. It came qith the original Windows 10 Home Single Language. But recently, there was a new update on Windows 10. I too updated it. Since then, Windows 10 doesn’t boot. I am sure that the problem is with Windows 10 because I have Phoenix OS and it boot and works perfectly.
I use a Dell Inspiron 3542(Yes,it’s old). The problem is that, it wont go passed the dell loading screen. I have attached an image below.
1st i get to chose what os i need to boot to. Then when i select Windows10, it keeps on loading for eternity. keeps loading like this, forever

stock android – Block booting into safe mode

I am using a porn blocker to protect my kids. But I got to know that there is a workaround to that by rebooting into safe mode. I also tested it and I was able to access everything.

Now my paid subscription to blocker seems useless. I am also worried about the kids.

So is there any way I can block safe mode in my device?

Like editing build.prop file or making any other change and safe mode blocker.