[RISOLTO] - Problema grub - non ho più il dualboot
-
anto_pappa
- Prode Principiante
- Messaggi: 54
- Iscrizione: domenica 1 novembre 2009, 17:08
[RISOLTO] - Problema grub - non ho più il dualboot
Ragazzi non riesco più a ripsristinare il dualboot. Ho due hdd su uno ho installato Winxp pro e sull'altro ubunto 10.10. Oggi ho reinstallato winxp perchè avevo problemi e ora non riesco più a far partire ubuntu. Ho provato a seguire le istruzioni del wiki qui sul forum ma senza risultato. Se uso il comando:
sudo fdisk -l ottengo:
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x931d931d
Device Boot Start End Blocks Id System
/dev/sda1 * 1 5099 40957686 7 HPFS/NTFS
/dev/sda2 5100 19928 119113942+ f W95 Ext'd (LBA)
/dev/sda5 5100 19928 119113911 e W95 FAT16 (LBA)
Disk /dev/sdb: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x5ae279a3
Device Boot Start End Blocks Id System
/dev/sdb1 1 249 2000061 82 Linux swap / Solaris
/dev/sdb2 250 30401 242195940 83 Linux
è giusto montare /dev/sdb2??
Ho provato anche a indicare in bios il secondo hdd come principaòle (quello di ubuntu) ma mi dice di riavviare e indicare il disco corretto. Che faccio?
sudo fdisk -l ottengo:
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x931d931d
Device Boot Start End Blocks Id System
/dev/sda1 * 1 5099 40957686 7 HPFS/NTFS
/dev/sda2 5100 19928 119113942+ f W95 Ext'd (LBA)
/dev/sda5 5100 19928 119113911 e W95 FAT16 (LBA)
Disk /dev/sdb: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x5ae279a3
Device Boot Start End Blocks Id System
/dev/sdb1 1 249 2000061 82 Linux swap / Solaris
/dev/sdb2 250 30401 242195940 83 Linux
è giusto montare /dev/sdb2??
Ho provato anche a indicare in bios il secondo hdd come principaòle (quello di ubuntu) ma mi dice di riavviare e indicare il disco corretto. Che faccio?
Ultima modifica di anto_pappa il lunedì 11 aprile 2011, 22:28, modificato 1 volta in totale.
- enotrams
- Prode Principiante
- Messaggi: 177
- Iscrizione: sabato 24 aprile 2010, 22:29
- Località: in your pc
Re: Problema grub - non ho più il dualboot
ho il tuo stesso problema io non ho ancora risolto ma prova a vedere la guida che mi ha lincato unoanto_pappa ha scritto: Ragazzi non riesco più a ripsristinare il dualboot. Ho due hdd su uno ho installato Winxp pro e sull'altro ubunto 10.10. Oggi ho reinstallato winxp perchè avevo problemi e ora non riesco più a far partire ubuntu. Ho provato a seguire le istruzioni del wiki qui sul forum ma senza risultato. Se uso il comando:
sudo fdisk -l ottengo:
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x931d931d
Device Boot Start End Blocks Id System
/dev/sda1 * 1 5099 40957686 7 HPFS/NTFS
/dev/sda2 5100 19928 119113942+ f W95 Ext'd (LBA)
/dev/sda5 5100 19928 119113911 e W95 FAT16 (LBA)
Disk /dev/sdb: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x5ae279a3
Device Boot Start End Blocks Id System
/dev/sdb1 1 249 2000061 82 Linux swap / Solaris
/dev/sdb2 250 30401 242195940 83 Linux
è giusto montare /dev/sdb2??
Ho provato anche a indicare in bios il secondo hdd come principaòle (quello di ubuntu) ma mi dice di riavviare e indicare il disco corretto. Che faccio?
http://forum.ubuntu-it.org/viewtopic.php?t=449047
-
anto_pappa
- Prode Principiante
- Messaggi: 54
- Iscrizione: domenica 1 novembre 2009, 17:08
Re: Problema grub - non ho più il dualboot
Ho letto quella guida ma non sono riuscito comunque
Re: Problema grub - non ho più il dualboot
devi montare /dev/sdb2, la partizione in cui è Ubuntu. I principianti credono di essere più sicuri installando in dischi diversi, questo è falso, è molto più gestibile un dual boot con i sistemi sullo stesso disco. Il secondo è meglio tenerlo per i dati.anto_pappa ha scritto: è giusto montare /dev/sdb2??
Un titolo ben azzeccato attira l'attenzione degli esperti in quel campo, fa risparmiare tempo a voi, aumenta la probabilità di successo.
-
anto_pappa
- Prode Principiante
- Messaggi: 54
- Iscrizione: domenica 1 novembre 2009, 17:08
Re: Problema grub - non ho più il dualboot
Si in effetti pensavo di essere più tranquillo...e per un paio di anni o quasi lo è stato (perchè avevo installato ubuntu in un secondo momento). Ho provato a montare sdb2 ma poi non sono riuscito ad andare avanti. ora riprovo e vi dico cosa ottengo
- Megatux
- Tenace Tecnocrate

