supermario3
Novello Novizio
Non Connesso
Sesso: 
Messaggi: 66
Media messaggi
NIUBBO!
|
 |
« inserita: 09 Settembre, 2009, 16:16:24 » |
|
Ciao ragazzi! Ho di nuovo bisogno di aiuto Ieri pomeriggio, non avendo niente da fare, ho aggiornato a karmic con sudo update-manager -d Tutto bene fino al riavvio dove mi sono reso conto che le impostazioni di grub erano saltate Sul mio computer ho windows 7 (rc), una specie di so che serve per ripristinare vista (classico della acer) e ubuntu (mi ha messo 2 kernel diversi) Il sistema predefinito all'avvio era windows 7 Adesso invece è il primo dell'elenco cioè ubuntu instabile Così ho dato sudo gedit /boot/grub/menu.lst tentando di modificare quel numeretto che indica il sistema di default all'avvio. Ma con mio grande stupore scopro che... E' LO STESSO DI PRIMA!!! cioè un 5 Mi ricordo che quando avevo ubuntu stabile e ho messo windows 7 come predefinito quel numero era 1 io l'ho cambiato in 5 perchè Ubuntu (primo kernel) Ubuntu (secondo kernel) Atri sistemi Vista loader (ripristino) Vista loader (windows 7) Cosa devo fare per fare in modo che si avvii sempre prima windows 7? Se volete vi metto il menu.lst così lo leggete bene Se vi servono altri dettagli...
|
|
|
|
« Ultima modifica: 10 Settembre, 2009, 19:19:08 da supermario3 »
|
Registrato
|
Acer Aspire 7730 - Intel Core 2 Duo T6400 - 17" Crystal Brite LCD - Nvidia GeForce 9600m GT (1 giga memoria dedicata) - 4 giga RAM DDR2 - 320 giga HDD - Dual Boot - Windows 7 - e - Ubuntu 10.04 64bit Funziona a meraviglia!
|
|
|
bancaldo
Entusiasta Emergente

Non Connesso
Sesso: 
Messaggi: 2.486
Media messaggi
La Cina è qui Sig. Burton!
|
 |
« Risposta #1 inserita: 09 Settembre, 2009, 16:23:05 » |
|
sì mettilo
|
|
|
|
|
Registrato
|
triplete!..."non vinciamo mai"...grazie Mou Ubuntu User #27170 Linux User #489389
|
|
|
bancaldo
Entusiasta Emergente

Non Connesso
Sesso: 
Messaggi: 2486
Media messaggi
La Cina è qui Sig. Burton!
|
 |
« Risposta #2 inserita: 09 Settembre, 2009, 16:23:30 » |
|
anche un bel sudo fdisk -l
|
|
|
|
|
Registrato
|
triplete!..."non vinciamo mai"...grazie Mou Ubuntu User #27170 Linux User #489389
|
|
|
supermario3
Novello Novizio
Non Connesso
Sesso: 
Messaggi: 66
Media messaggi
NIUBBO!
|
 |
