Reinstallare Grub2 avendo WIN e UBUNTU su due hard disk

Problemi riscontrati durante l'installazione di Ubuntu, degli aggiornamenti e degli avanzamenti del sistema.
patel
Accecante Asceta
Accecante Asceta
Messaggi: 23782
Iscrizione: martedì 15 aprile 2008, 20:27
Località: Livorno

Re: Reinstallare Grub2 avendo WIN e UBUNTU su due hard disk

Messaggio da patel »

tinos ha scritto: pare che grub 1 non supporti il file system ext4:
non è vero, questo valeva solo all'inizio, poi si è adeguato, io uso il grub1.
Un titolo ben azzeccato attira l'attenzione degli esperti in quel campo, fa risparmiare tempo a voi, aumenta la probabilità di successo.
tinos
Prode Principiante
Messaggi: 49
Iscrizione: martedì 5 febbraio 2008, 21:55

Re: Reinstallare Grub2 avendo WIN e UBUNTU su due hard disk

Messaggio da tinos »

Fatto, installato grub1.

Spiego cosa ho fatto prima:
Per cancellare grub dal disco di XP è stato sufficente un Fixmbr, XP si avvia e funziona.
Non mi sarei aspettato di trovare ancora grub 2 sul disco di Ubuntu però, visto che prima lo avevo installato sul disco di XP, comunque anche Ubuntu si avviava da grub 2  ovviamente se nel bios lo impostavo come disco primario.

Ora ho appena terminato l'installazione di Grub 1 e forse bisognerà mappare il disco di XP da terminale oppure a mano, ricapitolando:

Boot dal disco di Ubuntu sul quale ho installato Grub 1 (/dev/sdb)

Codice: Seleziona tutto

Disco /dev/sda: 500.1 GB, 500107862016 byte
255 testine, 63 settori/tracce, 60801 cilindri
Unità = cilindri di 16065 * 512 = 8225280 byte
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Identificativo disco: 0x0028b86a

Dispositivo Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        6566    52741363+   7  HPFS/NTFS
/dev/sda2            6567       60801   435642637+   7  HPFS/NTFS

Disco /dev/sdb: 320.1 GB, 320072933376 byte
255 testine, 63 settori/tracce, 38913 cilindri
Unità = cilindri di 16065 * 512 = 8225280 byte
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Identificativo disco: 0xbe9ebe9e

Dispositivo Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        3113    25005141   83  Linux
/dev/sdb2            3114       38594   285001132+  83  Linux
/dev/sdb3           38595       38913     2562367+  82  Linux swap / Solaris
san@tesla:~$ sudo apt-get install grub
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze       
Lettura informazioni sullo stato... Fatto
Pacchetti suggeriti:
  grub-legacy-doc mdadm
I seguenti pacchetti saranno RIMOSSI:
  grub-pc
I seguenti pacchetti NUOVI saranno installati:
  grub
0 aggiornati, 1 installati, 1 da rimuovere e 0 non aggiornati.
È necessario scaricare 406kB di archivi.
Dopo quest'operazione, verranno liberati 1335kB di spazio su disco.
Continuare [S/n]? s
Scaricare:1 http://it.archive.ubuntu.com/ubuntu/ lucid/main grub 0.97-29ubuntu60 [406kB]
Recuperati 406kB in 1s (357kB/s)
Preconfigurazione dei pacchetti in corso
(Lettura del database... 178769 file e directory attualmente installati.)
Rimozione di grub-pc...
Elaborazione dei trigger per man-db...
Selezionato il pacchetto grub.
(Lettura del database... 178548 file e directory attualmente installati.)
Estrazione di grub (da .../grub_0.97-29ubuntu60_i386.deb)...
Elaborazione dei trigger per man-db...
Configurazione di grub (0.97-29ubuntu60)...

san@tesla:~$ sudo grub-install sdb
Format of install_device not recognized.
Usage: grub-install [OPTION] install_device
Install GRUB on your drive.

  -h, --help              print this message and exit
  -v, --version           print the version information and exit
  --root-directory=DIR    install GRUB images under the directory DIR
                          instead of the root directory
  --grub-shell=FILE       use FILE as the grub shell
  --no-floppy             do not probe any floppy drive
  --force-lba             force GRUB to use LBA mode even for a buggy
                          BIOS
  --recheck               probe a device map even if it already exists

INSTALL_DEVICE can be a GRUB device name or a system device filename.

grub-install copies GRUB images into the DIR/boot directory specfied by
--root-directory, and uses the grub shell to install grub into the boot
sector.

Report bugs to <bug-grub@gnu.org>.

san@tesla:~$ sudo grub-install /dev/sdb
Searching for GRUB installation directory ... found: /boot/grub
Installing GRUB to /dev/sdb as (hd1)...
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.

