Pagina 1 di 2 12 UltimaUltima
Risultati da 1 a 15 di 19

Discussione: [Ubuntu] Problema Linux Ubuntu + Windows xp

  1. #1
    Senior Member
    Data Registrazione
    20-03-2007
    Messaggi
    101

    [Ubuntu] Problema Linux Ubuntu + Windows xp

    buona sera a tutti, avrei un piccolo problemino da risolvere. ho installa sul mio pc linux ubuntu partizionando il disco come da procedura, e tutto funzionava (sia linux che windows), poi però ho toccato un'impostazione grafica di ubuntu e al riavvio mi veniva il messaggio OUT OF RANGE (tipo come il messaggio NO SIGNAL per capirsi). subito ho pensato fosse un problema di supportazione della scheda così ho reinstallato linux con lo stesso identico procedimento precedente. ora linux parte, ma quando nella schermata che mi fa scegliere il sistema operativo sotto OTHER OPERATING SYSTEM mi viene scritto sempre ubuntu (per ben 2 volte, non so se riesco a farmi capire, in caso chiedetemi). quindi windows è sparito però da linux riesco a vedere i 2 dischi e anche i file di sistema di windows e tutti i file che erano stati salvati....però per avviare windows non c'è traccia.....come posso fare????? salvare i file e reinstallare tutto o in qualche modo posso rimediare??

    grazie mille anticipatamente

  2. #2
    Software Zone Maniac L'avatar di deviantdark
    Data Registrazione
    31-03-2007
    Località
    /home/deviantdark
    Messaggi
    2.153
    Prima di tutto leggi il regolamento della sezione. A differenza delle altre, in questa c'è sempre bisogno di una tag tra parentesi prima del titolo.
    Ad esempio: [Ubuntu] Problema dual-boot con XP

    Chiaro?
    Per risolvere il tuo problema invece fai così: avvia Ubuntu e vai su Strumenti > Accessori > Terminale
    Digita il comando:

    sudo gedit /boot/grub/menu.lst

    Inserisci la tua password e premi Invio [se non leggi i caratteri mentre la digiti non preoccuparti].

    Ti si aprirà l'editor di testo con un documento pieno di scritte.
    Scendi fino alla fine del documento, se non ho capito male l'ultima voce dovrebbe essere questa:

    Codice:
    title		Ubuntu 7.10, memtest86+
    root		(hd0,1)
    kernel		/boot/memtest86+.bin
    quiet
    Lascia una riga vuota dopo "quiet" e inserisci queste righe:

    Codice:
    ### 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/hda1
    title		Microsoft Windows XP
    root		(hd0,0)
    savedefault
    makeactive
    chainloader	+1
    Poi salva il documento e riavvia.
    Se non funziona vediamo di contestualizzare.
    Questi parametri infatti sono quelli "standard" per un disco IDE con WindowsXP installato prima di Ubuntu, XP presente sulla prima partizione del primo disco [hd0,0].
    Ultima modifica di deviantdark; 29-02-2008 alle 13.27.14
    Coordinatore ufficiale del progetto spreadubuntu

  3. #3
    Senior Member
    Data Registrazione
    20-03-2007
    Messaggi
    101
    innanzi tutto chiedo scusa per l'errore del titolo....comunque ho seguito i passaggi, fino alla password e mi si apre una finestra...ma è tutto bianco non c'è nessuna scritta

  4. #4
    Software Zone Maniac L'avatar di deviantdark
    Data Registrazione
    31-03-2007
    Località
    /home/deviantdark
    Messaggi
    2.153
    Citazione Originariamente Scritto da davide__ Visualizza Messaggio
    innanzi tutto chiedo scusa per l'errore del titolo....comunque ho seguito i passaggi, fino alla password e mi si apre una finestra...ma è tutto bianco non c'è nessuna scritta
    Errore mio.
    Ho scritto "gurb" invece che "grub".

    Modificato
    Coordinatore ufficiale del progetto spreadubuntu

  5. #5
    Senior Member
    Data Registrazione
    20-03-2007
    Messaggi
    101
    allora...l'ultima voce dice un pò diversamente...te la copio

    # This entry automatically added by the Debian installer for an existing
    # linux installation on /dev/hdb2.
    title Ubuntu 7.10, memtest86+ (on /dev/hdb2)
    root (hd0,1)
    kernel /boot/memtest86+.bin
    savedefault
    boot

  6. #6
    Software Zone Fanatic L'avatar di Capitano Nemo
    Data Registrazione
    20-04-2002
    Località
    Siderno (R.C.)
    Messaggi
    25.743
    visto l'impegno di devian stavolta modifico il titolo ma alla prossima volta si chiude...

  7. #7
    Software Zone Maniac L'avatar di deviantdark
    Data Registrazione
    31-03-2007
    Località
    /home/deviantdark
    Messaggi
    2.153
    Citazione Originariamente Scritto da Capitano Nemo Visualizza Messaggio
    visto l'impegno di devian stavolta modifico il titolo ma alla prossima volta si chiude...
    Siamo magnanimi ogni tanto...

    Comunque: fai prima a scrivermi tutto il documento. Lo copi tutto e lo incolli in un commento a questo thread, ma MI RACCOMANDO mettilo tra i tag CODE.
    E visto che ci sei scrivimi anche l'output del comando:

    sudo fdisk -l

    Così vedo di capirci meglio.
    Il problema è risolvibile comunque
    Coordinatore ufficiale del progetto spreadubuntu

  8. #8
    Senior Member
    Data Registrazione
    20-03-2007
    Messaggi
    101
    Codice:
    # 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		0
    
    ## timeout sec
    # Set a timeout, in SEC seconds, before automatically booting the default entry
    # (normally the first entry defined).
    timeout		10
    
    ## 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=bdf196ef-42c9-4250-bb13-6a95000bf9f8 ro
    
    ## Setup crashdump menu entries
    ## e.g. crashdump=1
    # crashdump=0
    
    ## default grub root device
    ## e.g. groot=(hd0,0)
    # groot=(hd0,3)
    
    ## should update-grub create alternative automagic boot options
    ## e.g. alternative=true
    ##      alternative=false
    # alternative=true
    
    ## 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=quiet splash locale=it_IT
    
    ## 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
    
    ## should update-grub create memtest86 boot option
    ## e.g. memtest86=true
    ##      memtest86=false
    # memtest86=true
    
    ## 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 7.10, kernel 2.6.22-14-generic
    root		(hd0,3)
    kernel		/boot/vmlinuz-2.6.22-14-generic root=UUID=bdf196ef-42c9-4250-bb13-6a95000bf9f8 ro quiet splash locale=it_IT
    initrd		/boot/initrd.img-2.6.22-14-generic
    quiet
    
    title		Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
    root		(hd0,3)
    kernel		/boot/vmlinuz-2.6.22-14-generic root=UUID=bdf196ef-42c9-4250-bb13-6a95000bf9f8 ro single
    initrd		/boot/initrd.img-2.6.22-14-generic
    
    title		Ubuntu 7.10, memtest86+
    root		(hd0,3)
    kernel		/boot/memtest86+.bin
    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 an existing
    # linux installation on /dev/hdb1.
    title		Ubuntu 7.10, kernel 2.6.22-14-generic (on /dev/hdb1)
    root		(hd0,0)
    kernel		/boot/vmlinuz-2.6.22-14-generic root=UUID=b143ff67-d344-4197-bcf1-001436fc22d1 ro quiet splash 
    initrd		/boot/initrd.img-2.6.22-14-generic
    savedefault
    boot
    
    
    # This entry automatically added by the Debian installer for an existing
    # linux installation on /dev/hdb1.
    title		Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode) (on /dev/hdb1)
    root		(hd0,0)
    kernel		/boot/vmlinuz-2.6.22-14-generic root=UUID=b143ff67-d344-4197-bcf1-001436fc22d1 ro single 
    initrd		/boot/initrd.img-2.6.22-14-generic
    savedefault
    boot
    
    
    # This entry automatically added by the Debian installer for an existing
    # linux installation on /dev/hdb1.
    title		Ubuntu 7.10, memtest86+ (on /dev/hdb1)
    root		(hd0,0)
    kernel		/boot/memtest86+.bin  
    savedefault
    boot
    
    
    # This entry automatically added by the Debian installer for an existing
    # linux installation on /dev/hdb2.
    title		Ubuntu 7.10, kernel 2.6.22-14-generic (on /dev/hdb2)
    root		(hd0,1)
    kernel		/boot/vmlinuz-2.6.22-14-generic root=UUID=b143ff67-d344-4197-bcf1-001436fc22d1 ro quiet splash 
    initrd		/boot/initrd.img-2.6.22-14-generic
    savedefault
    boot
    
    
    # This entry automatically added by the Debian installer for an existing
    # linux installation on /dev/hdb2.
    title		Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode) (on /dev/hdb2)
    root		(hd0,1)
    kernel		/boot/vmlinuz-2.6.22-14-generic root=UUID=b143ff67-d344-4197-bcf1-001436fc22d1 ro single 
    initrd		/boot/initrd.img-2.6.22-14-generic
    savedefault
    boot
    
    
    # This entry automatically added by the Debian installer for an existing
    # linux installation on /dev/hdb2.
    title		Ubuntu 7.10, memtest86+ (on /dev/hdb2)
    root		(hd0,1)
    kernel		/boot/memtest86+.bin  
    savedefault
    boot

    questo è uno

  9. #9
    Senior Member
    Data Registrazione
    20-03-2007
    Messaggi
    101
    e poi non so se volevi questo

    Codice:
    Disco /dev/hdb: 160.0 GB, 160041885696 byte
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cilindri of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xf897f897
    
    Dispositivo Boot      Start         End      Blocks   Id  System
    /dev/hdb1               1       13374   107426623+   7  HPFS/NTFS
    /dev/hdb2           13375       16346    23872590   83  Linux
    /dev/hdb3           19143       19457     2530237+   5  Esteso
    /dev/hdb4   *       16347       19142    22458870   83  Linux
    /dev/hdb5           19270       19457     1510078+  82  Linux swap / Solaris
    /dev/hdb6           19143       19269     1020064+  82  Linux swap / Solaris

  10. #10
    Software Zone Maniac L'avatar di deviantdark
    Data Registrazione
    31-03-2007
    Località
    /home/deviantdark
    Messaggi
    2.153
    OK, allora il tuo menu.lst dovrebbe essere questo:

    Codice:
    # 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		0
    
    ## timeout sec
    # Set a timeout, in SEC seconds, before automatically booting the default entry
    # (normally the first entry defined).
    timeout		10
    
    ## 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=bdf196ef-42c9-4250-bb13-6a95000bf9f8 ro
    
    ## Setup crashdump menu entries
    ## e.g. crashdump=1
    # crashdump=0
    
    ## default grub root device
    ## e.g. groot=(hd0,0)
    # groot=(hd0,3)
    
    ## should update-grub create alternative automagic boot options
    ## e.g. alternative=true
    ##      alternative=false
    # alternative=true
    
    ## 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=quiet splash locale=it_IT
    
    ## 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
    
    ## should update-grub create memtest86 boot option
    ## e.g. memtest86=true
    ##      memtest86=false
    # memtest86=true
    
    ## 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 7.10, kernel 2.6.22-14-generic
    root		(hd0,3)
    kernel		/boot/vmlinuz-2.6.22-14-generic root=UUID=bdf196ef-42c9-4250-bb13-6a95000bf9f8 ro quiet splash locale=it_IT
    initrd		/boot/initrd.img-2.6.22-14-generic
    quiet
    
    title		Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
    root		(hd0,3)
    kernel		/boot/vmlinuz-2.6.22-14-generic root=UUID=bdf196ef-42c9-4250-bb13-6a95000bf9f8 ro single
    initrd		/boot/initrd.img-2.6.22-14-generic
    
    title		Ubuntu 7.10, memtest86+
    root		(hd0,3)
    kernel		/boot/memtest86+.bin
    quiet
    
    ### END DEBIAN AUTOMAGIC KERNELS LIST
    
    # This entry automatically added by the Debian installer for a non-linux OS
    # on /dev/hdb1
    title		Microsoft Windows XP
    root		(hd0,1)
    savedefault
    makeactive
    chainloader	+1
    A quanto vedo però c'è ancora la partizione della vecchia installazione.
    Se hai tempo e voglia ti consiglio di fare un backup generale di tutti i file e reinstallare, nell'ordine, WinXP e poi Ubuntu da zero.
    Rimediare a queste partizioni sarebbe pure possibile, ma piuttosto laborioso...

    Fammi sapere intanto se con questo menu.lst riesci ad accedere a Windows.
    Ti basta copiare e incollare tutto il codice che ti ho scritto qui sopra sul tuo attuale menu.lst e salvare.

    Coordinatore ufficiale del progetto spreadubuntu

  11. #11
    Senior Member
    Data Registrazione
    20-03-2007
    Messaggi
    101
    allora...ho fatto come hai detto...ora il sistema nella schermata di scelta lo vedo, però non parte.....forse non ho specificato che ho xp home edition e non professional....non so se può centrare....bon al limite se no si combina faccio beckup e reinstallo tutto......intanto grazie!!!

  12. #12
    Software Zone Maniac L'avatar di deviantdark
    Data Registrazione
    31-03-2007
    Località
    /home/deviantdark
    Messaggi
    2.153
    Il fatto che ci sia scritto "Professional" non c'entra, potresti scrivere anche "il sistema operativo più bello del mondo", e non cambierebbe nulla
    Il punto è "root": dall'output che hai postato di fdisk mi sembrava fosse corretto quello che ti ho scritto, ma se non parte è evidente che non è così.
    Ma Ubuntu parte?
    Se parte prova a sostituire questo campo alla fine del documento menu.lst:

    Codice:
    title		Microsoft Windows XP
    root		(hd0,1)
    savedefault
    makeactive
    chainloader	+1
    Con

    Codice:
    title		Microsoft Windows XP
    root		(hd0,0)
    savedefault
    makeactive
    chainloader	+1
    E fammi sapere se sta prova funziona.
    Coordinatore ufficiale del progetto spreadubuntu

  13. #13
    Senior Member
    Data Registrazione
    20-03-2007
    Messaggi
    101
    mitico devian!!! è partito windows....ma comunque da quello che ho capito ora ho un pò di casino sul disco....come posso elimira linux e le partizioni inutili senza cancellare i dati di windows per riottenere un disco unico come prima in modo da reinstallare linux correttamente????

  14. #14
    Software Zone Maniac L'avatar di deviantdark
    Data Registrazione
    31-03-2007
    Località
    /home/deviantdark
    Messaggi
    2.153
    Ti faccio un piccolo prospetto:

    /dev/hdb1 1 13374 107426623+ 7 HPFS/NTFS ----> Partizione Windows
    /dev/hdb2 13375 16346 23872590 83 Linux ----> Partizione Linux [la prima installazione, inutile]
    /dev/hdb3 19143 19457 2530237+ 5 Esteso ----> Settore Estensione
    /dev/hdb4 * 16347 19142 22458870 83 Linux ----> Partizione Linux [quella "buona"]
    /dev/hdb5 19270 19457 1510078+ 82 Linux swap / Solaris ----> SWAP
    /dev/hdb6 19143 19269 1020064+ 82 Linux swap / Solaris ----> SWAP [dalla seconda installazione, inutile]

    Da quanto vedi, la partizione hdb2 e la seconda SWAP sono inutili.
    Per sistemare la situazione, come ti ho già scritto, si può formattare e reinstallare tutto, oppure effettuare un "merge" delle due partizioni inutili all'interno di un'altra [o quella di Ubuntu o quella di Windows, come vuoi tu].
    "Merge" significa inglobare le due partizioni inutili all'interno di un'altra.
    Per farlo devi entrare in Ubuntu e dare da terminale il comando:

    sudo apt-get install gparted

    Dai Invio > Password > Invio

    Controlla poi che ci sia la voce "Gnome Partition Editor" sotto Sistema > Amministrazione.
    Quando mi confermi tutto ti spiego come operare sulle partizioni
    Coordinatore ufficiale del progetto spreadubuntu

  15. #15
    Senior Member
    Data Registrazione
    20-03-2007
    Messaggi
    101
    ma se io vado in windows in pannello di controllo > strumenti di amministrazione > gestione disco mi mostra le partizioni...se io cancello tutte tranne quella di windows non va bene?

Segnalibri

Permessi di Scrittura

  • Tu non puoi inviare nuove discussioni
  • Tu non puoi inviare risposte
  • Tu non puoi inviare allegati
  • Tu non puoi modificare i tuoi messaggi
  •