Grub
Mine navigeerimisribale
Mine otsikasti
GRUB (Grand Unified Bootloader, ingl. k. suur universaalne alglaadija) on tarkvara, mille abil toimub arvuti alglaadimine. GRUB kasutatakse peamiselt x86, st i386 ja amd64 platvormidel.
Grubi taastamine
Sisestame Ubuntu Live-CD
Käivitame CMD
sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair
Boot successfully repaired. Please write on a paper the following URL: http://paste.ubuntu.com/1170758/ In case you still experience boot problem, indicate this URL to: boot.repair@gmail.com or to your favorite support forum. You can now reboot your computer.
Vana versioon, vanemates s[steemides
Sisestame Ubuntu Live-CD
Käivitame CMD
Accessories -> Terminal
Käivitame grubi
sudo grub
Otsime kus grub asub.
find /boot/grub/stage1
Grub vastab meile et ta asub
(hd0,7)
Peale grubi asukoha tuvastust anname käsu.
root (hd0,7)
Kirjutatakse selle HDD number kust toimub bootimine. HD0 on esimene ketas.
setup (hd0)
Grub vastab meile edukalt
grub> setup (hd0) Checking if "/boot/grub/stage1" exists... yes Checking if "/boot/grub/stage2" exists... yes Checking if "/boot/grub/e2fs_stage1_5" exists... yes Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 16 sectors are embedded. succeeded Running "install /boot/grub/stage1 (hd0) (hd0)1+16 p (hd0,7)/boot/grub/stage2/boot/grub/menu.lst"... succeeded Done.
Töö on tehtud teeme arvutile reboodi.
Grub boot list cleaning
Pressime Alt+F2
gksu gedit /boot/grub/menu.lst
Eemaldame mittevajalikud read
title Ubuntu 10.10, kernel 2.6.35-23-generic uuid cb890018-033e-4f0a-b1a9-b3f7e5db3b87 kernel /boot/vmlinuz-2.6.35-23-generic root=UUID=cb890018-033e-4f0a-b1a9-b3f7e5db3b87 ro splash initrd /boot/initrd.img-2.6.35-23-generic quiet
title Ubuntu 10.10, kernel 2.6.35-23-generic (recovery mode) uuid cb890018-033e-4f0a-b1a9-b3f7e5db3b87 kernel /boot/vmlinuz-2.6.35-23-generic root=UUID=cb890018-033e-4f0a-b1a9-b3f7e5db3b87 ro single initrd /boot/initrd.img-2.6.35-23-generic
Järjekorra muutmine
sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update
sudo apt-get install grub-customizer