<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Linux Forum &mdash; Опять про GRUB]]></title>
		<link>https://linuxforum.ru/viewtopic.php?id=9598</link>
		<atom:link href="https://linuxforum.ru/extern.php?action=feed&amp;tid=9598&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Опять про GRUB».]]></description>
		<lastBuildDate>Sun, 02 Jan 2011 14:15:00 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Опять про GRUB]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=127865#p127865</link>
			<description><![CDATA[<div class="quotebox"><cite>zuko_uno пишет:</cite><blockquote><p>Обновил до grub2, чуда не случилось <img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" /> Ну зато теперь у обоих систем одинаковые загрузчики, и по второму грубу отличный вики-учебник на русском <img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" /></p></blockquote></div><p>попробуй изменить insmod ext2 на insmod ext4<br />стоит ли os-probe<br />зачем держать 10 загрузчиков? настроить grub2 и радоваться ))</p>]]></description>
			<author><![CDATA[null@example.com (Joe_black)]]></author>
			<pubDate>Sun, 02 Jan 2011 14:15:00 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=127865#p127865</guid>
		</item>
		<item>
			<title><![CDATA[Re: Опять про GRUB]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=127757#p127757</link>
			<description><![CDATA[<p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"># grub --version<br />grub (GNU GRUB 0.97)<br /></div></p>]]></description>
			<author><![CDATA[null@example.com (DdShurick)]]></author>
			<pubDate>Sun, 02 Jan 2011 01:04:30 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=127757#p127757</guid>
		</item>
		<item>
			<title><![CDATA[Re: Опять про GRUB]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=127728#p127728</link>
			<description><![CDATA[<p>а как узнать который у тебя груб? например, у меня минт-росинка</p>]]></description>
			<author><![CDATA[null@example.com (yxma)]]></author>
			<pubDate>Sat, 01 Jan 2011 20:36:03 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=127728#p127728</guid>
		</item>
		<item>
			<title><![CDATA[Re: Опять про GRUB]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=127658#p127658</link>
			<description><![CDATA[<p>Обновил до grub2, чуда не случилось <img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" /> Ну зато теперь у обоих систем одинаковые загрузчики, и по второму грубу отличный вики-учебник на русском <img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" /></p>]]></description>
			<author><![CDATA[null@example.com (zuko_uno)]]></author>
			<pubDate>Sat, 01 Jan 2011 17:54:44 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=127658#p127658</guid>
		</item>
		<item>
			<title><![CDATA[Re: Опять про GRUB]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=127628#p127628</link>
			<description><![CDATA[<p>2 durc<br />аналогично, файл нот фаунд.<br />Поэкспереминтировал с груб легаси (который в бэктреке), тут консолька есть грубовская, через нее и так и эдак параметрами крутил, но так и не получилось загрузиться <img src="https://linuxforum.ru/img/smilies/ac.gif" alt="ac" /><br />Ща попробую проапдейтить до груб2, надеюсь он сам корректно все загрузочные пути выставит.</p>]]></description>
			<author><![CDATA[null@example.com (zuko_uno)]]></author>
			<pubDate>Sat, 01 Jan 2011 16:30:06 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=127628#p127628</guid>
		</item>
		<item>
			<title><![CDATA[Re: Опять про GRUB]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=127623#p127623</link>
			<description><![CDATA[<p>Если попробовать закомментировать пока строки с Ubuntu в /boot/grub/menu.lst <br />А вместо них прописать<br /></p><div class="quotebox"><blockquote><p>title&nbsp; &nbsp; &nbsp; &nbsp; Ubuntu, with Linux 2.6.35-23-generic<br />uuid&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;5cc8c65e-9d0c-487b-83c1-996e08b1fac5<br />kernel&nbsp; &nbsp; &nbsp; &nbsp; /boot/vmlinuz-2.6.35-23-generic root=UUID=5cc8c65e-9d0c-487b-83c1-996e08b1fac5 ro quiet splash<br />initrd&nbsp; &nbsp; &nbsp; &nbsp; /boot/initrd.img-2.6.35-23-generic<br />savedefault<br />boot</p></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (durc)]]></author>
			<pubDate>Sat, 01 Jan 2011 15:44:14 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=127623#p127623</guid>
		</item>
		<item>
			<title><![CDATA[Re: Опять про GRUB]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=127596#p127596</link>
			<description><![CDATA[<p>Первый GRUB можно (и нужно) редактировать вручную.<br />Второй не рекомендуется&nbsp; редактировать вручную, редактировать надо /etc/default/grub и конфиги лежащие в /etc/grub.d/.</p>]]></description>
			<author><![CDATA[null@example.com (durc)]]></author>
			<pubDate>Sat, 01 Jan 2011 14:21:54 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=127596#p127596</guid>
		</item>
		<item>
			<title><![CDATA[Re: Опять про GRUB]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=127569#p127569</link>
			<description><![CDATA[<p>Вот вывод blkid:<br />/dev/sda1: UUID=&quot;7E70976C70972A43&quot; TYPE=&quot;ntfs&quot;<br />/dev/sda5: UUID=&quot;5cc8c65e-9d0c-487b-83c1-996e08b1fac5&quot; TYPE=&quot;ext4&quot;<br />/dev/sdb5: UUID=&quot;532464e8-0659-436e-8b50-0fb0290abbb2&quot; TYPE=&quot;swap&quot;<br />/dev/sda3: UUID=&quot;672a12b7-2e11-4af6-b611-9668c3de443d&quot; TYPE=&quot;ext3&quot;<br />/dev/sda4: UUID=&quot;87EF-B288&quot; TYPE=&quot;vfat&quot;<br />/dev/sdb1: LABEL=&quot;ZUKO_UNO&quot; UUID=&quot;7C66-373B&quot; TYPE=&quot;vfat&quot;<br />/dev/sda6: TYPE=&quot;swap&quot; UUID=&quot;4c7ef81b-4b55-4775-9a58-292172d1720b&quot;</p><p>2Харитон <br />в бэктректе grub --version -&nbsp; grub (GNU GRUB 0.97)</p><p>Почитал вообще как процесс загрузки происходит, комп лезет в раздел MBR на винчестере, в этом разделе есть указатель на раздел с которого производить загрузку (а я думал что там ссылки на все разделы на которых операционки стоят). В моем случае там адрес бэктрека, комп идет по этому адресу и начинает исполняться код grub&#039;а. В этот момент мы видим табличку с выбором операционки, которые груб опираясь на свой конфиг может загрузить. Если выбрать бэктрек, то начинает выполняться код ядра (??? в конфиге вроде только на ядро указатель). Фактически, если что-то изменить в конфиге убунтушного груба, то ничего не изменится в любом случае, так как убунтушный груб не выполняется.<br />Насколько я понимаю нужно изменить инструкции к загрузке убунты в конфиге бэктрековского груба.<br />Т.е. надо сделать чтобы вот это:</p><p># This entry automatically added by the Debian installer for an existing<br /># linux installation on /dev/sda5.<br />title&nbsp; &nbsp; &nbsp; &nbsp; &#039;Ubuntu, with Linux 2.6.35-23-generic&#039; --class ubuntu --class gnu-linux --class gnu --class os { (on /dev/sda5)<br />root&nbsp; &nbsp; &nbsp; &nbsp; (hd0,4)<br />kernel&nbsp; &nbsp; &nbsp; &nbsp; /boot/vmlinuz-2.6.35-23-generic root=UUID=5cc8c65e-9d0c-487b-83c1-996e08b1fac5 ro quiet splash<br />initrd&nbsp; &nbsp; &nbsp; &nbsp; /boot/initrd.img-2.6.35-23-generic<br />savedefault<br />boot</p><p>Работало так же как и это:</p><p>menuentry &#039;Ubuntu, with Linux 2.6.35-23-generic&#039; --class ubuntu --class gnu-linux --class gnu --class os {<br />&nbsp; &nbsp; recordfail<br />&nbsp; &nbsp; insmod part_msdos<br />&nbsp; &nbsp; insmod ext2<br />&nbsp; &nbsp; set root=&#039;(hd0,msdos6)&#039;<br />&nbsp; &nbsp; search --no-floppy --fs-uuid --set 5cc8c65e-9d0c-487b-83c1-996e08b1fac5<br />&nbsp; &nbsp; linux&nbsp; &nbsp; /boot/vmlinuz-2.6.35-23-generic root=UUID=5cc8c65e-9d0c-487b-83c1-996e08b1fac5 ro&nbsp; &nbsp;quiet splash<br />&nbsp; &nbsp; initrd&nbsp; &nbsp; /boot/initrd.img-2.6.35-23-generic<br />}</p><p>Т.е. переписать загрузочные инструкции с grub2 под 0.97. Ну и с учетом некоторых изменившихся разделов. Знает кто-нибудь как переписать таким образом? И возможно это нужно делать это не лезя в сам конфиг, через интерфейсы груба (хотя в конфиге бэктрековского вроде не написано DO NOT EDIT THIS FILE, как в убунтушном)?</p>]]></description>
			<author><![CDATA[null@example.com (zuko_uno)]]></author>
			<pubDate>Sat, 01 Jan 2011 13:06:00 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=127569#p127569</guid>
		</item>
		<item>
			<title><![CDATA[Re: Опять про GRUB]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=127054#p127054</link>
			<description><![CDATA[<p>я так понимаю Ubuntu 10.10 юзает grub2...<br />неужели у бэктрэка тоже груб2?<br />я так понимаю бэктрэк подправил груб на свой конфиг и править надо конфиг в бэктрэке...</p>]]></description>
			<author><![CDATA[null@example.com (Харитон)]]></author>
			<pubDate>Thu, 30 Dec 2010 13:19:16 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=127054#p127054</guid>
		</item>
		<item>
			<title><![CDATA[Re: Опять про GRUB]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=126877#p126877</link>
			<description><![CDATA[<p>Покажите вывод<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">sudo blkid</div></p>]]></description>
			<author><![CDATA[null@example.com (durc)]]></author>
			<pubDate>Wed, 29 Dec 2010 21:26:52 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=126877#p126877</guid>
		</item>
		<item>
			<title><![CDATA[Re: Опять про GRUB]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=126875#p126875</link>
			<description><![CDATA[<p>Спасибо за то что откликнулись.<br />Поправил, но по-прежнему - Error 15: File not found <img src="https://linuxforum.ru/img/smilies/ac.gif" alt="ac" /></p>]]></description>
			<author><![CDATA[null@example.com (zuko_uno)]]></author>
			<pubDate>Wed, 29 Dec 2010 21:24:37 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=126875#p126875</guid>
		</item>
		<item>
			<title><![CDATA[Re: Опять про GRUB]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=126871#p126871</link>
			<description><![CDATA[<p>Поправьте в /boot/grub/grub.cfg (ubuntu)<br /></p><div class="quotebox"><blockquote><p>menuentry &#039;Ubuntu, with Linux 2.6.35-23-generic&#039; --class ubuntu --class gnu-linux --class gnu --class os {<br />&nbsp; &nbsp; recordfail<br />&nbsp; &nbsp; insmod part_msdos<br />&nbsp; &nbsp; insmod ext2<br />&nbsp; &nbsp; set root=&#039;(hd0,msdos<span style="color: red">6</span>)&#039;<br />&nbsp; &nbsp; search --no-floppy --fs-uuid --set 5cc8c65e-9d0c-487b-83c1-996e08b1fac5<br />&nbsp; &nbsp; linux&nbsp; &nbsp; /boot/vmlinuz-2.6.35-23-generic root=UUID=5cc8c65e-9d0c-487b-83c1-996e08b1fac5 ro&nbsp; &nbsp;quiet splash<br />&nbsp; &nbsp; initrd&nbsp; &nbsp; /boot/initrd.img-2.6.35-23-generic<br />}</p></blockquote></div><p>msdos<span style="color: red">6</span> на<br />msdos<span style="color: red">5</span></p>]]></description>
			<author><![CDATA[null@example.com (durc)]]></author>
			<pubDate>Wed, 29 Dec 2010 21:10:16 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=126871#p126871</guid>
		</item>
		<item>
			<title><![CDATA[Re: Опять про GRUB]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=126864#p126864</link>
			<description><![CDATA[<p>Есть у кого-нибудь какие-то соображения на этот счет? Каким должен быть конфиг загрузчика чтобы Ubuntu заработала?</p>]]></description>
			<author><![CDATA[null@example.com (zuko_uno)]]></author>
			<pubDate>Wed, 29 Dec 2010 21:00:00 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=126864#p126864</guid>
		</item>
		<item>
			<title><![CDATA[Re: Опять про GRUB]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=126753#p126753</link>
			<description><![CDATA[<p>В предыдущем посте я выложил меню.лст который у меня в бэктреке (который благополучно грузится), а вот grub.cfg c раздела убунты который теперь не грузится (это старый загрузчик, который работал до того как я бэктрек установил):<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p>#<br /># DO NOT EDIT THIS FILE<br />#<br /># It is automatically generated by grub-mkconfig using templates<br /># from /etc/grub.d and settings from /etc/default/grub<br />#</p><p>### BEGIN /etc/grub.d/00_header ###<br />if [ -s $prefix/grubenv ]; then<br />&nbsp; set have_grubenv=true<br />&nbsp; load_env<br />fi<br />set default=&quot;0&quot;<br />if [ &quot;${prev_saved_entry}&quot; ]; then<br />&nbsp; set saved_entry=&quot;${prev_saved_entry}&quot;<br />&nbsp; save_env saved_entry<br />&nbsp; set prev_saved_entry=<br />&nbsp; save_env prev_saved_entry<br />&nbsp; set boot_once=true<br />fi</p><p>function savedefault {<br />&nbsp; if [ -z &quot;${boot_once}&quot; ]; then<br />&nbsp; &nbsp; saved_entry=&quot;${chosen}&quot;<br />&nbsp; &nbsp; save_env saved_entry<br />&nbsp; fi<br />}</p><p>function recordfail {<br />&nbsp; set recordfail=1<br />&nbsp; if [ -n &quot;${have_grubenv}&quot; ]; then if [ -z &quot;${boot_once}&quot; ]; then save_env recordfail; fi; fi<br />}</p><p>function load_video {<br />&nbsp; insmod vbe<br />&nbsp; insmod vga<br />}</p><p>insmod part_msdos<br />insmod ext2<br />set root=&#039;(hd0,msdos6)&#039;<br />search --no-floppy --fs-uuid --set 5cc8c65e-9d0c-487b-83c1-996e08b1fac5<br />if loadfont /usr/share/grub/unicode.pf2 ; then<br />&nbsp; set gfxmode=640x480<br />&nbsp; load_video<br />&nbsp; insmod gfxterm<br />fi<br />terminal_output gfxterm<br />insmod part_msdos<br />insmod ext2<br />set root=&#039;(hd0,msdos6)&#039;<br />search --no-floppy --fs-uuid --set 5cc8c65e-9d0c-487b-83c1-996e08b1fac5<br />set locale_dir=($root)/boot/grub/locale<br />set lang=ru<br />insmod gettext<br />if [ &quot;${recordfail}&quot; = 1 ]; then<br />&nbsp; set timeout=-1<br />else<br />&nbsp; set timeout=10<br />fi<br />### END /etc/grub.d/00_header ###</p><p>### BEGIN /etc/grub.d/05_debian_theme ###<br />set menu_color_normal=white/black<br />set menu_color_highlight=black/light-gray<br />### END /etc/grub.d/05_debian_theme ###</p><p>### BEGIN /etc/grub.d/10_linux ###<br />menuentry &#039;Ubuntu, with Linux 2.6.35-23-generic&#039; --class ubuntu --class gnu-linux --class gnu --class os {<br />&nbsp; &nbsp; recordfail<br />&nbsp; &nbsp; insmod part_msdos<br />&nbsp; &nbsp; insmod ext2<br />&nbsp; &nbsp; set root=&#039;(hd0,msdos6)&#039;<br />&nbsp; &nbsp; search --no-floppy --fs-uuid --set 5cc8c65e-9d0c-487b-83c1-996e08b1fac5<br />&nbsp; &nbsp; linux&nbsp; &nbsp; /boot/vmlinuz-2.6.35-23-generic root=UUID=5cc8c65e-9d0c-487b-83c1-996e08b1fac5 ro&nbsp; &nbsp;quiet splash<br />&nbsp; &nbsp; initrd&nbsp; &nbsp; /boot/initrd.img-2.6.35-23-generic<br />}<br />menuentry &#039;Ubuntu, with Linux 2.6.35-23-generic (recovery mode)&#039; --class ubuntu --class gnu-linux --class gnu --class os {<br />&nbsp; &nbsp; recordfail<br />&nbsp; &nbsp; insmod part_msdos<br />&nbsp; &nbsp; insmod ext2<br />&nbsp; &nbsp; set root=&#039;(hd0,msdos6)&#039;<br />&nbsp; &nbsp; search --no-floppy --fs-uuid --set 5cc8c65e-9d0c-487b-83c1-996e08b1fac5<br />&nbsp; &nbsp; echo&nbsp; &nbsp; &#039;Loading Linux 2.6.35-23-generic ...&#039;<br />&nbsp; &nbsp; linux&nbsp; &nbsp; /boot/vmlinuz-2.6.35-23-generic root=UUID=5cc8c65e-9d0c-487b-83c1-996e08b1fac5 ro single <br />&nbsp; &nbsp; echo&nbsp; &nbsp; &#039;Loading initial ramdisk ...&#039;<br />&nbsp; &nbsp; initrd&nbsp; &nbsp; /boot/initrd.img-2.6.35-23-generic<br />}<br />menuentry &#039;Ubuntu, with Linux 2.6.35-22-generic&#039; --class ubuntu --class gnu-linux --class gnu --class os {<br />&nbsp; &nbsp; recordfail<br />&nbsp; &nbsp; insmod part_msdos<br />&nbsp; &nbsp; insmod ext2<br />&nbsp; &nbsp; set root=&#039;(hd0,msdos6)&#039;<br />&nbsp; &nbsp; search --no-floppy --fs-uuid --set 5cc8c65e-9d0c-487b-83c1-996e08b1fac5<br />&nbsp; &nbsp; linux&nbsp; &nbsp; /boot/vmlinuz-2.6.35-22-generic root=UUID=5cc8c65e-9d0c-487b-83c1-996e08b1fac5 ro&nbsp; &nbsp;quiet splash<br />&nbsp; &nbsp; initrd&nbsp; &nbsp; /boot/initrd.img-2.6.35-22-generic<br />}<br />menuentry &#039;Ubuntu, with Linux 2.6.35-22-generic (recovery mode)&#039; --class ubuntu --class gnu-linux --class gnu --class os {<br />&nbsp; &nbsp; recordfail<br />&nbsp; &nbsp; insmod part_msdos<br />&nbsp; &nbsp; insmod ext2<br />&nbsp; &nbsp; set root=&#039;(hd0,msdos6)&#039;<br />&nbsp; &nbsp; search --no-floppy --fs-uuid --set 5cc8c65e-9d0c-487b-83c1-996e08b1fac5<br />&nbsp; &nbsp; echo&nbsp; &nbsp; &#039;Loading Linux 2.6.35-22-generic ...&#039;<br />&nbsp; &nbsp; linux&nbsp; &nbsp; /boot/vmlinuz-2.6.35-22-generic root=UUID=5cc8c65e-9d0c-487b-83c1-996e08b1fac5 ro single <br />&nbsp; &nbsp; echo&nbsp; &nbsp; &#039;Loading initial ramdisk ...&#039;<br />&nbsp; &nbsp; initrd&nbsp; &nbsp; /boot/initrd.img-2.6.35-22-generic<br />}<br />### END /etc/grub.d/10_linux ###</p><p>### BEGIN /etc/grub.d/20_linux_xen ###<br />### END /etc/grub.d/20_linux_xen ###</p><p>### BEGIN /etc/grub.d/20_memtest86+ ###<br />menuentry &quot;Memory test (memtest86+)&quot; {<br />&nbsp; &nbsp; insmod part_msdos<br />&nbsp; &nbsp; insmod ext2<br />&nbsp; &nbsp; set root=&#039;(hd0,msdos6)&#039;<br />&nbsp; &nbsp; search --no-floppy --fs-uuid --set 5cc8c65e-9d0c-487b-83c1-996e08b1fac5<br />&nbsp; &nbsp; linux16&nbsp; &nbsp; /boot/memtest86+.bin<br />}<br />menuentry &quot;Memory test (memtest86+, serial console 115200)&quot; {<br />&nbsp; &nbsp; insmod part_msdos<br />&nbsp; &nbsp; insmod ext2<br />&nbsp; &nbsp; set root=&#039;(hd0,msdos6)&#039;<br />&nbsp; &nbsp; search --no-floppy --fs-uuid --set 5cc8c65e-9d0c-487b-83c1-996e08b1fac5<br />&nbsp; &nbsp; linux16&nbsp; &nbsp; /boot/memtest86+.bin console=ttyS0,115200n8<br />}<br />### END /etc/grub.d/20_memtest86+ ###</p><p>### BEGIN /etc/grub.d/30_os-prober ###<br />menuentry &quot;Windows NT/2000/XP (on /dev/sda1)&quot; {<br />&nbsp; &nbsp; insmod part_msdos<br />&nbsp; &nbsp; insmod ntfs<br />&nbsp; &nbsp; set root=&#039;(hd0,msdos1)&#039;<br />&nbsp; &nbsp; search --no-floppy --fs-uuid --set 7e70976c70972a43<br />&nbsp; &nbsp; drivemap -s (hd0) ${root}<br />&nbsp; &nbsp; chainloader +1<br />}<br />menuentry &quot;Microsoft Windows XP Professional RU (on /dev/sda5)&quot; {<br />&nbsp; &nbsp; insmod part_msdos<br />&nbsp; &nbsp; insmod ntfs<br />&nbsp; &nbsp; set root=&#039;(hd0,msdos5)&#039;<br />&nbsp; &nbsp; search --no-floppy --fs-uuid --set 0814d11914d10b18<br />&nbsp; &nbsp; drivemap -s (hd0) ${root}<br />&nbsp; &nbsp; chainloader +1<br />}<br />### END /etc/grub.d/30_os-prober ###</p><p>### BEGIN /etc/grub.d/40_custom ###<br /># This file provides an easy way to add custom menu entries.&nbsp; Simply type the<br /># menu entries you want to add after this comment.&nbsp; Be careful not to change<br /># the &#039;exec tail&#039; line above.<br />### END /etc/grub.d/40_custom ###</p><p>### BEGIN /etc/grub.d/41_custom ###<br />if [ -f&nbsp; $prefix/custom.cfg ]; then<br />&nbsp; source $prefix/custom.cfg;<br />fi<br />### END /etc/grub.d/41_custom ###</p></div></div><p><span style="color: red">пользуйтесь тэгами<br />первое предупреждение<br />модератор</span></p>]]></description>
			<author><![CDATA[null@example.com (zuko_uno)]]></author>
			<pubDate>Wed, 29 Dec 2010 16:50:37 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=126753#p126753</guid>
		</item>
		<item>
			<title><![CDATA[Re: Опять про GRUB]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=126729#p126729</link>
			<description><![CDATA[<p>Вот, пожалуйста.<br />/boot/grub/menu.lst<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p># menu.lst - See: grub(8), info grub, update-grub(8)<br />#&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; grub-install(8), grub-floppy(8),<br />#&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; grub-md5-crypt, /usr/share/doc/grub<br />#&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; and /usr/share/doc/grub-doc/.</p><p>## default num<br /># Set the default entry to the entry number NUM. Numbering starts from 0, and<br /># the entry number 0 is the default if the command is not used.<br />#<br /># You can specify &#039;saved&#039; instead of a number. In this case, the default entry<br /># is the entry saved with the command &#039;savedefault&#039;.<br /># WARNING: If you are using dmraid do not use &#039;savedefault&#039; or your<br /># array will desync and will not let you boot your system.<br />default&nbsp; &nbsp; &nbsp; &nbsp; 0</p><p>## timeout sec<br /># Set a timeout, in SEC seconds, before automatically booting the default entry<br /># (normally the first entry defined).<br />timeout&nbsp; &nbsp; &nbsp; &nbsp; 10</p><p>## hiddenmenu<br /># Hides the menu by default (press ESC to see the menu)<br />#hiddenmenu</p><p># Pretty colours<br />#color cyan/blue white/blue</p><p>## password [&#039;--md5&#039;] passwd<br /># If used in the first section of a menu file, disable all interactive editing<br /># control (menu entry editor and command-line)&nbsp; and entries protected by the<br /># command &#039;lock&#039;<br /># e.g. password topsecret<br />#&nbsp; &nbsp; &nbsp; password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/<br /># password topsecret</p><p>#<br /># examples<br />#<br /># title&nbsp; &nbsp; &nbsp; &nbsp; Windows 95/98/NT/2000<br /># root&nbsp; &nbsp; &nbsp; &nbsp; (hd0,0)<br /># makeactive<br /># chainloader&nbsp; &nbsp; +1<br />#<br /># title&nbsp; &nbsp; &nbsp; &nbsp; Linux<br /># root&nbsp; &nbsp; &nbsp; &nbsp; (hd0,1)<br /># kernel&nbsp; &nbsp; /vmlinuz root=/dev/hda2 ro<br />#</p><p>#<br /># Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST</p><p>### BEGIN AUTOMAGIC KERNELS LIST<br />## lines between the AUTOMAGIC KERNELS LIST markers will be modified<br />## by the debian update-grub script except for the default options below</p><p>## DO NOT UNCOMMENT THEM, Just edit them to your needs</p><p>## ## Start Default Options ##<br />## default kernel options<br />## default kernel options for automagic boot options<br />## If you want special options for specific kernels use kopt_x_y_z<br />## where x.y.z is kernel version. Minor versions can be omitted.<br />## e.g. kopt=root=/dev/hda1 ro<br />##&nbsp; &nbsp; &nbsp; kopt_2_6_8=root=/dev/hdc1 ro<br />##&nbsp; &nbsp; &nbsp; kopt_2_6_8_2_686=root=/dev/hdc2 ro<br /># kopt=root=UUID=672a12b7-2e11-4af6-b611-9668c3de443d ro</p><p>## default grub root device<br />## e.g. groot=(hd0,0)<br /># groot=672a12b7-2e11-4af6-b611-9668c3de443d</p><p>## should update-grub create alternative automagic boot options<br />## e.g. alternative=true<br />##&nbsp; &nbsp; &nbsp; alternative=false<br /># alternative=true</p><p>## should update-grub lock alternative automagic boot options<br />## e.g. lockalternative=true<br />##&nbsp; &nbsp; &nbsp; lockalternative=false<br /># lockalternative=false</p><p>## additional options to use with the default boot option, but not with the<br />## alternatives<br />## e.g. defoptions=vga=0x317 resume=/dev/hda5<br /># defoptions=vga=0x317</p><p>## should update-grub lock old automagic boot options<br />## e.g. lockold=false<br />##&nbsp; &nbsp; &nbsp; lockold=true<br /># lockold=false</p><p>## Xen hypervisor options to use with the default Xen boot option<br /># xenhopt=</p><p>## Xen Linux kernel options to use with the default Xen boot option<br /># xenkopt=console=tty0</p><p>## altoption boot targets option<br />## multiple altoptions lines are allowed<br />## e.g. altoptions=(extra menu suffix) extra boot options<br />##&nbsp; &nbsp; &nbsp; altoptions=(recovery) single<br /># altoptions=(recovery mode) single</p><p>## controls how many kernels should be put into the menu.lst<br />## only counts the first occurence of a kernel, not the<br />## alternative kernel options<br />## e.g. howmany=all<br />##&nbsp; &nbsp; &nbsp; howmany=7<br /># howmany=all</p><p>## should update-grub create memtest86 boot option<br />## e.g. memtest86=true<br />##&nbsp; &nbsp; &nbsp; memtest86=false<br /># memtest86=true</p><p>## should update-grub adjust the value of the default booted system<br />## can be true or false<br /># updatedefaultentry=false</p><p>## should update-grub add savedefault to the default options<br />## can be true or false<br /># savedefault=false</p><p>## ## End Default Options ##</p><p>splashimage=672a12b7-2e11-4af6-b611-9668c3de443d/boot/grub/splash.xpm.gz</p><p>title&nbsp; &nbsp; &nbsp; &nbsp; BackTrack 4 R2, kernel 2.6.35.8<br />uuid&nbsp; &nbsp; &nbsp; &nbsp; 672a12b7-2e11-4af6-b611-9668c3de443d<br />kernel&nbsp; &nbsp; &nbsp; &nbsp; /boot/vmlinuz-2.6.35.8 root=UUID=672a12b7-2e11-4af6-b611-9668c3de443d ro quiet splash <br />initrd&nbsp; &nbsp; &nbsp; &nbsp; /boot/initrd.img-2.6.35.8<br />quiet</p><p>title&nbsp; &nbsp; &nbsp; &nbsp; BackTrack 4 R2, kernel 2.6.35.8 (recovery mode)<br />uuid&nbsp; &nbsp; &nbsp; &nbsp; 672a12b7-2e11-4af6-b611-9668c3de443d<br />kernel&nbsp; &nbsp; &nbsp; &nbsp; /boot/vmlinuz-2.6.35.8 root=UUID=672a12b7-2e11-4af6-b611-9668c3de443d ro&nbsp; single<br />initrd&nbsp; &nbsp; &nbsp; &nbsp; /boot/initrd.img-2.6.35.8</p><p>title&nbsp; &nbsp; &nbsp; &nbsp; BackTrack 4 R2, memtest86+<br />uuid&nbsp; &nbsp; &nbsp; &nbsp; 672a12b7-2e11-4af6-b611-9668c3de443d<br />kernel&nbsp; &nbsp; &nbsp; &nbsp; /boot/memtest86+.bin<br />quiet</p><p>### END DEBIAN AUTOMAGIC KERNELS LIST</p><p># This is a divider, added to separate the menu items below from the Debian<br /># ones.<br />title&nbsp; &nbsp; &nbsp; &nbsp; Other operating systems:<br />root</p><br /><p># This entry automatically added by the Debian installer for a non-linux OS<br /># on /dev/sda1<br />title&nbsp; &nbsp; &nbsp; &nbsp; Windows NT/2000/XP<br />root&nbsp; &nbsp; &nbsp; &nbsp; (hd0,0)<br />savedefault<br />makeactive<br />chainloader&nbsp; &nbsp; +1</p><br /><p># This entry automatically added by the Debian installer for an existing<br /># linux installation on /dev/sda5.<br />title&nbsp; &nbsp; &nbsp; &nbsp; &#039;Ubuntu, with Linux 2.6.35-23-generic&#039; --class ubuntu --class gnu-linux --class gnu --class os { (on /dev/sda5)<br />root&nbsp; &nbsp; &nbsp; &nbsp; (hd0,4)<br />kernel&nbsp; &nbsp; &nbsp; &nbsp; /boot/vmlinuz-2.6.35-23-generic root=UUID=5cc8c65e-9d0c-487b-83c1-996e08b1fac5 ro quiet splash <br />initrd&nbsp; &nbsp; &nbsp; &nbsp; /boot/initrd.img-2.6.35-23-generic<br />savedefault<br />boot</p><br /><p># This entry automatically added by the Debian installer for an existing<br /># linux installation on /dev/sda5.<br />title&nbsp; &nbsp; &nbsp; &nbsp; &#039;Ubuntu, with Linux 2.6.35-23-generic (recovery mode)&#039; --class ubuntu --class gnu-linux --class gnu --class os { (on /dev/sda5)<br />root&nbsp; &nbsp; &nbsp; &nbsp; (hd0,4)<br />kernel&nbsp; &nbsp; &nbsp; &nbsp; /boot/vmlinuz-2.6.35-23-generic root=UUID=5cc8c65e-9d0c-487b-83c1-996e08b1fac5 ro single <br />initrd&nbsp; &nbsp; &nbsp; &nbsp; /boot/initrd.img-2.6.35-23-generic<br />savedefault<br />boot</p><br /><p># This entry automatically added by the Debian installer for an existing<br /># linux installation on /dev/sda5.<br />title&nbsp; &nbsp; &nbsp; &nbsp; &#039;Ubuntu, with Linux 2.6.35-22-generic&#039; --class ubuntu --class gnu-linux --class gnu --class os { (on /dev/sda5)<br />root&nbsp; &nbsp; &nbsp; &nbsp; (hd0,4)<br />kernel&nbsp; &nbsp; &nbsp; &nbsp; /boot/vmlinuz-2.6.35-22-generic root=UUID=5cc8c65e-9d0c-487b-83c1-996e08b1fac5 ro quiet splash <br />initrd&nbsp; &nbsp; &nbsp; &nbsp; /boot/initrd.img-2.6.35-22-generic<br />savedefault<br />boot</p><br /><p># This entry automatically added by the Debian installer for an existing<br /># linux installation on /dev/sda5.<br />title&nbsp; &nbsp; &nbsp; &nbsp; &#039;Ubuntu, with Linux 2.6.35-22-generic (recovery mode)&#039; --class ubuntu --class gnu-linux --class gnu --class os { (on /dev/sda5)<br />root&nbsp; &nbsp; &nbsp; &nbsp; (hd0,4)<br />kernel&nbsp; &nbsp; &nbsp; &nbsp; /boot/vmlinuz-2.6.35-22-generic root=UUID=5cc8c65e-9d0c-487b-83c1-996e08b1fac5 ro single <br />initrd&nbsp; &nbsp; &nbsp; &nbsp; /boot/initrd.img-2.6.35-22-generic<br />savedefault<br />boot</p></div></div>]]></description>
			<author><![CDATA[null@example.com (zuko_uno)]]></author>
			<pubDate>Wed, 29 Dec 2010 15:26:02 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=126729#p126729</guid>
		</item>
	</channel>
</rss>
