Увидели сообщение с непонятной ссылкой, спам, непристойность или оскорбление?Воспользуйтесь ссылкой «Сообщить модератору» рядом с сообщением!
0 Пользователей и 1 Гость просматривают эту тему.
Это получается ХР + Линукс, но с семерка + линукс такой фокус не прокатит...
Цитата: SandS от 09 Мая 2012, 21:03:47Это получается ХР + Линукс, но с семерка + линукс такой фокус не прокатит...почему?
без sudo.если вводить sudo /etc/deafult/grub то выдает sudo: /etc/deafult/grub: команда не найдена.если вводить gksudo /etc/deafult/grub, то начинает чтото грузить, а потом опять строчка: $
gksudo gedit /etc/deafult/grub
sudo nano /etc/deafult/grub
### BEGIN /etc/grub.d/40_custom ###menuentry "Microsoft Windows 7" {insmod part_msdosinsmod ntfsinsmod ntldr search --file /bootmgr --no-floppy --set=rootntldr (${root})/bootmgr}### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/30_os-prober ###menuentry "Windows 7 (loader) (on /dev/sda1)" --class windows --class os { insmod part_msdos insmod ntfs set root='(/dev/sda,msdos1)' search --no-floppy --fs-uuid --set=root 742C83B12C836D44 chainloader +1}### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_os-prober ###menuentry "Windows 7 (loader) (on /dev/sda1)" { insmod ntfs set root='(hd0,1)' search --no-floppy --fs-uuid --set 4FC0553614021864 chainloader +1}### END /etc/grub.d/30_os-prober ###
The install completes and they can successfully start Ubuntu. However, when they try to start Windows by selecting the entry in the GRUB menu, Windows does not start. Instead attempting to start Windows with GRUB just re-displays the GRUB menu?Why? Well, apparently when they elected to install GRUB into the windows partition part of what actually happened was the PBR for the Windows partition was over-written with GRUB's PBR. So chainloader +1 does not chain load a Windows bootloader, but instead re-loads GRUB.IMO, the safest quick way to allow a user to boot Windows in that situation is to use the GRUB's new ntldr. I wonder if this would be of interest to the developers. I expect they did not anticipate this scenario.
Vladimir Serbinenko I don't agree with this. chainloader and ntldr don't share the same syntax: chainloader expects a bootsector whereas ntldr expects an ntldr ot bootmgr file. GRUB2 is done to break with bad design decisions of GRUB1 one of them being "kernel" command. GRUB4DOS follows GRUB1 on this subject.
Настроил оформление grub через grub customizer, после обновления grub стал выдавать ошибку после выбора Ubuntu пишет не удалось выполнить команду, нажмите любую кнопку! Как сбросить все настройки grub?
Страница сгенерирована за 0.032 секунд. Запросов: 25.