- Messaggi: 11793
- Iscrizione: lunedì 21 settembre 2009, 12:47
- Desktop: Ubuntu
- Distribuzione: Ubuntu 22.04.3 LTS x86_64
- Sesso: Maschile
Re: Problema grub - non ho più il dualboot
Patel, scusa se mi intrometto... ma io ho un dual boot su due hd diversi, e non ho mai riscontrato alcun problema... quindi non mi sembra giusto dire che sia sbagliato eseguire una configurazione così...patel ha scritto:devi montare /dev/sdb2, la partizione in cui è Ubuntu. I principianti credono di essere più sicuri installando in dischi diversi, questo è falso, è molto più gestibile un dual boot con i sistemi sullo stesso disco. Il secondo è meglio tenerlo per i dati.anto_pappa ha scritto: è giusto montare /dev/sdb2??
Il mondo sarebbe migliore con Gnu/Linux Ubuntu!
-
anto_pappa
- Prode Principiante
- Messaggi: 54
- Iscrizione: domenica 1 novembre 2009, 17:08
Re: Problema grub - non ho più il dualboot
Arrivato a questo punto che faccio? esco dal chroot o uso apt-get install?
root@ubuntu:/# grub-install /dev/sdb2
Searching for GRUB installation directory ... found: /boot/grub
Installing GRUB to /dev/sdb2 as (hd1,1)...
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
root@ubuntu:/# update-grub2
Il programma "update-grub2" può essere trovato nei seguenti pacchetti:
* grub-efi-amd64
* grub-efi-ia32
* grub-pc
* grub-coreboot
* grub-ieee1275
Provare: apt-get install
root@ubuntu:/# grub-install /dev/sdb2
Searching for GRUB installation directory ... found: /boot/grub
Installing GRUB to /dev/sdb2 as (hd1,1)...
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
root@ubuntu:/# update-grub2
Il programma "update-grub2" può essere trovato nei seguenti pacchetti:
* grub-efi-amd64
* grub-efi-ia32
* grub-pc
* grub-coreboot
* grub-ieee1275
Provare: apt-get install
Re: Problema grub - non ho più il dualboot
non ho detto che è sbagliato, ma che non è più facile da gestire, occorre avere le idee molto chiare su come funziona il grubMegatux ha scritto: Patel, scusa se mi intrometto... ma io ho un dual boot su due hd diversi, e non ho mai riscontrato alcun problema... quindi non mi sembra giusto dire che sia sbagliato eseguire una configurazione così...
avevamo parlato di montare sdb2 non di installarci il grub, il comando corretto èanto_pappa ha scritto: Arrivato a questo punto che faccio? esco dal chroot o uso apt-get install?
root@ubuntu:/# grub-install /dev/sdb2
Codice: Seleziona tutto
root@ubuntu:/# grub-install /dev/sdb
Ultima modifica di patel il giovedì 17 marzo 2011, 21:10, 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.
- enotrams
- Prode Principiante
- Messaggi: 177
- Iscrizione: sabato 24 aprile 2010, 22:29
- Località: in your pc
Re: Problema grub - non ho più il dualboot
@patel scusa puoi aiutarmi qui che sono ore che aspetto una ripostapatel ha scritto:non ho detto che è sbagliato, ma che non è più facile da gestire, occorre avere le idee molto chiare su come funziona il grubMegatux ha scritto: Patel, scusa se mi intrometto... ma io ho un dual boot su due hd diversi, e non ho mai riscontrato alcun problema... quindi non mi sembra giusto dire che sia sbagliato eseguire una configurazione così...
avevamo parlato di montare sdb2 non di installarci il grub, il comando corretto èanto_pappa ha scritto: Arrivato a questo punto che faccio? esco dal chroot o uso apt-get install?
root@ubuntu:/# grub-install /dev/sdb2cioè nel mbr di sdbCodice: Seleziona tutto
root@ubuntu:/# grub-install /dev/sdb
http://forum.ubuntu-it.org/viewtopic.php?t=449047
- Megatux
- Tenace Tecnocrate

