Quote:
Originally Posted by colorpurple21859
What attached image?
If you know what changes you made to the fstab you should be able to change it back from the live usb.
post the fstab and
|
Hi colorpurple21859.
Sorry, I forgot to add the image after posting the first comment. It was added later.
---
Old working fstab:
Code:
# /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).
#
# systemd generates mount units based on this file, see systemd.mount(5).
# Please run 'systemctl daemon-reload' after making changes here.
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/mapper/DXXX21--vg-root / ext4 errors=remount-ro 0 1
# /boot was on /dev/sda2 during installation
UUID=306XXXXX-XXXX-XXXX-XXXX-XXXXXXX550e1 /boot ext2 defaults 0 2
# /boot/efi was on /dev/sda1 during installation
UUID=3XXX-XXXF /boot/efi vfat umask=0077 0 1
/dev/mapper/DXXX21--vg-swap_1 none swap sw 0 0
/dev/disk/by-uuid/d4XXXXXb-2XX0-4XXc-bXX1-2XXXXXXXXX32 /mnt/d4XXXXab-2XX0-4XXXdc-bXX1-26XXXXXXX632 auto nosuid,nodev,nofail,x-gvfs-show,noauto 0 0
---
The other fstab seems to be changed when I try to boot into my Debian distro. It's:
Code:
# /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).
#
# systemd generates mount units based on this file, see systemd.mount(5).
# Please run 'systemctl daemon-reload' after making changes here.
#
# <file system> <mount point> <type> <options> <dump> <pass>
#/dev/mapper/DXXX21--vg-root / ext4 errors=remount-ro 0 1
/dev/mapper/DXXX21--vg-root / ext4 discard,noatime,commit=600,errors=remount-ro 0 1
# /boot was on /dev/sda2 during installation
##UUID=30XXXXX8c-0XXb-4XX3-b687-9022329550e1 /boot ext2 defaults 0 2
UUID=30XXXXX-0XXb-4XX3-bXX7-90XXXXXXXXe1 /boot ext2 discard,noatime,commit=600,defaults 0 2
# /boot/efi was on /dev/sda1 during installation
#UUID=3XX3-8XXF /boot/efi vfat umask=0077 0 1
#/dev/mapper/DXXX21--vg-swap_1 none swap sw 0 0
#/dev/disk/by-uuid/dXXXXXXb-2XX90-4XXc-bXX1-26XXXXXXX32 /mnt/d4XXXXab-2XX0-4XXc-bXX1-2XXXXXXX632 auto nosuid,nodev,nofail,x-gvfs-show,noauto 0 0
---
demo@mx1:~
$ df -h
Code:
Filesystem Size Used Avail Use% Mounted on
/dev/sdc1 1.8G 1.8G 0 100% /live/boot-dev
/dev/loop0 1.8G 1.8G 0 100% /live/linux
tmpfs 25G 583M 25G 3% /live/aufs-ram
overlay 25G 583M 25G 3% /
tmpfs 10M 0 10M 0% /media
tmpfs 3.2G 2.9M 3.2G 1% /run
tmpfs 100M 7.9M 93M 8% /live
tmpfs 16G 6.0M 16G 1% /tmp
devtmpfs 16G 4.0K 16G 1% /dev
tmpfs 5.0M 8.0K 5.0M 1% /run/lock
tmpfs 6.3G 0 6.3G 0% /dev/shm
cgroup 12K 0 12K 0% /sys/fs/cgroup
tmpfs 3.2G 20K 3.2G 1% /run/user/1000
/dev/sdd1 59G 721M 58G 2% /media/demo/P6XXXXXgs14
/dev/mapper/DXXX21--vg-root 1.8T 694G 1.1T 40% /media/demo/f93XXXXc-1XXf-4XX6-9XX3-78XXXXXX6d6
demo@mx1:~
$ lsblk -f
Code:
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
loop0 squash 4.0 0 100% /live/linu
sda
├─sda1 ext2 1.0 d4XXXXab-2XX0-4XXc-bXX1-2XXXXX49632
├─sda2
└─sda5 crypto 2 6XXXXX59-7XXd-4XX5-aXXf-f9XXXXXX6d87
sdb
├─sdb1 vfat FAT32 3XX3-8XXF
├─sdb2 ext2 1.0 30XXXX8c-0XXb-4XX3-bXX7-90XXXXX550e1
└─sdb3 crypto 2 f1XXXXX5-4XXf-4XX9-aXXd-bXXXXXX1cae
└─luks-f1dXXXXX5-4XXf-4XX9-aXXd-bXXXXXXXae
LVM2_m LVM2 gXXX8C-1XXz-HXXr-eXXb-3XXXd-hXX9-TXXXwc
├─DXXX21--vg-root
│ ext4 1.0 fXXXXfc-1XXf-4XX6-9X3-7XXXXXXXX6 1T 38% /media/dem
└─DXXXX21--vg-swap_1
swap 1 5XXXXX5-5XX0-4XX7-aXXa-5XXXXXXbb
sdc iso966 Jolie MX-Live 2021-10-19-23-10-23-00
├─sdc1 iso966 Jolie MX-Live 2021-10-19-23-10-23-00 0 100% /live/boot
└─sdc2 vfat FAT12 EFI-LIVE 7249-CF0E
sdd
└─sdd1 vfat FAT32 P6XXXXX14 9XX4-AXX1 57.9G 1% /media/dem
nvme0n1
└─nvme0n1p1
ext4 1.0 PCS_128GB_SSD
1XXXXXab-cXXd-4XX1-8XX6-3XXXXXXX59
---
I redacted some parts (with Xs) as I'm unsure if it's sensitive info or not.