|
|
|
![]() |
|
Strumenti |
![]() |
#1 |
Junior Member
Iscritto dal: Nov 2007
Messaggi: 26
|
Peima volta linux in dual boot
Ciao a tutti ho appena installato ubunto nel mio sistema dotato di due hd cosi suddivisi dopo ol'installazione:
C:200 gb dati/ 2 gb swap linux /30 gb linux D:160 gb xp ora il problema è questo l'installazione è andata a buon fine e quando accendo il pc ubuntu va benissimo..mentre xp non parte più..ho letto in altri forum che dovrei inserire il cd di windows e fare un fixmbr e dopo di che ripristinare il grub per l'avvio..che si cancellerà.la mia domanda è siccome l'ordine di boot del mio pc vede per primo l hd con ubuntu e poi quello di win il fix devo farlo su c: o d:?non sono certo di quello che devo fare perchè tutti nei forum parlano di sistemi con un solo hd..grazie |
![]() |
![]() |
![]() |
#2 |
Senior Member
Iscritto dal: Oct 2007
Messaggi: 2971
|
da terminale
cat /boot/grub/menu.lst sudo fdisk -l (ELLE) e posta i risultati |
![]() |
![]() |
![]() |
#3 |
Junior Member
Iscritto dal: Nov 2007
Messaggi: 26
|
cat /boot/grub/menu.lst
# # 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=7bd561b6-7a2e-4313-9817-ea5ba67d8f37 ro ## default grub root device ## e.g. groot=(hd0,0) # groot=7bd561b6-7a2e-4313-9817-ea5ba67d8f37 ## 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 ## 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 8.10, kernel 2.6.27-9-generic uuid 7bd561b6-7a2e-4313-9817-ea5ba67d8f37 kernel /boot/vmlinuz-2.6.27-9-generic root=UUID=7bd561b6-7a2e-4313-9817-ea5ba67d8f37 ro quiet splash initrd /boot/initrd.img-2.6.27-9-generic quiet title Ubuntu 8.10, kernel 2.6.27-9-generic (recovery mode) uuid 7bd561b6-7a2e-4313-9817-ea5ba67d8f37 kernel /boot/vmlinuz-2.6.27-9-generic root=UUID=7bd561b6-7a2e-4313-9817-ea5ba67d8f37 ro single initrd /boot/initrd.img-2.6.27-9-generic title Ubuntu 8.10, kernel 2.6.27-7-generic uuid 7bd561b6-7a2e-4313-9817-ea5ba67d8f37 kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=7bd561b6-7a2e-4313-9817-ea5ba67d8f37 ro quiet splash initrd /boot/initrd.img-2.6.27-7-generic quiet title Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode) uuid 7bd561b6-7a2e-4313-9817-ea5ba67d8f37 kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=7bd561b6-7a2e-4313-9817-ea5ba67d8f37 ro single initrd /boot/initrd.img-2.6.27-7-generic title Ubuntu 8.10, memtest86+ uuid 7bd561b6-7a2e-4313-9817-ea5ba67d8f37 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 a non-linux OS # on /dev/sda1 title Microsoft Windows XP Professional root (hd0,0) savedefault makeactive chainloader +1 trax@trax:~$ sudo fdisk -l Disk /dev/sda: 250.0 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0xb73f328c Device Boot Start End Blocks Id System /dev/sda1 * 129 26577 212451592+ 7 HPFS/NTFS /dev/sda2 26578 26837 2088450 82 Linux swap / Solaris /dev/sda3 26838 30401 28627830 83 Linux Disk /dev/sdb: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00bf00bf Device Boot Start End Blocks Id System /dev/sdb1 1 19456 156280288+ 7 HPFS/NTFS trax@trax:~$ |
![]() |
![]() |
![]() |
#4 |
Senior Member
Iscritto dal: Oct 2007
Messaggi: 2971
|
sudo gedit /boot/grub/menu.lst e incollaci questo sotto a tutto e salva
Codice:
title Win XP prova root (hd1,0) map (hd0) (hd1) map (hd1) (hd0) makeactive chainloader +1 |
![]() |
![]() |
![]() |
#5 |
Junior Member
Iscritto dal: Nov 2007
Messaggi: 26
|
ok fatto riavvio?ma non ha cancellato la voce precedente...
|
![]() |
![]() |
![]() |
#6 |
Senior Member
Iscritto dal: Oct 2007
Messaggi: 2971
|
prima prova se win si avvia poi tu devi cancellare la voce precedente
|
![]() |
![]() |
![]() |
#7 |
Junior Member
Iscritto dal: Nov 2007
Messaggi: 26
|
Allora ho riavviato il pc e alla schermata di scelta del s.o. da utilizzare mi è venuto fuori anche win xp prova ma facendolo partire mi dave il seguente errore:
NTLDR mancante. non ho provato a far ripartire win xp professional.. ![]() |
![]() |
![]() |
![]() |
#8 |
Senior Member
Iscritto dal: Oct 2007
Messaggi: 2971
|
NTLDR mancante è un errore di win, quindi il grub ora funziona
|
![]() |
![]() |
![]() |
#9 |
Junior Member
Iscritto dal: Nov 2007
Messaggi: 26
|
si ok ma come lo faccio ripartire?faccio un semplice ripristino da cd di win?
|
![]() |
![]() |
![]() |
#10 |
Junior Member
Iscritto dal: Nov 2007
Messaggi: 26
|
Provate a leggere qua..è questo il mio problema?
http://ubuntuforums.org/showthread.php?t=979623 |
![]() |
![]() |
![]() |
#11 |
Junior Member
Iscritto dal: Nov 2007
Messaggi: 26
|
questo è quello che dice il mio boot.ini
[boot loader] timeout=15 default=multi(0)disk(0)rdisk(1)partition(1)\WINDOWS [operating systems] multi(0)disk(0)rdisk(1)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /NoExecute=OptIn c:\wubildr.mbr="Ubuntu" |
![]() |
![]() |
![]() |
#12 |
Senior Member
Iscritto dal: Oct 2007
Messaggi: 2971
|
ma tu hai installato Ubuntu da windows tramite wubi ?
|
![]() |
![]() |
![]() |
#13 |
Junior Member
Iscritto dal: Nov 2007
Messaggi: 26
|
no..cmq ho fatto di meglio..ho formattato win e adesso ho gli hd in ordine:
c: 160 win d: dati. adesso riprovo ad installarlo su d: prima ho smanettato un po leggendo altri forum e non andava piu nulla...fra un po ti so dire di più. |
![]() |
![]() |
![]() |
#14 |
Junior Member
Iscritto dal: Nov 2007
Messaggi: 26
|
Ok tutto funzionante ora..ti ringrazio per i consigli di oggi.
![]() ![]() ![]() ![]() ![]() |
![]() |
![]() |
![]() |
#15 |
Senior Member
Iscritto dal: Oct 2007
Messaggi: 2971
|
Per le prossime installazioni considera che è meglio tenere i sistemi su un disco ed i dati nell'altro, l'installazione è più semplice ed i dati sono al sicuro dalle eventuali formattazioni. Quando installi puoi staccare il disco dati per sicurezza.
|
![]() |
![]() |
![]() |
#16 | |
Member
Iscritto dal: Aug 2007
Città: Modena
Messaggi: 30
|
Quote:
Avevo provato Ubuntu mantenendo Win sul disco C e installato Ubuntu su D. Era tutto ok e ho voluto provare Debian su consiglio di un amico , ma ho trovato l'installazione parecchio complessa ed è successo un casino...pc bloccato completamente e ho dovuto formattare e reinstallare da capo Vista. Avendo due dischi, e non volendo al momento rinunciare a Win, mi consigli di installare entrambi ( Win e Ubuntu ) sul disco C e mantere libero il D ? In avvio mi viene proposta questa opzione ? ( non ricordo... ) Le prestazioni non ne risentono ? Grazie per gli eventuali chiarimenti. |
|
![]() |
![]() |
![]() |
#17 |
Senior Member
Iscritto dal: Oct 2007
Messaggi: 2971
|
ogni sistema ha la sua partizione e quindi le prestazioni non ne risentono. Mi sembrava cihiaro come la penso, non capisco perché ci ritorni sopra. Comunque è una mia opinione personale, puoi installare dove vuoi.
|
![]() |
![]() |
![]() |
#18 | ||
Member
Iscritto dal: Aug 2007
Città: Modena
Messaggi: 30
|
Quote:
Grazie comunque per questa informazione Quote:
|
||
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 03:57.