« Risposta #3 inserita: 09 Settembre, 2009, 16:38:33 » |
|
fdisk Dispositivo Boot Start End Blocks Id System /dev/sda1 1 1306 10485760 27 Sconosciuto /dev/sda2 * 1306 20110 151041024 7 HPFS/NTFS /dev/sda3 20110 32858 102399996 7 HPFS/NTFS /dev/sda4 32859 38913 48636787+ 5 Esteso /dev/sda5 32859 38659 46596501 83 Linux /dev/sda6 38660 38913 2040223+ 82 Linux swap / Solaris
menu.lst # 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'. # WARNING: If you are using dmraid do not use 'savedefault' or your # array will desync and will not let you boot your system. default 5
## timeout sec # Set a timeout, in SEC seconds, before automatically booting the default entry # (normally the first entry defined). timeout 5
## hiddenmenu # Hides the menu by default (press ESC to see the menu) #hiddenmenu
# Pretty colours #color cyan/blue white/blue
## password ['--md5'] passwd # If used in the first section of a menu file, disable all interactive editing # control (menu entry editor and command-line) and entries protected by the # command 'lock' # e.g. password topsecret ## password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/ # password topsecret
# # examples # # title Windows 95/98/NT/2000 # root (hd0,0) # makeactive # chainloader +1 # # title Linux # root (hd0,1) # kernel /vmlinuz root=/dev/hda2 ro #
# # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST ## lines between the AUTOMAGIC KERNELS LIST markers will be modified ## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ## ## default kernel options ## default kernel options for automagic boot options ## If you want special options for specific kernels use kopt_x_y_z ## where x.y.z is kernel version. Minor versions can be omitted. ## e.g. kopt=root=/dev/hda1 ro ## kopt_2_6_8=root=/dev/hdc1 ro ## kopt_2_6_8_2_686=root=/dev/hdc2 ro # kopt=root=UUID=3f6e1f0c-21c6-486c-84cf-8c96eb8dc68b ro
## default grub root device ## e.g. groot=(hd0,0) # groot=3f6e1f0c-21c6-486c-84cf-8c96eb8dc68b
## should update-grub create alternative automagic boot options ## e.g. alternative=true ## alternative=false # alternative=false
## should update-grub lock alternative automagic boot options ## e.g. lockalternative=true ## lockalternative=false # lockalternative=false
## additional options to use with the default boot option, but not with the ## alternatives ## e.g. defoptions=vga=791 resume=/dev/hda5 # defoptions=splash quiet
## should update-grub lock old automagic boot options ## e.g. lockold=false ## lockold=true # lockold=false
## Xen hypervisor options to use with the default Xen boot option # xenhopt=
## Xen Linux kernel options to use with the default Xen boot option # xenkopt=console=tty0
## altoption boot targets option ## multiple altoptions lines are allowed ## e.g. altoptions=(extra menu suffix) extra boot options ## altoptions=(recovery) single # altoptions=(recovery mode) single
## controls how many kernels should be put into the menu.lst ## only counts the first occurence of a kernel, not the ## alternative kernel options ## e.g. howmany=all ## howmany=7 # howmany=all
## specify if running in Xen domU or have grub detect automatically ## update-grub will ignore non-xen kernels when running in domU and vice versa ## e.g. indomU=detect ## indomU=true ## indomU=false # indomU=detect
## should update-grub create memtest86 boot option ## e.g. memtest86=true ## memtest86=false # memtest86=false
## should update-grub adjust the value of the default booted system ## can be true or false # updatedefaultentry=false
## should update-grub add savedefault to the default options ## can be true or false # savedefault=false
## ## End Default Options ##
title Ubuntu karmic (development branch), kernel 2.6.31-9-generic uuid 3f6e1f0c-21c6-486c-84cf-8c96eb8dc68b kernel /boot/vmlinuz-2.6.31-9-generic root=UUID=3f6e1f0c-21c6-486c-84cf-8c96eb8dc68b ro splash quiet initrd /boot/initrd.img-2.6.31-9-generic quiet
title Ubuntu karmic (development branch), kernel 2.6.28-15-generic uuid 3f6e1f0c-21c6-486c-84cf-8c96eb8dc68b kernel /boot/vmlinuz-2.6.28-15-generic root=UUID=3f6e1f0c-21c6-486c-84cf-8c96eb8dc68b ro splash quiet initrd /boot/initrd.img-2.6.28-15-generic quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian # ones. title Other operating systems: root
# This entry automatically added by the Debian installer for a non-linux OS # on /dev/sda1 title Windows Vista (loader) rootnoverify (hd0,0) savedefault makeactive chainloader +1
# This entry automatically added by the Debian installer for a non-linux OS # on /dev/sda2 title Windows Vista (loader) rootnoverify (hd0,1) savedefault makeactive chainloader +1
|
|
|
|
|
Registrato
|
Acer Aspire 7730 - Intel Core 2 Duo T6400 - 17" Crystal Brite LCD - Nvidia GeForce 9600m GT (1 giga memoria dedicata) - 4 giga RAM DDR2 - 320 giga HDD - Dual Boot - Windows 7 - e - Ubuntu 10.04 64bit Funziona a meraviglia!
|
|
|
miclab
Novello Novizio
Non Connesso
Sesso: 
Messaggi: 167
Media messaggi
|
 |
« Risposta #4 inserita: 09 Settembre, 2009, 16:42:23 » |
|
Non per fare il guasta feste ma la 9.10 usa grub 2 che non utilizza più il comodissimo menu.lst
|
|
|
|
|
Registrato
|
|
|
|
supermario3
Novello Novizio
Non Connesso
Sesso: 
Messaggi: 66
Media messaggi
NIUBBO!
|
 |
« Risposta #5 inserita: 09 Settembre, 2009, 16:56:18 » |
|
Lo so... ma quando avvio il pc mi dice che sta caricando grub 1.5 Ubuntu 9.10 usa grub 2 se lo installi da zero. ma se aggiorni ti rimane come prima mica per esempio mi cambia da ext3 a 4 solo perchè ho aggiornato non so se mi sono spiegato (o se ho detto ca..ate)
|
|
|
|
« Ultima modifica: 10 Settembre, 2009, 06:55:05 da supermario3 »
|
Registrato
|
Acer Aspire 7730 - Intel Core 2 Duo T6400 - 17" Crystal Brite LCD - Nvidia GeForce 9600m GT (1 giga memoria dedicata) - 4 giga RAM DDR2 - 320 giga HDD - Dual Boot - Windows 7 - e - Ubuntu 10.04 64bit Funziona a meraviglia!
|
|
|
et4beta
Audace Accademico
 
