Следите за новостями русскоязычного сообщества Ubuntu в Twitter-ленте @ubuntu_ru_loco
0 Пользователей и 1 Гость просматривают эту тему.
root@lubuntu:/# update-grub/usr/sbin/grub-mkconfig: 250: /usr/sbin/grub-mkconfig: cannot create /boot/grub/grub.cfg.new: Directory nonexistentroot@lubuntu:/#
ls /boot
root@lubuntu:/# ls /bootabi-3.13.0-79-generic initrd.img-3.19.0-51-genericconfig-3.13.0-79-generic System.map-3.13.0-79-genericinitrd.img-3.13.0-79-generic vmlinuz-3.13.0-79-genericinitrd.img-3.19.0-25-genericroot@lubuntu:/#
lubuntu@lubuntu:~$ sudo mount /dev/sda1 /bootlubuntu@lubuntu:~$ ls /bootgrub lost+found memtest86+.elfinitrd.img-3.19.0-37-generic memtest86+.bin memtest86+_multiboot.bin
grub-install /dev/sda
root@lubuntu:/# grub-install /dev/sdaInstalling for i386-pc platform.Installation finished. No error reported.root@lubuntu:/# ls /bootabi-3.13.0-79-generic initrd.img-3.19.0-25-genericconfig-3.13.0-79-generic initrd.img-3.19.0-51-genericgrub System.map-3.13.0-79-genericinitrd.img-3.13.0-79-generic vmlinuz-3.13.0-79-genericroot@lubuntu:/#
update-grub
root@lubuntu:/# update-grubGenerating grub configuration file ...Found linux image: /boot/vmlinuz-3.13.0-79-genericFound initrd image: /boot/initrd.img-3.13.0-79-genericdoneroot@lubuntu:/#
exitsudo reboot
sudo rm /boot/initrd.img-3.19.0-25-genericsudo rm /boot/initrd.img-3.19.0-51-generic
sudo apt-get autoremove
Страница сгенерирована за 0.051 секунд. Запросов: 24.