- Messaggi: 11793
- Iscrizione: lunedì 21 settembre 2009, 12:47
- Desktop: Ubuntu
- Distribuzione: Ubuntu 22.04.3 LTS x86_64
- Sesso: Maschile
Re: Problema grub - non ho più il dualboot
Ah, ok... scusami, Patel... non volevo assolutamente fare polemica... la mia era una precisazione... se a me è andata bene così, allora sono fortunato ;)
Il mondo sarebbe migliore con Gnu/Linux Ubuntu!
-
anto_pappa
- Prode Principiante
- Messaggi: 54
- Iscrizione: domenica 1 novembre 2009, 17:08
Re: Problema grub - non ho più il dualboot
e dopo?patel ha scritto:non ho detto che è sbagliato, ma che non è più facile da gestire, occorre avere le idee molto chiare su come funziona il grubMegatux ha scritto: Patel, scusa se mi intrometto... ma io ho un dual boot su due hd diversi, e non ho mai riscontrato alcun problema... quindi non mi sembra giusto dire che sia sbagliato eseguire una configurazione così...
avevamo parlato di montare sdb2 non di installarci il grub, il comando corretto èanto_pappa ha scritto: Arrivato a questo punto che faccio? esco dal chroot o uso apt-get install?
root@ubuntu:/# grub-install /dev/sdb2cioè nel mbr di sdbCodice: Seleziona tutto
root@ubuntu:/# grub-install /dev/sdb
root@ubuntu:/# 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
faccio exit?
-
anto_pappa
- Prode Principiante
- Messaggi: 54
- Iscrizione: domenica 1 novembre 2009, 17:08
Re: Problema grub - non ho più il dualboot
non so più che fare, non parte proprio. Non vorrei perdere i dati del secondo hard disk

-
anto_pappa
- Prode Principiante
- Messaggi: 54
- Iscrizione: domenica 1 novembre 2009, 17:08
Re: Problema grub - non ho più il dualboot
Andando a scegliere in bios, come primario, l'hard disk su cui è installato ubuntu si presenta il seguente messaggio:
[minimal bash - like line editing is supported. for the first word, tab lists possible command completions. anywhere else tab lists the possible completions of a device/filename]
Cosa posso fare??
[minimal bash - like line editing is supported. for the first word, tab lists possible command completions. anywhere else tab lists the possible completions of a device/filename]
Cosa posso fare??
Re: Problema grub - non ho più il dualboot
ciao io uso il programma statup. non sono in grado di programmare, ma su un protatile asus stesso hd ho vista e ubuntu 10.10.
Ho dato il comando di partire da ubuntu .e funziona benissimo
Ho dato il comando di partire da ubuntu .e funziona benissimo
-
anto_pappa
- Prode Principiante
- Messaggi: 54
- Iscrizione: domenica 1 novembre 2009, 17:08
Re: Problema grub - non ho più il dualboot
io vorrei solo ripristinare la funzionalità che avevo fino ad oggi...non sarà che devo reinstallare ubuntu (quindi dipo win xp)?? ditemi di no..... 
- frug75
- Imperturbabile Insigne

