boot error

Message
Author
bcreighton
Posts: 39
Joined: Mon Nov 01, 2021 12:09 am

Re: boot error

#11 Post by bcreighton »

How do I do that? Not really familiar with fstab.

Thanks.

User avatar
DukeComposed
Posts: 1425
Joined: Thu Mar 16, 2023 1:57 pm

Re: boot error

#12 Post by DukeComposed »

bcreighton wrote: Sat Feb 01, 2025 11:46 pm How do I do that? Not really familiar with fstab.
"man fstab" will be useful here. And since you've already posted your QSI, you know that you have a few partitions to be aware of:

Code: Select all

Partition:
  ID-1: / raw-size: 27.94 GiB size: 27.33 GiB (97.83%) used: 15.98 GiB (58.5%) fs: ext4
    dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw-size: 256 MiB size: 252 MiB (98.46%) used: 274 KiB (0.1%) fs: vfat
    dev: /dev/sda1 maj-min: 8:1
  ID-3: /home raw-size: 903.32 GiB size: 888.07 GiB (98.31%) used: 678.81 GiB (76.4%) fs: ext4
    dev: /dev/sda3 maj-min: 8:3
Each of these partitions needs its own entry in /etc/fstab. "/" needs to point to /dev/sda2. "/boot/efi" needs to point to /dev/sda1. And so forth.

In short, every mountpoint (/, /home, /boot/efi) needs a line that pairs it to its own unique /dev/something partition.

User avatar
dolphin_oracle
Developer
Posts: 22288
Joined: Sun Dec 16, 2007 12:17 pm

Re: boot error

#13 Post by dolphin_oracle »

post output of

Code: Select all

cat /etc/fstab
sudo blkid
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

jj 5117
Posts: 164
Joined: Sun Aug 07, 2016 1:13 pm

Re: boot error

#14 Post by jj 5117 »

You can try to avoid hard reboots when you lock-up by using {Fn+F1-F4} for a terminal, and then, logout, exit, or shutdown -r or -h now. There are a few other tricks for that, too. REISUB is one of them. (I learned that recently here, on this great forum.)
Thanks for being there!

bcreighton
Posts: 39
Joined: Mon Nov 01, 2021 12:09 am

Re: boot error

#15 Post by bcreighton »

Sorry for the delay, life interruptions.

ok, this is what i have in my etc/fstab. As nearly as I can determine, there is an entry for each partition?

#Entry for /dev/sda1 :
UUID=5E04-1863 /boot/efi vfat noatime,dmask=0002,fmask=0113 0 0

#Entry for /dev/sda2 :
UUID=611a97a7-33e9-4c26-93da-bdce9c0b1e39 / ext4 noatime 1 1

#Entry for /dev/sda3 :
UUID=72372e9f-feec-4830-9c96-f3c0ebe06a45 /home ext4 noatime 1 0
/swap/swap swap swap defaults 0 0

Thanks.

jj 5117
Posts: 164
Joined: Sun Aug 07, 2016 1:13 pm

Re: boot error

#16 Post by jj 5117 »

Oh, oops, Hi @bcreighton,

If you haven't figured out my mistake yet, my above "help" should have read {Ctl+Alt+F1-F4}. Sorry 'bout that.
Thanks for being there!

User avatar
fehlix
Developer
Posts: 12717
Joined: Wed Apr 11, 2018 5:09 pm

Re: boot error

#17 Post by fehlix »

bcreighton wrote: Wed Feb 05, 2025 11:03 am Sorry for the delay, life interruptions.

ok, this is what i have in my etc/fstab. As nearly as I can determine, there is an entry for each partition?

#Entry for /dev/sda1 :
UUID=5E04-1863 /boot/efi vfat noatime,dmask=0002,fmask=0113 0 0

#Entry for /dev/sda2 :
UUID=611a97a7-33e9-4c26-93da-bdce9c0b1e39 / ext4 noatime 1 1

#Entry for /dev/sda3 :
UUID=72372e9f-feec-4830-9c96-f3c0ebe06a45 /home ext4 noatime 1 0
/swap/swap swap swap defaults 0 0

Thanks.
The fstab looks good. So is your boot error now fixed?
If not, may be good to let us know what those UUID relates to, eithe one of those (or both)

Code: Select all

sudo blkid
or

Code: Select all

sudo lsblk -f

bcreighton
Posts: 39
Joined: Mon Nov 01, 2021 12:09 am

Re: boot error

#18 Post by bcreighton »

No, I wish.

Here are the results of running lsblk

Code: Select all

 /dev/sda1: LABEL_FATBOOT="EFI-SYSTEM" LABEL="EFI-SYSTEM" UUID="5E04-1863" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="primary" PARTUUID="7edbeb11-86ab-4f08-a7a4-76e3f1dc7387"
/dev/sda2: LABEL="rootMX23" UUID="611a97a7-33e9-4c26-93da-bdce9c0b1e39" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="primary" PARTUUID="5b75caf0-ef20-45fc-9fd4-c6750139e012"
/dev/sda3: LABEL="homeMX" UUID="72372e9f-feec-4830-9c96-f3c0ebe06a45" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="primary" PARTUUID="0eca8624-1efd-4135-af70-353c7f5458e1"
so SDA1 EFI
SDA2 Operating System?
SDA3 File system?

bcreighton
Posts: 39
Joined: Mon Nov 01, 2021 12:09 am

Re: boot error

#19 Post by bcreighton »

No more ideas? : )

User avatar
fehlix
Developer
Posts: 12717
Joined: Wed Apr 11, 2018 5:09 pm

Re: boot error

#20 Post by fehlix »

Does the MX liveUSB/liveSystem boot normally?
Have you tried al from LiveSystem runnin Gparted -> right click on the partions -> check, which does fscheck and a bit more.
Would it boot from LiveUSB Booet menu -> Boot Rescue Menu"-> search for GRUB loader/menus?

Post Reply

Return to “Software / Configuration”