Hot answers tagged

3

One low-tech and fast possibility is to shrink the filesystem(s) to little more than what they contain, reproduce the partition table, and reproduce only the occupied part of each partition. After the copy, enlarge each filesystem to fill its partition. But you should use tools that solve this problem for you. Partimage can save and restore a filesystem and ...


2

All this simply because somebody didn't fully implement the UEFI specification. All you have to do is boot a live system and: sudo mount -U <UUID of your ESP> /mnt sudo mkdir /mnt/EFI/BOOT sudo cp -v /mnt/boot/<your-vendor>/grubx64.efi /mnt/EFI/BOOT/ and then shutdown, remove the live system and reboot. More info about the path used can be ...


2

You have to boot Linux with EFI mode to get access to EFI variables and the ability to use efibootmgr so you can switch to grub. This guide may be of some use. The procedure I would use would be as follows: Install efibootmgr when booted into Linux. Boot into an EFI-enabled Linux livecd in EFI mode. Any would do. Ensure you are in EFI mode by checking for ...


1

It should ask if you want to install GRUB... that would be terrible if not. Every distro I have used either asks(debian,ubuntu,suse,manjaro) or has a way to disable it(centos I think), or requires you to do it manually (arch). But if you can't prevent it, you can just fix it later. Bootloaders are easy to change later on Linux systems. Optionally back it up....


1

Just an idea here Jimbo. What you can do is use. cfdisk /dev/sda changing drive letter as per your own requirements. Then just create a 10/11 Gb partition on it. Then use dd against that newly created partition. Nesting partitions is possible. partprobe && dd if=/dev/sda1 of=/dev/sda1p2 Then create a GPT with cfdisk on the destination drive ...


1

For the specific purpose of using grub-reboot, I found out that I can mount the Xubuntu partition from BunsenLabs and do grub-reboot --boot-directory=/media/.../boot ENTRY and it works.


1

If you have a submenu in your grub.cfg you should use two digits like this: grub-reboot '1>3' The first is menu index, and the second is submenu index. For example, to boot last entry from config like this: grep menu /boot/grub/grub.cfg menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option '...



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