ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Alt Desktop 5. Загрузка grub'ом от другого дистра
@ 2009-09-16 18:23 Alexander Tiurin
  2009-09-16 18:29 ` Andrey Rahmatullin
  2009-09-16 19:04 ` Speccyfighter
  0 siblings, 2 replies; 9+ messages in thread
From: Alexander Tiurin @ 2009-09-16 18:23 UTC (permalink / raw)
  To: community

Поставил Альт в корень /  на логический диск sdd7 Там же в корне и
/boot. При установке вообще отказался от сетапа альтовского
загрузчика.
В целом по диску имею
/dev/sdd1               1        3825    30720000    7  HPFS/NTFS
/dev/sdd2   *        3825        4868     8377897+  83  Linux
/dev/sdd3            4868        6840    15843378+   5  Расширенный
/dev/sdd5            4868        4990      979933+  82  Linux своп / Solaris
/dev/sdd6            4990        6084     8787523+  83  Linux
/dev/sdd7            6085        6840     6072538+  83  Linux

В /boot файлы

System.map26
grub
kernel26-fallback.img
kernel26.img
vmlinuz26

Grub от другого дистра установлен в mbr sdd.

Grub menu

title Alt Linux
root (hd3,6)
kernel /boot/vmlinuz-2.6.30-std-def-alt10 root=/dev/hd6 ro
initrd /boot/initrd-2.6.30-std-def-alt10.img

При загрузке имею
grub error 22: no such partition

Подскажите плиз, в каком месте ошибся? Есть подозрение, что это из-за
/boot на логическом диске, но не уверен.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Comm] Alt Desktop 5. Загрузка grub'ом от другого дистра
  2009-09-16 18:23 [Comm] Alt Desktop 5. Загрузка grub'ом от другого дистра Alexander Tiurin
@ 2009-09-16 18:29 ` Andrey Rahmatullin
  2009-09-16 19:01   ` Alexander Tiurin
  2009-09-16 19:04 ` Speccyfighter
  1 sibling, 1 reply; 9+ messages in thread
From: Andrey Rahmatullin @ 2009-09-16 18:29 UTC (permalink / raw)
  To: community

[-- Attachment #1: Type: text/plain, Size: 550 bytes --]

On Wed, Sep 16, 2009 at 10:23:57PM +0400, Alexander Tiurin wrote:
> Grub от другого дистра установлен в mbr sdd.
> 
> Grub menu
> 
> title Alt Linux
> root (hd3,6)
Если я правильно понимаю, после загрузки с sdd sdd будет hd0.
В любом случае проще и быстрее будет проверить с консоли, как именно
называется ваш раздел.

-- 
WBR, wRAR (ALT Linux Team)
Powered by the ALT Linux fortune(6):

Была такая тулза [ALT Control Center]. Но она состарилась и склеила ласты.
Сейчас ей подрастает замена - пакет alterator.
		-- alb in sisyphus@

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Comm] Alt Desktop 5. Загрузка grub'ом от другого дистра
  2009-09-16 18:29 ` Andrey Rahmatullin
@ 2009-09-16 19:01   ` Alexander Tiurin
  0 siblings, 0 replies; 9+ messages in thread
From: Alexander Tiurin @ 2009-09-16 19:01 UTC (permalink / raw)
  To: ALT Linux Community general discussions

16 сентября 2009 г. 22:29 пользователь Andrey Rahmatullin  написал:
> On Wed, Sep 16, 2009 at 10:23:57PM +0400, Alexander Tiurin wrote:
>> Grub от другого дистра установлен в mbr sdd.
>>
>> Grub menu
>>
>> title Alt Linux
>> root (hd3,6)
> Если я правильно понимаю, после загрузки с sdd sdd будет hd0.
> В любом случае проще и быстрее будет проверить с консоли, как именно
> называется ваш раздел.

Спасибо!
Этот конфиг оказался рабочим

root (hd0,6)
kernel /boot/vmlinuz-2.6.30-std-def-alt10 root=/dev/sdd7 ro
initrd /boot/initrd-2.6.30-std-def-alt10.img

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Comm] Alt Desktop 5. Загрузка grub'ом от другого дистра
  2009-09-16 18:23 [Comm] Alt Desktop 5. Загрузка grub'ом от другого дистра Alexander Tiurin
  2009-09-16 18:29 ` Andrey Rahmatullin
