Armenian Knowledge Base  

Go Back   Armenian Knowledge Base > Technical sections > Operating Systems > Unix
Register

Reply
 
LinkBack Thread Tools
Old 04.08.2006, 13:02   #1
Студент
 
Awful's Avatar
 
Join Date: 07 2005
Location: Armenia
Age: 29
Posts: 253
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Default Boot loader

rebyat u menya takakya problema....
u menya dva Linux OS-a na kompe....Mandriva 2006 i SUSE 9.1....no Boot Loader Mandrivin.....
tak vot u menya v loadere ne pokazivaet SUSE.....posle dolgix koviryaniy ya kak-to dobilsya chtob pokazivalo i SUSE(kstati ne pomnyu kak) no wse ravno ne zagrujalsya....xotya pomnyu chto v opciayax ya vrode vse nastroil normal'no....vchera ya v Mandrive koviryal comandu "lilo" posle chego iz boot loadera opyat' ischezla....pomogite pojaluysta ya zaputalsya....
Reply With Quote
Old 04.08.2006, 13:36   #2
the mochinger
 
Hans Andersen's Avatar
 
Join Date: 02 2002
Location: Paranoid Android, @10:50
Age: 38
Posts: 1,894
Downloads: 2
Uploads: 0
Reputation: 204 | 4
Default Re: Boot loader

lilo-i syntaxy chgitem (entadrum em vor grubi nman piti lini), bajz idean senz a:
prosto lilo.conf-i mej tes inch a graz arajin os-i zagruzki hamar, copy paste ara 2rd entry vorpes, kernely dzi dir 2rdi kerneli u kerneli paramnern el dzi, masnavorapes - rootfs-i devicy (suse el chgitem, bajz piti vor linuxi nman lini zagruzken)
__________________
The flower that blooms in adversity is the most rare and beautiful of all.
Reply With Quote
Old 06.08.2006, 00:39   #3
just as it is
 
Astro's Avatar
 
Join Date: 01 2004
Location: Bonn, DE
Age: 42
Posts: 991
Downloads: 12
Uploads: 0
Reputation: 46 | 3
Default

postav' GRUB, on namnogo luchshe.

Mne kajetca tebe nado poiti i pokaviryatca v /boot. Posmotry chto tam u tebja... Naskol'ko ya pomnyu u SUSE loader GRUB, no ne mogu skazat' pro Mandriva.

V principe mojno postavit' SUSE linux rescue disk ili pervi instalyacyoni disk i popitaisa proinstallirivat' GRUB loader. Potom vsyo doljno bit' kak po masle.
__________________
this is my signature
~
~
:wq
Reply With Quote
Old 06.08.2006, 05:08   #4
Студент
 
Awful's Avatar
 
Join Date: 07 2005
Location: Armenia
Age: 29
Posts: 253
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Default

ya proboval...no posle SUSE wse ravno ne zagrujaetsya......i eshe vopros....chem GRUB luchshe LILO???
Reply With Quote
Old 07.08.2006, 17:46   #5
just as it is
 
Astro's Avatar
 
Join Date: 01 2004
Location: Bonn, DE
Age: 42
Posts: 991
Downloads: 12
Uploads: 0
Reputation: 46 | 3
Default

Tak, a chto ti imenno proboval?

I escho sperva skaji gde u tebja sidit LILO?
Est li u tebja /boot partition?

Dlya chtenya mogu predlojit' vot etot site:
http://www.linuxjournal.com/article/4622
Na tvoi voprosi kto chem luchshe chitai tam. Xotya mnogie gorovyat chto GRUB ili LILO eto smotrya u kogo kakoi vkus. No mne kajetca chto GRUB luchshe potomuchto on legche naxodit chto i kak u tebja s partition-ami.
Reply With Quote
Old 08.08.2006, 05:29   #6
Скромный ученый
 
Professor's Avatar
 
Join Date: 06 2006
Location: В мягком удобном кресле...
Age: 45
Posts: 7,375
Downloads: 20
Uploads: 3
Reputation: 1086 | 6
Default

В LILO ковыряться проще.
Reply With Quote
Old 08.08.2006, 09:46   #7
Студент
 
Awful's Avatar
 
Join Date: 07 2005
Location: Armenia
Age: 29
Posts: 253
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Default

ya vchera postavil GRUB...tak on voobshe ne zagruzilsya......napisalo "loading GRUB version (takoy to takoy to) please wait"....tak i ne dojdalsya...
na schet togo chto u SUSe i Mandrivi raznie loaderi ...ya reshil chto loader SUSE ne nado stavit'....eto pravil'no????
dal'she v opciyax
Mandriva zagrujaetsya otsyuda-/boot/vmlinuz
teper' chto mne nado ukazat' put' otkuda zagrujaetsya SUSE????ili on zagrujaetsya tam je???
i eshe esli ukazivat' put'???kak eto pravil'no sdelat'???
Reply With Quote
Old 08.08.2006, 13:12   #8
just as it is
 
Astro's Avatar
 
