ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] LILO - how?
@ 2005-02-08  6:39 Хлызов А.А.
  2005-02-08  8:10 ` Alex Yustasov
  0 siblings, 1 reply; 3+ messages in thread
From: Хлызов А.А. @ 2005-02-08  6:39 UTC (permalink / raw)
  To: community

Доброго времени суток!

Господа! И дамы! Подскажите, как решить ситуацию:
имеется /dev/hda и /dev/sda. На обоих винчестерах стоят разные линуксы. 
Проинсталлирован lilo в MBR hda. Как должна правильно выглядеть секция 
в /etc/lilo.conf для того, чтобы загрузить систему с /dev/sda?

/dev/hda1 - /boot первого линуха
/dev/hda6 - / первого линуха
/dev/sda1 - /boot второго линуха
/dev/sda6 - / второго линуха

Пробовал так:
image = /dev/sda1/vmlinuz
   label = Linux
   initrd = /dev/sda1/initrd
   optional
   root = /dev/sda6
   vga = 0x314
lilo говорит, что он ее skipping... где чего не так? или я не так внимательно 
читал man lilo.conf?

Сразу слышу крики со стороны сообщества по поводу GRUB. Спешу сообщить - он 
отказывается ставиться.

# grub-install /dev/hda
/dev/discs/disc0/disc does not have any corresponding BIOS drive
# cat /boot/grub/device.map
(fd0)   /dev/fd0
(hd0)   /dev/hda
(hd1)   /dev/sda

причем последняя строка мне вообще непонятна...

-- 
С уважением,
проектный менеджер ООО "АСФ-Трэйд"
Хлызов Алексей
ICQ UIN: 86543660
E-Mail: A.Khlyzov@asf-trade.ru
WWW: http://auto.asf-trade.ru

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

* Re: [Comm] LILO - how?
  2005-02-08  6:39 [Comm] LILO - how? Хлызов А.А.
@ 2005-02-08  8:10 ` Alex Yustasov
  2005-02-09  5:53   ` Хлызов А.А.
  0 siblings, 1 reply; 3+ messages in thread
From: Alex Yustasov @ 2005-02-08  8:10 UTC (permalink / raw)
  To: community

On Tue, Feb 08, 2005 at 02:39:07PM +0800, Хлызов А.А. wrote:
> Доброго времени суток!
> 
> Господа! И дамы! Подскажите, как решить ситуацию:
> имеется /dev/hda и /dev/sda. На обоих винчестерах стоят разные линуксы. 
> Проинсталлирован lilo в MBR hda. Как должна правильно выглядеть секция 
> в /etc/lilo.conf для того, чтобы загрузить систему с /dev/sda?
> 
> /dev/hda1 - /boot первого линуха
> /dev/hda6 - / первого линуха
> /dev/sda1 - /boot второго линуха
> /dev/sda6 - / второго линуха
> 
> Пробовал так:
> image = /dev/sda1/vmlinuz
>    label = Linux
>    initrd = /dev/sda1/initrd
>    optional
>    root = /dev/sda6
>    vga = 0x314
> lilo говорит, что он ее skipping... где чего не так? или я не так внимательно 
> читал man lilo.conf?

Из первого cмонтировать второй, например,
mount /dev/sda6 /mnt/disk

В lilo
image=/mnt/disk/boot/vmlinuz
	initrd=/mnt/disk/boot/initrd
	label=Linux2
	root=/dev/sda6

Перед тем как вызывать в следующий раз lilo, нужно будет
примонтировать sda6.


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

* Re: [Comm] LILO - how?
  2005-02-08  8:10 ` Alex Yustasov
@ 2005-02-09  5:53   ` Хлызов А.А.
  0 siblings, 0 replies; 3+ messages in thread
From: Хлызов А.А. @ 2005-02-09  5:53 UTC (permalink / raw)
  To: Alex Yustasov, community

В сообщении от 8 Февраль 2005 16:10 Alex Yustasov написал(a):
> On Tue, Feb 08, 2005 at 02:39:07PM +0800, Хлызов А.А. wrote:
> > Доброго времени суток!
> >
> > Господа! И дамы! Подскажите, как решить ситуацию:
> > имеется /dev/hda и /dev/sda. На обоих винчестерах стоят разные линуксы.
> > Проинсталлирован lilo в MBR hda. Как должна правильно выглядеть секция
> > в /etc/lilo.conf для того, чтобы загрузить систему с /dev/sda?
> >
> > /dev/hda1 - /boot первого линуха
> > /dev/hda6 - / первого линуха
> > /dev/sda1 - /boot второго линуха
> > /dev/sda6 - / второго линуха
> >
> > Пробовал так:
> > image = /dev/sda1/vmlinuz
> >    label = Linux
> >    initrd = /dev/sda1/initrd
> >    optional
> >    root = /dev/sda6
> >    vga = 0x314
> > lilo говорит, что он ее skipping... где чего не так? или я не так
> > внимательно читал man lilo.conf?
>
> Из первого cмонтировать второй, например,
> mount /dev/sda6 /mnt/disk
>
> В lilo
> image=/mnt/disk/boot/vmlinuz
> 	initrd=/mnt/disk/boot/initrd
> 	label=Linux2
> 	root=/dev/sda6
>
> Перед тем как вызывать в следующий раз lilo, нужно будет
> примонтировать sda6.

Спасибо! Великолепно работает!
Может тогда в FAQ это все?

-- 
С уважением,
проектный менеджер ООО "АСФ-Трэйд"
Хлызов Алексей
ICQ UIN: 86543660
E-Mail: A.Khlyzov@asf-trade.ru
WWW: http://auto.asf-trade.ru

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

end of thread, other threads:[~2005-02-09  5:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-08  6:39 [Comm] LILO - how? Хлызов А.А.
2005-02-08  8:10 ` Alex Yustasov
2005-02-09  5:53   ` Хлызов А.А.

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