[RISOLTO] problemi dual boot

Problemi riscontrati durante l'installazione di Ubuntu, degli aggiornamenti e degli avanzamenti del sistema.
Scrivi risposta
subaru.sti
Prode Principiante
Messaggi: 6
Iscrizione: sabato 19 novembre 2011, 14:04

[RISOLTO] problemi dual boot

Messaggio da subaru.sti »

ciao a tutti  (b2b)  sono nuovo e soprattutto ignorante in materia  :-[ allora partiamo dicendo ho xp con un solo hard disk .con partizione magic 8 ho creato le partizioni e succesivamente ho installato ubuntu , tutto ok il cd live va instalazzione tutto ok l'unico problema è : quando accendo va direttamente in win xp senza chiedermi nulla cosa devo fare per avere il dual boot .ho provato a smanettare con grub ma nn ci capisco niete , c'è qualcuno che gentilmente puo darmi qualche dritta.  :'(

ps le mie partizioni sn

/dev/sda1  ntfs 200gb boot
/dev/sda2 (key) extended 30gb lba    **al suo interno di questi 30gb ci sn : **
/dev/sda5 ext3 28gb
/dev/sda6 (key) linux-swap 1.2gb
unallocated 5,26mb

:(
Ultima modifica di subaru.sti il sabato 19 novembre 2011, 16:30, modificato 1 volta in totale.
Avatar utente
gnomo56
Rampante Reduce
Rampante Reduce
Messaggi: 6495
Iscrizione: lunedì 11 dicembre 2006, 19:07
Distribuzione: 13.04
Località: Milano
Contatti:

Re: problemi dual boot

Messaggio da gnomo56 »

Riesci ad usare ubuntu in modalità live da cd (senza dare installa)?
subaru.sti
Prode Principiante
Messaggi: 6
Iscrizione: sabato 19 novembre 2011, 14:04

Re: problemi dual boot

Messaggio da subaru.sti »

si .adesso sn in modalità live
Carlin0
Rampante Reduce
Rampante Reduce
Messaggi: 7453
Iscrizione: lunedì 2 novembre 2009, 15:29
Desktop: Gnome 2.30.2
Distribuzione: Debian Squeeze
Località: Augusta Taurinorum

Re: problemi dual boot

Messaggio da Carlin0 »

Ciao

Ripristina il grub  AmministrazioneSistema/Grub/Ripristino ed evita partition magic che è pessimo ...
Avatar utente
gnomo56
Rampante Reduce
Rampante Reduce
Messaggi: 6495
Iscrizione: lunedì 11 dicembre 2006, 19:07
Distribuzione: 13.04
Località: Milano
Contatti:

Re: problemi dual boot

Messaggio da gnomo56 »

Se sei alle prime armi prova ad usare supergrub
http://www.supergrubdisk.org/
subaru.sti
Prode Principiante
Messaggi: 6
Iscrizione: sabato 19 novembre 2011, 14:04

Re: problemi dual boot

Messaggio da subaru.sti »

ci ho provato ad fare quella procedura ma non funzia

esempio

root@ubuntu:/home/ubuntu# sudo fdisk -1
fdisk: invalid option -- '1'
Usage:
fdisk [options]     change partition table
fdisk [options] -l list partition table(s)
fdisk -s       give partition size(s) in blocks

Options:
-b             sector size (512, 1024, 2048 or 4096)
-c[=]          compatible mode: 'dos' or 'nondos' (default)
-h                    print this help text
-u[=]          display units: 'cylinders' or 'sectors' (default)
-v                    print program version
-C           specify the number of cylinders
-H           specify the number of heads
-S           specify the number of sectors per track

root@ubuntu:/home/ubuntu# sudo mount /dev/sda5 /mnt
root@ubuntu:/home/ubuntu# sudo mount --bind /dev /mnt / dev
Usage: mount -V                : print version
      mount -h                : print this help
      mount                    : list mounted filesystems
      mount -l                : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
      mount -a [-t|-O] ...    : mount all stuff from /etc/fstab
      mount device            : mount device at the known place
      mount directory          : mount known device here
      mount -t type dev dir    : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
      mount --bind olddir newdir
or move a subtree:
      mount --move olddir newdir
One can change the type of mount containing the directory dir:
      mount --make-shared dir
      mount --make-slave dir
      mount --make-private dir
      mount --make-unbindable dir
One can change the type of all the mounts in a mount subtree
containing the directory dir:
      mount --make-rshared dir
      mount --make-rslave dir
      mount --make-rprivate dir
      mount --make-runbindable dir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using  -L label  or by uuid, using  -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say  man 8 mount .
root@ubuntu:/home/ubuntu# sudo mount --bind /proc /mnt /proc
Usage: mount -V                : print version
      mount -h                : print this help
      mount                    : list mounted filesystems
      mount -l                : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
      mount -a [-t|-O] ...    : mount all stuff from /etc/fstab
      mount device            : mount device at the known place
      mount directory          : mount known device here
      mount -t type dev dir    : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
      mount --bind olddir newdir
or move a subtree:
      mount --move olddir newdir
One can change the type of mount containing the directory dir:
      mount --make-shared dir
      mount --make-slave dir
      mount --make-private dir
      mount --make-unbindable dir
One can change the type of all the mounts in a mount subtree
containing the directory dir:
      mount --make-rshared dir
      mount --make-rslave dir
      mount --make-rprivate dir
      mount --make-runbindable dir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using  -L label  or by uuid, using  -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say  man 8 mount .
root@ubuntu:/home/ubuntu# sudo mount -- bind /sys /mnt /sys
Usage: mount -V                : print version
      mount -h                : print this help
      mount                    : list mounted filesystems
      mount -l                : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
      mount -a [-t|-O] ...    : mount all stuff from /etc/fstab
      mount device            : mount device at the known place
      mount directory          : mount known device here
      mount -t type dev dir    : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
      mount --bind olddir newdir
or move a subtree:
      mount --move olddir newdir
One can change the type of mount containing the directory dir:
      mount --make-shared dir
      mount --make-slave dir
      mount --make-private dir
      mount --make-unbindable dir
One can change the type of all the mounts in a mount subtree
containing the directory dir:
      mount --make-rshared dir
      mount --make-rslave dir
      mount --make-rprivate dir
      mount --make-runbindable dir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using  -L label  or by uuid, using  -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say  man 8 mount .
root@ubuntu:/home/ubuntu# sudo chroot / mnt
chroot: failed to run command `mnt': No such file or direct
patel
Accecante Asceta
Accecante Asceta
Messaggi: 23782
Iscrizione: martedì 15 aprile 2008, 20:27
Località: Livorno

Re: problemi dual boot

Messaggio da patel »

è inutile continuare a dare comandi se il primo dà errore, devi prima capire l'errore, il comando sudo fdisk -l è scritto con la ELLE non con UNO
Un titolo ben azzeccato attira l'attenzione degli esperti in quel campo, fa risparmiare tempo a voi, aumenta la probabilità di successo.
subaru.sti
Prode Principiante
Messaggi: 6
Iscrizione: sabato 19 novembre 2011, 14:04

Re: problemi dual boot

Messaggio da subaru.sti »

grazie  :-[
Carlin0
Rampante Reduce
Rampante Reduce
Messaggi: 7453
Iscrizione: lunedì 2 novembre 2009, 15:29
Desktop: Gnome 2.30.2
Distribuzione: Debian Squeeze
Località: Augusta Taurinorum

Re: problemi dual boot

Messaggio da Carlin0 »

Racchiudi gli output del terminale usando il tag # che trovi sopra le faccine ... rende il post molto più leggibile
subaru.sti
Prode Principiante
Messaggi: 6
Iscrizione: sabato 19 novembre 2011, 14:04

Re: problemi dual boot

Messaggio da subaru.sti »

ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/sda: 249.1 GB, 249108118528 bytes
255 heads, 63 sectors/track, 30285 cylinders, total 486539294 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xffcfffcf

  Device Boot      Start        End      Blocks  Id  System
/dev/sda1  *          63  423601919  211800928+  7  HPFS/NTFS/exFAT
/dev/sda2      423601981  486528524    31463272    f  W95 Ext'd (LBA)
/dev/sda5      423601983  484070579    30234298+  83  Linux
/dev/sda6      484070643  486528524    1228941  82  Linux swap / Solaris

ubuntu@ubuntu:~$ sudo mount / dev / sda5 /mnt
Usage: mount -V                : print version
      mount -h                : print this help
      mount                    : list mounted filesystems
      mount -l                : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
      mount -a [-t|-O] ...    : mount all stuff from /etc/fstab
      mount device            : mount device at the known place
      mount directory          : mount known device here
      mount -t type dev dir    : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
      mount --bind olddir newdir
or move a subtree:
      mount --move olddir newdir
One can change the type of mount containing the directory dir:
      mount --make-shared dir
      mount --make-slave dir
      mount --make-private dir
      mount --make-unbindable dir
One can change the type of all the mounts in a mount subtree
containing the directory dir:
      mount --make-rshared dir
      mount --make-rslave dir
      mount --make-rprivate dir
      mount --make-runbindable dir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using  -L label  or by uuid, using  -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say  man 8 mount .
ubuntu@ubuntu:~$ sudo mount /dev/sda5 /mnt
mount: /dev/sda5 already mounted or /mnt busy
mount: according to mtab, /dev/sda5 is already mounted on /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
/usr/sbin/grub-setup: warn: Sector 32 is already in use by FlexNet; avoiding it.  This software may cause boot or other problems in future.  Please ask its authors not to store data in the boot track.
/usr/sbin/grub-setup: warn: Sector 33 is already in use by FlexNet; avoiding it.  This software may cause boot or other problems in future.  Please ask its authors not to store data in the boot track.
Installation finished. No error reported.

root@ubuntu:/# update-grub2
Generating grub.cfg ...
done

root@ubuntu:/# grub-install --recheck /dev/sda
/usr/sbin/grub-setup: warn: Sector 32 is already in use by FlexNet; avoiding it.  This software may cause boot or other problems in future.  Please ask its authors not to store data in the boot track.
/usr/sbin/grub-setup: warn: Sector 33 is already in use by FlexNet; avoiding it.  This software may cause boot or other problems in future.  Please ask its authors not to store data in the boot track.
Installation finished. No error reported.

adesso provo riavviare e vediamo cosa succede
patel
Accecante Asceta
Accecante Asceta
Messaggi: 23782
Iscrizione: martedì 15 aprile 2008, 20:27
Località: Livorno

Re: [RISOLTO] problemi dual boot

Messaggio da patel »

come già detto, ti devi fermare al primo errore, inoltre devi leggere bene i comandi e non mettere spazi dove pare a te, la cosa migliore è copiarli direttamente dalla guida e incollarli sul terminale
Un titolo ben azzeccato attira l'attenzione degli esperti in quel campo, fa risparmiare tempo a voi, aumenta la probabilità di successo.
subaru.sti
Prode Principiante
Messaggi: 6
Iscrizione: sabato 19 novembre 2011, 14:04

Re: [RISOLTO] problemi dual boot

Messaggio da subaru.sti »

si grazie 1000  per l'aiuto .ubuntu è una bomba altro che winLentoxp  (b2b) (rotfl) (good)
Carlin0
Rampante Reduce
Rampante Reduce
Messaggi: 7453
Iscrizione: lunedì 2 novembre 2009, 15:29
Desktop: Gnome 2.30.2
Distribuzione: Debian Squeeze
Località: Augusta Taurinorum

Re: problemi dual boot

Messaggio da Carlin0 »

Ribadisco il concetto :


Carlin0 ha scritto: Racchiudi gli output del terminale usando il tag # che trovi sopra le faccine ... rende il post molto più leggibile
Avatar utente
gnomo56
Rampante Reduce
Rampante Reduce
Messaggi: 6495
Iscrizione: lunedì 11 dicembre 2006, 19:07
Distribuzione: 13.04
Località: Milano
Contatti:

Re: [RISOLTO] problemi dual boot

Messaggio da gnomo56 »

Scrivi risposta

Ritorna a “Installazione e aggiornamento del sistema operativo”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 8 ospiti