cannot boot after disk full

Hello,

I tried to restore files from a SD card using R-Linux. The programme stopped working after some time with some error message. I restarted the system and got a message that there was no free space; I also had no icons.

Then I restarted with the physical button into a live flash drive. I deleted the file that R-Linus had made. Since then I can not start the system. With gparted I can see the partitions are all right.

I tried several pieces of advice to repair boot but to no avail. Here is what I get:
sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
Installing for x86_64-efi platform.
Installation finished. No error reported.
[manjaro-cinnamon /]# sudo update-grub
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-5.2-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.2-x86_64.img
Found initrd fallback image: /boot/initramfs-5.2-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.1-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.1-x86_64.img
Found initrd fallback image: /boot/initramfs-5.1-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.0-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.0-x86_64.img
Found initrd fallback image: /boot/initramfs-5.0-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.0-rt-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.0-rt-x86_64.img
Found initrd fallback image: /boot/initramfs-5.0-rt-x86_64-fallback.img
Found linux image: /boot/vmlinuz-4.19-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-4.19-x86_64.img
Found initrd fallback image: /boot/initramfs-4.19-x86_64-fallback.img
grub-probe: error: cannot find a GRUB drive for /dev/sdc1. Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdc1. Check your device.map.
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: warning: unknown device type nvme0n1.

In my humble non-experinced view the nvme0n1 causes the trouble.

Please help.

can you return

sudo fdisk -l
sudo df -Th
sudo fdisk -l
Disk /dev/nvme0n1: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: Samsung SSD 960 EVO 1TB                 
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: CA861E12-67A7-4C06-A9CA-02592F7C31F2

Device             Start        End    Sectors   Size Type
/dev/nvme0n1p1    409600  103016447  102606848  48.9G Linux filesystem
/dev/nvme0n1p2      2048     409599     407552   199M Microsoft basic data
/dev/nvme0n1p3 103016448  307816447  204800000  97.7G Linux filesystem
/dev/nvme0n1p4 307816448 1953523711 1645707264 784.8G Linux filesystem

Partition table entries are not in disk order.


Disk /dev/loop0: 76.5 MiB, 80199680 bytes, 156640 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop1: 273.2 MiB, 286420992 bytes, 559416 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop2: 1018.5 MiB, 1067958272 bytes, 2085856 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop3: 464.8 MiB, 487342080 bytes, 951840 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sda: 2.7 TiB, 3000592982016 bytes, 5860533168 sectors
Disk model: TOSHIBA HDWD130 
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 5920710C-CBA6-4F5B-9203-72358F8783AB

Device     Start        End    Sectors  Size Type
/dev/sda1   2048 5860532223 5860530176  2.7T Linux filesystem


Disk /dev/sdb: 5.5 TiB, 6001175125504 bytes, 11721045167 sectors
Disk model: Backup+ Hub BK  
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 33553920 bytes
Disklabel type: gpt
Disk identifier: 02AA2888-0AC1-4BD6-A275-EA71EBC16F45

Device      Start         End     Sectors  Size Type
/dev/sdb1      34      262177      262144  128M Microsoft reserved
/dev/sdb2  264192 11721043967 11720779776  5.5T Microsoft basic data

Partition 1 does not start on physical sector boundary.


Disk /dev/sdc: 29.9 GiB, 32128368640 bytes, 62750720 sectors
Disk model: Transcend 32GB  
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000

Device     Boot   Start     End Sectors  Size Id Type
/dev/sdc1  *         64 3873735 3873672  1.9G  0 Empty
/dev/sdc2       3873736 3881927    8192    4M ef EFI (FAT-12/16/32)

sudo df -Th
Filesystem     Type      Size  Used Avail Use% Mounted on
dev            devtmpfs   32G     0   32G   0% /dev
run            tmpfs      32G   93M   32G   1% /run
/dev/sdc1      iso9660   1.9G  1.9G     0 100% /run/miso/bootmnt
cowspace       tmpfs     256M     0  256M   0% /run/miso/cowspace
overlay_root   tmpfs      48G   85M   47G   1% /run/miso/overlay_root
/dev/loop0     squashfs   77M   77M     0 100% /run/miso/sfs/livefs
/dev/loop1     squashfs  274M  274M     0 100% /run/miso/sfs/mhwdfs
/dev/loop2     squashfs 1019M 1019M     0 100% /run/miso/sfs/desktopfs
/dev/loop3     squashfs  465M  465M     0 100% /run/miso/sfs/rootfs
overlay        overlay    48G   85M   47G   1% /
tmpfs          tmpfs      32G   98M   32G   1% /dev/shm
tmpfs          tmpfs      32G     0   32G   0% /sys/fs/cgroup
tmpfs          tmpfs      32G   41M   32G   1% /tmp
tmpfs          tmpfs      32G  1.6M   32G   1% /etc/pacman.d/gnupg
tmpfs          tmpfs     6.3G   24K  6.3G   1% /run/user/1000
/dev/sdb2      fuseblk   5.5T  4.3T  1.3T  78% /run/media/manjaro/Seagate Backup