@ 2009-09-16 19:04 ` Speccyfighter
  2009-09-16 19:08   ` Andrey Rahmatullin
  1 sibling, 1 reply; 9+ messages in thread
From: Speccyfighter @ 2009-09-16 19:04 UTC (permalink / raw)
  To: ALT Linux Community general discussions

Alexander Tiurin пишет:
> Поставил Альт в корень /  на логический диск sdd7 Там же в корне и
> /boot. При установке вообще отказался от сетапа альтовского
> загрузчика.
> В целом по диску имею
> /dev/sdd1               1        3825    30720000    7  HPFS/NTFS
> /dev/sdd2   *        3825        4868     8377897+  83  Linux
> /dev/sdd3            4868        6840    15843378+   5  Расширенный
> /dev/sdd5            4868        4990      979933+  82  Linux своп / Solaris
> /dev/sdd6            4990        6084     8787523+  83  Linux
> /dev/sdd7            6085        6840     6072538+  83  Linux
> 
> В /boot файлы
> 
> System.map26
> grub
> kernel26-fallback.img
> kernel26.img
> vmlinuz26
> 
> Grub от другого дистра установлен в mbr sdd.
> 
> Grub menu
> 
> title Alt Linux
> root (hd3,6)
> kernel /boot/vmlinuz-2.6.30-std-def-alt10 root=/dev/hd6 ro
> initrd /boot/initrd-2.6.30-std-def-alt10.img
> 
> При загрузке имею
> grub error 22: no such partition
> 
> Подскажите плиз, в каком месте ошибся? Есть подозрение, что это из-за
> /boot на логическом диске, но не уверен.
>

Тут ошибка:
 > kernel /boot/vmlinuz-2.6.30-std-def-alt10 root=/dev/hd6 ro
При параметре:
 > root (hd3,6)
строка должна быть:
 > kernel /boot/vmlinuz-2.6.30-std-def-alt10 root=/dev/sdd7 ro

Чтоб проще было понять, вот вам пример для sda винчестера:


title		Debian GNU/Linux, kernel 2.6.18-4-k7
root		(hd0,8)
kernel		/boot/vmlinuz-2.6.18-4-k7 root=/dev/sda9 ro vga=791
initrd		/boot/initrd.img-2.6.18-4-k7
savedefault



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Comm] Alt Desktop 5. Загрузка grub'ом от другого дистра
  2009-09-16 19:04 ` Speccyfighter
@ 2009-09-16 19:08   ` Andrey Rahmatullin
  2009-09-16 19:36     ` Alexander Tiurin
  2009-09-16 19:55     ` Speccyfighter
  0 siblings, 2 replies; 9+ messages in thread
From: Andrey Rahmatullin @ 2009-09-16 19:08 UTC (permalink / raw)
  To: community

