this post was submitted on 30 Sep 2024
27 points (96.6% liked)

Linux

48306 readers
716 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Hi everyone,

I have a finely tuned Fedora 40 image that I cloned using Clonezilla (see: https://sh.itjust.works/post/25762756)

I wanted to deploy it on my old Acer Aspire 5737z but it won’t boot. It’s just displaying a — on a black screen for hours.

I’m not so knowledgeable but I guess it means I would have to reinstall the GRUB or whatever.

I’ve booted into my Fedora Live USB and tried the lsblk command people were talking about on the web (I don’t understand the terminal). Here's the result.

I think the SDA disk is the one I would like to boot from.

Can anyone help me understand what I have to do 😇🙏

you are viewing a single comment's thread
view the rest of the comments
[–] alphapuggle 1 points 1 month ago (2 children)

Could you send me the output of lsblk -no FSTYPE /dev/sda3 and ll /mnt?

[–] [email protected] 2 points 1 month ago (1 children)

Hi again. Here is what it gave me:

[–] alphapuggle 1 points 1 month ago (1 children)

Since you're using btrfs, there is likely another subfolder under /mnt. ll /mnt will tell you this, but the drive isn't still mounted from the other day. When you're mounting the EFI partition, you're going to want to mount it to that folder, and not /mnt itself (/mnt/root/boot/efi, instead of /mnt/boot/efi) same for the binds (/dev, /proc, /run, etc)

[–] [email protected] 2 points 1 month ago (1 children)

Here is what I'm getting.

I'm almost ready to give up on my dream of establishing a perfectly tuned version of Fedora that I can deploy on all my computer just through Clonezilla..

[–] alphapuggle 1 points 1 month ago (1 children)

Interesting, both of my F40 installs with btrfs only have a root folder, but it looks like yours has created separate ones for /, /home, and /boot. run ll /mnt/boot; ll /mnt/home; ll /mnt/root so I can take a quick look at where things are located. My best guess is that sda1 gets mounted to /mnt/boot, while everything else (/dev, /sys, etc) gets mounted to /mnt/root

[–] [email protected] 2 points 1 month ago (1 children)

Here's what I'm getting:

I don't think I've set up anything particular, so I guess my install is different than yours because Fedora changed something. But clearly that change doesn't help me;-)

[–] alphapuggle 1 points 1 month ago

It appears that once-upon-a-time, fedora's BTRFS would create separate subvolumes for /home, /boot, and /. Looking at this list, I don't think that the boot subvolume is where all of the boot files are, just the grub2 configs. I'm assuming your kernel and initramfs are stored in /mnt/root/boot. Is there an efi folder in /mnt/root/boot? It's possible that the original install on your surface go 1 wasn't installed UEFI, and as such the folder doesn't exist (or, it's there but in caps)

If you could send a screenshot of ll /mnt/root/boot too that'd be great

For context, my /boot has the grub2 folder that exists in your boot subvolume, as well everything else needed for boot

if your system wasn't installed UEFI, you're likely missing the efi folder. If this is the case, nbd, we can generate it