- Κώδικας: Επιλογή όλων
sudo script /etc/grub.d/30_os-prober
Μπορει καποιος να μου εδειχνε ενα υποδειγμα πως να ξαναφτιαξω το script?
Συντονιστής: adem1
sudo script /etc/grub.d/30_os-prober
sudo update-grub
-- Τα Windows και άλλα Λειτουργικά Συστήματα (ΛΣ) προσθέτονται αυτόματα
Αυτό γίνεται με το script /etc/grub.d/30_os-prober.
grub install
soto έγραψε:@ vagrale13 μπηκα με live cd - το ζητημα ειναι δεν ξερω πως να προσθεσω εντολες ωστε να εμφανισει τα windows στο μενου ,κατα την επεξεργασια των αρχειων "grub.cfg" κλπ.
εξαλλου εδω http://forum.ubuntu-gr.org/viewtopic.php?f=9&t=7278 διαβαζω :-- Τα Windows και άλλα Λειτουργικά Συστήματα (ΛΣ) προσθέτονται αυτόματα
Αυτό γίνεται με το script /etc/grub.d/30_os-prober.
Αλλα με update δεν γινεται αυτοματα .Μηπως πρεπει να δωσωωστε να δημιουργησει το 30_os-prober εξ αρχης?
- Κώδικας: Επιλογή όλων
grub install
sudo os-prober
/dev/sda1:Windows Vista (loader):Windows:chain
/dev/sda3:Windows Vista (loader):Windows1:chain
sudo update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.31-23-generic
Found initrd image: /boot/initrd.img-2.6.31-23-generic
Found linux image: /boot/vmlinuz-2.6.31-22-generic
Found initrd image: /boot/initrd.img-2.6.31-22-generic
Found linux image: /boot/vmlinuz-2.6.31-21-generic
Found initrd image: /boot/initrd.img-2.6.31-21-generic
Found linux image: /boot/vmlinuz-2.6.31-20-generic
Found initrd image: /boot/initrd.img-2.6.31-20-generic
Found linux image: /boot/vmlinuz-2.6.31-19-generic
Found initrd image: /boot/initrd.img-2.6.31-19-generic
Found memtest86+ image: /boot/memtest86+.bin
done
soto έγραψε:Θα ηταν παντως χρησιμο να μπει ενα ποστ για το πως επεξεργαζομαστε τα scripts για βασικες αλλαγες και προσθηκες, εκτος αν υπαρχει tutorial καπου που δεν το ξερω.
sudo gedit /boot/grub/grub.cfg