Pagina 1 di 1
come faccio a scegliere con quale hard disk partire?
Inviato: mercoledì 12 novembre 2008, 20:03
da gian_11
Ciaoo a tutti!!..ormai saranno un paio di mesi che uso only UBUNTU (b2b)...va alla grande...l'unica cosa è che nn sono riuscito a installare pes6 uffa!!ora vi spiego..
ho 2 hard disk..uno sata e l'altro normale..su quello sata è installato ubuntu sull'altro Xp...ogni volta x potermi fare una partita a pes6 sono costretto a staccare il sata e mettere l'altro...c'è un modo x poter scegliere??
ho provato a spostare l'ordine nel bios ma nn mi da possibilità di scelta...parte direttamente windows!!che fare?????
Re: come faccio a scegliere con quale hard disk partire?
Inviato: mercoledì 12 novembre 2008, 20:12
da patel
Da Ubuntu, terminale dai i seguenti comandi e posta il risultato
sudo fdisk -l
cat /boot/grub/menu.lst
Re: come faccio a scegliere con quale hard disk partire?
Inviato: mercoledì 12 novembre 2008, 20:17
da psqcld
Ulteriormente, prova a seguire
questa vecchia discussione, potrebbe essere un soluzione.
Re: come faccio a scegliere con quale hard disk partire?
Inviato: domenica 16 novembre 2008, 12:15
da gian_11
ehi ragazzi aiutooo!!..allora ho dato un'occhiata alla vecchia discussione che mi avete consigliato e ho aggiunto dopo la riga ### END DEBIAN AUTOMAGIC KERNELS LIST le seguenti righe
Codice:
title OS Microsoft Windows
rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
makeactive
chainloader +1
boot
solo che non succede veramente nulla! attacco i due hard disk sia il sata che l'altro e ogni volta mi parte quello normale con windows!!
non è che me ne intendo tanto...quindi nn so dove mettere le mani ::) ho provato anche a mettere l'hard disk con windows su slave ma il pc nn riconosce nessun primary master..che fare?
dando il comando da terminale sudo fdisk -l mi da questo:
Disco /dev/sda: 500.1 GB, 500107862016 byte
255 heads, 63 sectors/track, 60801 cylinders
Units = cilindri of 16065 * 512 = 8225280 bytes
Disk identifier: 0x29f729f6
Dispositivo Boot Start End Blocks Id System
/dev/sda1 * 1 60234 483829573+ 83 Linux
/dev/sda2 60235 60374 1124550 5 Esteso
/dev/sda5 60235 60374 1124518+ 82 Linux swap / Solaris
spero che possa essere d'aiuto
Re: come faccio a scegliere con quale hard disk partire?
Inviato: domenica 16 novembre 2008, 14:06
da patel
Non hai copiato tutto il risultato di fdisk, sembra che tu abbia un disco soltanto.
Re: come faccio a scegliere con quale hard disk partire?
Inviato: domenica 16 novembre 2008, 15:15
da gian_11
forse è proprio questo il problema..ossia una volta che sono partito con ubuntu attacco l'altro disco ..ma quando faccio fdisk me ne rileva cmq uno solo! se riavvio con tutti e due parte solo windows! il disco sata è attaccato sulla prima porta sata(ho due porte)..e credo nn si possa scegliere se mettere in master o in slave ::)(sul disco sata nn ho il jumper che si sposta) ???
Re: come faccio a scegliere con quale hard disk partire?
Inviato: domenica 16 novembre 2008, 15:24
da patel
Lo attacchi a computer acceso ? non so se gli fa bene, per forza non te lo riconosce. Allora con tutti e due i dischi collegati avvia il pc dal cd live di Ubuntu, terminale:
sudo grub
find /boot/grub/menu.lst ti da un risultato tipo (hdX,Y) che tu ricopi sotto
root (hdX,Y)
setup (hd0)
quit
in questo modo sovrascrivi il mbr del disco di avvio col grub
Re: come faccio a scegliere con quale hard disk partire?
Inviato: domenica 16 novembre 2008, 16:33
da gian_11
ho fatto partire il pc dal cd..ma il cd che ho io nn ti permette di provare la versione parte direntamente con installa. Forse è una domanda stupida..ho il cd live di opengeu se faccio l'operazione dal terminale di opengeu che cambia?
Re: come faccio a scegliere con quale hard disk partire?
Inviato: domenica 16 novembre 2008, 18:08
da patel
non cambia niente, è comunque un sistema linux.
Re: come faccio a scegliere con quale hard disk partire?
Inviato: domenica 16 novembre 2008, 20:07
da gian_11
ok!allora ho fatto tutto , riparto normalmente, mi da la possibilità di scegliere, ma sia se scelgo ubuntu sia se scelgo windows mi da errore..nel primo caso errore 17 nel secondo errore 13!..ora però è sorto un'altro problema..non mi fa partire x niente windows anche se stacco ubuntu!!che faccio??

