update repository
[cmdllinux.git] / grub / grub-update.txt
blob41034a08a3fea6ded7098b0a0f249aeb7140abc8
1 update grub2 and os-prober to make it "distribution friendly"
2 patches for (grub 2.02) and (os-prober 1.75)
4 (some linux disrto loads microcode by initrd line as a separate image file)
5 (grub-mount replaced with mount)
7 your distribution may contain distribution specific (modified) os-prober and
8 grub packages - or newer versions
11 patches:
12 - initrd patches - to handle (configuration generation) multiple files in initrd lines
14 grub-2.02-initrd.patch
15 os-prober-1.75-grub-initrd.patch
17 - ucode - look for microcode images (eg.: ucode.img)
19 grub-2.02-ucode-2.patch
21 - no grub-mount (grub-mount - read-only fuse based mount utility (makes searches in filesystems
22   while it is mounted) - which is very slow)
23   (this patch limits the mount capability to filesystems which are known by the linux kernel)
25 os-prober-1.75-no-grub-mount.patch
28 you may try to update these scripts by overwriting original files if these
29 packages are installed (create backup; copy files by overwriting original)
31 "files" directory contains:
32 - os-prober package's updated files and other files (scripts) without "newns" binary
33   "/usr/lib/os-prober/newns"
34 - and updated grub files: "/etc/grub.d/10_linux" "/etc/grub.d/30_os-prober"
36 (you may set up grub to find other os-es on other partitions
37         execute permission on file: /etc/grub.d/30_os-prober
38         #turn on
39         chmod 755 /etc/grub.d/30_os-prober
40         #turn off
41         chmod 644 /etc/grub.d/30_os-prober)