Join Date: 01 2004
Location: Bonn, DE
Age: 42
Posts: 991
Downloads: 12
Uploads: 0
Reputation: 46 | 3
Default

Quote:
Originally Posted by Awful View Post
ya vchera postavil GRUB...tak on voobshe ne zagruzilsya......napisalo "loading GRUB version (takoy to takoy to) please wait"....tak i ne dojdalsya...
na schet togo chto u SUSe i Mandrivi raznie loaderi ...ya reshil chto loader SUSE ne nado stavit'....eto pravil'no????
dal'she v opciyax
Mandriva zagrujaetsya otsyuda-/boot/vmlinuz
teper' chto mne nado ukazat' put' otkuda zagrujaetsya SUSE????ili on zagrujaetsya tam je???
i eshe esli ukazivat' put'???kak eto pravil'no sdelat'???
Davai snachala ...
V principe chtob csyo rabotalo normal'no u tebja v /boot partitione doljno bit' informaciya pro vse OS na tvoyom kompe. Esli eta informaciya ne tam to ti doljen chotko napisat' v lilo.conf ili v grub.conf otkudva oni doljni chitatca.

Vot naprimer esli u tebja rabotaet LILO to v /boot partitione doljno bit' direktoriya lilo (/boot/lilo) i tam ti naidyosh lilo.conf file. Posmotri chto tam napisanno, esli tam ne napisanno otkudva LILO doljen naiti tvoi SUSE ili Mandriva to u tebja problemma.

No sperva sdelai backup of lilo.conf potom trogai ego.

Dal'she po kursu: v tvoyom /boot partitione doljni sidet' vmlinuz-XXXX dlya Mandriva i dlya SUSE. Posmotri oni tam ili net ... esli ne tam to naidi kuda oni propali i postav' tochni put' v tvoyom LILO.conf. Da v toi-je direktorii /boot doljni sidet i *.img filei dlya SUSE i dlya Mandriva. Prover' i opyat' sledui po toi-je logiki kak dlya vmlinuz.

Kogda stavlyal SUSE ti doljen bil vibrat' ego loader, mne kajetca eto bila tvoya oshibka sperva. No, nichego i bez etogo mojno esli doskanal'no zdelat' vsyo v konfiguracionnix failax.

I escho posmotri pojaluista gde u tebja sidit etot GRUB. Kogda ti v posledstvii postavil ego on doljen sidet' v /boot/grub . Vsyo chto ya skazal eto pochti to/je samoe v sluchae GRUB loader. Tak-chto zdes' nado ponyat' filosofiyu loadera. Ti escho skaji kak u tebja vsyo nachinaetca kogda ti vsklyuchaesh komp?

Vot smotri kak eto u menya sdelanno: U menya dva kernela sidyat odin s NTFS podderjkoi drugoi net. Eto dlya chtenya moego Windows partition. Po defaultu u menya zagrujaetca Windows (default=2).

Code:
[[email protected] grub]# more grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,1)
#          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
#          initrd /initrd-version.img
#boot=/dev/hda
default=2
timeout=5
splashimage=(hd0,1)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.17-1.2145_FC5)
        root (hd0,1)
        kernel /vmlinuz-2.6.17-1.2145_FC5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.17-1.2145_FC5.img
title Fedora Core (2.6.15-1.2054_FC5)
        root (hd0,1)
        kernel /vmlinuz-2.6.15-1.2054_FC5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.15-1.2054_FC5.img
title Other
        rootnoverify (hd0,0)
        chainloader +1
Reply With Quote
Old 08.08.2006, 16:14   #9
Студент
 
Awful's Avatar
 
Join Date: 07 2005
Location: Armenia
Age: 29
Posts: 253
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Default

podojdi...to chto ti napisal...eto ne dlya togo sluchaya kogda Mandriva i SUSE sidyat na odnom i tom je diske???u menya oni na raznix...
Reply With Quote
Old 08.08.2006, 18:21   #10
just as it is
 
Astro's Avatar
 
Join Date: 01 2004
Location: Bonn, DE
Age: 42
Posts: 991
Downloads: 12
Uploads: 0
Reputation: 46 | 3
Default

Quote:
Originally Posted by Awful View Post
podojdi...to chto ti napisal...eto ne dlya togo sluchaya kogda Mandriva i SUSE sidyat na odnom i tom je diske???u menya oni na raznix...
V principe bol'shoi raznici netu dlya Linux-a.
Dva diska v Linuxe eto dve direktorii - eto ne Windows-ovskaya filosofiya.

Vopros zdes' v tom gde u tebja /boot partition?
Naschot togo ot kudva u tebja zagrujaetca chto. Esli u tebja 2 diska to odin iz nix primary a drugoi passivni. Kogda ti vklyuchaesh komp to on znaet chto nado iskat' progarmku v primary diske chtob zagruzit' OS.

Ti snachala otvet' mne eto:
Kogda ti vklyuchaesh komp kak tam vsyo idyot? Kak ti vibiraesh Linux ili Windows? Na kakom diske u tebja Mandriva a na kakom SUSE? Kogda sprashivayu na kakom to imeyu vvidu na primary ili secondary (passive)?

