From 8cd8da2d03822e0efd28569eed6b335ef06aa8e2 Mon Sep 17 00:00:00 2001 From: Charles Plessy Date: Sun, 26 Aug 2012 16:05:09 +0900 Subject: Adapted from update-grub (0.97-66) --- debian/README.Debian | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 debian/README.Debian (limited to 'debian/README.Debian') diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..c7be3bb --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,32 @@ +quick setup +----------- + + * update-menu-lst which will create a menu.lst for you if one does not exist + or manually create one, and skip to step 4 + + * edit /boot/grub/menu.lst + or if /boot is a separate partition + edit /boot/boot/grub/menu.lst + + and change groot, and kopt to whatever settings you need. + modify anything else in the menu.lst you want, + + re-run update-grub to update the lines for each kernel to those + that you specified with groot and kopt + +update-menu-lst +--------------- +This script is a debian specific addon used to generate a menu.lst for you +either intially, and/or automatically everytime you install a new kernel. + +To setup automatic updates add these lines to your /etc/kernel-img.conf: + +postinst_hook = update-grub +postrm_hook = update-grub +do_bootloader = no + +For further information see the manpage kernel-img.conf(5) or update-menu-lst(8) + +Unlike Lilo, it is not necessary to re-run or re-install the boot loader +after every change to /boot/grub/menu.lst. menu.lst is automatically +found on GRUB's root disk and read during GRUB's boot process. -- cgit v1.2.3