grub re installation
V13
v13 at priest.com
Sat Mar 10 16:38:08 EET 2007
On Saturday 10 March 2007 13:20, Headbanger wrote:
> λοιπόν να μαι πάλι .
> prosfata evgala ta $vista kai ksanaevala XP giati koluse o dias sto pc mu.
> ksanaperasa windows alla xathike o grub apo ton hda.logiko 8a mu peitre
> ksekinaw me live kubuntu wste na ton ksanakanw install
> akolouthw ta eksis vimata
> sudo grub
> find /boot/grub/stage1 (wste na parw to boot info gia ton grub)
> root (hd0) {thelw na ton perasw sto mbr tou hda (einai kai o C: twn win
> paralila.. ta win bootarus apo hda1 , to linux partition / einai sto hda6)
> setup (hd0) kai pernw to eksis minima lathous : error grub cannot mount
> device,
> mporei kapoios na mu pei ti prepei na kanw wste na mhn xreiastei na
> ksanaperasw tro kubuntu mu giati to efera sta metra mu kai to goustarw opws
> einai??:P
To root prepei na'nai ayto poy soy leei h find poy dineis kai oxi to 'hd0'.
Mesa sto root prepei na yparxei o kernel, to initrd (an to xrisimopoieis), to
menu.lst kai ta arxeia toy grub. An exeis ksexoristo /boot tote to root einai
to partition toy /boot. Diaforetika einai to /.
P.x. se emena leei:
grub> find /grub/stage1
(hd1,0)
Apla prosekse mipos kai soy symbei oti kai se emena (se emena to root einai
to hd0,0, asxetos me to ti leei edo). To an tha mpei h oxi to grub ston mbr
kathorizetai apo thn 'setup' poy dineis kai den exei sxesi me to 'root'.
Epeisis, mporeis na kaneis to eksis: (to opoio einai synithos to pio aplo
mias kai kaneis chroot sto egkatestimeno soy systima kai epomenos mporeis na
diorthoseis ta panta)
* Bootare apo ena opoiodipote live cd to opoio blepei toys diskoys soy, h
xrisimopoihse to installation cd apo kapoia dianomi (efoson soy dinei shell).
* Mesa sto shell (san root) kane mount to / partition soy sto /mnt (h opoy
alloy theleis). P.x.:
mount /dev/hda2 /mnt
* Dose ta parakato:
chroot /mnt /bin/bash
mount /proc
mount /sys (den thymamai an xreiazetai ayto)
grub-install hd0
umount /sys
umount /proc
exit
umount /mnt
Kane reboot kai prepei na'sai OK.
An den doylepsei, dokimase na ksekiniseis to udev trexontas kati apo ta:
* /etc/init.d/udev start
* mount -t tmpfs none /dev ; udevd --daemon
* udevd --daemon
> Proios Apostolos
<<V13>>
More information about the Linux-greek-users
mailing list