Συζητήσεις σχετικά με θέματα που αφορούν λειτουργικά συστήματα (Linux, *BSD, MacOS, Windows, κτλ.) .
-
xrokos
- Gbyte level

- Posts: 1072
- Joined: Fri Nov 04, 2005 12:59 pm
Post
by xrokos » Wed May 10, 2006 3:29 pm
Λοιπόν θέλω να αλλάξω το grub ώστε default να έχει τα winxp.Δίνω το menu.lst που υπάρχει στο φάκελο boot/grub.Τι να αλλάξω σε αυτό;
Code: Select all
title Ubuntu, kernel 2.6.12-10-amd64-generic Default
root (hd0,3)
kernel /boot/vmlinuz root=/dev/sda4 ro quiet splash
initrd /boot/initrd.img
savedefault
boot
title Ubuntu, kernel 2.6.12-10-amd64-generic Default (recovery mode)
root (hd0,3)
kernel /boot/vmlinuz root=/dev/sda4 ro single
initrd /boot/initrd.img
boot
title Ubuntu, kernel 2.6.12-9-amd64-generic Previous
root (hd0,3)
kernel /boot/vmlinuz.old root=/dev/sda4 ro quiet splash
initrd /boot/initrd.img.old
savedefault
boot
title Ubuntu, kernel 2.6.12-9-amd64-generic Previous (recovery mode)
root (hd0,3)
kernel /boot/vmlinuz.old root=/dev/sda4 ro single
initrd /boot/initrd.img.old
boot
title Ubuntu, kernel 2.6.12-10-amd64-generic
root (hd0,3)
kernel /boot/vmlinuz-2.6.12-10-amd64-generic root=/dev/sda4 ro quiet splash
initrd /boot/initrd.img-2.6.12-10-amd64-generic
savedefault
boot
title Ubuntu, kernel 2.6.12-10-amd64-generic (recovery mode)
root (hd0,3)
kernel /boot/vmlinuz-2.6.12-10-amd64-generic root=/dev/sda4 ro single
initrd /boot/initrd.img-2.6.12-10-amd64-generic
boot
title Ubuntu, kernel 2.6.12-9-amd64-generic
root (hd0,3)
kernel /boot/vmlinuz-2.6.12-9-amd64-generic root=/dev/sda4 ro quiet splash
initrd /boot/initrd.img-2.6.12-9-amd64-generic
savedefault
boot
title Ubuntu, kernel 2.6.12-9-amd64-generic (recovery mode)
root (hd0,3)
kernel /boot/vmlinuz-2.6.12-9-amd64-generic root=/dev/sda4 ro single
initrd /boot/initrd.img-2.6.12-9-amd64-generic
boot
title Ubuntu, memtest86+
root (hd0,3)
kernel /boot/memtest86+.bin
boot
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1
Χρειάζεται να έχει όλες αυτές τις βλακείες;Τι να σβήσω;
Horrific, deplorable violence is okay, as long as people don't say any naughty words!
-
Einherjar
- Venus Project Founder

- Posts: 3751
- Joined: Tue Jan 27, 2004 4:42 pm
- Academic status: Alumnus/a
- Gender: ♂
- Location: Washington DC, USA
-
Contact:
Post
by Einherjar » Wed May 10, 2006 3:54 pm
κάπου πιο πάνω θα έχει και μια εντολή default <number>. Εσύ βάζεις στον αριθμό αυτό την default επιλογή σου, αρχίζοντας από το 0. Στη συγκεκριμένη πείπρωση θα βάλεις το 9.
[Better to understand a little than to misunderstand a lot]
-
xrokos
- Gbyte level

- Posts: 1072
- Joined: Fri Nov 04, 2005 12:59 pm
Post
by xrokos » Wed May 10, 2006 4:00 pm
Code: Select all
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
default 0
Ναι έχεις δίκιο!Ευχαριστώ!
Χρειάζεται να ξεφορτοθώ τίποτα;
Horrific, deplorable violence is okay, as long as people don't say any naughty words!
-
Einherjar
- Venus Project Founder

- Posts: 3751
- Joined: Tue Jan 27, 2004 4:42 pm
- Academic status: Alumnus/a
- Gender: ♂
- Location: Washington DC, USA
-
Contact:
Post
by Einherjar » Wed May 10, 2006 4:56 pm
Κράτα αυτό με το οποίο bootαρεις και το αντίστοιχο recovery. Όχι ότι θα σου χρειαστεί αλλά έτσι για καλό και για κακό. Κράτα βέβαια και αυτό με τα xp.
Στην περίπτωση που βγάλεις κάτι μη ξεχάσεις να ενημερώσεις και την τιμή του default
[Better to understand a little than to misunderstand a lot]
-
xrokos
- Gbyte level

- Posts: 1072
- Joined: Fri Nov 04, 2005 12:59 pm
Post
by xrokos » Thu May 11, 2006 11:09 pm
Sorry πάλι αλλά για να ξεφορτοθώ τα άλλα απλώς θα τα κάνω cut;Γιατι από ο,τι θυμάμαι το είχα κάνει αλλά βγήκαν πάλι κανονικά.
Horrific, deplorable violence is okay, as long as people don't say any naughty words!
-
Einherjar
- Venus Project Founder