- Messaggi: 2662
- Iscrizione: domenica 11 luglio 2010, 16:00
- Località: Matrix
- Contatti:
Re: Problema grub - non ho più il dualboot
Non è questo il suo problema.mari60 ha scritto: ciao io uso il programma statup. non sono in grado di programmare, ma su un protatile asus stesso hd ho vista e ubuntu 10.10.
Ho dato il comando di partire da ubuntu .e funziona benissimo
@ anto_pappa: prova ad installare Grub su sda
ovvero:
sudo mount /dev/sdb2 /mnt
sudo mount --bind /dev /mnt/dev
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sys
sudo chroot /mnt
grub-install /dev/sda
update-grub2
exit
cd ~
sudo umount /mnt/dev
sudo umount /mnt/proc
sudo umount /mnt/sys
sudo umount /mnt/
Fedora 15, Ubuntu 11.04-10.10-10.04, Windows7 su notebook Packard Bell EasyNote, Intel i3-330M,Nvidia GeForceGT320M 1GB VRAM, 4GB DDR3 RAM
Android 2.2 su cell.
http://frug75.wordpress.com/ Unity è per tablet?
Android 2.2 su cell.
http://frug75.wordpress.com/ Unity è per tablet?
-
anto_pappa
- Prode Principiante
- Messaggi: 54
- Iscrizione: domenica 1 novembre 2009, 17:08
Re: Problema grub - non ho più il dualboot
Problema, una volta dato il comando update grub 2, questa è la risposta:
root@ubuntu:/# update-grub2
Il programma "update-grub2" può essere trovato nei seguenti pacchetti:
* grub-efi-amd64
* grub-efi-ia32
* grub-pc
* grub-coreboot
* grub-ieee1275
Provare: apt-get install
Quindi??
root@ubuntu:/# update-grub2
Il programma "update-grub2" può essere trovato nei seguenti pacchetti:
* grub-efi-amd64
* grub-efi-ia32
* grub-pc
* grub-coreboot
* grub-ieee1275
Provare: apt-get install
Quindi??
- frug75
- Imperturbabile Insigne

- Messaggi: 2662
- Iscrizione: domenica 11 luglio 2010, 16:00
- Località: Matrix
- Contatti:
Re: Problema grub - non ho più il dualboot
mi posti tutti i comandi che dai, per favore!
Fedora 15, Ubuntu 11.04-10.10-10.04, Windows7 su notebook Packard Bell EasyNote, Intel i3-330M,Nvidia GeForceGT320M 1GB VRAM, 4GB DDR3 RAM
Android 2.2 su cell.
http://frug75.wordpress.com/ Unity è per tablet?
Android 2.2 su cell.
http://frug75.wordpress.com/ Unity è per tablet?
-
anto_pappa
- Prode Principiante
- Messaggi: 54
- Iscrizione: domenica 1 novembre 2009, 17:08
Re: Problema grub - non ho più il dualboot
Certo, ho seguito alla lettera le indicazioni:
ubuntu@ubuntu:~$ sudo mount /dev/sdb2 /mnt
ubuntu@ubuntu:~$ sudo mount --bind /dev /mnt/dev
ubuntu@ubuntu:~$ sudo mount --bind /proc /mnt/proc
ubuntu@ubuntu:~$ sudo mount --bind /sys /mnt/sys
ubuntu@ubuntu:~$ sudo chroot /mnt
root@ubuntu:/# grub-install /dev/sda
Searching for GRUB installation directory ... found: /boot/grub
Installing GRUB to /dev/sda as (hd0)...
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
root@ubuntu:/# update-grub2
Il programma "update-grub2" può essere trovato nei seguenti pacchetti:
* grub-efi-amd64
* grub-efi-ia32
* grub-pc
* grub-coreboot
* grub-ieee1275
Provare: apt-get install
ubuntu@ubuntu:~$ sudo mount /dev/sdb2 /mnt
ubuntu@ubuntu:~$ sudo mount --bind /dev /mnt/dev
ubuntu@ubuntu:~$ sudo mount --bind /proc /mnt/proc
ubuntu@ubuntu:~$ sudo mount --bind /sys /mnt/sys
ubuntu@ubuntu:~$ sudo chroot /mnt
root@ubuntu:/# grub-install /dev/sda
Searching for GRUB installation directory ... found: /boot/grub
Installing GRUB to /dev/sda as (hd0)...
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
root@ubuntu:/# update-grub2
Il programma "update-grub2" può essere trovato nei seguenti pacchetti:
* grub-efi-amd64
* grub-efi-ia32
* grub-pc
* grub-coreboot
* grub-ieee1275
Provare: apt-get install
- frug75
- Imperturbabile Insigne

- Messaggi: 2662
- Iscrizione: domenica 11 luglio 2010, 16:00
- Località: Matrix
- Contatti:
Re: Problema grub - non ho più il dualboot
Fedora 15, Ubuntu 11.04-10.10-10.04, Windows7 su notebook Packard Bell EasyNote, Intel i3-330M,Nvidia GeForceGT320M 1GB VRAM, 4GB DDR3 RAM
Android 2.2 su cell.
http://frug75.wordpress.com/ Unity è per tablet?
Android 2.2 su cell.
http://frug75.wordpress.com/ Unity è per tablet?
Chi c’è in linea
Visualizzano questa sezione: 0 utenti iscritti e 4 ospiti