Non Connesso
Sesso: 
Messaggi: 3.441
Media messaggi
Honda VFR 1200 F
|
 |
« Risposta #6 inserita: 10 Settembre, 2009, 00:11:46 » |
|
Se quando avvii il PC ti dice che sta caricando grub2, vuol dire che usa grub2, quindi ha ragione miclab. Comunque ti togli ogni dubbio se quando all'avvio ti appare il menu del grub vai a vedere, in alto sopra al menu, cosa c'è sul titolo. Se fosse il grub2, per avviare di default un O.S. "X", devi fare così: 1) Sul menu del grub, che ti appare all'avvio, conta, partendo da zero, fino alla riga che vuoi mettere di default(memorizza il numero) 2) Avvia Karmic 3) Apri, con privilegi di root, il file /etc/default/grub e alla fine della riga "GRUB_DEFAULT=" cambia il numero che c'è con quello che hai memorizzato al punto 1, e salva le modifiche. 4) Apri il terminale e dai il comando: sudo update-grub Riavvia e, se hai fatto tutto bene, ti trovi evidenziata la riga che hai scelto. Il vecchio grub era molto semplice, ma anche questo una volta capito il meccanismo non è poi così male.
|
|
|
|
|
Registrato
|
Linux User #485103 - Ubuntu User #38220
|
|
|
supermario3
Novello Novizio
Non Connesso
Sesso: 
Messaggi: 66
Media messaggi
NIUBBO!
|
 |
« Risposta #7 inserita: 10 Settembre, 2009, 06:55:44 » |
|
Ho sbagliato a scrivere Quando avvio il pc mi carica grub 1.5
|
|
|
|
|
Registrato
|
Acer Aspire 7730 - Intel Core 2 Duo T6400 - 17" Crystal Brite LCD - Nvidia GeForce 9600m GT (1 giga memoria dedicata) - 4 giga RAM DDR2 - 320 giga HDD - Dual Boot - Windows 7 - e - Ubuntu 10.04 64bit Funziona a meraviglia!
|
|
|
et4beta
Audace Accademico
 
Non Connesso
Sesso: 
Messaggi: 3441
Media messaggi
Honda VFR 1200 F
|
 |
« Risposta #8 inserita: 10 Settembre, 2009, 07:53:24 » |
|
Ho cancellato la sciocchezza che avevo scritto. Mi arrendo.
|
|
|
|
« Ultima modifica: 10 Settembre, 2009, 08:13:56 da et4beta »
|
Registrato
|
Linux User #485103 - Ubuntu User #38220
|
|
|
supermario3
Novello Novizio
Non Connesso
Sesso: 
Messaggi: 66
Media messaggi
NIUBBO!
|
 |
« Risposta #9 inserita: 10 Settembre, 2009, 07:58:19 » |
|
Si trova /boot/grub/menu.lst qui
|
|
|
|
|
Registrato
|
Acer Aspire 7730 - Intel Core 2 Duo T6400 - 17" Crystal Brite LCD - Nvidia GeForce 9600m GT (1 giga memoria dedicata) - 4 giga RAM DDR2 - 320 giga HDD - Dual Boot - Windows 7 - e - Ubuntu 10.04 64bit Funziona a meraviglia!
|
|
|
et4beta
Audace Accademico
 
Non Connesso
Sesso: 
Messaggi: 3441
Media messaggi
Honda VFR 1200 F
|
 |
« Risposta #10 inserita: 10 Settembre, 2009, 08:08:46 » |
|
Sì scusa di prima mattina ricordavo male ed ho scritto una sciocchezza..ho corretto. Prova a seguire, nella guida del Wiki, il primo metodo per il recupero del grub, è semplicissimo. Inoltre, correggimi se sbaglio, la riga di avvio da leggere per avviare l'S.O. che ti interessa è la 5, quindi dato che grub inizia a contare da 0, dovresti mettere nel menu.lst "default 4".
|
|
|
|
« Ultima modifica: 10 Settembre, 2009, 08:48:18 da et4beta »
|
Registrato
|
Linux User #485103 - Ubuntu User #38220
|
|
|
|
jerico
|
 |
« Risposta #11 inserita: 10 Settembre, 2009, 08:16:24 » |
|
Non per fare il guasta feste ma la 9.10 usa grub 2 che non utilizza più il comodissimo menu.lst
quoto edit hai scoperto quale grub stai usando?
|
|
|
|
« Ultima modifica: 10 Settembre, 2009, 08:18:51 da jerico »
|
Registrato
|
|
|
|
supermario3
Novello Novizio
Non Connesso
Sesso: 
Messaggi: 66
Media messaggi
NIUBBO!
|
 |