[-- Attachment #1: Type: text/plain, Size: 434 bytes --]

On Wed, Sep 16, 2009 at 10:04:19PM +0300, Speccyfighter wrote:
> Тут ошибка:
>  > kernel /boot/vmlinuz-2.6.30-std-def-alt10 root=/dev/hd6 ro
Да, но как это связано с ошибкой grub?

-- 
WBR, wRAR (ALT Linux Team)
Powered by the ALT Linux fortune(6):

Возможно, вы уже успели заметить, что после обновления пакета app-defaults
до версии 0.2.6-alt1 в системе что-то стало работать не так, как положено.
		-- ldv in sisyphus@

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Comm] Alt Desktop 5. Загрузка grub'ом от другого дистра
  2009-09-16 19:08   ` Andrey Rahmatullin
@ 2009-09-16 19:36     ` Alexander Tiurin
  2009-09-16 19:55     ` Speccyfighter
  1 sibling, 0 replies; 9+ messages in thread
From: Alexander Tiurin @ 2009-09-16 19:36 UTC (permalink / raw)
  To: ALT Linux Community general discussions

Всем спасибо за помощь! Теперь стало понятно.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Comm] Alt Desktop 5. Загрузка grub'ом от другого дистра
  2009-09-16 19:08   ` Andrey Rahmatullin
  2009-09-16 19:36     ` Alexander Tiurin
@ 2009-09-16 19:55     ` Speccyfighter
  2009-09-16 19:57       ` Andrey Rahmatullin
  1 sibling, 1 reply; 9+ messages in thread
From: Speccyfighter @ 2009-09-16 19:55 UTC (permalink / raw)
  To: ALT Linux Community general discussions

Andrey Rahmatullin пишет:
> On Wed, Sep 16, 2009 at 10:04:19PM +0300, Speccyfighter wrote:
>> Тут ошибка:
>>  > kernel /boot/vmlinuz-2.6.30-std-def-alt10 root=/dev/hd6 ro
> Да, но как это связано с ошибкой grub?
> 
GRUB написал - нет такой партиции.
параметр
root=/dev/бла
задается в GRUB как абсолютный в обозначении устройств.
Поэтому в примере Саши Тиурина в строке
kernel /бла
должна быть указана партиция с именем устройства
root=/dev/sdd7


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Comm] Alt Desktop 5. Загрузка grub'ом от другого дистра
  2009-09-16 19:55     ` Speccyfighter
@ 2009-09-16 19:57       ` Andrey Rahmatullin
  2009-09-16 20:33         ` Speccyfighter
  0 siblings, 1 reply; 9+ messages in thread
From: Andrey Rahmatullin @ 2009-09-16 19:57 UTC (permalink / raw)
  To: community

[-- Attachment #1: Type: text/plain, Size: 411 bytes --]

On Wed, Sep 16, 2009 at 10:55:55PM +0300, Speccyfighter wrote:
> GRUB написал - нет такой партиции.
> параметр
> root=/dev/бла
> задается в GRUB 
Этот параметр интерпретируется не GRUB, а ядром.

-- 
WBR, wRAR (ALT Linux Team)
Powered by the ALT Linux fortune(6):

 * combr в соотв. с требованиями pam_passwdqc (фраза из трех слов) поставил
   пароль "Ubuntu is great" (теперь набирать приходится)

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Comm] Alt Desktop 5. Загрузка grub'ом от другого дистра
  2009-09-16 19:57       ` Andrey Rahmatullin
@ 2009-09-16 20:33         ` Speccyfighter
  0 siblings, 0 replies; 9+ messages in thread
From: Speccyfighter @ 2009-09-16 20:33 UTC (permalink / raw)
  To: ALT Linux Community general discussions

Andrey Rahmatullin пишет:
> On Wed, Sep 16, 2009 at 10:55:55PM +0300, Speccyfighter wrote:
>> GRUB написал - нет такой партиции.
>> параметр
>> root=/dev/бла
>> задается в GRUB 
> Этот параметр интерпретируется не GRUB, а ядром.
> 
Угу.
 >Параметры ядру передаются, очевидно, обычным образом. Разумеется,
 >значение параметра root описывает корневой раздел в нотации Linux,
 >а не GRUB, ...
 >http://www.posix.ru/system/grub/exp_posix.shtml



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-09-16 20:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-16 18:23 [Comm] Alt Desktop 5. Загрузка grub'ом от другого дистра Alexander Tiurin
2009-09-16 18:29 ` Andrey Rahmatullin
2009-09-16 19:01   ` Alexander Tiurin
2009-09-16 19:04 ` Speccyfighter
2009-09-16 19:08   ` Andrey Rahmatullin
2009-09-16 19:36     ` Alexander Tiurin
2009-09-16 19:55     ` Speccyfighter
2009-09-16 19:57       ` Andrey Rahmatullin
2009-09-16 20:33         ` Speccyfighter

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