Pagina 1 di 1

[Risolto] [Grub] riconosce win XP ma da errore

Inviato: sabato 22 novembre 2008, 17:10
da Razzo
ho il seguente problema:

ho reinstallato ubuntu perchè mi a fare l'aggiornamento non funzionava...
già che c'ero ho anche ripartizionato il disco in modo più intelligente

prima era partizionato così:
- WinRE (installato in fabbrica dalla toshiba)
- swap
- ubuntu
- win XP
(considerate che prima ancora di questa suddivisione al posto di swap+ubuntu c'era vista...)


ora lo spazio è suddiviso così:
- sda1 (WinRE)
- sda2 EXTENDED
    - sda5 Swap
    - sda6 "/"
    - sda7 "/home"
- sda4 win XP

il mio file menu.lst è questo:

Codice: Seleziona tutto

# 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		saved

## 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

# Splashimage
foreground = 000000
background = B0B0B0
splashimage=(hd0,5)/boot/grub/splashimages/Sfondo_grub.xpm.gz

## 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=696625f7-97b6-4549-b839-4970bbd0e404 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=696625f7-97b6-4549-b839-4970bbd0e404

## 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-7-generic
uuid		696625f7-97b6-4549-b839-4970bbd0e404
kernel		/boot/vmlinuz-2.6.27-7-generic root=UUID=696625f7-97b6-4549-b839-4970bbd0e404 ro quiet splash 
initrd		/boot/initrd.img-2.6.27-7-generic
quiet
savedefault

title		Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
uuid		696625f7-97b6-4549-b839-4970bbd0e404
kernel		/boot/vmlinuz-2.6.27-7-generic root=UUID=696625f7-97b6-4549-b839-4970bbd0e404 ro  single
initrd		/boot/initrd.img-2.6.27-7-generic

title		Ubuntu 8.10, memtest86+
uuid		696625f7-97b6-4549-b839-4970bbd0e404
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/sda4
title		Microsoft Windows XP Professional
root		(hd0,3)
savedefault
# makeactive
chainloader	+1


se faccio partire il bot di win XP mi da il seguente errore:
Impossibile avviare windows poichè il file seguente manca o è danneggiato:
/sistem32/hal.dll

installare di nuovo una copia del file sopra visualizzato

io ho controllato è il file è correttamente nella cartella windows/sistem32


che devo fare????  :'( :'( :'(

Re: [Grub] riconosce win XP ma da errore

Inviato: sabato 22 novembre 2008, 17:27
da streetcross
Bhè comunque è un errore qindows e non del grub o di ubuntu quindi per avere risposte sensate dovresti rivolgerti ad un forum wndows (se ne esiste uno con gente che davvero lo sa usare) altrimenti il mio consiglio è reinstalla xp e rispristina il grub

Re: [Grub] riconosce win XP ma da errore

Inviato: sabato 22 novembre 2008, 17:33
da Razzo
il fatto che fino a stamattina andava tutto...

per ora un mio amico mi ha consigliato di fare così:

http://www.hwupgrade.it/forum/showthread.php?p=17468074

provo a modificare il file boot.ini e vedo cosa succede, se risolvo fi faccio sapere ;)

Re: [Grub] riconosce win XP ma da errore

Inviato: sabato 22 novembre 2008, 17:35
da streetcross
Sì evidentemente è giusta l'ultima cosa, il loader di windows si è impataccato..

Re: [Grub] riconosce win XP ma da errore

Inviato: sabato 22 novembre 2008, 17:36
da patel
Io non credo che questo tipo di partizionamento sia intelligente, XP preferisce stare nella prima partizione, Vista accetta anche quelle successive.

Re: [Grub] riconosce win XP ma da errore

Inviato: sabato 22 novembre 2008, 17:39
da streetcross
patel ha scritto: Io non credo che questo tipo di partizionamento sia intelligente, XP preferisce stare nella prima partizione, Vista accetta anche quelle successive.
Dipende a me vista non ha mai accettato quelle successive ma solo la prima... comunque va bene lo stesso una volta installato

Re: [Grub] riconosce win XP ma da errore

Inviato: sabato 22 novembre 2008, 17:46
da patel
E' buffo come ognuno di noi ha un'esperienza diversa. Io non ho incontrato la minima difficoltà a piazzare vista in sda2 però gli ho fatto trovare uno spazio non allocato dopo la sda1 di XP.

Re: [Grub] riconosce win XP ma da errore

Inviato: sabato 22 novembre 2008, 17:58
da streetcross
è buffo che windows sia l'os più diffuso e possa fare delle cose del genere... guarda io non stento a crederti perchè dubito tu abbia interesse a dire cose a caso ma ti giuro che io mi sono dannato per installare (un paio di volte) vista su un pc e dopo ore ho scoperto che non accettava le partizioni diverse dalla prima...

Re: [Grub] riconosce win XP ma da errore

Inviato: sabato 22 novembre 2008, 18:03
da patel
D'altra parte tutte le guide dicono che per avere il dual boot occorre installare Vista dopo Xp quindi è normale che Vista si becchi la seconda partizione.

Re: [Grub] riconosce win XP ma da errore

Inviato: sabato 22 novembre 2008, 18:04
da streetcross
Non è detto, ma non mi interessa entrare nella filosofia di Windows, non rientra nei miei interessi  ;)

Re: [Grub] riconosce win XP ma da errore

Inviato: sabato 22 novembre 2008, 18:53
da Razzo
dopo aver litigato per 2 ore provando i vari numeri di partizione compresi tra 3 infinito
e dopo aver ottenuto l'errore che mancava il file da 3 a 5 e da 6 in èpoi cambiava errore dicendo che era un errore di partizione e che dovevo cimare l'assistenza software...

qualcuno mi ha gentilmente suggerito di provare il numero 2...

in 2???
ma perchè???
vabbeh proviamo...
tanto ormai...

e signori e sognori!!!!

2 è la partizione corretta...

win non sa contare...
(il motivo è che l'estesa viene dopo anche se è fisicamente prima...)

Re: [Grub] riconosce win XP ma da errore

Inviato: sabato 22 novembre 2008, 18:57
da streetcross
bhè in effetti... vabbè l'importante è che tu abbia risolto ciao

Re: [Grub] riconosce win XP ma da errore

Inviato: sabato 22 novembre 2008, 19:03
da Razzo
infatti

grazie :)

per me si può chiudere la discussione se non serve a qualcun'altro...

Re: [Grub] riconosce win XP ma da errore

Inviato: sabato 22 novembre 2008, 19:10
da streetcross
Basta che scrivi risolto davatni al primo titolo del topic  ;)