From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on sa.local.altlinux.org X-Spam-Level: * X-Spam-Status: No, score=1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DNS_FROM_AHBL_RHSBL, FREEMAIL_FROM, FSL_HELO_BARE_IP_2, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1424630856; bh=czsu+mp5BPWjg5/DoIbbsrQ/kVAjVxCKlllRPQG3gEE=; h=From:To:In-Reply-To:References:Subject:Date; b=CzCECCn91A+r1raEeqs8Hfcn6BEP47iY/Zr0Unc58IiQLkrgtLPNy9epzOsQ6eqtz 0H1mnoh9lFnrRo+vMDcH3pZrwoC+rxE0a4cyIPJD2bzCO67CmS5/F3rpRvPTIYsoRX eK1e7WbzCSrRbDs55gO1CA6uqMP0HsErQxCEFnOI= From: Speccyfighter Envelope-From: zxwarior@yandex.by To: ALT Linux Community general discussions In-Reply-To: <20150222170848.GP1226@imap.altlinux.org> References: <20150222161331.GN1226@imap.altlinux.org> <201502221922.35089@ruslandh> <201502221928.50089@ruslandh> <20150222170848.GP1226@imap.altlinux.org> MIME-Version: 1.0 Message-Id: <4292021424630855@web26g.yandex.ru> X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Sun, 22 Feb 2015 21:47:35 +0300 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=koi8-r Subject: Re: [Comm] chroot for 3.x kernels X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Community general discussions List-Id: ALT Linux Community general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Feb 2015 18:47:44 -0000 Archived-At: List-Archive: List-Post: 22.02.2015, 20:08, "Michael Shigorin" : > On Sun, Feb 22, 2015 at 07:28:50PM +0300, Hihin Ruslan wrote: >>>> grub-install /dev/sda # >>>> grub-mkconfig -o /boot/grub/grub.cfg >>>  Разве не наоборот? >>  Или grub при загрузке читает  /boot/grub/grub.cfg? >>  Тогда конечно без разницы. Я всё с lilo путаю. > > Чуть читабельней будет всё же наоборот, поправил. > Давно туда не заходил... И там меня сильно смутил комментарий к команде: > grub-install /dev/sda # заменить /dev/sda на то устройство, куда хочется установить GRUB Поскольку gnu.org говорит: http://www.gnu.org/software/grub/manual/grub.html#Invoking-grub_002dinstall Install GRUB images under the directory dir/grub/ This option is useful when you want to install GRUB into a separate partition or a removable disk. If this option is not specified then it defaults to /boot, so grub-install /dev/sda is equivalent to grub-install --boot-directory=/boot/ /dev/sda Here is an example in which you have a separate boot partition which is mounted on /mnt/boot: grub-install --boot-directory=/mnt/boot /dev/sdb -- Лучшее - враг хорошего! (Спектрумовский фольклор)