Tag Info

Hot answers tagged

3

Got the answer from help-grub mailing list: probe -u $root --set=abc use $abc as uuid variable of $root. So, in my specific case, the relevant part of grub.cfg became: probe -u $root --set=rootuuid set imgdevpath="/dev/disk/by-uuid/$rootuuid" And it works great.


2

I have the mid 2015 macbook pro (UK keyboard), and have most of the features working with Fedora 22. The brightness setting returning to 100% after reboot, and non-working hibernation/shutdown are the only two issues I'm aware of that I haven't fixed. Here's what I did: Mac OS Boot: Probably not much different to Marcelo's response, but I fixed this by ...


2

It depends on how you are installing grub. And of course, if you are installing it on the EFI System Partition (ESP), then it depends on where you are mounting that. In the particular case of your script, it looks as though perhaps it is expecting the ESP to be mounted on /boot/efi, and the /EFI/redhat directory is set up to contain what would ordinarily ...


2

You do not need (and should not create) a filesystem for the BIOS boot partition. The BIOS boot partition holds binary code that is directly accessed by GRUB after it has loaded its first stage in the first sector of the boot drive. The partition should be left unused by anything else because accidental corruption of the boot code can occur otherwise. You ...


2

Be sure that you run sudo update-grub immediately after you make any changes to the partition table. That is not necessary in some cases but it is always safe to do it. In your case it is better to make all changes from your new Linux installation: delete a partition and then update grub. If you are going to use Live CD instead you need to update grub ...


1

Try: menuentry "Debian Live 8.1 amd64 XFCE Desktop" { set isoname="debian-live-8.1.0-amd64-xfce-desktop.iso" set isopath="/boot/iso" set isofile="${isopath}/${isoname}" echo "Using ${isoname}..." loopback loop $isofile linux (loop)/live/vmlinuz boot=live findiso=${isofile} config quiet splash initrd (loop)/live/initrd.img } I've always hated UUID. ...


1

Testdisk helped me more than once. It will search for filesystem and/or files. Give it a try: http://www.cgsecurity.org/wiki/TestDisk


1

When you reference where the vmlinuz file is you reference from the ISO's root, so your centos-7.1 directory is wrong. To boot from an official ISO which has been marked as a live CD you will have to do some hacking. First to identify what vmlinuz and initrd I would mount the iso image, and find the directory where the vmlinuz and initrd are. THAT is the ...


1

I fixed it! Here are the commands I used this time: # parted /dev/sda (parted) mklabel msdos (parted) mkpart primary ext2 2MiB 2GiB (parted) mkpart primary ext4 2GiB 100% (parted) set 1 boot on (parted) q # mkfs.ext2 /dev/sda1 # cryptsetup --key-size 512 --hash sha512 --iter-time 5000 --use-random luksFormat /dev/sda2 # cryptsetup open --type luks ...


1

To boot MacOS from grub, you need just a single line in the MacOS entry: exit. This will exit grub and then the efi firmware will use the second partition in the boot order, which should be your MacOS installation (if Fedora hasn't messed up the order, otherwise you would need to fix that with efibootmgr).


1

I've been working with a similar issue all day. I just installed lubuntu on a Quantum Byte QS-1043-QB. It uses the same processor and chipset you are working with. I got the to same point you are. Basically, you need to install a 32 bit EFI file for grub and 32 bit grub version. First, install 32-bit support for grub sudo apt-get install grub-efi-ia32 ...



Only top voted, non community-wiki answers of a minimum length are eligible