Pagina 1 di 1
[RISOLTO] problemi dual boot
Inviato: sabato 19 novembre 2011, 15:28
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

Re: problemi dual boot
Inviato: sabato 19 novembre 2011, 15:38
da gnomo56
Riesci ad usare ubuntu in modalità live da cd (senza dare installa)?
Re: problemi dual boot
Inviato: sabato 19 novembre 2011, 15:44
da subaru.sti
si .adesso sn in modalità live
Re: problemi dual boot
Inviato: sabato 19 novembre 2011, 15:45
da Carlin0
Ciao
Ripristina il grub
AmministrazioneSistema/Grub/Ripristino ed evita partition magic che è pessimo ...
Re: problemi dual boot
Inviato: sabato 19 novembre 2011, 15:50
da gnomo56
Se sei alle prime armi prova ad usare supergrub
http://www.supergrubdisk.org/
Re: problemi dual boot
Inviato: sabato 19 novembre 2011, 15:56
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
Re: problemi dual boot
Inviato: sabato 19 novembre 2011, 16:00
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
Re: problemi dual boot
Inviato: sabato 19 novembre 2011, 16:03
da subaru.sti
grazie :-[
Re: problemi dual boot
Inviato: sabato 19 novembre 2011, 16:05
da Carlin0
Racchiudi gli output del terminale usando il tag # che trovi sopra le faccine ... rende il post molto più leggibile
Re: problemi dual boot
Inviato: sabato 19 novembre 2011, 16:19
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
Re: [RISOLTO] problemi dual boot
Inviato: sabato 19 novembre 2011, 16:34
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
Re: [RISOLTO] problemi dual boot
Inviato: sabato 19 novembre 2011, 16:36
da subaru.sti
si grazie 1000 per l'aiuto .ubuntu è una bomba altro che winLentoxp (b2b) (rotfl) (good)
Re: problemi dual boot
Inviato: sabato 19 novembre 2011, 16:40
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
Re: [RISOLTO] problemi dual boot
Inviato: sabato 19 novembre 2011, 19:24
da gnomo56