Pagina 1 di 3
[ubuntu 8.10] il boot non riconosce più windows
Inviato: lunedì 20 aprile 2009, 17:37
da thearch89
Salve a tutti , oggi ho installato Ubuntu 8.10 sul mio computer, dividendo la partizione in due, in una ho lasciato windows xp e nell'altra ho installato Linux , però ora all'avvio il boot mi vede solo linux , come posso riabilitare windows ?
grazie
Re: [ubuntu 8.10] il boot non riconosce più windows
Inviato: lunedì 20 aprile 2009, 17:39
da blupenguin
digita in un terminale:
e posta il risultato
Re: [ubuntu 8.10] il boot non riconosce più windows
Inviato: lunedì 20 aprile 2009, 18:16
da thearch89
ecco qui , grazie
Disco /dev/sda: 160.0 GB, 160041885696 byte
255 testine, 63 settori/tracce, 19457 cilindri
Unità = cilindri di 16065 * 512 = 8225280 byte
Identificativo disco: 0x00067b27
Dispositivo Boot Start End Blocks Id System
/dev/sda1 2 18602 149412532+ f W95 Esteso (LBA)
/dev/sda2 * 18603 18967 2931862+ 83 Linux
/dev/sda3 18968 19089 979965 82 Linux swap / Solaris
/dev/sda4 19090 19457 2955960 83 Linux
/dev/sda5 2 18602 149412501 7 HPFS/NTFS
stefano@stefano-desktop:~$
Re: [ubuntu 8.10] il boot non riconosce più windows
Inviato: lunedì 20 aprile 2009, 18:26
da blupenguin
windows è nella sda1 o nella sda5 ?
Re: [ubuntu 8.10] il boot non riconosce più windows
Inviato: lunedì 20 aprile 2009, 18:31
da thearch89
credo nella sd5 perchè è l'unica che ha ntfs come file system...
Re: [ubuntu 8.10] il boot non riconosce più windows
Inviato: lunedì 20 aprile 2009, 18:31
da badìl
blupenguin ha scritto:
windows è nella sda1 o nella sda5 ?
sda1 e sda5 coincidono.
sd1 è estesa e sda5 è logica.
windows su partizione logica... come ci è finito?
Montala da Ubuntu e vedi cosa c'è dentro.
Re: [ubuntu 8.10] il boot non riconosce più windows
Inviato: lunedì 20 aprile 2009, 18:35
da blupenguin
vero badìl non ci avevo fatto caso
Re: [ubuntu 8.10] il boot non riconosce più windows
Inviato: lunedì 20 aprile 2009, 18:36
da thearch89
sono entrato in sistema , dentro computer mi risulta " supporto da 153 gb" però se provo ad entrare mi dice " impossibile montare la posizione" .. come ci sia finito non ne ho idea ...
Re: [ubuntu 8.10] il boot non riconosce più windows
Inviato: lunedì 20 aprile 2009, 18:40
da blupenguin
avevi forse due partizioni di windows tipo C e D? in quel caso potrebbe essere che hai sovrascritto C con ubuntu
Re: [ubuntu 8.10] il boot non riconosce più windows
Inviato: lunedì 20 aprile 2009, 18:42
da thearch89
esattamente , io avevo una partizione da 153 gb con windows xp e un altra da 7 vuota formattata in ntfs , durante l'installazione ho cancellato quella da sette e da essa ne ho create altre tre una da 4 per la root , 3 per la home e 1 per la swap .. però sono sicuro di non aver neanche toccato quella da 153 ntfs ne aver messo un segno di spunta in formatta ...
Re: [ubuntu 8.10] il boot non riconosce più windows
Inviato: lunedì 20 aprile 2009, 18:47
da blupenguin
ok facciamo subito una prova, apri un terminale e scrivi:
gedit /boot/grub/menu.lst
poi posta il contenuto ( in teoria nel tuo menu.lst l'installazione di ubuntu avrebbe dovuto automaticamente inserire il boot di windows)
Re: [ubuntu 8.10] il boot non riconosce più windows
Inviato: lunedì 20 aprile 2009, 18:50
da r3dkn16h7
thearch89 ha scritto:
esattamente , io avevo una partizione da 153 gb con windows xp e un altra da 7 vuota formattata in ntfs , durante l'installazione ho cancellato quella da sette e da essa ne ho create altre tre una da 4 per la root , 3 per la home e 1 per la swap .. però sono sicuro di non aver neanche toccato quella da 153 ntfs ne aver messo un segno di spunta in formatta ...
Ma... windows non può stare su partizione logica... monta la sa partizione da ROOT:
sudo mkdir /media/win
mount /dev/ /media/win
Re: [ubuntu 8.10] il boot non riconosce più windows
Inviato: lunedì 20 aprile 2009, 18:50
da thearch89
ok ok ecco il contenuto ..
# 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 3
## 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=46cc0596-53f2-4f0a-8454-b72608268416 ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=46cc0596-53f2-4f0a-8454-b72608268416
## 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-11-generic
uuid 46cc0596-53f2-4f0a-8454-b72608268416
kernel /boot/vmlinuz-2.6.27-11-generic root=UUID=46cc0596-53f2-4f0a-8454-b72608268416 ro quiet splash
initrd /boot/initrd.img-2.6.27-11-generic
quiet
title Ubuntu 8.10, kernel 2.6.27-11-generic (recovery mode)
uuid 46cc0596-53f2-4f0a-8454-b72608268416
kernel /boot/vmlinuz-2.6.27-11-generic root=UUID=46cc0596-53f2-4f0a-8454-b72608268416 ro single
initrd /boot/initrd.img-2.6.27-11-generic
title Ubuntu 8.10, kernel 2.6.27-7-generic
uuid 46cc0596-53f2-4f0a-8454-b72608268416
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=46cc0596-53f2-4f0a-8454-b72608268416 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 46cc0596-53f2-4f0a-8454-b72608268416
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=46cc0596-53f2-4f0a-8454-b72608268416 ro single
initrd /boot/initrd.img-2.6.27-7-generic
title Ubuntu 8.10, memtest86+
uuid 46cc0596-53f2-4f0a-8454-b72608268416
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
Re: [ubuntu 8.10] il boot non riconosce più windows
Inviato: lunedì 20 aprile 2009, 18:53
da thearch89
r3dkn16h7 ha scritto:
thearch89 ha scritto:
esattamente , io avevo una partizione da 153 gb con windows xp e un altra da 7 vuota formattata in ntfs , durante l'installazione ho cancellato quella da sette e da essa ne ho create altre tre una da 4 per la root , 3 per la home e 1 per la swap .. però sono sicuro di non aver neanche toccato quella da 153 ntfs ne aver messo un segno di spunta in formatta ...
Ma... windows non può stare su partizione logica... monta la sa partizione da ROOT:
sudo mkdir /media/win
mount /dev/ /media/win
se faccio sudo mkdir /media/win mi dice "nessun file o directory"
Re: [ubuntu 8.10] il boot non riconosce più windows
Inviato: lunedì 20 aprile 2009, 18:56
da r3dkn16h7
non hai /media...
sudo mkdir /media
ovviamente sostituisci a /sda5
(usa pastebin.ubuntu.com per incollare i file lunghi e copia il link sennò riempe una pagina inutilmente)
Re: [ubuntu 8.10] il boot non riconosce più windows
Inviato: lunedì 20 aprile 2009, 18:57
da thearch89
r3dkn16h7 ha scritto:
non hai /media...
sudo mkdir /media
(usa pastebin.ubuntu.com per incollare i file lunghi e copia il link sennò riempe una pagina inutilmente)
cosi esce..
stefano@stefano-desktop:~$ mkdir/media
bash: mkdir/media: Nessun file o directory
Re: [ubuntu 8.10] il boot non riconosce più windows
Inviato: lunedì 20 aprile 2009, 18:59
da r3dkn16h7
Re: [ubuntu 8.10] il boot non riconosce più windows
Inviato: lunedì 20 aprile 2009, 18:59
da blupenguin
thearch89 ha scritto:
se faccio sudo mkdir /media/win mi dice "nessun file o directory"
andrebbe meglio sudo mkdir /media/disk
comunque riapri grub con sudo questa volta:
sudo gedit /boot/grub/menu.lst
e metti sotto l'ultima riga:
Codice: Seleziona tutto
title Windows XP
root (hd0,4)
savedefault
makeactive
chainloader +1
poi salva e riavvia, al riavvio vedi se riesce a caricare windows, altrimenti andremo a vedere cosa c'è in sda5
Re: [ubuntu 8.10] il boot non riconosce più windows
Inviato: lunedì 20 aprile 2009, 19:02
da r3dkn16h7
blupenguin ha scritto:
thearch89 ha scritto:
se faccio sudo mkdir /media/win mi dice "nessun file o directory"
andrebbe meglio sudo mkdir /media/disk
comunque riapri grub con sudo questa volta:
sudo gedit /boot/grub/menu.lst
e metti sotto l'ultima riga:
Codice: Seleziona tutto
title Windows XP
root (hd0,4)
savedefault
makeactive
chainloader +1
poi salva e riavvia, al riavvio vedi se riesce a caricare windows, altrimenti andremo a vedere cosa c'è in sda5
Io son rimasto che Win non parte su partizione logica... sarò rimasto all'età della pietra con Win (risposta: si)
Re: [ubuntu 8.10] il boot non riconosce più windows
Inviato: lunedì 20 aprile 2009, 19:06
da thearch89
allora prima ho fatto come mi ha detto blupenguin , aggiungendo quel codice a menu.lst , però niente mi dice "richiesta invalida" quando provo a riavviare e a selezionare xp ...
ora ho provato a fare come dice r3dkn16h7 , e dal terminale ho dato sudo mkdir /media/disk
e mi da :
$LogFile indicates unclean shutdown (0, 0)
Failed to mount '/dev/sda5': Operazione non supportata
Mount is denied because NTFS is marked to be in use. Choose one action:
Choice 1: If you have Windows then disconnect the external devices by
clicking on the 'Safely Remove Hardware' icon in the Windows
taskbar then shutdown Windows cleanly.
Choice 2: If you don't have Windows then you can use the 'force' option for
your own responsibility. For example type on the command line:
mount -t ntfs-3g /dev/sda5 /media/win -o force
Or add the option to the relevant row in the /etc/fstab file:
/dev/sda5 /media/win ntfs-3g force 0 0