Adding a dsk to /etcfstab hs led to anunbootable computer

I wante to add a disk to te system. The hardware w installed with the basuc build but I wanted to mount it as /big3

I added the single line to /etc/fstab but now each attemt to boot lands me in a maintence shell.I have reviewed the fstab hbut it loos right to me. I will add the version I ave got to which fails.

Sorry but I camm
nnot even return to the orignal.

 more fstab 
UUID=10fc052a-9a24-4c1b-b5c6-cfccc3e98338  /                       btrfs  defaults                      0  0
UUID=10fc052a-9a24-4c1b-b5c6-cfccc3e98338  /var                    btrfs  subvol=/@/var                 0  0
UUID=10fc052a-9a24-4c1b-b5c6-cfccc3e98338  /usr/local              btrfs  subvol=/@/usr/local           0  0
UUID=10fc052a-9a24-4c1b-b5c6-cfccc3e98338  /tmp                    btrfs  subvol=/@/tmp                 0  0
UUID=10fc052a-9a24-4c1b-b5c6-cfccc3e98338  /srv                    btrfs  subvol=/@/srv                 0  0
UUID=10fc052a-9a24-4c1b-b5c6-cfccc3e98338  /root                   btrfs  subvol=/@/root                0  0
UUID=10fc052a-9a24-4c1b-b5c6-cfccc3e98338  /opt                    btrfs  subvol=/@/opt                 0  0
UUID=10fc052a-9a24-4c1b-b5c6-cfccc3e98338  /home                   btrfs  subvol=/@/home                0  0
UUID=10fc052a-9a24-4c1b-b5c6-cfccc3e98338  /boot/grub2/x86_64-efi  btrfs  subvol=/@/boot/grub2/x86_64-efi  0  0
UUID=10fc052a-9a24-4c1b-b5c6-cfccc3e98338  /boot/grub2/i386-pc     btrfs  subvol=/@/boot/grub2/i386-pc  0  0
UUID=BAA9-CAB3                             /boot/efi               vfat   utf8                          0  2
UUID=ca4dd77a-233c-4187-862d-bb0d913c451   swap                    swap   defaults                      0  0
UUID=91a2e200-f23d-447f-a37e-e65aa868b7d6  /big3                   ext4   defaults                      0  2
UUID=11fc052a-9a24-4c1b-b5c6-cfccc3e98338  /.snapshots             btrfs  subvol=/@/.snapshots          0  0

