από stavr » 12 Απρ 2009, 08:19
sudo grub
grub> find /boot/grub/stage1 ( θα μας εμφανίσει τα παρακάτω )
π.χ. (hd0,X) όπου το Χ είναι δίσκος που θα κάνει boot , μπορεί να είναι 4,5,6 κτλ.)
στην συνέχεια θα δώσουμε
grub> root (hd0,X)
grub> setup (hd0),Χ)
οπου 0 και οπου χ πρεπει να τα αλάξω , πως θα ξερω ποιο νουμερο εχει ο δισκος 0,1,2,3,4?
και εκει που λεει 0 το δικο μου ειναι 1
για δείτε αυτο που εκανα
[ Minimal BASH-like line editing is supported. For
the first word, TAB lists possible command
completions. Anywhere else TAB lists the possible
completions of a device/filename. ]
grub> find /boot/grub/stage1
(hd1,0)
grub> root (hd1,0)
grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 16 sectors are embedded.
succeeded
Running "install /boot/grub/stage1 d (hd0) (hd0)1+16 p (hd1,0)/boot/grub/stage
2 /boot/grub/menu.lst"... succeeded
Done.
grub>
και κατι αλλο στο τελος το κανουμε save ?
Linux: χαμηλό ┃ Προγραμματισμός:όχι ┃ Αγγλικά:όχι
Ubuntu 11.10 oneiric 32bit (el_GR.UTF-8), Windows 7
AMD Athlon 64 X2 Dual Core Processor 4200+ ‖ RAM 3024 MiB ‖ ASUS INC. M2N-E
nVidia G73 [GeForce 7600 GT] [10de:0391] (rev a1)
eth0: nVidia MCP55 Ethernet [10de:0373] (rev a2) ⋮ wlan0: 0846:4260 NetGear, Inc. WG111v3 54 Mbps Wireless [realtek RTL8187B]