ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Sergei Epiphanov <serpiph@nikiet.ru>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] Настройки grub2
Date: Tue, 28 Dec 2010 14:13:32 +0300
Message-ID: <201012281413.33014.serpiph@nikiet.ru> (raw)
In-Reply-To: <20101227151452.GA30803@newmaster.mivlgu.local>

В сообщении от 27 декабря 2010 18:14:52 автор Sergey Vlasov написал:

> В данном случае файл /boot/grub/device.map придётся исправлять вручную,
> поменяв местами (hd0) и (hd1).  Дело в том, что grub-mkdevicemap не может
> определить, что в BIOS выставлен нестандартный порядок загрузки, и
> предполагает, что номера дисков BIOS назначаются в том же порядке, что и
> устройства /dev/sdX в Linux, однако в данной конфигурации это не так -
> устройство, выбранное в BIOS для загрузки, получает в BIOS номер 0x80,
> обозначаемый в GRUB как (hd0), но на порядок обнаружения дисков ядром
> Linux эта настройка BIOS никак не влияет.

А, то есть указать, что винт с Linux - это (hd0). Вот ё-моё. Я как-то и не 
догадывался, что на эти обозначения надо смотреть как их ставит BIOS. Заодно 
понял, что BIOS с винтами делает при настройке порядка загрузки. Спасибо!

> Хотя, если делать привязку к UUID разделов, а не к номерам дисков,
> исправлять device.map не обязательно - раздел с нужным UUID будет найден
> на любом диске, доступном для BIOS.
> ...
> Как уже было замечено, нужно установить пакет os-prober - генерируемая им
> запись в меню использует UUID для поиска раздела с Windows, поэтому её
> работоспособность не зависит от порядка обнаружения дисков в BIOS.
> Правда, в этом случае управление будет передаваться непосредственно
> загрузочному сектору раздела Windows, без использования MBR.

Мне надо грузить Windows именно через MBR. Почему-то другой вариант не 
прокатывает - уже пробовал.

-- 
С уважением, Епифанов Сергей

  reply	other threads:[~2010-12-28 11:13 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-27  9:55 Sergei Epiphanov
2010-12-27 10:44 ` Vitaly Kuznetsov
2010-12-27 11:31   ` Sergei Epiphanov
2010-12-27 11:36     ` Vitaly Kuznetsov
2010-12-27 11:38     ` Игорь Андросов
2010-12-27 11:40       ` Vitaly Kuznetsov
2010-12-27 12:36         ` Sergei Epiphanov
2010-12-27 19:33           ` Sergey Vlasov
2010-12-28 11:09             ` Sergei Epiphanov
2010-12-27 11:43     ` Roman Lesnichenko
2010-12-27 12:38     ` Sergei Epiphanov
2010-12-27 15:14 ` Sergey Vlasov
2010-12-28 11:13   ` Sergei Epiphanov [this message]
2010-12-28 12:14     ` [sisyphus] [JT] " Ildar Mulyukov
2010-12-28 11:45       ` Sergei Epiphanov

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=201012281413.33014.serpiph@nikiet.ru \
    --to=serpiph@nikiet.ru \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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