U menya takoe podozrenie chto u tebja dve /boot partitions - odin na kajdom diske. Prover' eto esli smojesh...
Reply With Quote
Old 08.08.2006, 19:17   #11
Студент
 
Awful's Avatar
 
Join Date: 07 2005
Location: Armenia
Age: 29
Posts: 253
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Default

znachit' tak...kogda vklyuchayu komp zagrujaetsya boot loader Mandriven`LILO......tam net variantov chtob ya smog zagruzit' SUSE........
dal'she....na skol'ko ya pomnyu na primary partition stoit Mandriva a na secondary`SUSE....
da u menya dva /boot-a odin dly SUSE drugoy dlya MAndrivyi ....i kajdiy na svoem dike...
Reply With Quote
Old 09.08.2006, 02:13   #12
just as it is
 
Astro's Avatar
 
Join Date: 01 2004
Location: Bonn, DE
Age: 42
Posts: 991
Downloads: 12
Uploads: 0
Reputation: 46 | 3
Default

Quote:
Originally Posted by Awful View Post
znachit' tak...kogda vklyuchayu komp zagrujaetsya boot loader Mandriven`LILO......tam net variantov chtob ya smog zagruzit' SUSE........
dal'she....na skol'ko ya pomnyu na primary partition stoit Mandriva a na secondary`SUSE....
da u menya dva /boot-a odin dly SUSE drugoy dlya MAndrivyi ....i kajdiy na svoem dike...
mda, tak i znal ...
Znachit tak u tebja LILO kotori zagrujaet Mandriv-u ne znaet pro suschestvovanie SUSE na drugom diske vot v etom i problema. V principe u tebja doljno bit' tol'ko odin /boot partition. S etogo partitiona doljna bit vidna i SUSE i Mandriva.

Situaciya popvravima! Ti doljen vpisat' v /boot partitiona na pervom diske informaciyu pro SUSE i vsyo. No chtobi eto sdelat' nado razobratca nemnojko.

Snachala ti skaji, kogda ti zagrujaesh Mandrivu ti vidish vtoroi disk gde sidit SUSE? Esli da to posmotri chto u tebja v /boot partitione kotori na vtorom diske. Esli tam est kernel i *.img file dlya SUSE to ochen' xorosho, esli net to idi i ischi gde eti file-i u tebja.

Tak vot esli u tebja tak prosten'ko i v /boot partitione vtorogo diska naxodyatca nujnie fil@ to mojno poprobivat "podskazat" LILO gde oni i prosto sdelat' load. Zdes' ya ne takuj uveren' ... no mojet bit' i srabotaet.

Sperva zdelai backup vsex fielov s kotorimi ti doljen rabotat'!

Est' odna ideya ...
V lilo.conf (pervogo diska) mojno dobavit' stroku pro SUSE i navernoe vsyo.
Zdes' ya vot ne uveren' chto srabotaet potomuchto v lilo.conf vsegda pishetca address kernela i *.img po otnosheniyu lokal'nogo diska. No poskol'ku SUSE u tebja na drugom mojet i ne srabotat' potomuchto sistema v principe poka ne znaet chto u tebja est' i vtoroi disk i nado etot disk montirovat' kak direktoriyu.

Drugaya ideya ...
Mojno konechno skopirvat' iz /boot vtoroga diska sootvetstvuyuschie file@ na /boot pervogo diska i sootvetstvenno izmenit' lilo.conf . Zdes' opyat mogut bit' problemi potomuchto tam /boot est' file nazivaemi device.map gde vpisanni tvoi diski i tam doljna bit' vsya informaciya pro obe diska. Xotya mojet bit i tam mojno dobavit' strochku pro vtoroi disk - ne uveren' chto eto pravil'ni metod.

I na posledok ...
Mne kajetca tebe nado perestavit' boot loader opyat' i nado eto delat' s primary partitiona. U tebja doljno bit' tol'ko odin /boot dlya Mandriva, SUSE i Windows.

Prochitai nemnojko v internete i potom vozmis' za delo. I ne zabud' sdelat' backup pered tem kak eto vsyo delat'.
Reply With Quote
Old 09.08.2006, 07:46   #13
Студент
 
Awful's Avatar
 
Join Date: 07 2005
Location: Armenia
Age: 29
Posts: 253
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Default

slushay...u menya takoy vot vopros.......u menya 100% stoit LILO no pochemu u menya v /boot
partitione est' direktoriya tol'ko dlya GRUB???
i eshe u menya lilo.conf ya nashel v /etc.......eto ne meshaet nichemu???
i eshe kak mojno ustanovit' SUSE(ya pereustanovlyu...eto ne problema) chtob u nix s Mandrivoy bil ediniy boot partition??
Reply With Quote
Sponsored Links
Reply

Thread Tools


На правах рекламы:
реклама

All times are GMT. The time now is 04:03.


Powered by vBulletin® Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.