<?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; Slackware64 13.37 - как установить grub ?]]></title>
		<link>https://linuxforum.ru/viewtopic.php?id=15393</link>
		<atom:link href="https://linuxforum.ru/extern.php?action=feed&amp;tid=15393&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Slackware64 13.37 - как установить grub ?».]]></description>
		<lastBuildDate>Fri, 05 Aug 2011 18:21:47 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Slackware64 13.37 - как установить grub ?]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=201089#p201089</link>
			<description><![CDATA[<p>Если речь про ответ #2 в этой теме -- про chroot -- то я немного о другом, о возможности загрузиться в систему при помощи syslinux со SlackDVD-- меньше телодвижений по перемонтированию, меньше шансов на ошибку.</p>]]></description>
			<author><![CDATA[null@example.com (bormant)]]></author>
			<pubDate>Fri, 05 Aug 2011 18:21:47 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=201089#p201089</guid>
		</item>
		<item>
			<title><![CDATA[Re: Slackware64 13.37 - как установить grub ?]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=201073#p201073</link>
			<description><![CDATA[<div class="quotebox"><cite>bormant пишет:</cite><blockquote><p>Ибо со SlackDVD можно загрузить не только установщик, но</p></blockquote></div><p>в следующем посте я это и показал кагбэ&nbsp; <img src="https://linuxforum.ru/img/smilies/ag.gif" alt="ag" /> ...</p>]]></description>
			<author><![CDATA[null@example.com (gramozeka)]]></author>
			<pubDate>Fri, 05 Aug 2011 17:24:00 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=201073#p201073</guid>
		</item>
		<item>
			<title><![CDATA[Re: Slackware64 13.37 - как установить grub ?]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=201022#p201022</link>
			<description><![CDATA[<div class="quotebox"><cite>gramozeka пишет:</cite><blockquote><div class="quotebox"><cite>Ciber SLasH пишет:</cite><blockquote><p>Гружусь с слак-DVD и устанавливаю пакет:</p></blockquote></div><p>куда ??? :lol:&nbsp; :lol: .. Побольше таких весёлых шуток и мы завоюем рунет ..</p></blockquote></div><p>А вот тут нужна ремарка. <br />Правильный вопрос (в части &quot;куда гружусь&quot;, а не &quot;куда устанавливаю&quot;). Ибо со SlackDVD можно загрузить не только установщик, но и <span class="bbu">установленную систему</span>, про что есть подсказка на экране syslinux, там где про &quot;boot: hugesmp.s root=/dev/sda rdinit= ro&quot;...</p>]]></description>
			<author><![CDATA[null@example.com (bormant)]]></author>
			<pubDate>Fri, 05 Aug 2011 12:37:30 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=201022#p201022</guid>
		</item>
		<item>
			<title><![CDATA[Re: Slackware64 13.37 - как установить grub ?]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=198974#p198974</link>
			<description><![CDATA[<div class="quotebox"><cite>Fat-Zer пишет:</cite><blockquote><p>после chroot&#039;а grep -v rootfs /proc/mounts &gt; /etc/mtab не забыли?</p></blockquote></div><p>Мега-респект!&nbsp; wink&nbsp; Вот в чём был мой косяк.<br /><strong>grub-install hd0</strong> и grub установился в MBR. Slackware грузится, правда с виндой не сразу получилась (она у меня на втором винче стоит).<br />Для винды пришлось изменить дефолтные параметры на эти:<br /></p><div class="codebox"><pre><code>## (1) Boot Windows
title        WinXP
map (hd1) (hd0)
map (hd0) (hd1)
rootnoverify    (hd1,0)
makeactive
chainloader    +1</code></pre></div><div class="quotebox"><cite>gramozeka пишет:</cite><blockquote><p>так , давай подробней - как ставил , как лило конфигурировал , какую файловую систему выбирал и т.д.</p></blockquote></div><p>Да как, как setup предлагал, так я и ставил.<br /></p><div class="quotebox"><blockquote><p>INSTALL LILO<br /><strong>выбрал</strong> simple - Try to install LILO automatically<br />SELECT LILO DESTINATION<br /><strong>выбрал</strong> MBR - Install to Master Boot Record</p></blockquote></div><p>Далее уже описанная выше ошибка.<br /></p><div class="quotebox"><cite>gramozeka пишет:</cite><blockquote><p>и да не плохо было бы увидеть выхлоп: fdisk -l</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"># fdisk -l<br />Disk /dev/sdb: 1000.2 GB, 1000203804160 bytes<br />255 heads, 63 sectors/track, 121601 cylinders, total 1953523055 sectors<br />Units = sectors of 1 * 512 = 512 bytes<br />Sector size (logical/physical): 512 bytes / 512 bytes<br />I/O size (minimum/optimal): 512 bytes / 512 bytes<br />Disk identifier: 0x8eb69e18</p><p>&nbsp; &nbsp;Device Boot&nbsp; &nbsp; &nbsp; Start&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;End&nbsp; &nbsp; &nbsp; Blocks&nbsp; &nbsp;Id&nbsp; System<br />/dev/sdb1&nbsp; &nbsp;*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 63&nbsp; &nbsp; 16787924&nbsp; &nbsp; &nbsp;8393931&nbsp; &nbsp; 7&nbsp; HPFS/NTFS/exFAT<br />/dev/sdb2&nbsp; &nbsp; &nbsp; &nbsp; 16787925&nbsp; 1953521663&nbsp; &nbsp;968366869+&nbsp; &nbsp;5&nbsp; Extended<br />/dev/sdb5&nbsp; &nbsp; &nbsp; &nbsp; 16787992&nbsp; 1953520064&nbsp; &nbsp;968366036+&nbsp; &nbsp;7&nbsp; HPFS/NTFS/exFAT</p><p>Disk /dev/sda: 500.1 GB, 500106780160 bytes<br />255 heads, 63 sectors/track, 60801 cylinders, total 976771055 sectors<br />Units = sectors of 1 * 512 = 512 bytes<br />Sector size (logical/physical): 512 bytes / 512 bytes<br />I/O size (minimum/optimal): 512 bytes / 512 bytes<br />Disk identifier: 0xcd0e02d7</p><p>&nbsp; &nbsp;Device Boot&nbsp; &nbsp; &nbsp; Start&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;End&nbsp; &nbsp; &nbsp; Blocks&nbsp; &nbsp;Id&nbsp; System<br />/dev/sda1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 2048&nbsp; &nbsp; &nbsp;2099199&nbsp; &nbsp; &nbsp;1048576&nbsp; &nbsp;82&nbsp; Linux swap<br />/dev/sda2&nbsp; &nbsp;*&nbsp; &nbsp; 23068672&nbsp; &nbsp;976769023&nbsp; &nbsp;476850176&nbsp; &nbsp; 5&nbsp; Extended<br />/dev/sda3&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2099200&nbsp; &nbsp; &nbsp;4196351&nbsp; &nbsp; &nbsp;1048576&nbsp; &nbsp;83&nbsp; Linux<br />/dev/sda4&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;4196352&nbsp; &nbsp; 23068671&nbsp; &nbsp; &nbsp;9436160&nbsp; &nbsp;83&nbsp; Linux<br />/dev/sda5&nbsp; &nbsp; &nbsp; &nbsp;106448896&nbsp; &nbsp;976769023&nbsp; &nbsp;435160064&nbsp; &nbsp; 7&nbsp; HPFS/NTFS/exFAT<br />/dev/sda6&nbsp; &nbsp; &nbsp; &nbsp; 23070720&nbsp; &nbsp; 33556479&nbsp; &nbsp; &nbsp;5242880&nbsp; &nbsp;83&nbsp; Linux<br />/dev/sda7&nbsp; &nbsp; &nbsp; &nbsp; 33558528&nbsp; &nbsp; 44044287&nbsp; &nbsp; &nbsp;5242880&nbsp; &nbsp;83&nbsp; Linux<br />/dev/sda8&nbsp; &nbsp; &nbsp; &nbsp; 44046336&nbsp; &nbsp; 85989375&nbsp; &nbsp; 20971520&nbsp; &nbsp;83&nbsp; Linux<br />/dev/sda9&nbsp; &nbsp; &nbsp; &nbsp; 85991424&nbsp; &nbsp;106446847&nbsp; &nbsp; 10227712&nbsp; &nbsp;83&nbsp; Linux</p><p>Partition table entries are not in disk order<br /></div></p>]]></description>
			<author><![CDATA[null@example.com (Ciber SLasH)]]></author>
			<pubDate>Sat, 30 Jul 2011 13:02:35 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=198974#p198974</guid>
		</item>
		<item>
			<title><![CDATA[Re: Slackware64 13.37 - как установить grub ?]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=198897#p198897</link>
			<description><![CDATA[<div class="quotebox"><cite>Ciber SLasH пишет:</cite><blockquote><p>Специально переустановил слаку и выбрал при установке LILO. Пытался установить в MBR, результат:</p><p>&nbsp; &nbsp; Fatal: Partition entry not found</p><p>PS: система так и не грузится sad</p></blockquote></div><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"><br /># fdisk -l<br /></div><br />так как он вам говорит (дословно) &quot;требуемая партиция не найдена&quot;<br />команду можно выполнить из установочного диска Слаки или(что предпочтительней и проще) с любого LifeCD .</p>]]></description>
			<author><![CDATA[null@example.com (gramozeka)]]></author>
			<pubDate>Sat, 30 Jul 2011 02:10:24 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=198897#p198897</guid>
		</item>
		<item>
			<title><![CDATA[Re: Slackware64 13.37 - как установить grub ?]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=198892#p198892</link>
			<description><![CDATA[<div class="quotebox"><cite>Ciber SLasH пишет:</cite><blockquote><p>т.е. скрипт grub-install выполняет команду df, которая не может прочитать таблицу смонтированных ФС.</p></blockquote></div><p>после chroot&#039;а <strong>grep -v rootfs /proc/mounts &gt; /etc/mtab</strong> не забыли?<br />и не проще ли уже было руками сделать?</p>]]></description>
			<author><![CDATA[null@example.com (Fat-Zer)]]></author>
			<pubDate>Fri, 29 Jul 2011 22:34:16 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=198892#p198892</guid>
		</item>
		<item>
			<title><![CDATA[Re: Slackware64 13.37 - как установить grub ?]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=198891#p198891</link>
			<description><![CDATA[<div class="quotebox"><cite>cdrw пишет:</cite><blockquote><p>Попробуйте установить готовый пакет</p></blockquote></div><p>Подмонтировал всё:<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>mkdir /mnt/root &gt; /dev/null 2&lt;&amp;1<br />mkdir /mnt/root/boot &gt; /dev/null 2&lt;&amp;1<br />mkdir /mnt/root/usr &gt; /dev/null 2&lt;&amp;1<br />mkdir /mnt/root/var &gt; /dev/null 2&lt;&amp;1<br />mkdir /mnt/root/tmp &gt; /dev/null 2&lt;&amp;1</p><p>mount /dev/sda4 /mnt/root<br />mount /dev/sda3 /mnt/root/boot<br />mount /dev/sda8 /mnt/root/usr<br />mount /dev/sda6 /mnt/root/var<br />mount /dev/sda7 /mnt/root/tmp</p><p>mount -t proc none /mnt/root/proc<br />mount -o bind /dev /mnt/root/dev<br />chroot /mnt/root</p></div></div><p>Установил пакет успешно, но при вызове <strong>grub-install /dev/sda</strong> или <strong>grub-install hd0</strong> - появляется ошибка:<br /></p><div class="quotebox"><blockquote><p>df: Warning: cannot read table of mounted file systems<br />df: Warning: cannot read table of mounted file systems<br />Could not find device for /boot: Not found or not a block device.</p></blockquote></div><p>т.е. скрипт grub-install выполняет команду <strong>df</strong>, которая не может прочитать таблицу смонтированных ФС.<br />Попробовал запустить <strong>df</strong> сам - ошибка, но стоит только выйти из chroot-а, то <strong>df</strong> выводит таблицу.</p><div class="quotebox"><cite>gramozeka пишет:</cite><blockquote><p>используй lilo Luke ..</p></blockquote></div><p>Специально переустановил слаку и выбрал при установке LILO. Пытался установить в MBR, результат:<br /></p><div class="quotebox"><blockquote><p>Fatal: Partition entry not found</p></blockquote></div><p>PS: система так и не грузится <img src="https://linuxforum.ru/img/smilies/ac.gif" alt="ac" /></p>]]></description>
			<author><![CDATA[null@example.com (Ciber SLasH)]]></author>
			<pubDate>Fri, 29 Jul 2011 21:59:22 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=198891#p198891</guid>
		</item>
		<item>
			<title><![CDATA[Re: Slackware64 13.37 - как установить grub ?]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=198506#p198506</link>
			<description><![CDATA[<p>Попробуйте установить готовый пакет</p><p><a href="http://slackware.org.uk/slacky/slackware64-13.37/system/grub-legacy/0.97/">но не на ext4</a></p>]]></description>
			<author><![CDATA[null@example.com (cdrw)]]></author>
			<pubDate>Thu, 28 Jul 2011 14:16:32 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=198506#p198506</guid>
		</item>
		<item>
			<title><![CDATA[Re: Slackware64 13.37 - как установить grub ?]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=198428#p198428</link>
			<description><![CDATA[<p>используй syslinux</p>]]></description>
			<author><![CDATA[null@example.com (stoneface)]]></author>
			<pubDate>Thu, 28 Jul 2011 07:40:18 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=198428#p198428</guid>
		</item>
		<item>
			<title><![CDATA[Re: Slackware64 13.37 - как установить grub ?]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=198402#p198402</link>
			<description><![CDATA[<p>используй lilo Luke ..<br /><span class="postimg"><img src="http://vothouse.ru/img/films/20110502/07.jpg" alt="http://vothouse.ru/img/films/20110502/07.jpg" /></span></p>]]></description>
			<author><![CDATA[null@example.com (gramozeka)]]></author>
			<pubDate>Thu, 28 Jul 2011 06:04:17 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=198402#p198402</guid>
		</item>
		<item>
			<title><![CDATA[Re: Slackware64 13.37 - как установить grub ?]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=198395#p198395</link>
			<description><![CDATA[<p>На SlackDVD пакета grub-нет, есть только исходники.<br /></p><div class="quotebox"><blockquote><p>grub-0.97-x86_64.patch.gz<br />grub-0.97.tar.gz<br />grub-0.97.tar.gz.sig<br />grub.SlackBuild<br />grub_support_256byte_inode.patch.gz<br />grubconfig-1.28.tar.gz<br />grubconfig_localefix.patch.gz<br />slack-desc</p></blockquote></div><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">mkdir /mnt/cdrom<br />mkdir /mnt/root<br />mkdir /mnt/root/boot<br />mkdir /mnt/root/usr<br />mkdir /mnt/root/var<br />mkdir /mnt/root/tmp</p><p>mount /dev/sr0 /mnt/cdrom<br />mount /dev/sda4 /mnt/root<br />mount /dev/sda1 /mnt/root/boot<br />mount /dev/sda7 /mnt/root/usr<br />mount /dev/sda9 /mnt/root/var<br />mount /dev/sda6 /mnt/root/tmp</p><p>cp -r /mnt/cdrom/extra/source/grub /mnt/root/tmp<br />mount -t proc none /mnt/root/proc<br />mount -o bind /dev /mnt/root/dev<br />chroot /mnt/root<br /></div><br />Запустил:<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"># /tmp/grub/grub.SlackBuild</div><br />Результат:<br /></p><div class="quotebox"><blockquote><p>configure:2466: error: C compiler cannot create executables<br />See `config.log&#039; for more details.</p></blockquote></div><p><strong>grub.SlackBuild</strong>:<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>#!/bin/sh</p><p># Copyright 2009&nbsp; Patrick J. Volkerding, Sebeka, MN, USA<br /># All rights reserved.<br />#<br /># Redistribution and use of this script, with or without modification, is<br /># permitted provided that the following conditions are met:<br />#<br /># 1. Redistributions of this script must retain the above copyright<br />#&nbsp; &nbsp; notice, this list of conditions and the following disclaimer.<br />#<br />#&nbsp; THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS&#039;&#039; AND ANY EXPRESS OR IMPLIED<br />#&nbsp; WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF<br />#&nbsp; MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.&nbsp; IN NO<br />#&nbsp; EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,<br />#&nbsp; SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,<br />#&nbsp; PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;<br />#&nbsp; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,<br />#&nbsp; WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR<br />#&nbsp; OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF<br />#&nbsp; ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</p><br /><p>VERSION=0.97<br />GCVER=1.28<br />ARCH=${ARCH:-x86_64}<br />BUILD=7</p><p>NUMJOBS=${NUMJOBS:-&quot; -j7 &quot;}</p><p>if [ &quot;$ARCH&quot; = &quot;i486&quot; ]; then<br />&nbsp; SLKCFLAGS=&quot;-O2 -march=i486 -mtune=i686&quot;<br />elif [ &quot;$ARCH&quot; = &quot;s390&quot; ]; then<br />&nbsp; SLKCFLAGS=&quot;-O2&quot;<br />elif [ &quot;$ARCH&quot; = &quot;x86_64&quot; ]; then<br />&nbsp; SLKCFLAGS=&quot;-O2&quot;<br />fi</p><p>CWD=$(pwd)<br />TMP=${TMP:-/tmp}<br />PKG=$TMP/package-grub</p><p>rm -rf $PKG<br />mkdir -p $PKG $TMP<br />cd $TMP<br />rm -rf grub-$VERSION<br />tar xvf $CWD/grub-$VERSION.tar.gz || exit 1<br />cd grub-$VERSION || exit 1</p><p># This is needed for the optional (but now default) increase in<br /># inode size from 128 to 256 bytes with ext2 and ext3:<br />zcat $CWD/grub_support_256byte_inode.patch.gz | patch -p1 --verbose || exit 1</p><p>zcat $CWD/grub-0.97-x86_64.patch.gz | patch -p1 || exit 1</p><p>chown -R root:root .<br />find . \<br />&nbsp; \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \<br />&nbsp; -exec chmod 755 {} \; -o \<br />&nbsp; \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \<br />&nbsp; -exec chmod 644 {} \;</p><p>CFLAGS=&quot;$SLKCFLAGS&quot; \<br />./configure \<br />&nbsp; --prefix=/usr \<br />&nbsp; --infodir=/usr/info \<br />&nbsp; --mandir=/usr/man</p><p>make $NUMJOBS || make || exit 1<br />make install DESTDIR=$PKG || exit 1</p><p>find $PKG | xargs file | grep -e &quot;executable&quot; -e &quot;shared object&quot; \<br />&nbsp; | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2&gt; /dev/null</p><p># Compress and if needed symlink the man pages:<br />if [ -d $PKG/usr/man ]; then<br />&nbsp; ( cd $PKG/usr/man<br />&nbsp; &nbsp; for manpagedir in $(find . -type d -name &quot;man*&quot;) ; do<br />&nbsp; &nbsp; &nbsp; ( cd $manpagedir<br />&nbsp; &nbsp; &nbsp; &nbsp; for eachpage in $( find . -type l -maxdepth 1) ; do<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ln -s $( readlink $eachpage ).gz $eachpage.gz<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rm $eachpage<br />&nbsp; &nbsp; &nbsp; &nbsp; done<br />&nbsp; &nbsp; &nbsp; &nbsp; gzip -9 *.?<br />&nbsp; &nbsp; &nbsp; )<br />&nbsp; &nbsp; done<br />&nbsp; )<br />fi</p><p># Compress info pages and purge &quot;dir&quot; file from the package:<br />if [ -d $PKG/usr/info ]; then<br />&nbsp; ( cd $PKG/usr/info<br />&nbsp; &nbsp; rm -f dir<br />&nbsp; &nbsp; gzip -9 *<br />&nbsp; )<br />fi</p><p>mkdir -p $PKG/usr/doc/grub-$VERSION<br />cp -a \<br />&nbsp; AUTHORS BUGS COPYING INSTALL MAINTENANCE NEWS README THANKS TODO \<br />&nbsp; $PKG/usr/doc/grub-$VERSION</p><p>mkdir -p $PKG/install<br />cat $CWD/slack-desc &gt; $PKG/install/slack-desc</p><p># Add Kent&#039;s grubconfig tool:<br />cd $TMP<br />rm -rf grubconfig-$GCVER<br />tar xf $CWD/grubconfig-${GCVER}.tar.gz || exit 1<br />cd grubconfig-$GCVER || exit 1<br />zcat $CWD/grubconfig_localefix.patch.gz | patch || exit 1<br />chown -R root:root .<br />chmod 644 README<br />chmod 755 grubconfig<br />mkdir -p $PKG/usr/doc/grubconfig-${GCVER}<br />cp -a README $PKG/usr/doc/grubconfig-${GCVER}<br />cp -a grubconfig $PKG/usr/sbin/grubconfig</p><p>cd $PKG<br />/sbin/makepkg -l y -c n $TMP/grub-$VERSION-$ARCH-$BUILD.txz</p></div></div><p><strong>config.log</strong>:<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>This file contains any messages produced by compilers while<br />running configure, to aid debugging if configure makes a mistake.</p><p>It was created by GRUB configure 0.97, which was<br />generated by GNU Autoconf 2.59.&nbsp; Invocation command line was</p><p>&nbsp; $ ./configure --prefix=/usr --infodir=/usr/info --mandir=/usr/man</p><p>## --------- ##<br />## Platform. ##<br />## --------- ##</p><p>hostname = slackware<br />uname -m = x86_64<br />uname -r = 2.6.37.6<br />uname -s = Linux<br />uname -v = #3 SMP Sat Apr 9 22:49:32 CDT 2011</p><p>/usr/bin/uname -p = Intel(R) Core(TM)2 Quad CPU&nbsp; &nbsp; Q9550&nbsp; @ 2.83GHz<br />/bin/uname -X&nbsp; &nbsp; &nbsp;= unknown</p><p>/bin/arch&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = x86_64<br />/usr/bin/arch -k&nbsp; &nbsp; &nbsp; &nbsp;= unknown<br />/usr/convex/getsysinfo = unknown<br />hostinfo&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= unknown<br />/bin/machine&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= unknown<br />/usr/bin/oslevel&nbsp; &nbsp; &nbsp; &nbsp;= unknown<br />/bin/universe&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = unknown</p><p>PATH: /sbin<br />PATH: /usr/sbin<br />PATH: /bin<br />PATH: /usr/bin<br />PATH: /bin<br />PATH: /sbin<br />PATH: /usr/bin<br />PATH: /usr/lib/setup<br />PATH: /mnt/usr/local/bin<br />PATH: /mnt/usr/bin<br />PATH: /mnt/bin<br />PATH: /mnt/usr/local/sbin<br />PATH: /mnt/usr/sbin<br />PATH: /mnt/sbin<br />PATH: /mnt/linux/usr/local/bin<br />PATH: /mnt/linux/usr/bin<br />PATH: /mnt/linux/bin<br />PATH: /mnt/linux/usr/local/sbin<br />PATH: /mnt/linux/usr/sbin<br />PATH: /mnt/linux/sbin</p><br /><p>## ----------- ##<br />## Core tests. ##<br />## ----------- ##</p><p>configure:1434: checking for a BSD-compatible install<br />configure:1489: result: /bin/ginstall -c<br />configure:1500: checking whether build environment is sane<br />configure:1543: result: yes<br />configure:1608: checking for gawk<br />configure:1624: found /bin/gawk<br />configure:1634: result: gawk<br />configure:1644: checking whether make sets $(MAKE)<br />configure:1664: result: yes<br />configure:1839: checking build system type<br />configure:1857: result: x86_64-unknown-linux-gnu<br />configure:1865: checking host system type<br />configure:1879: result: x86_64-unknown-linux-gnu<br />configure:1903: checking whether to enable maintainer-specific portions of Makefiles<br />configure:1912: result: no<br />configure:2028: checking for gcc<br />configure:2044: found /usr/bin/gcc<br />configure:2054: result: gcc<br />configure:2112: checking for gcc<br />configure:2138: result: gcc<br />configure:2382: checking for C compiler version<br />configure:2385: gcc --version &lt;/dev/null &gt;&amp;5<br />gcc (GCC) 4.5.2<br />Copyright (C) 2010 Free Software Foundation, Inc.<br />This is free software; see the source for copying conditions.&nbsp; There is NO<br />warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</p><p>configure:2388: $? = 0<br />configure:2390: gcc -v &lt;/dev/null &gt;&amp;5<br />Reading specs from /usr/lib64/gcc/x86_64-slackware-linux/4.5.2/specs<br />COLLECT_GCC=gcc<br />COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-slackware-linux/4.5.2/lto-wrapper<br />Target: x86_64-slackware-linux<br />Configured with: ../gcc-4.5.2/configure --prefix=/usr --libdir=/usr/lib64 --mandir=/usr/man --infodir=/usr/info --enable-shared --enable-bootstrap --enable-languages=ada,c,c++,fortran,java,objc,lto --enable-threads=posix --enable-checking=release --with-system-zlib --with-python-dir=/lib64/python2.6/site-packages --disable-libunwind-exceptions --enable-__cxa_atexit --enable-libssp --enable-lto --with-gnu-ld --verbose --disable-multilib --target=x86_64-slackware-linux --build=x86_64-slackware-linux --host=x86_64-slackware-linux<br />Thread model: posix<br />gcc version 4.5.2 (GCC) <br />configure:2393: $? = 0<br />configure:2395: gcc -V &lt;/dev/null &gt;&amp;5<br />gcc: &#039;-V&#039; option must have argument<br />configure:2398: $? = 1<br />configure:2421: checking for C compiler default output file name<br />configure:2424: gcc -m32 -O2&nbsp; &nbsp;conftest.c&nbsp; &gt;&amp;5<br />/usr/lib64/gcc/x86_64-slackware-linux/4.5.2/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib64/gcc/x86_64-slackware-linux/4.5.2/libgcc.a when searching for -lgcc<br />/usr/lib64/gcc/x86_64-slackware-linux/4.5.2/../../../../x86_64-slackware-linux/bin/ld: cannot find -lgcc<br />/usr/lib64/gcc/x86_64-slackware-linux/4.5.2/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib64/gcc/x86_64-slackware-linux/4.5.2/../../../libgcc_s.so when searching for -lgcc_s<br />/usr/lib64/gcc/x86_64-slackware-linux/4.5.2/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib64/libgcc_s.so when searching for -lgcc_s<br />/usr/lib64/gcc/x86_64-slackware-linux/4.5.2/../../../../x86_64-slackware-linux/bin/ld: cannot find -lgcc_s<br />/usr/lib64/gcc/x86_64-slackware-linux/4.5.2/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib64/gcc/x86_64-slackware-linux/4.5.2/../../../libc.so when searching for -lc<br />/usr/lib64/gcc/x86_64-slackware-linux/4.5.2/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib64/gcc/x86_64-slackware-linux/4.5.2/../../../libc.a when searching for -lc<br />/usr/lib64/gcc/x86_64-slackware-linux/4.5.2/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib64/libc.so when searching for -lc<br />/usr/lib64/gcc/x86_64-slackware-linux/4.5.2/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib64/libc.a when searching for -lc<br />/usr/lib64/gcc/x86_64-slackware-linux/4.5.2/../../../../x86_64-slackware-linux/bin/ld: cannot find -lc<br />/usr/lib64/gcc/x86_64-slackware-linux/4.5.2/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib64/gcc/x86_64-slackware-linux/4.5.2/libgcc.a when searching for -lgcc<br />/usr/lib64/gcc/x86_64-slackware-linux/4.5.2/../../../../x86_64-slackware-linux/bin/ld: cannot find -lgcc<br />/usr/lib64/gcc/x86_64-slackware-linux/4.5.2/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib64/gcc/x86_64-slackware-linux/4.5.2/../../../libgcc_s.so when searching for -lgcc_s<br />/usr/lib64/gcc/x86_64-slackware-linux/4.5.2/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib64/libgcc_s.so when searching for -lgcc_s<br />/usr/lib64/gcc/x86_64-slackware-linux/4.5.2/../../../../x86_64-slackware-linux/bin/ld: cannot find -lgcc_s<br />collect2: ld returned 1 exit status<br />configure:2427: $? = 1<br />configure: failed program was:<br />| /* confdefs.h.&nbsp; */<br />| <br />| #define PACKAGE_NAME &quot;GRUB&quot;<br />| #define PACKAGE_TARNAME &quot;grub&quot;<br />| #define PACKAGE_VERSION &quot;0.97&quot;<br />| #define PACKAGE_STRING &quot;GRUB 0.97&quot;<br />| #define PACKAGE_BUGREPORT &quot;bug-grub@gnu.org&quot;<br />| #define PACKAGE &quot;grub&quot;<br />| #define VERSION &quot;0.97&quot;<br />| /* end confdefs.h.&nbsp; */<br />| <br />| int<br />| main ()<br />| {<br />| <br />|&nbsp; &nbsp;;<br />|&nbsp; &nbsp;return 0;<br />| }<br />configure:2466: error: C compiler cannot create executables<br />See `config.log&#039; for more details.</p><p>## ---------------- ##<br />## Cache variables. ##<br />## ---------------- ##</p><p>ac_cv_build=x86_64-unknown-linux-gnu<br />ac_cv_build_alias=x86_64-unknown-linux-gnu<br />ac_cv_env_CC_set=<br />ac_cv_env_CC_value=<br />ac_cv_env_CFLAGS_set=set<br />ac_cv_env_CFLAGS_value=-O2<br />ac_cv_env_CPPFLAGS_set=<br />ac_cv_env_CPPFLAGS_value=<br />ac_cv_env_CPP_set=<br />ac_cv_env_CPP_value=<br />ac_cv_env_LDFLAGS_set=<br />ac_cv_env_LDFLAGS_value=<br />ac_cv_env_build_alias_set=<br />ac_cv_env_build_alias_value=<br />ac_cv_env_host_alias_set=<br />ac_cv_env_host_alias_value=<br />ac_cv_env_target_alias_set=<br />ac_cv_env_target_alias_value=<br />ac_cv_host=x86_64-unknown-linux-gnu<br />ac_cv_host_alias=x86_64-unknown-linux-gnu<br />ac_cv_path_install=&#039;/bin/ginstall -c&#039;<br />ac_cv_prog_AWK=gawk<br />ac_cv_prog_ac_ct_CC=gcc<br />ac_cv_prog_make_make_set=yes</p><p>## ----------------- ##<br />## Output variables. ##<br />## ----------------- ##</p><p>ACLOCAL=&#039;${SHELL} /tmp/grub-0.97/missing --run aclocal-1.9&#039;<br />AMDEPBACKSLASH=&#039;&#039;<br />AMDEP_FALSE=&#039;&#039;<br />AMDEP_TRUE=&#039;&#039;<br />AMTAR=&#039;${SHELL} /tmp/grub-0.97/missing --run tar&#039;<br />AUTOCONF=&#039;${SHELL} /tmp/grub-0.97/missing --run autoconf&#039;<br />AUTOHEADER=&#039;${SHELL} /tmp/grub-0.97/missing --run autoheader&#039;<br />AUTOMAKE=&#039;${SHELL} /tmp/grub-0.97/missing --run automake-1.9&#039;<br />AWK=&#039;gawk&#039;<br />BUILD_EXAMPLE_KERNEL_FALSE=&#039;&#039;<br />BUILD_EXAMPLE_KERNEL_TRUE=&#039;&#039;<br />CC=&#039;gcc&#039;<br />CCAS=&#039;&#039;<br />CCASFLAGS=&#039;&#039;<br />CCDEPMODE=&#039;&#039;<br />CFLAGS=&#039;-m32 -O2&#039;<br />CPP=&#039;&#039;<br />CPPFLAGS=&#039;&#039;<br />CYGPATH_W=&#039;echo&#039;<br />DEFS=&#039;&#039;<br />DEPDIR=&#039;&#039;<br />DISKLESS_SUPPORT_FALSE=&#039;&#039;<br />DISKLESS_SUPPORT_TRUE=&#039;&#039;<br />ECHO_C=&#039;&#039;<br />ECHO_N=&#039;-n&#039;<br />ECHO_T=&#039;&#039;<br />EGREP=&#039;&#039;<br />EXEEXT=&#039;&#039;<br />FSYS_CFLAGS=&#039;&#039;<br />GRUB_CFLAGS=&#039;&#039;<br />GRUB_LIBS=&#039;&#039;<br />HERCULES_SUPPORT_FALSE=&#039;&#039;<br />HERCULES_SUPPORT_TRUE=&#039;&#039;<br />INSTALL_DATA=&#039;${INSTALL} -m 644&#039;<br />INSTALL_PROGRAM=&#039;${INSTALL}&#039;<br />INSTALL_SCRIPT=&#039;${INSTALL}&#039;<br />INSTALL_STRIP_PROGRAM=&#039;${SHELL} $(install_sh) -c -s&#039;<br />LDFLAGS=&#039;&#039;<br />LIBOBJS=&#039;&#039;<br />LIBS=&#039;&#039;<br />LTLIBOBJS=&#039;&#039;<br />MAINT=&#039;#&#039;<br />MAINTAINER_MODE_FALSE=&#039;&#039;<br />MAINTAINER_MODE_TRUE=&#039;#&#039;<br />MAKEINFO=&#039;${SHELL} /tmp/grub-0.97/missing --run makeinfo&#039;<br />NETBOOT_DRIVERS=&#039;&#039;<br />NETBOOT_SUPPORT_FALSE=&#039;&#039;<br />NETBOOT_SUPPORT_TRUE=&#039;&#039;<br />NET_CFLAGS=&#039;&#039;<br />NET_EXTRAFLAGS=&#039;&#039;<br />OBJCOPY=&#039;&#039;<br />OBJEXT=&#039;&#039;<br />PACKAGE=&#039;grub&#039;<br />PACKAGE_BUGREPORT=&#039;bug-grub@gnu.org&#039;<br />PACKAGE_NAME=&#039;GRUB&#039;<br />PACKAGE_STRING=&#039;GRUB 0.97&#039;<br />PACKAGE_TARNAME=&#039;grub&#039;<br />PACKAGE_VERSION=&#039;0.97&#039;<br />PATH_SEPARATOR=&#039;:&#039;<br />PERL=&#039;&#039;<br />RANLIB=&#039;&#039;<br />SERIAL_SPEED_SIMULATION_FALSE=&#039;&#039;<br />SERIAL_SPEED_SIMULATION_TRUE=&#039;&#039;<br />SERIAL_SUPPORT_FALSE=&#039;&#039;<br />SERIAL_SUPPORT_TRUE=&#039;&#039;<br />SET_MAKE=&#039;&#039;<br />SHELL=&#039;/bin/sh&#039;<br />STAGE1_CFLAGS=&#039;&#039;<br />STAGE2_CFLAGS=&#039;&#039;<br />STRIP=&#039;&#039;<br />VERSION=&#039;0.97&#039;<br />ac_ct_CC=&#039;gcc&#039;<br />ac_ct_OBJCOPY=&#039;&#039;<br />ac_ct_RANLIB=&#039;&#039;<br />ac_ct_STRIP=&#039;&#039;<br />am__fastdepCC_FALSE=&#039;&#039;<br />am__fastdepCC_TRUE=&#039;&#039;<br />am__include=&#039;&#039;<br />am__leading_dot=&#039;.&#039;<br />am__quote=&#039;&#039;<br />am__tar=&#039;${AMTAR} chof - &quot;$$tardir&quot;&#039;<br />am__untar=&#039;${AMTAR} xf -&#039;<br />bindir=&#039;${exec_prefix}/bin&#039;<br />build=&#039;x86_64-unknown-linux-gnu&#039;<br />build_alias=&#039;&#039;<br />build_cpu=&#039;x86_64&#039;<br />build_os=&#039;linux-gnu&#039;<br />build_vendor=&#039;unknown&#039;<br />datadir=&#039;${prefix}/share&#039;<br />exec_prefix=&#039;NONE&#039;<br />host=&#039;x86_64-unknown-linux-gnu&#039;<br />host_alias=&#039;&#039;<br />host_cpu=&#039;x86_64&#039;<br />host_os=&#039;linux-gnu&#039;<br />host_vendor=&#039;unknown&#039;<br />includedir=&#039;${prefix}/include&#039;<br />infodir=&#039;/usr/info&#039;<br />install_sh=&#039;/tmp/grub-0.97/install-sh&#039;<br />libdir=&#039;${exec_prefix}/lib&#039;<br />libexecdir=&#039;${exec_prefix}/libexec&#039;<br />localstatedir=&#039;${prefix}/var&#039;<br />mandir=&#039;/usr/man&#039;<br />mkdir_p=&#039;mkdir -p --&#039;<br />oldincludedir=&#039;/usr/include&#039;<br />prefix=&#039;/usr&#039;<br />program_transform_name=&#039;s,x,x,&#039;<br />sbindir=&#039;${exec_prefix}/sbin&#039;<br />sharedstatedir=&#039;${prefix}/com&#039;<br />sysconfdir=&#039;${prefix}/etc&#039;<br />target_alias=&#039;&#039;</p><p>## ----------- ##<br />## confdefs.h. ##<br />## ----------- ##</p><p>#define PACKAGE &quot;grub&quot;<br />#define PACKAGE_BUGREPORT &quot;bug-grub@gnu.org&quot;<br />#define PACKAGE_NAME &quot;GRUB&quot;<br />#define PACKAGE_STRING &quot;GRUB 0.97&quot;<br />#define PACKAGE_TARNAME &quot;grub&quot;<br />#define PACKAGE_VERSION &quot;0.97&quot;<br />#define VERSION &quot;0.97&quot;</p><p>configure: exit 77</p></div></div><p>Как победить?</p>]]></description>
			<author><![CDATA[null@example.com (Ciber SLasH)]]></author>
			<pubDate>Thu, 28 Jul 2011 05:00:57 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=198395#p198395</guid>
		</item>
		<item>
			<title><![CDATA[Re: Slackware64 13.37 - как установить grub ?]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=198387#p198387</link>
			<description><![CDATA[<div class="quotebox"><cite>Ciber SLasH пишет:</cite><blockquote><p>Гружусь с слак-DVD и устанавливаю пакет:</p></blockquote></div><p>куда ??? :lol:&nbsp; :lol: .. Побольше таких весёлых шуток и мы завоюем рунет ..<br /></p><div class="quotebox"><cite>Ciber SLasH пишет:</cite><blockquote><p>Гружусь с слак-DVD</p></blockquote></div><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"><br />root@slackware # mount /dev/sda2 /mnt&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;# монтируем корень , если у вас другой значит исправляем ..<br />root@slackware # mount /dev/sda1 /mnt/boot&nbsp; &nbsp; &nbsp; &nbsp;# монтируем boot-раздел если он у вас отдельно от корня , если нет тогда этот пункт не нужен <br />root@slackware # mount -t proc none /mnt/proc<br />root@slackware # mount -o bind /dev /mnt/dev<br />root@slackware # cp /media/SlackDVD/Slackware64/extra/grub /mnt/tmp&nbsp; &nbsp; # здесь уточните правильно путь где смонтирован установочный диск Слаки и его имя ..<br />root@slackware # chroot /mnt<br />root@host # installpkg /tmp/grub/grub-legacy-0.97-i486-4sl.txz<br />root@host # grub<br />grub &gt; find /boot/grub/stage1<br />&nbsp; hd0,1<br />grub &gt; root (hd0,1)<br />grub &gt; setup (hd0)<br />grub &gt; quit<br /></div><br />ну там ещё кованным нацистским сапогом попинать его можно для острастки , это уже на любителя ... :lol: <br /><a href="http://help.ubuntu.ru/wiki/grub_legacy">тыц</a> - вот по простому , по русски про первый grub ...<br /><a href="http://www.dedoimedo.com/computers/grub.html#mozTocId836096">тыц</a>&nbsp; - это оригинал ..<br />Enjoy!&nbsp; <img src="https://linuxforum.ru/img/smilies/ag.gif" alt="ag" /></p>]]></description>
			<author><![CDATA[null@example.com (gramozeka)]]></author>
			<pubDate>Thu, 28 Jul 2011 02:15:45 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=198387#p198387</guid>
		</item>
		<item>
			<title><![CDATA[Slackware64 13.37 - как установить grub ?]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=198364#p198364</link>
			<description><![CDATA[<p>Приветствую всех!<br />Установил 64-битную слаку 13.37 без LILO. Соответственно при перезагрузке ничего не грузится.<br />Гружусь с слак-DVD и устанавливаю пакет:<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"># installpkg grub-legacy-0.97-i486-4sl.txz</div><br />устанавливается без ошибок<br />Далее:<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"># grub-install /dev/sda<br />/usr/sbin/grub-install: line 348: /usr/sbin/grub: not found<br />sed: can&#039;t read /boot/grub/device.map: No such file or directory<br />grep: /boot/grub/device.map: No such file or directory<br />/dev/sda does not have any corresponding BIOS drive.</p><p># ls -l /usr/sbin | grep grub<br />-rwxr-xr-x 1 root root 133784 May&nbsp; 3 16:16 grub*<br />-rwxr-xr-x 1 root root&nbsp; 12931 Jul 27 23:54 grub-install*<br />-rwxr-xr-x 1 root root&nbsp; &nbsp;2312 May&nbsp; 3 16:16 grub-md5-crypt*<br />-rwxr-xr-x 1 root root&nbsp; &nbsp;2533 May&nbsp; 3 16:16 grub-set-default*<br />-rwxr-xr-x 1 root root&nbsp; &nbsp;2473 May&nbsp; 3 16:16 grub-terminfo*<br />-rwxr-xr-x 1 root root&nbsp; 41752 May&nbsp; 3 16:16 grubconfig*</p><p># /usr/sbin/grub<br />-/bin/sh: /usr/sbin/grub: not found<br /></div><br />Как побороть?</p>]]></description>
			<author><![CDATA[null@example.com (Ciber SLasH)]]></author>
			<pubDate>Wed, 27 Jul 2011 20:47:19 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=198364#p198364</guid>
		</item>
	</channel>
</rss>