anf mtab
, kproc /proc proc rw,nosuid,nodev,noexec,relatime 0 0 sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0 devtmpfs /dev devtmpfs rw,nosuid,size=4096k,nr_inodes=1048576,mode=755,inode64 0 0 securityfs /sys/kernel/security securityfs rw,nosuid,nodev,noexec,relatime 0 0 tmpfs /dev/shm tmpfs rw,nosuid,nodev,inode64 0 0 devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0 tmpfs /run tmpfs rw,nosuid,nodev,size=13023476k,nr_inodes=819200,mode=755,inode64 0 0 tmpfs /sys/fs/cgroup tmpfs ro,nosuid,nodev,noexec,size=4096k,nr_inodes=1024,mode=755,inode64 0 0 cgroup2 /sys/fs/cgroup/unified cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate 0 0 cgroup /sys/fs/cgroup/systemd cgroup rw,nosuid,nodev,noexec,relatime,xattr,name=systemd 0 0 pstore /sys/fs/pstore pstore rw,nosuid,nodev,noexec,relatime 0 0 efivarfs /sys/firmware/efi/efivars efivarfs rw,nosuid,nodev,noexec,relatime 0 0 bpf /sys/fs/bpf bpf rw,nosuid,nodev,noexec,relatime,mode=700 0 0 cgroup /sys/fs/cgroup/memory cgroup rw,nosuid,nodev,noexec,relatime,memory 0 0 cgroup /sys/fs/cgroup/rdma cgroup rw,nosuid,nodev,noexec,relatime,rdma 0 0 cgroup /sys/fs/cgroup/blkio cgroup rw,nosuid,nodev,noexec,relatime,blkio 0 0 cgroup /sys/fs/cgroup/net_cls,net_prio cgroup rw,nosuid,nodev,noexec,relatime,net_cls,net_prio 0 0 cgroup /sys/fs/cgroup/cpuset cgroup rw,nosuid,nodev,noexec,relatime,cpuset 0 0 cgroup /sys/fs/cgroup/misc cgroup rw,nosuid,nodev,noexec,relatime,misc 0 0 cgroup /sys/fs/cgroup/pids cgroup rw,nosuid,nodev,noexec,relatime,pids 0 0 cgroup /sys/fs/cgroup/devices cgroup rw,nosuid,nodev,noexec,relatime,devices 0 0 cgroup /sys/fs/cgroup/freezer cgroup rw,nosuid,nodev,noexec,relatime,freezer 0 0 cgroup /sys/fs/cgroup/perf_event cgroup rw,nosuid,nodev,noexec,relatime,perf_event 0 0 cgroup /sys/fs/cgroup/cpu,cpuacct cgroup rw,nosuid,nodev,noexec,relatime,cpu,cpuacct 0 0 cgroup /sys/fs/cgroup/hugetlb cgroup rw,nosuid,nodev,noexec,relatime,hugetlb 0 0 /dev/nvme0n1p2 / btrfs rw,relatime,ssd,space_cache,subvolid=267,subvol=/@/.snapshots/1/snapshot 0 0 systemd-1 /proc/sys/fs/binfmt_misc autofs rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=16685 0 0 debugfs /sys/kernel/debug debugfs rw,nosuid,nodev,noexec,relatime 0 0 mqueue /dev/mqueue mqueue rw,nosuid,nodev,noexec,relatime 0 0 hugetlbfs /dev/hugepages hugetlbfs rw,relatime,pagesize=2M 0 0 tracefs /sys/kernel/tracing tracefs rw,nosuid,nodev,noexec,relatime 0 0 configfs /sys/kernel/config configfs rw,nosuid,nodev,noexec,relatime 0 0 fusectl /sys/fs/fuse/connections fusectl rw,nosuid,nodev,noexec,relatime 0 0 /dev/nvme0n1p2 /opt btrfs rw,relatime,ssd,space_cache,subvolid=262,subvol=/@/opt 0 0 /dev/nvme0n1p2 /boot/grub2/i386-pc btrfs rw,relatime,ssd,space_cache,subvolid=265,subvol=/@/boot/grub2/i386-pc 0 0 /dev/nvme0n1p2 /srv btrfs rw,relatime,ssd,space_cache,subvolid=260,subvol=/@/srv 0 0 /dev/nvme0n1p2 /usr/local btrfs rw,relatime,ssd,space_cache,subvolid=258,subvol=/@/usr/local 0 0 /dev/nvme0n1p2 /var btrfs rw,relatime,ssd,space_cache,subvolid=257,subvol=/@/var 0 0 /dev/nvme0n1p2 /home btrfs rw,relatime,ssd,space_cache,subvolid=263,subvol=/@/home 0 0 /dev/nvme0n1p2 /home btrfs rw,relatime,ssd,space_cache,subvolid=263,subvol=/@/home 0 0 /dev/nvme0n1p2 /boot/grub2/x86_64-efi btrfs rw,relatime,ssd,space_cache,subvolid=264,subvol=/@/boot/grub2/x86_64-efi 0 0 /dev/nvme0n1p2 /tmp btrfs rw,relatime,ssd,space_cache,subvolid=259,subvol=/@/tmp 0 0 /dev/nvme0n1p2 /root btrfs rw,relatime,ssd,space_cache,subvolid=261,subvol=/@/root 0 0 /dev/nvme0n1p1 /boot/efi vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0 /dev/sda1 /big3 ext4 rw,relatime 0 0 /dev/sdb1 /mnt vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0 kkk

Try the following and remove the line that borked the system,

First of course from that maintenance mode, edit /etc/fstab and put a # before that line with big3 in it. Then you should be able to boot again.

After that you have to find out what is wrong with that line.

lsblk -f

will show what disks you have, what partitions on them, what file systems on them, what UUDs.

Anf of course /big3 should exist. Please prove that:

ls -l /big3

One of the first things I did was to comment out the /big3 line but I could not boot the system. It ran a boot task for 1min30sec an then stopped.

Nolt in contact with the new computer at present but I will check lsblk asap

What is on the boot screen? You can hit Esc to see what happens.

We want of course know all errors/warnings that you see there. We can not look over your shoulder.

Sounds interesting but I could not get it to do more than before

There seems to be a problem with swap. Commenting it out still leads, ti start Jo for a UUID that is the one associated with /dev/sda2.

1 can confirm that /big3 exists

I wii transfer some files via usb stick

Partial fix. I commented out the line mounting. /. snapshots a d I am back.

No Idea what I lost this way

If you carefully compare UUID of this line with other btrfs lines it will be obvious what was wrong.

Surprise - you lost snapshots of root filesystem.

1 Like

I see the nae but not the value. What functioning is missing? Why did it change?

Arghh…

I see what you mean. All running now.

Thank you for your patience with an aging user.