Лаборатория Ubuntu
Опыт установки, настройки и использования
Ubuntu Linux Вопросы и ответы Об Ubuntu Новости Игры Записки для новичка
Поиск:

Ubuntu 9.10 и Windows 7 | Форум


Вернуться к спискам тем

 Георгий Репин создал тему 17.04.2010 в 23:42
 Новичок  Сообщений: 35
 Репутация: 24

 Сейчас не на форуме
=======/etc/default/grub.cfg======== If you change this file, run 39;update-grub39; afterwards to update /boot/grub/grub.cfg.GRUB_DEFAULT=0GRUB_HIDDEN_TIMEOUT=10GRUB_HIDDEN_TIMEOUT_QUIET=trueGRUB_TIMEOUT=30GRUB_DISTRIBUTOR=`lsb_release -i -s 2gt; /dev/null || echo Debian`GRUB_CMDLINE_LINUX_DEFAULT=GRUB_CMDLINE_LINUX= vga=798 splash Uncomment to disable graphical terminal (grub-pc only)GRUB_TERMINAL=console The resolution used on graphical terminal note that you can use only modes which your graphic card supports via VBE you can see them in real GRUB with the command `vbeinfo39;GRUB_GFXMODE=640x480 Uncomment if you don39;t want GRUB to pass root=UUID=xxx parameter to LinuxGRUB_DISABLE_LINUX_UUID=true Uncomment to disable generation of recovery mode menu entrysGRUB_DISABLE_LINUX_RECOVERY=true
Цитировать

 Менеджер по рекламе рекомендует
 Знаток своего дела  Сообщений: 1987
 Репутация: 5055

 Сейчас на форуме

 Георгий Репин ответил 17.04.2010 в 23:43
 Новичок  Сообщений: 35
 Репутация: 24

 Сейчас не на форуме
=====/etc/grub.d/40_custom====/bin/shexec tail -n +3 036;0 This file provides an easy way to add custom menu entries. Simply type the menu entries you want to add after this comment. Be careful not to change the 39;exec tail39; line above.menuentry Windows 7 { set root=(hd0,1) chainloader +1}
Цитировать

 Георгий Репин ответил 17.04.2010 в 23:44
 Новичок  Сообщений: 35
 Репутация: 24

 Сейчас не на форуме
====/boot/grub/menu.lst==== menu.lst - See: grub(8), info grub, update-grub(8) grub-install(8), grub-floppy(8), grub-md5-crypt, /usr/share/doc/grub and /usr/share/doc/grub-doc/. default num Set the default entry to the entry number NUM. Numbering starts from 0, and the entry number 0 is the default if the command is not used. You can specify 39;saved39; instead of a number. In this case, the default entry is the entry saved with the command 39;savedefault39;. WARNING: If you are using dmraid do not use 39;savedefault39; or your array will desync and will not let you boot your system.default 0 timeout sec Set a timeout, in SEC seconds, before automatically booting the default entry (normally the first entry defined).timeout 3 hiddenmenu Hides the menu by default (press ESC to see the menu)hiddenmenu Pretty colourscolor cyan/blue white/blue password [39;--md539;] passwd If used in the first section of a menu file, disable all interactive editing control (menu entry editor and command-line) and entries protected by the command 39;lock39; e.g. password topsecret password --md5 036;1036;gLhU0/036;aW78kHK1QfV3P2b2znUoe/ password topsecret examples title Windows 95/98/NT/2000 root (hd0,0) makeactive chainloader +1 title Linux root (hd0,1) kernel /vmlinuz root=/dev/hda2 ro Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST BEGIN AUTOMAGIC KERNELS LIST lines between the AUTOMAGIC KERNELS LIST markers will be modified by the debian update-grub script except for the default options below DO NOT UNCOMMENT THEM, Just edit them to your needs Start Default Options default kernel options default kernel options for automagic boot options If you want special options for specific kernels use kopt_x_y_z where x.y.z is kernel version. Minor versions can be omitted. e.g. kopt=root=/dev/hda1 ro kopt_2_6_8=root=/dev/hdc1 ro kopt_2_6_8_2_686=root=/dev/hdc2 ro kopt=root=UUID=fc79d22d-f922-424d-93c8-0eafae7edf6b ro default grub root device e.g. groot=(hd0,0) groot=fc79d22d-f922-424d-93c8-0eafae7edf6b should update-grub create alternative automagic boot options e.g. alternative=true alternative=false alternative=true should update-grub lock alternative automagic boot options e.g. lockalternative=true lockalternative=false lockalternative=false additional options to use with the default boot option, but not with the alternatives e.g. defoptions=vga=791 resume=/dev/hda5 defoptions=quiet splash should update-grub lock old automagic boot options e.g. lockold=false lockold=true lockold=false Xen hypervisor options to use with the default Xen boot option xenhopt= Xen Linux kernel options to use with the default Xen boot option xenkopt=console=tty0 altoption boot targets option multiple altoptions lines are allowed e.g. altoptions=(extra menu suffix) extra boot options altoptions=(recovery) single altoptions=(recovery mode) single controls how many kernels should be put into the menu.lst only counts the first occurence of a kernel, not the alternative kernel options e.g. howmany=all howmany=7 howmany=all specify if running in Xen domU or have grub detect automatically update-grub will ignore non-xen kernels when running in domU and vice versa e.g. indomU=detect indomU=true indomU=false indomU=detect should update-grub create memtest86 boot option e.g. memtest86=true memtest86=false memtest86=t
Цитировать

 Георгий Репин ответил 17.04.2010 в 23:49
 Новичок  Сообщений: 35
 Репутация: 24

 Сейчас не на форуме
Хммм странно. Оказывается у меня не Grub2 а Grub 1.97. Хотя в нете пишут, что в последней 9.10 груб 2
Цитировать

 Avis Rara ответил 17.04.2010 в 23:51
 Юзер  Сообщений: 67
 Репутация: 37

 Сейчас не на форуме
А при попытке загрузить menuentry Windows 7 что пишет?Grub 1.97 это и есть grub 2. Grub 1 это до 1й версии. Сейчас 0.97, кажется. Так принято у них)))
Цитировать

 Георгий Репин ответил 17.04.2010 в 23:53
 Новичок  Сообщений: 35
 Репутация: 24

 Сейчас не на форуме
В каком смысле А при попытке загрузить menuentry Windows 7??
Цитировать

 Георгий Репин ответил 17.04.2010 в 23:54
 Новичок  Сообщений: 35
 Репутация: 24

 Сейчас не на форуме
В загрузчике имееются только:Linux la-la-laLinux la-la-la(recovery mode)Linux la-la-la 0.1Linux la-la-la 0.1(recovery mode)memtest x86memtest lalalaНикакого упоминания о винде НЕТ
Цитировать

 Avis Rara ответил 17.04.2010 в 23:56
 Юзер  Сообщений: 67
 Репутация: 37

 Сейчас не на форуме
sudo grep -v 39;^39; /boot/grub/grub.cfg и вывод сюда.
Цитировать

 Георгий Репин ответил 17.04.2010 в 23:57
 Новичок  Сообщений: 35
 Репутация: 24

 Сейчас не на форуме
george@george-desktop:~036; sudo grep -v 39;^39; /boot/grub/grub.cfg [sudo] password for george: if [ -s /boot/grub/grubenv ]; then have_grubenv=true load_envfiset default=0if [ 036;{prev_saved_entry} ]; then saved_entry=036;{prev_saved_entry} save_env saved_entry prev_saved_entry= save_env prev_saved_entryfiinsmod ext2set root=(hd0,1)search --no-floppy --fs-uuid --set fc79d22d-f922-424d-93c8-0eafae7edf6bif loadfont /usr/share/grub/unicode.pf2 ; then set gfxmode=640x480 insmod gfxterm insmod vbe if terminal_output gfxterm ; then true ; else For backward compatibility with versions of terminal.mod that don39;t understand terminal_output terminal gfxterm fifiif [ 036;{recordfail} = 1 ]; then set timeout=-1else set timeout=10fiset menu_color_normal=white/blackset menu_color_highlight=black/whitemenuentry Ubuntu, Linux 2.6.31-20-generic { recordfail=1 if [ -n 036;{have_grubenv} ]; then save_env recordfail; fi set quiet=1 insmod ext2 set root=(hd0,1) search --no-floppy --fs-uuid --set fc79d22d-f922-424d-93c8-0eafae7edf6b linux /boot/vmlinuz-2.6.31-20-generic root=UUID=fc79d22d-f922-424d-93c8-0eafae7edf6b ro quiet splash initrd /boot/initrd.img-2.6.31-20-generic}menuentry Ubuntu, Linux 2.6.31-20-generic (recovery mode) { recordfail=1 if [ -n 036;{have_grubenv} ]; then save_env recordfail; fi insmod ext2 set root=(hd0,1) search --no-floppy --fs-uuid --set fc79d22d-f922-424d-93c8-0eafae7edf6b linux /boot/vmlinuz-2.6.31-20-generic root=UUID=fc79d22d-f922-424d-93c8-0eafae7edf6b ro single initrd /boot/initrd.img-2.6.31-20-generic}menuentry Ubuntu, Linux 2.6.31-14-generic { recordfail=1 if [ -n 036;{have_grubenv} ]; then save_env recordfail; fi set quiet=1 insmod ext2 set root=(hd0,1) search --no-floppy --fs-uuid --set fc79d22d-f922-424d-93c8-0eafae7edf6b linux /boot/vmlinuz-2.6.31-14-generic root=UUID=fc79d22d-f922-424d-93c8-0eafae7edf6b ro quiet splash initrd /boot/initrd.img-2.6.31-14-generic}menuentry Ubuntu, Linux 2.6.31-14-generic (recovery mode) { recordfail=1 if [ -n 036;{have_grubenv} ]; then save_env recordfail; fi insmod ext2 set root=(hd0,1) search --no-floppy --fs-uuid --set fc79d22d-f922-424d-93c8-0eafae7edf6b linux /boot/vmlinuz-2.6.31-14-generic root=UUID=fc79d22d-f922-424d-93c8-0eafae7edf6b ro single initrd /boot/initrd.img-2.6.31-14-generic}menuentry Memory test (memtest86+) { linux16 /boot/memtest86+.bin}menuentry Memory test (memtest86+, serial console 115200) { linux16 /boot/memtest86+.bin console=ttyS0,115200n8}if [ 036;{timeout} = -1 ]; then if keystatus; then if keystatus --shift; then set timeout=-1 else set timeout=0 fi else if sleep --interruptible 3 ; then set timeout=0 fi fifigeorge@george-desktop:~036;
Цитировать

 Avis Rara ответил 18.04.2010 в 0:01
 Юзер  Сообщений: 67
 Репутация: 37

 Сейчас не на форуме
Хммм) Вроде всё логично. Нет винды в конфиге, нет в меню. Я так и не понял:sudo update-grubпробовали?
Цитировать


Чтобы ответить, нужно авторизоваться здесь

Страницы: 1 2 3 4 5 6 7


Пользователь
Авторизация на сайте:
Email:
Пароль:
Запомнить (Регистрация)

Новости
Ubuntu
Linux
Сайт
Игры
 Игры для Ubuntu
Текущие проблемы:
как установить xubuntu на флешку, sd?
Дата создания: 15.03.2009 5:23
Просмотрщик изображений с возможностью удаления файлов
Дата создания: 14.03.2009 21:46
Панели и файрфокс
Дата создания: 14.03.2009 17:50
Установка ubuntu X86 на 64 процессор
Дата создания: 14.03.2009 14:38
[Решено] Проблемы с субтитрами .srt
Дата создания: 14.03.2009 12:33
Виснет Skype
Дата создания: 13.03.2009 19:58

2010-2012 © Лаборатория Ubuntu