It sounds like you're having issues with GRUB (the GRand Unified Bootloader) while trying to load GParted, specifically encountering an error related to a bad shim signature. This usually relates to Secure Boot and how the bootloader or kernel is being verified.
To resolve this, you can try the following steps:
1. Disable Secure Boot
If you are using a UEFI system with Secure Boot enabled, this could cause issues when loading unsigned or improperly signed binaries. You can disable Secure Boot in your UEFI firmware settings:
Reboot your computer.
During startup, enter the BIOS/UEFI setup (usually by pressing a key like F2, Delete, Esc, F10, or F12 — this varies by manufacturer).
Look for an option related to Secure Boot and set it to Disabled.
Save your changes and exit the BIOS.
2. Use Signed Kernel/Bootloader
If you are operating in an environment where Secure Boot should remain enabled, make sure you are using signed versions of GRUB and the Linux kernel. Ensure you are using a GRUB version and kernel that are signed properly:
Strip down the options in your GRUB configuration to load the necessary files correctly. The entries in /boot/grub/grub.cfg should point directly to signed binaries.
Check for any outputs or logs if there were any failures during the boot process.
3. Update GRUB and Kernel
Sometimes, issues come from outdated bootloader or kernel versions. Updating your distribution can fix these:
bash
sudo apt update
sudo apt upgrade
sudo update-grub
For distributions such as Fedora or Arch Linux, you would use the respective package managers.
4. Create a Bootable GParted Live USB
If the problem persists, consider running GParted from a Live USB, which can bypass GRUB-related issues entirely:
Download the GParted Live ISO from the official website.
Use tools such as Rufus (on Windows) or dd/Etcher (on Linux) to create a bootable USB drive.
Boot from the USB drive (you might need to adjust the boot order in BIOS/UEFI).
5. Check for Corrupt Files
If there's a chance that your GRUB installation or kernel is corrupted, you might need to reinstall GRUB:
bash
sudo grub-install /dev/sda # Adjust /dev/sda if necessary
sudo update-grub
6. Review Logs for Errors
If you can access a terminal, you might want to check for system logs that could give you more information about what's going wrong. Use:
bash
journalctl -b -1 # Check logs from the previous boot
7. Seek Additional Help
If none of the above solutions resolve the issue, you might want to seek help from forums specific to your Linux distribution, providing detailed information about your setup and the errors you're receiving.
Good luck, and I hope one of these solutions helps you resolve your problem!
The message you're seeing, "acpi: _SB_.PCI0.PEG0.PEGP: FAILED to evaluate _DSM," refers to an issue with ACPI (Advanced Configuration and Power Interface) driver and the method it's using to evaluate certain system parameters related to PCIe devices.
This is usually a warning message rather than an error that prevents your system from operating, but it can sometimes indicate underlying issues with your hardware or firmware (BIOS/UEFI). Here are some steps you can take to address this:
1. Update BIOS/UEFI Firmware
First, make sure your BIOS/UEFI firmware is up to date. Manufacturers often release updates that fix bugs and improve compatibility with hardware.
Visit the manufacturer’s website for your motherboard or laptop.
Download the latest firmware version.
Follow the manufacturer's instructions to flash the BIOS/UEFI.
2. Disable Unused Hardware in BIOS/UEFI
Sometimes disabling unnecessary hardware features in the BIOS/UEFI can resolve ACPI-related warnings.
Enter your BIOS/UEFI settings (usually by pressing F2, Delete, or Esc during boot).
Look for settings related to PCIe devices and disable those that are not required.
Save and exit.
3. Check Kernel Boot Parameters
You can try adjusting the kernel boot parameters to see if it helps with compatibility and reduces warnings. Here are a few parameters you might consider adding:
acpi=off: Disables ACPI entirely (not generally recommended, as it can affect power management).
acpi_osi=Linux: To tell the kernel to treat ACPI as Linux OS.
pci=noacpi: Disables the ACPI for PCI devices.
noapic: Disables the Advanced Programmable Interrupt Controller.
To modify the boot parameters:
Access the GRUB menu during boot (usually by holding the Shift key or pressing Esc).
Highlight the entry you want to boot.
Press e to edit.
Find the line that starts with linux and add your chosen parameter at the end.
Press F10 or Ctrl + X to boot with the modified parameters.
4. Kernel Updates
Ensure that you are running a recent and stable kernel version. Sometimes kernel updates (or downgrades) can resolve compatibility issues with hardware.
You can check your current kernel version by running:
bash
uname -r
Then update your kernel if necessary:
bash
# On Debian/Ubuntu-based systems
sudo apt update
sudo apt upgrade
sudo apt dist-upgrade
# On Fedora
sudo dnf upgrade --refresh
# On Arch Linux
sudo pacman -Syu
5. Review ACPI Settings in Your Distribution
Your Linux distribution may have specific ways of dealing with ACPI issues or settings. Look for any configuration files related to ACPI either in /etc/default/grub or other directories specific to your distribution.
6. Check for Logs and Dmesg
You can also check for more detailed logs and messages related to ACPI using the dmesg command:
bash
dmesg | grep -i acpi
This command will give you more information about the ACPI evaluation and may reveal other related messages that can help identify the source of the problem.
7. Consider Community Support
If none of these solutions alleviate the warning, consider looking for help on community forums for your specific Linux distribution, as they may have encountered similar issues with particular hardware configurations.
The message should not prevent your system from functioning normally, but it's still good to investigate if you experience any related issues.
The error "Unable to find a medium containing a live file system" typically occurs when your system is trying to boot from a Live USB or live CD, but it cannot find the expected filesystem structure on that medium. Here are some common causes and solutions for this error:
1. Check USB/CD Creation
Make sure that the Live USB or CD/DVD was created correctly. Here are the steps depending on the medium you're using:
For Live USB:
Use a Reliable Tool: Ensure you are using a reliable tool for creating the Live USB. Some popular tools include:
Rufus (Windows)
Etcher (Windows, macOS, Linux)
UNetbootin (Cross-platform)
dd command (Linux, be very careful with this tool as it requires precise commands).
Verify ISO Integrity: If available, check the checksum (such as MD5 or SHA256) of the downloaded ISO to ensure that it is not corrupted.
Select Correct Options: If you're using Rufus, choose the correct partition scheme (MBR or GPT) depending on your system's firmware (BIOS/UEFI), and select FAT32 as the file system.
For Live CD/DVD:
Check the Disc: If using a CD or DVD, ensure that the disc is free of scratches and was burned at a slow speed to ensure integrity.
Re-Burn the ISO: If necessary, try re-burning the ISO image using a reliable burning tool like Brasero (Linux) or ImgBurn (Windows).
2. Change Boot Order
Make sure that the system is configured to boot from the correct medium:
Restart your computer and enter the BIOS/UEFI settings (often pressing F2, Esc, Delete, or a similar key during boot).
Look for the Boot or Boot Order option.
Ensure that the USB or optical drive is set as the first boot device.
Save the changes and exit.
3. Test on Another Computer
To isolate whether the issue is with the Live USB/CD or the computer itself, try booting the Live medium on another computer.
4. Try a Different USB Port
For Live USBs, try connecting the USB drive to a different USB port, preferably a USB 2.0 port, since some systems have compatibility issues with USB 3.0 ports during boot.
5. Check File System Compatibility
Ensure that your Live USB and the ISO file used are compatible with your hardware (e.g., BIOS vs UEFI, 32-bit vs 64-bit). For UEFI systems, ensure that the Live USB is set up for UEFI booting.
6. Explore Alternative Boot Methods
If you continue to encounter issues, you might want to explore other means of booting or use a different Linux distribution that might be more compatible with your hardware.
7. Re-download the ISO
It’s possible that the ISO file itself became corrupted during download. Re-download it from the official website, and ensure the download completes fully.
8. Use a Different Distribution or ISO
If you're still having trouble, consider trying a different Linux distribution or a different version of GParted to see if it resolves your issue.
Recommended Steps Recap:
Verify the integrity and proper creation of your Live USB or CD/DVD.
Confirm boot order settings in BIOS.
Test the medium on a different computer.
Use USB 2.0 ports where possible.
Re-download the ISO and recreate the Live USB/CD.
Hopefully, these steps will help you resolve the issue and allow you to boot into the live filesystem.
If you are trying to run a Live Linux environment from a second NTFS disk and encountering issues, there are several factors to consider. The standard procedure for running Live environments typically involves using a USB flash drive or CD/DVD, and using NTFS directly for this purpose can lead to complications. Let’s go through the steps and possible solutions.
Booting from a Second NTFS Disk
Running a Live Linux ISO directly from an NTFS partition (as opposed to a USB drive or CD/DVD) isn't typical and can cause problems. However, if you want to boot a live system from an ISO file located on an NTFS disk, here are a few methods to accomplish it:
1. Use GRUB to Boot from an ISO
If you have GRUB installed, you can configure it to boot from an ISO located on your NTFS partition. The process generally involves updating your GRUB configuration file. Here's how to do it:
Mount the NTFS Drive: Make sure your second NTFS disk is mounted. You can check where it’s mounted by running the lsblk command.
Edit GRUB Configuration:
Open your terminal and edit the GRUB configuration file, usually located at /etc/grub.d/40_custom or directly in /boot/grub/grub.cfg. It’s often safer to work with 40_custom.
bash
sudo nano /etc/grub.d/40_custom
Add Menu Entry:
Add a menu entry for the ISO. Replace /path/to/your.iso and /dev/sdX with the actual path and disk:
bash
menuentry "My Live ISO" {
set root=(hdX,Y) # Replace hdX,Y with the correct values for your NTFS drive
linux /path/to/your.iso boot=live
initrd /path/to/your/initrd.img
}
Update GRUB:
Update GRUB to apply the changes:
bash
sudo update-grub
Reboot and Select the Entry: Reboot your system and select the newly created entry from the GRUB menu.
2. Use a Boot Manager
If you can’t get GRUB to recognize the live ISO from an NTFS file system, another option is to use a dedicated boot manager like rEFInd or Plop Boot Manager that might allow you to boot from a file on an NTFS partition.
3. Create a Bootable USB or CD/DVD
Given that running live environments from an NTFS partition can bring complications, I strongly recommend creating a bootable USB stick (or using a live CD/DVD):
Use Rufus (Windows) or Etcher (Linux/macOS) to create a bootable USB drive.
Make sure to format the USB drive using FAT32 before writing the ISO to it.
This method often circumvents many issues you might face with NTFS filesystems.
4. Virtualization
If booting directly from an ISO is too complex or unfeasible, consider using a virtual machine (e.g., VirtualBox, VMware) to boot the ISO file directly within your existing operating system. This can be a robust way to test GParted or other Live environments without the need for physical media.
Summary
While it’s possible to run a Live session from an ISO on an NTFS disk, it's often more straightforward to use a proper Live USB or CD/DVD. If you still wish to pursue the NTFS method, using GRUB to point to the ISO file can work but requires specific configurations. If you face challenges, creating a bootable USB drive remains the most reliable path.