Re: come faccio a scegliere con quale hard disk partire?
Inviato: domenica 16 novembre 2008, 20:13
da patel
sempre con il cd live ridai il comando sudo fdisk -l e postalo, poi con nautilus vai nel disco di ubuntu cerca il file /boot/grub/menu.lst e posta il contenuto. In alternativa puoi scaricare Super grub disk che ci pensa lui.
Re: come faccio a scegliere con quale hard disk partire?
Inviato: domenica 16 novembre 2008, 23:39
da gian_11
sto sul cd live..intanto posto il risultato al comando :
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xcc56cc56
Device Boot Start End Blocks Id System
/dev/sda1 * 1 14945 120045681 7 HPFS/NTFS
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x29f729f6
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 60234 483829573+ 83 Linux
/dev/sdb2 60235 60374 1124550 5 Extended
/dev/sdb5 60235 60374 1124518+ 82 Linux swap / Solaris
Re: come faccio a scegliere con quale hard disk partire?
Inviato: domenica 16 novembre 2008, 23:56
da gian_11
questo invece è il contenuto di menu.lst
# 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 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 3
## 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=c1f7b54b-15a3-4335-b82d-7ef904c71e3d ro
## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)
## 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.04.1, kernel 2.6.24-21-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-21-generic root=UUID=c1f7b54b-15a3-4335-b82d-7ef904c71e3d ro quiet splash
initrd /boot/initrd.img-2.6.24-21-generic
quiet
title Ubuntu 8.04.1, kernel 2.6.24-21-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-21-generic root=UUID=c1f7b54b-15a3-4335-b82d-7ef904c71e3d ro single
initrd /boot/initrd.img-2.6.24-21-generic
title Ubuntu 8.04.1, kernel 2.6.24-19-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=c1f7b54b-15a3-4335-b82d-7ef904c71e3d ro quiet splash
initrd /boot/initrd.img-2.6.24-19-generic
quiet
title Ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=c1f7b54b-15a3-4335-b82d-7ef904c71e3d ro single
initrd /boot/initrd.img-2.6.24-19-generic
title Ubuntu 8.04.1, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
title OS Microsoft Windows
rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
makeactive
chainloader +1
boot
Re: come faccio a scegliere con quale hard disk partire?
Inviato: lunedì 17 novembre 2008, 6:06
da patel
Devi modificare il menu.lst in questo modo:
title Ubuntu 8.04.1, kernel 2.6.24-21-generic
root (hd1,0)
kernel /boot/vmlinuz-2.6.24-21-generic root=UUID=c1f7b54b-15a3-4335-b82d-7ef904c71e3d ro quiet splash
initrd /boot/initrd.img-2.6.24-21-generic
quiet
title OS Microsoft Windows
rootnoverify (hd0,0)
#map (hd0) (hd1)
#map (hd1) (hd0)
makeactive
chainloader +1
boot
Re: come faccio a scegliere con quale hard disk partire?
Inviato: lunedì 17 novembre 2008, 23:30
da gian_11
ehii grandeeee!!! ho fatto come hai detto e adesso vaa!! scusa se ti ho fatto perdere un po di tempo...ma devo ancora imparare mooolte cose su ubuntu!!!:D:D Grazieeee dell'aiuto!!
Re: come faccio a scegliere con quale hard disk partire?
Inviato: martedì 18 novembre 2008, 8:13
da patel
(b2b)
metti risolto nel titolo del primo post