Ak chceme zmeniť zavadzač Lilo na Grub (Sarge) možeme postupovat takto:

  • odinštalujeme Lilo
  • nainštalujem Grub
# apt-get install grub
  • po nainštalovaní baličku grub, sa v zložke /boot nevytvorí zložka grub, tento problém odstránime nainštalovaním Grub loadera
  • nainštalujem Grub loader na /dev/hda
# grub-install /dev/hda

Probing devices to guess BIOS drives. This may take a long time.
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.

(fd0)   /dev/fd0
(hd0)   /dev/hda
(hd1)   /dev/hdc

  • pomocou príkazu update-grub vytvoríme v /boot/grub súbor menu.lst
# update-grub
Searching for GRUB installation directory ... found: /boot/grub .
Testing for an existing GRUB menu.list file...

Could not find /boot/grub/menu.lst file. Would you like /boot/grub/menu.lst generated for you? (y/N) y
Searching for splash image... none found, skipping...
Found kernel: /vmlinuz
Found kernel: /vmlinuz-2.4.28
Found kernel: /vmlinuz-2.4.18-bf2.4
Updating /boot/grub/menu.lst ... done

[ Debian.org | Debian.sk | Debian.cz | Debian-linux.cz | LinuxOS.sk | LinuxON.sk | Root.cz | AbcLinuxu.cz | Penguin.cz | LinuxEXPRES | Fórum o Linuxe ]
[ Webhosting: NFO.SKNETWORK.SK | Powered by Debian & PmWiki ]
[ Layout tested with Mozilla Firefox, Konqueror and Opera. | XHTML | CSS | Atom ]