we need more info
wit USB install manjaro
open a terminal

manjaro-chroot -a ( select 1 if one line )
cat /etc/fstab
fdisk -l
df -Th
exit ( quit chroot ) 
manjaro-chroot -a
==> Mounting (ManjaroLinux) [/dev/nvme0n1p1]
 --> mount: [/mnt]
 --> mount: [/mnt/boot/efi]
 --> mount: [/mnt/home]


cat /etc/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>
UUID=DB69-AA54                            /boot/efi      vfat    defaults,noatime 0 2
UUID=98cc00e6-d637-4b04-97ea-b7ad49c34f68 /              ext4    defaults,noatime 0 1
UUID=ea8d7fd7-8f52-4e5b-b341-807e5481287d /home          ext4    defaults,noatime 0 2
/dev/disk/by-uuid/5c5a6aa0-c11d-489e-b79b-1474ff2a80a1 /mnt/5c5a6aa0-c11d-489e-b79b-1474ff2a80a1 auto nosuid,nodev,nofail,x-gvfs-show 0 0
/dev/disk/by-uuid/716ff601-4cbf-4c10-9eea-f0f1e6e791f4 /mnt/716ff601-4cbf-4c10-9eea-f0f1e6e791f4 auto nosuid,nodev,nofail,x-gvfs-show 0 0


 fdisk -l
Disk /dev/nvme0n1: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: Samsung SSD 960 EVO 1TB                 
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: CA861E12-67A7-4C06-A9CA-02592F7C31F2

Device             Start        End    Sectors   Size Type
/dev/nvme0n1p1    409600  103016447  102606848  48.9G Linux filesystem
/dev/nvme0n1p2      2048     409599     407552   199M Microsoft basic data
/dev/nvme0n1p3 103016448  307816447  204800000  97.7G Linux filesystem
/dev/nvme0n1p4 307816448 1953523711 1645707264 784.8G Linux filesystem

Partition table entries are not in disk order.


Disk /dev/loop0: 76.5 MiB, 80199680 bytes, 156640 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop1: 273.16 MiB, 286420992 bytes, 559416 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop2: 1018.5 MiB, 1067958272 bytes, 2085856 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop3: 464.78 MiB, 487342080 bytes, 951840 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sda: 2.75 TiB, 3000592982016 bytes, 5860533168 sectors
Disk model: TOSHIBA HDWD130 
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 5920710C-CBA6-4F5B-9203-72358F8783AB

Device     Start        End    Sectors  Size Type
/dev/sda1   2048 5860532223 5860530176  2.7T Linux filesystem


Disk /dev/sdb: 29.94 GiB, 32128368640 bytes, 62750720 sectors
Disk model: Transcend 32GB  
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000

Device     Boot   Start     End Sectors  Size Id Type
/dev/sdb1  *         64 3873735 3873672  1.9G  0 Empty
/dev/sdb2       3873736 3881927    8192    4M ef EFI (FAT-12/16/32)


df -Th
Filesystem     Type      Size  Used Avail Use% Mounted on
/dev/nvme0n1p1 ext4       48G   23G   24G  49% /
/dev/nvme0n1p2 vfat      196M  255K  196M   1% /boot/efi
/dev/nvme0n1p3 ext4       96G   93G     0 100% /home
udev           devtmpfs   32G     0   32G   0% /dev
shm            tmpfs      32G     0   32G   0% /dev/shm
run            tmpfs      32G     0   32G   0% /run
tmp            tmpfs      32G     0   32G   0% /tmp
overlay        overlay    48G  110M   47G   1% /etc/resolv.conf



return in chroot , and remove any big file if possible