(fd0)	/dev/fd0
(hd0)	/dev/sda
(hd1)	/dev/sdb
san@tesla:~$ sudo update-grub
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... 

Could not find /boot/grub/menu.lst file. Would you like /boot/grub/menu.lst generated for you? (y/N) y
Searching for splash image ... none found, skipping ...
Found GRUB 2: /boot/grub/core.img
Found kernel: /boot/memtest86+.bin
Found kernel: /boot/vmlinuz-2.6.32-23-generic
Found kernel: /boot/vmlinuz-2.6.32-22-generic
Found kernel: /boot/vmlinuz-2.6.32-21-generic
Found GRUB 2: /boot/grub/core.img
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done

san@tesla:~$ exit

ora riavvio e incrocio le dita  :)
patel
Accecante Asceta
Accecante Asceta
Messaggi: 23782
Iscrizione: martedì 15 aprile 2008, 20:27
Località: Livorno

Re: Reinstallare Grub2 avendo WIN e UBUNTU su due hard disk

Messaggio da patel »

per avere l'avvio di win ora devi

Codice: Seleziona tutto

sudo gedit /boot/grub/menu.lst
ed aggiungere nella posizione che vuoi

Codice: Seleziona tutto

title Windows
root (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
makeactive
chainloader +1
hai dischi IDE o SATA ?
Ultima modifica di patel il mercoledì 23 giugno 2010, 18:24, modificato 1 volta in totale.
Un titolo ben azzeccato attira l'attenzione degli esperti in quel campo, fa risparmiare tempo a voi, aumenta la probabilità di successo.
tinos
Prode Principiante
Messaggi: 49
Iscrizione: martedì 5 febbraio 2008, 21:55

Re: Reinstallare Grub2 avendo WIN e UBUNTU su due hard disk

Messaggio da tinos »

Ok Ubuntu si avvia, però non mostra la scelta del kernel, per accedervi devo premere "esc".

Lo splash non c'è e al suo posto c'è una cosa del genere:
starting (hd0,0) ext4 56b5c0cc-f6dd-4d60-9274-e8fffd389c89

nel menu.list XP non compare:

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-legacy-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		8

## 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=56b5c0cc-f6dd-4d60-9274-e8fffd389c89 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=56b5c0cc-f6dd-4d60-9274-e8fffd389c89

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

## 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=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 10.04 LTS, kernel 2.6.32-23-generic
uuid		56b5c0cc-f6dd-4d60-9274-e8fffd389c89
kernel		/boot/vmlinuz-2.6.32-23-generic root=UUID=56b5c0cc-f6dd-4d60-9274-e8fffd389c89 ro quiet splash 
initrd		/boot/initrd.img-2.6.32-23-generic
quiet

title		Ubuntu 10.04 LTS, kernel 2.6.32-23-generic (recovery mode)
uuid		56b5c0cc-f6dd-4d60-9274-e8fffd389c89
kernel		/boot/vmlinuz-2.6.32-23-generic root=UUID=56b5c0cc-f6dd-4d60-9274-e8fffd389c89 ro  single
initrd		/boot/initrd.img-2.6.32-23-generic

title		Ubuntu 10.04 LTS, kernel 2.6.32-22-generic
uuid		56b5c0cc-f6dd-4d60-9274-e8fffd389c89
kernel		/boot/vmlinuz-2.6.32-22-generic root=UUID=56b5c0cc-f6dd-4d60-9274-e8fffd389c89 ro quiet splash 
initrd		/boot/initrd.img-2.6.32-22-generic
quiet

title		Ubuntu 10.04 LTS, kernel 2.6.32-22-generic (recovery mode)
uuid		56b5c0cc-f6dd-4d60-9274-e8fffd389c89
kernel		/boot/vmlinuz-2.6.32-22-generic root=UUID=56b5c0cc-f6dd-4d60-9274-e8fffd389c89 ro  single
initrd		/boot/initrd.img-2.6.32-22-generic

title		Ubuntu 10.04 LTS, kernel 2.6.32-21-generic
uuid		56b5c0cc-f6dd-4d60-9274-e8fffd389c89
kernel		/boot/vmlinuz-2.6.32-21-generic root=UUID=56b5c0cc-f6dd-4d60-9274-e8fffd389c89 ro quiet splash 
initrd		/boot/initrd.img-2.6.32-21-generic
quiet

title		Ubuntu 10.04 LTS, kernel 2.6.32-21-generic (recovery mode)
uuid		56b5c0cc-f6dd-4d60-9274-e8fffd389c89
kernel		/boot/vmlinuz-2.6.32-21-generic root=UUID=56b5c0cc-f6dd-4d60-9274-e8fffd389c89 ro  single
initrd		/boot/initrd.img-2.6.32-21-generic

title		Chainload into GRUB 2
root		56b5c0cc-f6dd-4d60-9274-e8fffd389c89
kernel		/boot/grub/core.img

title		Ubuntu 10.04 LTS, memtest86+
uuid		56b5c0cc-f6dd-4d60-9274-e8fffd389c89
kernel		/boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST
attendo istruzioni per aggiungere XP.

Ciao
tinos
Prode Principiante
Messaggi: 49
Iscrizione: martedì 5 febbraio 2008, 21:55

Re: Reinstallare Grub2 avendo WIN e UBUNTU su due hard disk

Messaggio da tinos »

patel ha scritto: hai dischi IDE o SATA ?
Tutti SATA, in ordine di collegameto sulla scheda madre:

Porta 1 disco di XP
Porta 2 disco di Ubuntu  ( Settato come Primario al boot)
Porta 4 cd/dvd
Porta 5 cd/dvd rw
patel
Accecante Asceta
Accecante Asceta
Messaggi: 23782
Iscrizione: martedì 15 aprile 2008, 20:27
Località: Livorno

Re: Reinstallare Grub2 avendo WIN e UBUNTU su due hard disk

Messaggio da patel »

meglio mettere :

Porta 1 disco di Ubuntu  ( Settato come Primario al boot)
Porta 2 disco di XP

le modifiche per il menu.lst sono:
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
# hiddenmenu

più quella già postata, se vuoi puoi eliminare le voci relative ai vecchi kernel
Un titolo ben azzeccato attira l'attenzione degli esperti in quel campo, fa risparmiare tempo a voi, aumenta la probabilità di successo.
tinos
Prode Principiante
Messaggi: 49
Iscrizione: martedì 5 febbraio 2008, 21:55

Re: Reinstallare Grub2 avendo WIN e UBUNTU su due hard disk

Messaggio da tinos »

ho eseguito tutto:
invertito le porte sata 1 con 2
boot dal disco di ubuntu
aggiunto le righe al grub

di seguito il nuovo ordine dei dischi:

Codice: Seleziona tutto

Disco /dev/sda: 320.1 GB, 320072933376 byte
255 testine, 63 settori/tracce, 38913 cilindri
Unità = cilindri di 16065 * 512 = 8225280 byte
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Identificativo disco: 0xbe9ebe9e

Dispositivo Boot      Start         End      Blocks   Id  System
/dev/sda1               1        3113    25005141   83  Linux
/dev/sda2            3114       38594   285001132+  83  Linux
/dev/sda3           38595       38913     2562367+  82  Linux swap / Solaris

Disco /dev/sdb: 500.1 GB, 500107862016 byte
255 testine, 63 settori/tracce, 60801 cilindri
Unità = cilindri di 16065 * 512 = 8225280 byte
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Identificativo disco: 0x0028b86a

Dispositivo Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1        6566    52741363+   7  HPFS/NTFS
/dev/sdb2            6567       60801   435642637+   7  HPFS/NTFS
san@tesla:~$ sudo gedit /boot/grub/menu.lst
poi ho dato un:

Codice: Seleziona tutto

san@tesla:~$ sudo update-grub
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.32-23-generic
Found kernel: /boot/vmlinuz-2.6.32-22-generic
Found kernel: /boot/vmlinuz-2.6.32-21-generic
Found GRUB 2: /boot/grub/core.img
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done
al boot Xp compare nel grub ma non vi avvia sempre a causa dello stesso errore, questo è il nuovo grub:

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-legacy-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		8

## 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=56b5c0cc-f6dd-4d60-9274-e8fffd389c89 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=56b5c0cc-f6dd-4d60-9274-e8fffd389c89

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

## 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=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 10.04 LTS, kernel 2.6.32-23-generic
uuid		56b5c0cc-f6dd-4d60-9274-e8fffd389c89
kernel		/boot/vmlinuz-2.6.32-23-generic root=UUID=56b5c0cc-f6dd-4d60-9274-e8fffd389c89 ro quiet splash 
initrd		/boot/initrd.img-2.6.32-23-generic
quiet

title		Ubuntu 10.04 LTS, kernel 2.6.32-23-generic (recovery mode)
uuid		56b5c0cc-f6dd-4d60-9274-e8fffd389c89
kernel		/boot/vmlinuz-2.6.32-23-generic root=UUID=56b5c0cc-f6dd-4d60-9274-e8fffd389c89 ro  single
initrd		/boot/initrd.img-2.6.32-23-generic

title		Ubuntu 10.04 LTS, kernel 2.6.32-22-generic
uuid		56b5c0cc-f6dd-4d60-9274-e8fffd389c89
kernel		/boot/vmlinuz-2.6.32-22-generic root=UUID=56b5c0cc-f6dd-4d60-9274-e8fffd389c89 ro quiet splash 
initrd		/boot/initrd.img-2.6.32-22-generic
quiet

title		Ubuntu 10.04 LTS, kernel 2.6.32-22-generic (recovery mode)
uuid		56b5c0cc-f6dd-4d60-9274-e8fffd389c89
kernel		/boot/vmlinuz-2.6.32-22-generic root=UUID=56b5c0cc-f6dd-4d60-9274-e8fffd389c89 ro  single
initrd		/boot/initrd.img-2.6.32-22-generic

title		Ubuntu 10.04 LTS, kernel 2.6.32-21-generic
uuid		56b5c0cc-f6dd-4d60-9274-e8fffd389c89
kernel		/boot/vmlinuz-2.6.32-21-generic root=UUID=56b5c0cc-f6dd-4d60-9274-e8fffd389c89 ro quiet splash 
initrd		/boot/initrd.img-2.6.32-21-generic
quiet

title		Ubuntu 10.04 LTS, kernel 2.6.32-21-generic (recovery mode)
uuid		56b5c0cc-f6dd-4d60-9274-e8fffd389c89
kernel		/boot/vmlinuz-2.6.32-21-generic root=UUID=56b5c0cc-f6dd-4d60-9274-e8fffd389c89 ro  single
initrd		/boot/initrd.img-2.6.32-21-generic

title		Chainload into GRUB 2
root		56b5c0cc-f6dd-4d60-9274-e8fffd389c89
kernel		/boot/grub/core.img

title		Ubuntu 10.04 LTS, memtest86+
uuid		56b5c0cc-f6dd-4d60-9274-e8fffd389c89
kernel		/boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

title Windows
root (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
makeactive
chainloader +1
Per i vecchi kernel prima li disinstallo e poi cancellerò le voci nel grub, piuttosto m'interesserebbe sapere cosa sono le righe al fondo:

Codice: Seleziona tutto

title		Chainload into GRUB 2
root		56b5c0cc-f6dd-4d60-9274-e8fffd389c89
kernel		/boot/grub/core.img
che odissea....
patel
Accecante Asceta
Accecante Asceta
Messaggi: 23782
Iscrizione: martedì 15 aprile 2008, 20:27
Località: Livorno

Re: Reinstallare Grub2 avendo WIN e UBUNTU su due hard disk

Messaggio da patel »

quelle righe sono da cancellare, il sudo update-grub ha trovato ancora tracce del grub2 ed ha inserito le relative voci di avvio, per quanto riguarda XP non so più che dirti salvo quanto detto all'inizio, tutti i sistemi nello stesso disco.
Non sei il solo che non lo vuol capire, anche io ho iniziato così per una falsa sensazione di sicurezza, però le vecchie versioni di Ubuntu non facevano di questi scherzi. Se scorri un po' il forum troverai che questo problema è molto comune.
Un titolo ben azzeccato attira l'attenzione degli esperti in quel campo, fa risparmiare tempo a voi, aumenta la probabilità di successo.
tinos
Prode Principiante
Messaggi: 49
Iscrizione: martedì 5 febbraio 2008, 21:55

Re: Reinstallare Grub2 avendo WIN e UBUNTU su due hard disk

Messaggio da tinos »

patel ha scritto: quelle righe sono da cancellare, il sudo update-grub ha trovato ancora tracce del grub2 ed ha inserito le relative voci di avvio, per quanto riguarda XP non so più che dirti salvo quanto detto all'inizio, tutti i sistemi nello stesso disco.
Non sei il solo che non lo vuol capire, anche io ho iniziato così per una falsa sensazione di sicurezza, però le vecchie versioni di Ubuntu non facevano di questi scherzi. Se scorri un po' il forum troverai che questo problema è molto comune.
È tutto li il problema! Io ricordavo di essere riuscito ad installarlo, (quando non avevo la minima esperienza su linux) con una vecchia versione ed ora...non si trattava di non voler capire, si trattava di voler capire perchè adesso non funzionava. Ora ho capito, grazie al tuo prezioso aiuto, che dipende da linux, non per un guasto al pc o per mancanza di esperienza dell'operatore  :).

Tramite Gparted proverò a liberare una 50ina di gb sul disco da 320gb, d'avanti ad Ubuntu e installerò li XP, l'altro disco da 500gb lo terrò solo per dati ntfs.

Patel, grazie per la pazienza e per tutto l'aiuto che mi hai dato.
Allegati
Schermata-Disco fisso da 320 GB (ATA WDC WD3200KS-75PFB0) [-dev-sda] — Gestore dischi.png
Ultima modifica di tinos il giovedì 24 giugno 2010, 12:51, modificato 1 volta in totale.
Scrivi risposta

Ritorna a “Installazione e aggiornamento del sistema operativo”

Chi c’è in linea

Visualizzano questa sezione: corradoventu e 2 ospiti