« Risposta #12 inserita: 10 Settembre, 2009, 08:28:44 » |
|
Si Ho detto che sto usando l'1.5 O almeno così mi esce scritto quando avvio il pc Loading Grub 1.5
|
|
|
|
|
Registrato
|
Acer Aspire 7730 - Intel Core 2 Duo T6400 - 17" Crystal Brite LCD - Nvidia GeForce 9600m GT (1 giga memoria dedicata) - 4 giga RAM DDR2 - 320 giga HDD - Dual Boot - Windows 7 - e - Ubuntu 10.04 64bit Funziona a meraviglia!
|
|
|
|
jerico
|
 |
« Risposta #13 inserita: 10 Settembre, 2009, 09:24:53 » |
|
ma i sistemi si avviano tutti?
|
|
|
|
|
Registrato
|
|
|
|
supermario3
Novello Novizio
Non Connesso
Sesso: 
Messaggi: 66
Media messaggi
NIUBBO!
|
 |
« Risposta #14 inserita: 10 Settembre, 2009, 09:27:40 » |
|
Sìsì Anche se adesso mi ero scordato di collegare l'alimentazione al portatile, ho scaricato la batteria e ubuntu non si apre  Comunque i sistemi si avvi(av)ano tutti
|
|
|
|
|
Registrato
|
Acer Aspire 7730 - Intel Core 2 Duo T6400 - 17" Crystal Brite LCD - Nvidia GeForce 9600m GT (1 giga memoria dedicata) - 4 giga RAM DDR2 - 320 giga HDD - Dual Boot - Windows 7 - e - Ubuntu 10.04 64bit Funziona a meraviglia!
|
|
|
|
jerico
|
 |
« Risposta #15 inserita: 10 Settembre, 2009, 09:53:41 » |
|
quindi il tuo problema è che vuoi che di default parta win 7?
|
|
|
|
|
Registrato
|
|
|
|
supermario3
Novello Novizio
Non Connesso
Sesso: 
Messaggi: 66
Media messaggi
NIUBBO!
|
 |
« Risposta #16 inserita: 10 Settembre, 2009, 10:30:42 » |
|
quindi il tuo problema è che vuoi che di default parta win 7?
Sì!  Considerando che con queste impostazioni mi parte per prima ubuntu Cosa devo fare per far partire windows 7 ? Grazie
|
|
|
|
|
Registrato
|
Acer Aspire 7730 - Intel Core 2 Duo T6400 - 17" Crystal Brite LCD - Nvidia GeForce 9600m GT (1 giga memoria dedicata) - 4 giga RAM DDR2 - 320 giga HDD - Dual Boot - Windows 7 - e - Ubuntu 10.04 64bit Funziona a meraviglia!
|
|
|
gyanny
Entusiasta Emergente

Non Connesso
Messaggi: 1.754
Media messaggi
|
 |
« Risposta #17 inserita: 10 Settembre, 2009, 11:54:02 » |
|
installa startupmanager e con quello fai tutte le scelte che vuoi facile facile senza fare danni!
|
|
|
|
|
Registrato
|
|
|
|
supermario3
Novello Novizio
Non Connesso
Sesso: 
Messaggi: 66
Media messaggi
NIUBBO!
|
 |
« Risposta #18 inserita: 10 Settembre, 2009, 12:11:50 » |
|
Nono. Startup manager non mi piace L'altra volta mi ha fatto un sacco di casini perchè non capiva che i due "Vista Loader" erano diversi (uno di ripristino e l'altro per windows 7) e quindi mi avviava sempre il ripristino di vista :-(
|
|
|
|
|
Registrato
|
Acer Aspire 7730 - Intel Core 2 Duo T6400 - 17" Crystal Brite LCD - Nvidia GeForce 9600m GT (1 giga memoria dedicata) - 4 giga RAM DDR2 - 320 giga HDD - Dual Boot - Windows 7 - e - Ubuntu 10.04 64bit Funziona a meraviglia!
|
|
|
bancaldo
Entusiasta Emergente

Non Connesso
Sesso: 
Messaggi: 2486
Media messaggi
La Cina è qui Sig. Burton!
|
 |
« Risposta #19 inserita: 10 Settembre, 2009, 12:53:05 » |
|
la partizione di recovery è quella da 10GB?
perchè non la togli dal menu.lst, è solo un pericolo.
|
|
|
|
|
Registrato
|
triplete!..."non vinciamo mai"...grazie Mou Ubuntu User #27170 Linux User #489389
|
|
|
|