manjaro-chroot -a ( select 1 if one line )
du -hms /home/* | sort -nr | head
find / -type f -size +500000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'
exit ( for quit )

manjaro-chroot -a
==> Mounting (ManjaroLinux) [/dev/nvme0n1p1]
--> mount: [/mnt]
--> mount: [/mnt/boot/efi]
--> mount: [/mnt/home]
[manjaro-cinnamon /]# du -hms /home/* | sort -nr | head
40419 /home/jojo
1 /home/partimag
1 /home/lost+found
[manjaro-cinnamon /]# find / -type f -size +500000k -exec ls -lh {} ; | awk '{ print $9 ": " $5 }'
/proc/kcore: 128T
find: '/proc/4345/task/4345/fdinfo/6': No such file or directory
find: '/proc/4345/fdinfo/5': No such file or directory
/home/jojo/tails-amd64-3.15.img: 1.2G
/home/jojo/VirtualBox: 21G
/home/jojo/Downloads/Win10_1903_V1_English_x64.iso: 4.7G
/home/jojo/Downloads/Order_No_027.mkv: 746M
/home/jojo/Downloads/Qi: 657M
/home/jojo/Downloads/MacGahan_Turkish: 551M
/home/jojo/Downloads/Xing: 722M
/home/jojo/Downloads/Myung.ryoung.027.aka.Order.No.027.1986.DivX/Myung.ryoung.027.aka.Order.No.027.1986.DivX.avi: 885M
/home/jojo/Downloads/ubuntu-18.04.2-desktop-amd64.iso: 1.9G
/home/.Trash-0/files/recup_dir.1/f0002176.mpg: 53G

ok

your /home is FULL
most files comes from /jojo/download

see if you need to backup some of them , else delete.

/home for 93Go seems to be small in this case

see this link for share link /data

Hello Stepane,

Thank you very much for your help so far.

I have now 5.5 GB free of my /home. There is and was a dash blinking on the screen when I start as usual. That is why I think something is wrong with booting/GRUB.

I fail to understand how a full disk will prevent the system from booting. And I do not have multiple OS's - just Manjaro with Virtualbox.

can you return

inxi -Fxxxz
sudo journalctl -b0 -p4

inxi -Fxxxz
System:
Host: manjaro-cinnamon Kernel: 4.19.4-1-MANJARO x86_64 bits: 64
compiler: gcc v: 8.2.1 Desktop: Cinnamon 4.0.1 dm: LightDM 1.28.0
Distro: Manjaro Linux
Machine:
Type: Desktop Mobo: ASUSTeK model: ROG MAXIMUS X HERO v: Rev 1.xx
serial: UEFI [Legacy]: American Megatrends v: 1801
date: 11/05/2018
CPU:
Topology: 6-Core model: Intel Core i7-8700K bits: 64 type: MT MCP
arch: Kaby Lake rev: A L2 cache: 12.0 MiB
flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 88728
Speed: 800 MHz min/max: 800/4700 MHz Core speeds (MHz): 1: 800 2: 800
3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 9: 800 10: 800 11: 800 12: 800
Graphics:
Device-1: Intel vendor: ASUSTeK driver: i915 v: kernel bus ID: 00:02.0
chip ID: 8086:3e92
Display: x11 server: X.Org 1.20.3 driver: intel unloaded: modesetting
alternate: fbdev,vesa tty: N/A
OpenGL: renderer: Mesa DRI Intel UHD Graphics 630 (Coffeelake 3x8 GT2)
v: 4.5 Mesa 18.2.5 compat-v: 3.0 direct render: Yes
Audio:
Device-1: Intel 200 Series PCH HD Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel bus ID: 00:1f.3 chip ID: 8086:a2f0
Sound Server: ALSA v: k4.19.4-1-MANJARO
Network:
Device-1: Intel Ethernet I219-V vendor: ASUSTeK driver: e1000e v: 3.2.6-k
port: f040 bus ID: 00:1f.6 chip ID: 8086:15b8
IF: enp0s31f6 state: up speed: 100 Mbps duplex: full mac:
Drives:
Local Storage: total: 3.67 TiB used: 281.92 GiB (7.5%)
ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 960 EVO 1TB size: 931.51 GiB
speed: 31.6 Gb/s lanes: 4 serial: rev: 3B7QCXE7 scheme: GPT
ID-2: /dev/sda vendor: Toshiba model: HDWD130 size: 2.73 TiB
speed: 6.0 Gb/s rotation: 7200 rpm serial: rev: ACF0 scheme: GPT
ID-3: /dev/sdb type: USB vendor: Transcend model: JetFlash Transcend 32GB
size: 29.92 GiB serial: rev: 8.07 scheme: MBR
Partition:
ID-1: / size: 47.08 GiB used: 108.5 MiB (0.2%) fs: overlay source: ERR-102
Sensors:
System Temperatures: cpu: 34.0 C mobo: N/A
Fan Speeds (RPM): cpu: 0
Info:
Processes: 264 Uptime: 47m Memory: 62.77 GiB used: 1.33 GiB (2.1%)
Init: systemd v: 239 Compilers: gcc: 8.2.1 Shell: bash v: 4.4.23
running in: gnome-terminal inxi: 3.0.27
[manjaro@manjaro-cinnamon ~]$ sudo journalctl -b0 -p4
-- Logs begin at Sun 2019-08-04 13:38:42 UTC, end at Sun 2019-08-04 14:26:05 UT>
Aug 04 13:38:42 manjaro-cinnamon kernel: ENERGY_PERF_BIAS: Set to 'normal', was>
Aug 04 13:38:42 manjaro-cinnamon kernel: ENERGY_PERF_BIAS: View and update with>
Aug 04 13:38:42 manjaro-cinnamon kernel: blkcg_policy_register: BLKCG_MAX_POLS >
Aug 04 13:38:42 manjaro-cinnamon kernel: resource sanity check: requesting [mem>
Aug 04 13:38:42 manjaro-cinnamon kernel: caller pmc_core_probe+0x88/0x260 mappi>
Aug 04 13:38:42 manjaro-cinnamon kernel: pcieport 0000:00:1c.4: PCIe Bus Error:>
Aug 04 13:38:42 manjaro-cinnamon kernel: pcieport 0000:00:1c.4: device [8086:>
Aug 04 13:38:42 manjaro-cinnamon kernel: pcieport 0000:00:1c.4: [ 0] RxErr >
Aug 04 13:38:42 manjaro-cinnamon kernel: pcieport 0000:00:1c.6: PCIe Bus Error:>
Aug 04 13:38:42 manjaro-cinnamon kernel: pcieport 0000:00:1c.6: device [8086:>
Aug 04 13:38:42 manjaro-cinnamon kernel: pcieport 0000:00:1c.6: [ 0] RxErr >
Aug 04 13:38:42 manjaro-cinnamon kernel: usb: port power management may be unre>
Aug 04 13:38:42 manjaro-cinnamon kernel: sd 6:0:0:0: [sdb] No Caching mode page>
Aug 04 13:38:42 manjaro-cinnamon kernel: sd 6:0:0:0: [sdb] Assuming drive cache>
Aug 04 13:38:42 manjaro-cinnamon kernel: overlayfs: fs on '/run/miso/sfs/livefs>
Aug 04 13:38:44 manjaro-cinnamon systemd-udevd[453]: Process '/usr/bin/alsactl >
Aug 04 13:38:46 manjaro-cinnamon NetworkManager[479]: [1564925926.6126]>
Aug 04 13:38:51 manjaro-cinnamon kernel: kauditd_printk_skb: 23 callbacks suppr>
Aug 04 13:38:55 manjaro-cinnamon lightdm[1390]: gkr-pam: no password is availab>
Aug 04 13:38:56 manjaro-cinnamon cinnamon-session[1407]: WARNING: t+0.37297s: C>
Aug 04 13:38:58 manjaro-cinnamon kernel: kauditd_printk_skb: 7 callbacks suppre>

you have to check carefully in your bios , it should be only UEFI
disable CSM , Legacy , fastboot , only UEFI , AHCI for Disks and keep only USb mass storage
also this is to recheck

13:38:42 manjaro-cinnamon kernel: pcieport 0000:00:1c.4: PCIe Bus Error:>
Aug 04 13:38:42 manjaro-cinnamon kernel: pcieport 0000:00:1c.4: device [8086:>
Aug 04 13:38:42 manjaro-cinnamon kernel: pcieport 0000:00:1c.4: [ 0] RxErr >
Aug 04 13:38:42 manjaro-cinnamon kernel: pcieport 0000:00:1c.6: PCIe Bus Error:>
Aug 04 13:38:42 manjaro-cinnamon kernel: pcieport 0000:00:1c.6: device [8086:>
Aug 04 13:38:42 manjaro-cinnamon kernel: pcieport 0000:00:1c.6: [ 0] RxErr >

No. The problem remains. I am afraid, I do not understand 'also this is to recheck'.

The solution:
sudo grub-install /dev/nvme0n1

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by