ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Speccyfighter <zxwarior@yandex.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] chroot for 3.x kernels
Date: Sun, 22 Feb 2015 21:47:35 +0300
Message-ID: <4292021424630855@web26g.yandex.ru> (raw)
In-Reply-To: <20150222170848.GP1226@imap.altlinux.org>



22.02.2015, 20:08, "Michael Shigorin" <mike@altlinux.org>:
> 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


-- 
Лучшее - враг хорошего!
(Спектрумовский фольклор)


  reply	other threads:[~2015-02-22 18:47 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-21 21:29 ` [Comm] Chroot " Шенцев Алексей Владимирович
2015-02-22 12:28     ` Alexei V. Mezin
2015-02-22 16:13       ` [Comm] chroot " Michael Shigorin
2015-02-22 16:22         ` Hihin Ruslan
2015-02-22 16:28           ` Hihin Ruslan
2015-02-22 17:08             ` Michael Shigorin
2015-02-22 18:47               ` Speccyfighter [this message]
2015-02-22 19:02                 ` Hihin Ruslan
2015-02-22 21:39                   ` Speccyfighter
2015-02-23 10:53                 ` Sergey
2015-02-23 12:09       ` [Comm] Chroot " Андрій Добровольський
2015-02-23 12:28         ` Hihin Ruslan
2015-02-23 13:08           ` Андрій Добровольський
2015-02-23 13:10             ` Hihin Ruslan
2015-02-23 13:15               ` Андрій Добровольський
2015-02-23 13:23                 ` Hihin Ruslan
2015-02-23 15:31             ` Sergey
2015-02-23 12:10   ` Андрій Добровольський
2015-02-23 12:27     ` Hihin Ruslan
2015-02-23 13:20       ` Андрій Добровольський
2015-02-23 13:24         ` Шенцев Алексей Владимирович
2015-02-23 13:36           ` Андрій Добровольський
2015-02-23 13:42             ` Hihin Ruslan
2015-02-23 13:46             ` Шенцев Алексей Владимирович
2015-02-23 14:02               ` Hihin Ruslan
2015-02-23 14:27                 ` Андрій Добровольський
2015-02-23 14:28             ` Hihin Ruslan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4292021424630855@web26g.yandex.ru \
    --to=zxwarior@yandex.ru \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git