![]() ![]() Unmount the flash drive and try booting from it in BIOS mode and UEFI mode. mnt/RESCUE701/sysresccd/boot/syslinux/sysresccd_tail.cfg to enable that feature. You may want to uncomment the "Hardware Information (HDT)" section in Overwrite the boot code in the MBR with the one from syslinux:ĭd bs=440 count=1 conv=notrunc if=/usr/lib/syslinux/mbr/mbr.bin of=/dev/sdX Install syslinux on the USB flash drive partition:Ĭopy isolinux/isolinux.cfg from the extracted ISO to /mnt/RESCUE701/syslinux.cfg renaming the file. You may need apt install syslinux if you don't have syslinux installed already. That way your grub will find the config prepared by the System Rescue developers, too. This will install your OS version of grub to the USB flash drive in EFI mode.Ĭopy boot/grub/grubsrcd.cfg from the extracted ISO (or the Flash drive, it is there already) to /mnt/RESCUE701/boot/grub/grub.cfg renaming the file. Grub-install -target=x86_64-efi -recheck -removable -efi-directory=/mnt/RESCUE701/ -boot-directory=/mnt/RESCUE701/boot/ to /mnt/RESCUE701.Ĭopy the boot, EFI and sysresccd directories from the (extracted) ISO over to the root of your flash drive partition. Mount the partition created in step 3 above, e.g. If you are upgrading a flash disk from a previous System Rescue version, fatlabel /dev/sdX1 RESCUExyz will do. This label is used to find the root file system. It is crucially important that the label of the partition is "RESCUExyz" with x.yz being the version number of System Rescue you are putting on the flash drive. I do not have any systems that need an EFI partition so I skip GPT and EFI partitions. Use gparted, parted, cfdisk or sfdisk to make MBR partition table and a single primary partition of type "FAT32 LBA" (type c). But if you read this a few months down the line, it will be a newer ISO. I am using System Rescue 7.01 which is the last release as of now. Download System Rescue and unpack the ISOĭownload from and extract the files from the ISO.Ĭd MYTEMPSPACE & 7z x ~/Downloads/ or so will do. ![]() I did this on Debian Buster but with some adjustments to paths and what packages to install, any recent Linux distribution should do:ġ. The basic idea is to use the bulk of the System Rescue ISO contents but amend these with your own grub and syslinux so they work as intended over the supplied ones that are bound to the ISO layout a bit too much. I much prefer to have a flash drive that I can write to over an image of a CD (ISO) written 1:1 onto the flash media. They recommend a dd or the fancy graphical version of that, called usbimager. The "Installing on a USB memory stick" documentation is good for Windows (use Rufus, it's nice) but rather useless for Linux. With this their ISO layout changed substantially so when updating my trusty recue USB flash drive, I could not just update the kernel, initrd and the root filesystem image as I had typically done every other year before.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |