home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / src / linux-headers-2.6.17-6 / debian / docs / README.grub < prev    next >
Encoding:
Text File  |  2005-06-08  |  1.8 KB  |  59 lines

  1.            Andras BALI <drewie@bigfoot.com>
  2.  
  3. The scripts included in kernel-package (postinst script for adding the
  4. new kernel to the menu, postrm script to remove it from the menu and a
  5. config file) handle symlinks properly so the default menu entry can
  6. launch the last installed kernel. This scripts are based on
  7. kernel_grub_conf.sh by Junichi Uekawa <dancer@debian.org> and work
  8. perfect on my system with the following kernel-package configuration:
  9.  
  10. ,----
  11. | $ cat /etc/kernel-img.conf
  12. | link_in_boot = yes
  13. | do_symlinks = yes
  14. | no_symlinks = no
  15. | relative_links = yes
  16. | reverse_symlink = no
  17. | do_boot_enable =  yes
  18. | do_bootfloppy = no
  19. | do_bootloader = no
  20. |
  21. | postinst_hook = /usr/local/sbin/kernel_grub_conf.sh
  22. | postrm_hook = /usr/local/sbin/kernel_grub_rm.sh
  23. `----
  24.  
  25. ,----
  26. | $ ls -l /boot
  27. | /boot:
  28. | total 1105
  29. | drwxr-xr-x    4 root     root         1024 Jul  4 18:14 .
  30. | drwxr-xr-x   18 root     root         1024 Jun 12 13:23 ..
  31. | -rw-r--r--    1 root     root       396184 Jun  9 20:11 System.map-2.4.5-ac12-ipt-int
  32. | -rw-r--r--    1 root     root        15336 Jun  9 19:03 config-2.4.5-ac12-ipt-int
  33. | drwxr-xr-x    2 root     root         1024 Jul  4 18:14 grub
  34. | drwxr-xr-x    2 root     root        12288 May 26 20:36 lost+found
  35. | lrwxrwxrwx    1 root     root           26 Jun  9 20:14 vmlinuz -> vmlinuz-2.4.5-ac12-ipt-int
  36. | -rw-r--r--    1 root     root       681505 Jun  9 20:11 vmlinuz-2.4.5-ac12-ipt-int
  37. `----
  38.  
  39. ,----
  40. | $ cat /boot/grub/menu.lst
  41. | timeout 5
  42. | default 0
  43. |
  44. | title linux [default]
  45. | root (hd0,3)
  46. | kernel /vmlinuz root=/dev/hda2 devfs=mount
  47. |
  48. | title pcdos
  49. | rootnoverify (hd0,0)
  50. | makeactive
  51. | chainloader +1
  52. |
  53. | #Autogenerated by kernel-image 2.4.5-ac12-ipt-int
  54. | title linux 2.4.5-ac12-ipt-int
  55. | root (hd0,3)
  56. | kernel /vmlinuz-2.4.5-ac12-ipt-int root=/dev/hda2
  57. | #End kernel-image 2.4.5-ac12-ipt-int
  58. `----
  59.