Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: 2 linuxes on a HDD


  • Subject: Re: lug-bg: 2 linuxes on a HDD
  • From: stoev@xxxxxxxxxxxxxxxxx (Julian Stoev)
  • Date: Fri, 26 May 2000 22:48:52 +0900



On Fri, May 26, 2000 at 02:28:15PM +0300, Theodor Milkov wrote:
|On Fri, 26 May 2000, Pavlin Petkov wrote:
|
|<snip>
|>   Nemovah da nakaram lilo da move da boot-wa 2-ta linux-a. Kato mu naprawq
|> lilo.conf i sled toa napisha lilo izpljuwa greshka che nemove da otwori
|> file-a s kernel-a na drugiq linux, kojto se namira na drugiq dql. Problema
|> chastichno (no nekorektno) se reshawa ako kopiram kernela na linux-a ot
|> drugiq dql w tozi na kojto e instalirano lilo. Togawa obache, poneve ne sa
|> s ednakwi kernel-i (move i da ne e samo towa prichinata) /boot/System.map
|> pishti za nekorektna wersiq na kernel-a. Ima opciq w lilo.conf da se ukave
|> koj file da polzwa za map file, no taka i nemovah da mu ukava za
|> razlichnite boot sekcii da polzwa razlichen map file.
|>   Nqkakwi idei kyde tochno e problema i kak move da se reshi?
|<snip>
|
|Mislia che nomera e da ne gi bootvash i dvata ot mbr. T.e. vav lilo.conf na
|parvia Linux (da rechem Slackware) imash edna obshta sekcia:
|
|boot = /dev/hda
|vga = normal
|
|Sashto taka zapis za parvia Linux:
|
|root = /dev/hda1
|read-only
|image = /boot/zImage
|label = Slackware
|
|I oshte edin zapis koito da sochi nachaloto na Mandrakeskia partition:
|
|other = /dev/hda2
|label = Mandrake
|table = /dev/hda
|
|A pak lilo-to na Mandrake da izglejda ot vida:
|
|boot = /dev/hda
|vga = normal
|
|image = /boot/zImage
| root = /dev/hda2
| label = Mandrake
| read-only
|

Niama da stane taka. Az zatova pisah, che ne moze s prerazkaz po
kartinka da se opraviat takiva neshta. Sega v tova koeto predlagash
ima edin osnoven kusur. Zadal si samo edno
root = /dev/hda1

Spored men vtoria linux triabva da se zadade s oshte edno 
root = /dev/hda2

Ima znachenie kyde mu e MBR. Obache ne mozeme da znaeme kak i shto bez
da imame lilo.conf, koeto toi se opitva da modificira. Spored men
dobre si e
boot = /dev/hda

Poglezdame kakvo pishe v dokumentaciata za LILO: 

Per-image options for kernels
[del...]
ROOT=<root_device> Specifies the device that should be mounted as
root.  If the special name CURRENT is used, the root device is set to
the device on which the root file system is currently mounted. If the
root has been changed with  -r , the respective device is used. If the
variable ROOT is omitted, the root device setting contained in the
kernel image is used. It can be changed with the rdev program.                                                               

Ima si i primer:
image = /vmlinuz
        label = lin-hd
        root = /dev/hda2
image = /vmlinuz
        label = lin-fd
        root = /dev/fd0   

Situaciata e analogichna. 

Syshto taka niama mnogo goliama nuzda na dvata Linuxa da ima
instalirano Lilo. Edno stiga na edinia ot dvata. Tova koeto ti se
opitvash da napravish e ednoto lilo da da bootne drugoto. Sigurno moze
i da stane opbache v takyv sluchai konfiguraciata na Mandrake triabva
da ima drug vid.

boot = /dev/hda2
           ^^^^^^!!!!
vga = normal

image = /boot/zImage
 root = /dev/hda2
 label = Mandrake
 read-only

Eto, che izpisah suma neshta. I za k'vo triabvashe, kato beshe
dostatychno pitashtia da pusne negovite lilo.conf i togava sigurno
shtiahme da se razbereme na edin red.

--JS
==================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
Otpiswaneto RABOTI !!! : Majordomo@xxxxxxxxxxxxxxxxxx UNSUBSCRIBE LUG-BG
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora



 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.