<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Восстановление Grub Centos 6]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=27168&amp;type=atom" />
	<updated>2013-03-11T12:26:58Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=27168</id>
		<entry>
			<title type="html"><![CDATA[Re: Восстановление Grub Centos 6]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=332892#p332892" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>wers⇓ пишет:</cite><blockquote><p> загрузился, ругается selinux</p></blockquote></div><p>где вы здесь selinux видите? это система регистрации ошибок, ее можно октлючить, если он вам мешает</p>]]></content>
			<author>
				<name><![CDATA[i2ks]]></name>
				<uri>https://linuxforum.ru/profile.php?id=16</uri>
			</author>
			<updated>2013-03-11T12:26:58Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=332892#p332892</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Восстановление Grub Centos 6]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=332884#p332884" />
			<content type="html"><![CDATA[<p>С SeLinux я, к сожалению, не сталкивался, помочь здесь не смогу.</p>]]></content>
			<author>
				<name><![CDATA[yars]]></name>
				<uri>https://linuxforum.ru/profile.php?id=22799</uri>
			</author>
			<updated>2013-03-11T11:47:21Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=332884#p332884</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Восстановление Grub Centos 6]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=332881#p332881" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>yars пишет:</cite><blockquote><p>Так в первогрубе же нумерация идет с нуля. Первый раздел первого диска - hd(0,0), шестой - hd(0,5).</p></blockquote></div><p> ну да, всё так и получается. при установке sda6 определяет как hd0,5, а при восстановлении stage1 находит на hd0,6. переписал в crub.conf hd0,6 загрузился, ругается selinux <a href="http://itmages.ru/image/view/933689/d41d8cd9"><span class="postimg"><img src="http://storage5.static.itmages.ru/i/13/0311/s_1363002112_5000989_d41d8cd98f.png" alt="http://storage5.static.itmages.ru/i/13/0311/s_1363002112_5000989_d41d8cd98f.png" /></span></a></p>]]></content>
			<author>
				<name><![CDATA[wers]]></name>
				<uri>https://linuxforum.ru/profile.php?id=3643</uri>
			</author>
			<updated>2013-03-11T11:38:01Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=332881#p332881</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Восстановление Grub Centos 6]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=332767#p332767" />
			<content type="html"><![CDATA[<p>Так в первогрубе же нумерация идет с нуля. Первый раздел первого диска - hd(0,0), шестой - hd(0,5).</p>]]></content>
			<author>
				<name><![CDATA[yars]]></name>
				<uri>https://linuxforum.ru/profile.php?id=22799</uri>
			</author>
			<updated>2013-03-10T19:02:29Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=332767#p332767</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Восстановление Grub Centos 6]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=332766#p332766" />
			<content type="html"><![CDATA[<p>сейчас пишу с работающей системы. вот fdisk -l :<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>Устр-во Загр&nbsp; &nbsp; &nbsp;Начало&nbsp; &nbsp; &nbsp; &nbsp;Конец&nbsp; &nbsp; &nbsp; &nbsp;Блоки&nbsp; &nbsp;Id&nbsp; Система<br />/dev/sda1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1&nbsp; &nbsp; &nbsp; &nbsp; 5875&nbsp; &nbsp; 47190906&nbsp; &nbsp; 7&nbsp; HPFS/NTFS<br />/dev/sda2&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 5876&nbsp; &nbsp; &nbsp; &nbsp;60801&nbsp; &nbsp;441193061+&nbsp; &nbsp;5&nbsp; Расширенный<br />/dev/sda5&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 5876&nbsp; &nbsp; &nbsp; &nbsp;58092&nbsp; &nbsp;419433018&nbsp; &nbsp;83&nbsp; Linux<br />/dev/sda6&nbsp; &nbsp;*&nbsp; &nbsp; &nbsp; &nbsp;58093&nbsp; &nbsp; &nbsp; &nbsp;60538&nbsp; &nbsp; 19647463+&nbsp; 83&nbsp; Linux<br />/dev/sda7&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;60540&nbsp; &nbsp; &nbsp; &nbsp;60801&nbsp; &nbsp; &nbsp;2104483+&nbsp; 82&nbsp; Linux своп / Solaris</p></div></div><p>т.е загрузочный диск sda6. я так понимаю его и находит find как hd0,6, а в grub.conf и menu.lst прописан hd0,5 и всё работает. почему так.<br />я пробовал восстановить c загрузочного диска<br /></p><div class="codebox"><pre><code># chroot /mnt/sysimage
# grub-install /dev/sda</code></pre></div><p> тоже ничего не вышло.</p>]]></content>
			<author>
				<name><![CDATA[wers]]></name>
				<uri>https://linuxforum.ru/profile.php?id=3643</uri>
			</author>
			<updated>2013-03-10T18:55:13Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=332766#p332766</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Восстановление Grub Centos 6]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=332761#p332761" />
			<content type="html"><![CDATA[<p>grub-0.97-81.el6<br /></p><div class="codebox"><pre><code>Files

    /sbin/grub-install</code></pre></div>]]></content>
			<author>
				<name><![CDATA[verg]]></name>
				<uri>https://linuxforum.ru/profile.php?id=10709</uri>
			</author>
			<updated>2013-03-10T18:25:31Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=332761#p332761</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Восстановление Grub Centos 6]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=332760#p332760" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>alexfinn пишет:</cite><blockquote><p>не, что-то я не то пишу</p></blockquote></div><p>Почему не то? Иногда нужен свежий взгляд на проблему <img src="https://linuxforum.ru/img/smilies/bx.gif" alt="bx" /></p>]]></content>
			<author>
				<name><![CDATA[yars]]></name>
				<uri>https://linuxforum.ru/profile.php?id=22799</uri>
			</author>
			<updated>2013-03-10T18:22:26Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=332760#p332760</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Восстановление Grub Centos 6]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=332756#p332756" />
			<content type="html"><![CDATA[<p>не, что-то я не то пишу</p>]]></content>
			<author>
				<name><![CDATA[alexfinn]]></name>
				<uri>https://linuxforum.ru/profile.php?id=25867</uri>
			</author>
			<updated>2013-03-10T18:08:53Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=332756#p332756</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Восстановление Grub Centos 6]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=332754#p332754" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>alexfinn пишет:</cite><blockquote><p>это ж вроде для grub2?</p></blockquote></div><p>Не, там, по-моему, <em>grub-install</em>.</p>]]></content>
			<author>
				<name><![CDATA[yars]]></name>
				<uri>https://linuxforum.ru/profile.php?id=22799</uri>
			</author>
			<updated>2013-03-10T18:06:17Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=332754#p332754</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Восстановление Grub Centos 6]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=332753#p332753" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>yars⇓ пишет:</cite><blockquote><p>update-grub</p></blockquote></div><p>это ж вроде для grub2?</p>]]></content>
			<author>
				<name><![CDATA[alexfinn]]></name>
				<uri>https://linuxforum.ru/profile.php?id=25867</uri>
			</author>
			<updated>2013-03-10T18:04:39Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=332753#p332753</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Восстановление Grub Centos 6]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=332741#p332741" />
			<content type="html"><![CDATA[<p>Насколько я знаю, нужно (пожалуй, удобнее будет из chroot&#039;a) отредактировать конфиг и выполнить <em>update-grub</em> от рута. А почему из его консоли не получается - непонятно, я не пользуюсь им.</p>]]></content>
			<author>
				<name><![CDATA[yars]]></name>
				<uri>https://linuxforum.ru/profile.php?id=22799</uri>
			</author>
			<updated>2013-03-10T17:41:01Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=332741#p332741</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Восстановление Grub Centos 6]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=332737#p332737" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>yars пишет:</cite><blockquote><p>Какая версия GRUB? Их сейчас известно три: legacy, grub2 и grub-efi. Если это legacy, просто поправьте конфиг вручную и переустановите grub.</p></blockquote></div><p>версия GRUB&nbsp; legacy. конфиг груба я менял в ручную на hd0,6 не помогло. может тогда:<br /></p><div class="codebox"><pre><code>grub&gt; 
root (hd0,5)
 Filesystem type is ext2fs, partition type 0x83
grub&gt; setup (hd0)
setup (hd0)</code></pre></div>]]></content>
			<author>
				<name><![CDATA[wers]]></name>
				<uri>https://linuxforum.ru/profile.php?id=3643</uri>
			</author>
			<updated>2013-03-10T17:10:59Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=332737#p332737</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Восстановление Grub Centos 6]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=332729#p332729" />
			<content type="html"><![CDATA[<p>Какая версия GRUB? Их сейчас известно три: legacy, grub2 и grub-efi. Если это legacy, просто поправьте конфиг вручную и переустановите grub.</p>]]></content>
			<author>
				<name><![CDATA[yars]]></name>
				<uri>https://linuxforum.ru/profile.php?id=22799</uri>
			</author>
			<updated>2013-03-10T16:40:41Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=332729#p332729</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Восстановление Grub Centos 6]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=332726#p332726" />
			<content type="html"><![CDATA[<p>не получается восстановить grub на centos, grub error 15<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header"><strong>+</strong>&nbsp;grub.conf</div><div class="fancy_spoiler"><p> grub.conf generated by anaconda<br />#<br /># Note that you do not have to rerun grub after making changes to this file<br /># NOTICE:&nbsp; You do not have a /boot partition.&nbsp; This means that<br />#&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; all kernel and initrd paths are relative to /, eg.<br />#&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; root (hd0,5)<br />#&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; kernel /boot/vmlinuz-version ro root=/dev/sda6<br />#&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; initrd /boot/initrd-[generic-]version.img<br />#boot=/dev/sda<br />default=0<br />timeout=5<br />splashimage=(hd0,5)/boot/grub/splash.xpm.gz<br />hiddenmenu<br />title CentOS (2.6.32-358.0.1.el6.i686)<br />&nbsp; &nbsp; &nbsp; &nbsp; root (hd0,5)<br />&nbsp; &nbsp; &nbsp; &nbsp; kernel /boot/vmlinuz-2.6.32-358.0.1.el6.i686 ro root=UUID=9ae94434-c95b-4296-9f21-8e90b6800f72 LANG=ru_RU.UTF-8 nomodeset r$<br />&nbsp; &nbsp; &nbsp; &nbsp; initrd /boot/initramfs-2.6.32-358.0.1.el6.i686.img<br />title CentOS (2.6.32-279.22.1.el6.i686)<br />&nbsp; &nbsp; &nbsp; &nbsp; root (hd0,5)<br />&nbsp; &nbsp; &nbsp; &nbsp; kernel /boot/vmlinuz-2.6.32-279.22.1.el6.i686 ro root=UUID=9ae94434-c95b-4296-9f21-8e90b6800f72 LANG=ru_RU.UTF-8 nomodeset $<br />&nbsp; &nbsp; &nbsp; &nbsp; initrd /boot/initramfs-2.6.32-279.22.1.el6.i686.img<br />title CentOS (2.6.32-279.el6.i686)<br />&nbsp; &nbsp; &nbsp; &nbsp; root (hd0,5)<br />&nbsp; &nbsp; &nbsp; &nbsp; kernel /boot/vmlinuz-2.6.32-279.el6.i686 ro root=UUID=9ae94434-c95b-4296-9f21-8e90b6800f72 LANG=ru_RU.UTF-8 nomodeset rd_NO$<br />&nbsp; &nbsp; &nbsp; &nbsp; initrd /boot/initramfs-2.6.32-279.el6.i686.img<br />title Other<br />&nbsp; &nbsp; rootnoverify (hd0,0)<br />&nbsp; &nbsp; &nbsp; &nbsp; chainloader +1</p></div></div><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header"><strong>+</strong>&nbsp;восстановление</div><div class="fancy_spoiler"><p>&nbsp; &nbsp; GNU GRUB&nbsp; version 0.97&nbsp; (640K lower / 3072K upper memory)</p><p> [ Minimal BASH-like line editing is supported.&nbsp; For the first word, TAB<br />&nbsp; &nbsp;lists possible command completions.&nbsp; Anywhere else TAB lists the possible<br />&nbsp; &nbsp;completions of a device/filename.]<br />grub&gt; find /boot/grub/grub.conf<br />find /boot/grub/grub.conf<br /> (hd0,6)<br />grub&gt; root (hd0,6)<br />root (hd0,6)<br /> Filesystem type is ext2fs, partition type 0x83<br />grub&gt; setup (hd0)<br />setup (hd0)<br /> Checking if &quot;/boot/grub/stage1&quot; exists... yes<br /> Checking if &quot;/boot/grub/stage2&quot; exists... yes<br /> Checking if &quot;/boot/grub/e2fs_stage1_5&quot; exists... yes<br /> Running &quot;embed /boot/grub/e2fs_stage1_5 (hd0)&quot;...&nbsp; 18 sectors are embedded.<br />succeeded<br /> Running &quot;install /boot/grub/stage1 (hd0) (hd0)1+18 p (hd0,6)/boot/grub/stage2 /boot/grub/grub.conf&quot;... succeeded<br />Done.<br />grub&gt; quit</p></div></div><p>ошибка наверно из-за hd, почему find находит hd0,6 а в grub.conf прописан hd0,5</p>]]></content>
			<author>
				<name><![CDATA[wers]]></name>
				<uri>https://linuxforum.ru/profile.php?id=3643</uri>
			</author>
			<updated>2013-03-10T16:30:20Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=332726#p332726</id>
		</entry>
</feed>