- Posts: 3751
- Joined: Tue Jan 27, 2004 4:42 pm
- Academic status: Alumnus/a
- Gender: ♂
- Location: Washington DC, USA
-
Contact:
Post
by Einherjar » Thu May 11, 2006 11:48 pm
Κανονικά τα σβήνεις απλά και τελείωσες. Τώρα δε ξέρω τι κάνουν διάφορες distros. Τα RedHat-like νομίζω ότι κάνουν τα δικά τους. Εγώ σου λέω τι θα έπρεπε να παίζει

[Better to understand a little than to misunderstand a lot]
-
HdkiLLeR
- Venus Project Founder

- Posts: 4356
- Joined: Tue Jan 27, 2004 4:41 pm
- Academic status: Alumnus/a
- Gender: ♂
- Location: New York, NY
-
Contact:
Post
by HdkiLLeR » Fri May 12, 2006 2:23 am
Θέλει να τρέξεις και το grub-install
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d-->--- s+:+ a- C++(+++) BILS++++$ P--- L++++>+++++ E--- W+++ N+ o+ K w--
O M+ V-- PS++>+++ PE- Y++ PGP++ t+ 5+ X+ R* tv b++ DI- D+ G+++ e+++>++++ h r++ y++
------END GEEK CODE BLOCK------
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." -- Dennis Ritchie
-
Einherjar
- Venus Project Founder

- Posts: 3751
- Joined: Tue Jan 27, 2004 4:42 pm
- Academic status: Alumnus/a
- Gender: ♂
- Location: Washington DC, USA
-
Contact:
Post
by Einherjar » Fri May 12, 2006 9:33 am
Αυτό δε γίνεται μια φορά μόνο? όχι κάθε φορά που αλλάζεις το menu.lst
[Better to understand a little than to misunderstand a lot]
-
vagalati
- Mbyte level

- Posts: 579
- Joined: Tue Mar 16, 2004 2:46 pm
- Location: 7000 miles away from aueb
Post
by vagalati » Fri May 12, 2006 10:07 am
HdkiLLeR wrote:Θέλει να τρέξεις και το grub-install
Τσ τσ τσ...
Πως φαίνονται τα άτομα που είναι κολλημένα στο lilo...

Ni!! Ni!! Ni!!
-
HdkiLLeR
- Venus Project Founder

- Posts: 4356
- Joined: Tue Jan 27, 2004 4:41 pm
- Academic status: Alumnus/a
- Gender: ♂
- Location: New York, NY
-
Contact:
Post
by HdkiLLeR » Fri May 12, 2006 4:36 pm
Ναι κανονικά μία φορά γίνεται. Αλλά εάν λέει ότι δεν του παίρνει τις αλλαγές δεν χάνει να ρίξει μία

...
vagalati wrote:
Τσ τσ τσ...
Πως φαίνονται τα άτομα που είναι κολλημένα στο lilo...
Βάλε 10 stage loader εγώ πάντως θα έχω μικρότερο boot time

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d-->--- s+:+ a- C++(+++) BILS++++$ P--- L++++>+++++ E--- W+++ N+ o+ K w--
O M+ V-- PS++>+++ PE- Y++ PGP++ t+ 5+ X+ R* tv b++ DI- D+ G+++ e+++>++++ h r++ y++
------END GEEK CODE BLOCK------
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." -- Dennis Ritchie
-
jimmyD
- Venus Former Team Member
- Posts: 946
- Joined: Wed Apr 21, 2004 6:33 pm
- Academic status: MSc
- Location: στην κοσμάρα μου
Post
by jimmyD » Fri May 12, 2006 9:44 pm
Σβήσε ότι δεν χρειάζεσαι με το debfoster ( apt-get it first) και θα φύγουν και από το grub.
Since I was born I started to decay
now nothing ever ever goes my way...

-
vagalati
- Mbyte level

- Posts: 579
- Joined: Tue Mar 16, 2004 2:46 pm
- Location: 7000 miles away from aueb
Post
by vagalati » Fri May 12, 2006 10:42 pm
HdkiLLeR wrote:Βάλε 10 stage loader εγώ πάντως θα έχω μικρότερο boot time

Αν δεν κανω λάθος, μιλάμε για διαφορά λίγων ms

Εγώ πάντως δεν θα χρειάζομαι να μπαίνω στη διαδικασία του rescue/lilo reinstall κάθε φορά που χρειάζεται να αλλάξω boot options ή αλλαγή στα βασικά partitions

Ni!! Ni!! Ni!!
-
HdkiLLeR
- Venus Project Founder

- Posts: 4356
- Joined: Tue Jan 27, 2004 4:41 pm
- Academic status: Alumnus/a
- Gender: ♂
- Location: New York, NY
-
Contact:
Post
by HdkiLLeR » Fri May 12, 2006 10:46 pm
Καμένος όπως πάντα

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d-->--- s+:+ a- C++(+++) BILS++++$ P--- L++++>+++++ E--- W+++ N+ o+ K w--
O M+ V-- PS++>+++ PE- Y++ PGP++ t+ 5+ X+ R* tv b++ DI- D+ G+++ e+++>++++ h r++ y++
------END GEEK CODE BLOCK------
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." -- Dennis Ritchie
-
xrokos
- Gbyte level

- Posts: 1072
- Joined: Fri Nov 04, 2005 12:59 pm
Post
by xrokos » Sat May 13, 2006 7:57 pm
Βρήκα το πρόβλημα.Κάθε φορά που άλλαζα το menu.lst έκανα και update-grub με συνέπεια να μου αλλάζει πάλι στο παλιό.
Horrific, deplorable violence is okay, as long as people don't say any naughty words!