<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Grub и загрузка Windows 7]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=7787&amp;type=atom" />
	<updated>2010-10-29T13:16:12Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=7787</id>
		<entry>
			<title type="html"><![CDATA[Re: Grub и загрузка Windows 7]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=106405#p106405" />
			<content type="html"><![CDATA[<p><strong>KabanM</strong>, как файл называется?<br />### BEGIN <strong>/etc/grub.d/30_os-prober</strong> ###</p><p>следующее действие подсказали:<br />у него было set root=&#039;(hd0,msdos1)&#039;, а надо было set root=&#039;(hd0,1)&#039;<br />у вас<br />set root=<strong>&#039;(hd4,msdos1)&#039;</strong></p><p>так что надо сделать, учитывая, что файл /boot/grub/grub.cfg является динамически конфигурируемым?</p>]]></content>
			<author>
				<name><![CDATA[Termo]]></name>
				<uri>https://linuxforum.ru/profile.php?id=4469</uri>
			</author>
			<updated>2010-10-29T13:16:12Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=106405#p106405</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Grub и загрузка Windows 7]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=106398#p106398" />
			<content type="html"><![CDATA[<p><strong>Nightwolf_ng</strong>, <br />к сожалению Ваш вариант &quot;в лоб&quot;, не принёс изменений...</p>]]></content>
			<author>
				<name><![CDATA[KabanM]]></name>
				<uri>https://linuxforum.ru/profile.php?id=12382</uri>
			</author>
			<updated>2010-10-29T13:04:52Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=106398#p106398</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Grub и загрузка Windows 7]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=106181#p106181" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>KabanM пишет:</cite><blockquote><p>ты бы пораньше мне подсказал</p></blockquote></div><p>Пораньше я был на работе smile <br /></p><div class="quotebox"><cite>KabanM пишет:</cite><blockquote><p>как теперь избавиться от дубля?</p></blockquote></div><p>Пройдись поиском. Где-то была тема про &quot;удаление лишних пунктов Grub&quot;</p><p>З.Ы. Вариант &quot;в лоб&quot; - удалить конфиг и заново создать.<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 rm -iv /boot/grub/grub.cfg</div><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 update-grub</div></p>]]></content>
			<author>
				<name><![CDATA[Nightwolf_ng]]></name>
				<uri>https://linuxforum.ru/profile.php?id=66</uri>
			</author>
			<updated>2010-10-28T19:24:00Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=106181#p106181</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Grub и загрузка Windows 7]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=106178#p106178" />
			<content type="html"><![CDATA[<p><strong>Nightwolf_ng</strong>, <br /> smile Спасибо, сёрфил полдня с этим вопросом по инету, что-только не перепробовал, то восстанавливался Windows загрузчик без Ubuntu, то снова наоборот, но никак вместе не хотели, и вот в конце концов наткнулся как раз на <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 update-grub</div> smile , особо не надясь попробовал, ииии....... уаля, всё теперь о`k smile . ты бы пораньше мне подсказал, но всё равно Спасибо.<br />У меня новый вопрос образовался, теперь в загрузчике GRUB, два раза дублируются:<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"><br />Ubuntu<br />Ubuntu (recovery)<br />Ubuntu<br />Ubuntu (recovery)<br />..........</div><br />как теперь избавиться от дубля?</p>]]></content>
			<author>
				<name><![CDATA[KabanM]]></name>
				<uri>https://linuxforum.ru/profile.php?id=12382</uri>
			</author>
			<updated>2010-10-28T19:17:02Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=106178#p106178</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Grub и загрузка Windows 7]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=106161#p106161" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>KabanM пишет:</cite><blockquote><p>поменял</p></blockquote></div><p>Вот для кого пишут<br /></p><div class="quotebox"><cite>KabanM пишет:</cite><blockquote><p>DO NOT EDIT THIS FILE</p></blockquote></div><p>???<br /></p><div class="quotebox"><cite>KabanM пишет:</cite><blockquote><p>Как же мне &quot;оживить&quot; пункт Windows 7 (loader) и загрузку Windows?</p></blockquote></div><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">sudo update-grub</div></p>]]></content>
			<author>
				<name><![CDATA[Nightwolf_ng]]></name>
				<uri>https://linuxforum.ru/profile.php?id=66</uri>
			</author>
			<updated>2010-10-28T18:53:25Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=106161#p106161</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Grub и загрузка Windows 7]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=105875#p105875" />
			<content type="html"><![CDATA[<p><strong>Samath</strong>, <br />поменял <strong>set root=&#039;(hd4,msdos1)&#039; </strong>на <strong>set root=&#039;(hd4,1)&#039;</strong><br />проблема осталась <img src="https://linuxforum.ru/img/smilies/ac.gif" alt="ac" /></p>]]></content>
			<author>
				<name><![CDATA[KabanM]]></name>
				<uri>https://linuxforum.ru/profile.php?id=12382</uri>
			</author>
			<updated>2010-10-28T07:02:02Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=105875#p105875</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Grub и загрузка Windows 7]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=105869#p105869" />
			<content type="html"><![CDATA[<p>в menuentry &quot;Windows 7 (loader) (on /dev/sde1)&quot; {<br />&nbsp; &nbsp; insmod part_msdos<br />&nbsp; &nbsp; insmod ntfs<br />&nbsp; &nbsp; set root=&#039;(hd4,msdos1)&#039;<br />&nbsp; &nbsp; search --no-floppy --fs-uuid --set 92a43d94a43d7c33<br />&nbsp; &nbsp; chainloader +1</p><p>set root=&#039;(hd4,msdos1)&#039; - здесь ошибка. У моегу друга в этом месте проблема была.<br />у него было set root=&#039;(hd0,msdos1)&#039;, а надо было set root=&#039;(hd0,1)&#039;</p>]]></content>
			<author>
				<name><![CDATA[Samath]]></name>
				<uri>https://linuxforum.ru/profile.php?id=768</uri>
			</author>
			<updated>2010-10-28T06:33:16Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=105869#p105869</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Grub и загрузка Windows 7]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=105867#p105867" />
			<content type="html"><![CDATA[<p>Здравствуйте, понимаю что этот вопрос возникал тут не раз, но я так и не нашёл решения для своей проблемы(я ещё совсем новичок в Linux).<br />Вопрос состоит в том чём:<br />Был у меня установлен Windows 7 (физический диск 1, раздела 2) на диск C;, на второй раздел этого же диска я установил накануне Ubuntu 10.10, во время установки я указал что загрузчик будет находится на диске с Windows 7(loader), т.к. указывая на другие диски, после установки, загрузчика Linux не было и в помине, вроде бы стало всё нормально - появился Grub загрузчик Linux(появился выбор загрузки Ubuntu, Ubuntu Recovery, Memory,...., Windows 7 (loader). И вот теперь всё загружается нормально, кроме Windows 7, выбирая его, несколько секунд &quot;думает&quot;, а затем снова выпадает это же меню выбора.<br />Как же мне &quot;оживить&quot; пункт Windows 7 (loader) и загрузку Windows?</p><p>Выкладываю сюда текст файла /boot/grub/grub.cfg:<br /></p><div class="quotebox"><blockquote><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 reiserfs<br />set root=&#039;(hd4,msdos3)&#039;<br />search --no-floppy --fs-uuid --set 24c54866-1b9f-407b-a38f-743bd8085ee2<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 reiserfs<br />set root=&#039;(hd4,msdos3)&#039;<br />search --no-floppy --fs-uuid --set 24c54866-1b9f-407b-a38f-743bd8085ee2<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-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 reiserfs<br />&nbsp; &nbsp; set root=&#039;(hd4,msdos3)&#039;<br />&nbsp; &nbsp; search --no-floppy --fs-uuid --set 24c54866-1b9f-407b-a38f-743bd8085ee2<br />&nbsp; &nbsp; linux&nbsp; &nbsp; /boot/vmlinuz-2.6.35-22-generic root=UUID=24c54866-1b9f-407b-a38f-743bd8085ee2 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 reiserfs<br />&nbsp; &nbsp; set root=&#039;(hd4,msdos3)&#039;<br />&nbsp; &nbsp; search --no-floppy --fs-uuid --set 24c54866-1b9f-407b-a38f-743bd8085ee2<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=24c54866-1b9f-407b-a38f-743bd8085ee2 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 reiserfs<br />&nbsp; &nbsp; set root=&#039;(hd4,msdos3)&#039;<br />&nbsp; &nbsp; search --no-floppy --fs-uuid --set 24c54866-1b9f-407b-a38f-743bd8085ee2<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 reiserfs<br />&nbsp; &nbsp; set root=&#039;(hd4,msdos3)&#039;<br />&nbsp; &nbsp; search --no-floppy --fs-uuid --set 24c54866-1b9f-407b-a38f-743bd8085ee2<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 7 (loader) (on /dev/sde1)&quot; {<br />&nbsp; &nbsp; insmod part_msdos<br />&nbsp; &nbsp; insmod ntfs<br />&nbsp; &nbsp; set root=&#039;(hd4,msdos1)&#039;<br />&nbsp; &nbsp; search --no-floppy --fs-uuid --set 92a43d94a43d7c33<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></blockquote></div><p>Заранее Спасибо!</p>]]></content>
			<author>
				<name><![CDATA[KabanM]]></name>
				<uri>https://linuxforum.ru/profile.php?id=12382</uri>
			</author>
			<updated>2010-10-28T06:27:58Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=105867#p105867</id>
		</entry>
</feed>
