[Risolto] [Boot] 2 hard disk: ide1con Ubuntu * ide2 con XP....Come/Cosa fare x poter scegliere ?
- claudio29751
- Prode Principiante
- Messaggi: 37
- Iscrizione: sabato 1 marzo 2008, 19:21
[Risolto] [Boot] 2 hard disk: ide1con Ubuntu * ide2 con XP....Come/Cosa fare x poter scegliere ?
Salve :( spero ke questo problema non sia nuovo ai molti nel forum e risolto. Bene.......
Se dal Bios come primo OS che parte al boot metto Ubuntu o XP..... non c'e/fa nessun problema,
parte quello ke io ho messo nel Bios per primo. Ora il mio problema (se si puo chiamare cosi) è :
Non esiste un Progamma o settaggio nel Pc in modo ke non devo sempre ........Terminare poi Spengere
Riaccendere,+Canc per entrare nel Bios x poi cambiare e mettere il Primo hard-disk con il OS che voglio
usare? ................andando a fare anche una ricerca su Google mi sembra di capire ke andare a mettere
le mani nel BOOT.ini di xp non e buona cosa dato che se non si sa quello che si fa si combina dei guai e
solo +e+ casini di cui poi e difficile venirne a capo..io non sono un gran che con il Computer .
1000grazie a tutti del Forum. ciao Claudio T.
Se dal Bios come primo OS che parte al boot metto Ubuntu o XP..... non c'e/fa nessun problema,
parte quello ke io ho messo nel Bios per primo. Ora il mio problema (se si puo chiamare cosi) è :
Non esiste un Progamma o settaggio nel Pc in modo ke non devo sempre ........Terminare poi Spengere
Riaccendere,+Canc per entrare nel Bios x poi cambiare e mettere il Primo hard-disk con il OS che voglio
usare? ................andando a fare anche una ricerca su Google mi sembra di capire ke andare a mettere
le mani nel BOOT.ini di xp non e buona cosa dato che se non si sa quello che si fa si combina dei guai e
solo +e+ casini di cui poi e difficile venirne a capo..io non sono un gran che con il Computer .
1000grazie a tutti del Forum. ciao Claudio T.
Ultima modifica di claudio29751 il sabato 23 agosto 2008, 11:34, modificato 1 volta in totale.
- smandrake
- Prode Principiante
- Messaggi: 130
- Iscrizione: venerdì 14 marzo 2008, 15:22
- Località: Veneto
- Contatti:
Re: [Boot] 2 hard disk: ide1con Ubuntu * ide2 con XP....Come/Cosa fare x poter scegliere ?
Non mi è chiara la cosa.... Non hai messo GRUB?
Linux user # 477979, Linux Machine # 407344.
- claudio29751
- Prode Principiante
- Messaggi: 37
- Iscrizione: sabato 1 marzo 2008, 19:21
[Boot] Re: [Boot] 2 hard disk: ide1con Ubuntu * ide2 con XP....Come/Cosa fare x poter scegliere ?
Grazie smandrake x rispondere 
se ho messo il GRUB?????...........sono andato a vedere dentro il gestore dei pacchetti Synaptic:
........................c'e grub con la versione 0,97-29ubuntu21 e per stare + sicuro ho rinstallato
il tutto..............Ora dove devo andare a controllare o c'e qualcosa da settare?.......devo mettere
il OS Ubuntu come primo HDD ke parte? Puoi diciamo cosi mandarmi avanti con quello ke si deve
fare in seguito o controllare che sia installato bene! ??? 1000grazie
ciao Claudio T.
se ho messo il GRUB?????...........sono andato a vedere dentro il gestore dei pacchetti Synaptic:
........................c'e grub con la versione 0,97-29ubuntu21 e per stare + sicuro ho rinstallato
il tutto..............Ora dove devo andare a controllare o c'e qualcosa da settare?.......devo mettere
il OS Ubuntu come primo HDD ke parte? Puoi diciamo cosi mandarmi avanti con quello ke si deve
fare in seguito o controllare che sia installato bene! ??? 1000grazie
- smandrake
- Prode Principiante
- Messaggi: 130
- Iscrizione: venerdì 14 marzo 2008, 15:22
- Località: Veneto
- Contatti:
Re: [Boot] 2 hard disk: ide1con Ubuntu * ide2 con XP....Come/Cosa fare x poter scegliere ?
Ma vedi per caso la schermata di GRUB all'avvio? Da quel che ho capito ti tocca andare a settare dal bios, scrivi più chiaramente che così non capisco un cavolo...
Comunque facendo
Dovresti riuscire ad (re)installare GRUB sull'MBR, che dovrebbe trovare windows e tutto il resto.
Consiglierei dal bios di lasciare come era messo prima che installassi linux, sarei curioso prima che facci quelle due operazioni sopra cosa ti dice nel menu che hai lì..
EDIT: Per caso hai messo Windows ed Ubuntu in due hard disks diversi?
Comunque facendo
Codice: Seleziona tutto
sudo grub-install
sudo update-grubConsiglierei dal bios di lasciare come era messo prima che installassi linux, sarei curioso prima che facci quelle due operazioni sopra cosa ti dice nel menu che hai lì..
EDIT: Per caso hai messo Windows ed Ubuntu in due hard disks diversi?
Ultima modifica di smandrake il domenica 17 agosto 2008, 23:21, modificato 1 volta in totale.
Linux user # 477979, Linux Machine # 407344.
- claudio29751
- Prode Principiante
- Messaggi: 37
- Iscrizione: sabato 1 marzo 2008, 19:21
[Boot] Re: [Boot] 2 hard disk: ide1con Ubuntu * ide2 con XP....Come/Cosa fare x poter scegliere ?
Ciao smandrake questo e' quello ke mi riporta :
root@claudio-desktop:/home/claudio# sudo grub-install
install_device not specified.
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.
Questo x quanto riguarda il 2
root@claudio-desktop:/home/claudio# 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.24-19-generic
Found kernel: /boot/vmlinuz-2.6.24-16-generic
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done
Questo e quanto riporta no i 2 comandi ke tu mi hai richiesto...........
root@claudio-desktop:/home/claudio# sudo grub-install
install_device not specified.
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.
Questo x quanto riguarda il 2
root@claudio-desktop:/home/claudio# 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.24-19-generic
Found kernel: /boot/vmlinuz-2.6.24-16-generic
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done
Questo e quanto riporta no i 2 comandi ke tu mi hai richiesto...........
- claudio29751
- Prode Principiante
- Messaggi: 37
- Iscrizione: sabato 1 marzo 2008, 19:21
[Boot] Re: [Boot] 2 hard disk: ide1con Ubuntu * ide2 con XP....Come/Cosa fare x poter scegliere ?
Scusami ...... ???.....ma dopo ho notato che mi chiedi se i due Sistemi Operativi (Ubuntu e XP)
sono stati installati in due(2) hard-disks separati : SI (yes)
Grazie .ciao Claudio T.
sono stati installati in due(2) hard-disks separati : SI (yes)
Grazie .ciao Claudio T.
- smandrake
- Prode Principiante
- Messaggi: 130
- Iscrizione: venerdì 14 marzo 2008, 15:22
- Località: Veneto
- Contatti:
Re: [Boot] 2 hard disk: ide1con Ubuntu * ide2 con XP....Come/Cosa fare x poter scegliere ?
Allora devi editare il file menu.lst, che contiene i sistemi operativi da bootare, ma prima fai un backup:
Quindi
Alla fine aggiungi
Non dimenticarti di lasciare un invio alla fine, così che ci sia una riga vuota alla fine del file.
A quel punto dovresti essere riuscito ad inserire windows in mezzo alla lista dei sistemi eseguibili.
Ti consiglio di guardare sul wiki per dubbi e curiosità
.
Codice: Seleziona tutto
sudo cp /boot/grub/menu.lst /boot/grub/menu.lst.old
Codice: Seleziona tutto
sudo gedit /boot/grub/menu.lstCodice: Seleziona tutto
title Windows
root (hd1,0)
savedefault
makeactive
chainloader +1
A quel punto dovresti essere riuscito ad inserire windows in mezzo alla lista dei sistemi eseguibili.
Ti consiglio di guardare sul wiki per dubbi e curiosità
Ultima modifica di smandrake il lunedì 18 agosto 2008, 9:40, modificato 1 volta in totale.
Linux user # 477979, Linux Machine # 407344.
- claudio29751
- Prode Principiante
- Messaggi: 37
- Iscrizione: sabato 1 marzo 2008, 19:21
[Boot] Re: [Boot] 2 hard disk: ide1con Ubuntu * ide2 con XP....Come/Cosa fare x poter scegliere ?
Grazie delle info che mi dai (good) io sono lento (z) quando si tratta di Tech ......ma andando piano e +la calma di sicuro ne verro a capo .....(a proposito quando dici :editare in ubuntu è usare il Terminale?......
in Windows è Esegui .....è cosi vero?
1000grazie x il tuo AIUTO ........ti faro sapere in seguito come va' .ciao Claudio T.
dammi tempo
in Windows è Esegui .....è cosi vero?
1000grazie x il tuo AIUTO ........ti faro sapere in seguito come va' .ciao Claudio T.
-
VeonIlongamor
- Entusiasta Emergente

- Messaggi: 1067
- Iscrizione: mercoledì 30 aprile 2008, 12:18
Re: [Boot] 2 hard disk: ide1con Ubuntu * ide2 con XP....Come/Cosa fare x poter scegliere ?
Vorrei vedere il tuo file /boot/grub/menu.lst
Vai su Risorse->Computer->File system->boot->grub apri il file menu.lst e copia-incolla il contenuto qui (usando il tag code #)
Forse hai installato prima Ubuntu e dopo Windows? Se invece hai installato prima Windows e dopo Ubuntu non dovresti avere problemi, anche nel caso di due dischi diversi. Ricordo che, tempo fa, anche io avevo due dischi diversi, ma comunque avevo il menù al boot per poter scegliere.
Vai su Risorse->Computer->File system->boot->grub apri il file menu.lst e copia-incolla il contenuto qui (usando il tag code #)
Forse hai installato prima Ubuntu e dopo Windows? Se invece hai installato prima Windows e dopo Ubuntu non dovresti avere problemi, anche nel caso di due dischi diversi. Ricordo che, tempo fa, anche io avevo due dischi diversi, ma comunque avevo il menù al boot per poter scegliere.
- claudio29751
- Prode Principiante
- Messaggi: 37
- Iscrizione: sabato 1 marzo 2008, 19:21
[Boot] Re: [Boot] 2 hard disk: ide1con Ubuntu * ide2 con XP....Come/Cosa fare x poter scegliere ?
# 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=816d3315-602d-42d1-98a7-ec510de48284 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-19-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=816d3315-602d-42d1-98a7-ec510de48284 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=816d3315-602d-42d1-98a7-ec510de48284 ro single
initrd /boot/initrd.img-2.6.24-19-generic
title Ubuntu 8.04.1, kernel 2.6.24-16-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=816d3315-602d-42d1-98a7-ec510de48284 ro quiet splash
initrd /boot/initrd.img-2.6.24-16-generic
quiet
title Ubuntu 8.04.1, kernel 2.6.24-16-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=816d3315-602d-42d1-98a7-ec510de48284 ro single
initrd /boot/initrd.img-2.6.24-16-generic
title Ubuntu 8.04.1, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST Ciao grazie x l'aiuto VeonIlongamor ma ...(usando il tag code #) ke mi chiedi mi vedo in un labirinto cosi ho copiato e incollato quello ke mi chiedevi .E cosi! lo so
forse ci sono cose ke magari nn servono Grazie1000 ciao Claudio T.
# 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=816d3315-602d-42d1-98a7-ec510de48284 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-19-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=816d3315-602d-42d1-98a7-ec510de48284 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=816d3315-602d-42d1-98a7-ec510de48284 ro single
initrd /boot/initrd.img-2.6.24-19-generic
title Ubuntu 8.04.1, kernel 2.6.24-16-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=816d3315-602d-42d1-98a7-ec510de48284 ro quiet splash
initrd /boot/initrd.img-2.6.24-16-generic
quiet
title Ubuntu 8.04.1, kernel 2.6.24-16-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=816d3315-602d-42d1-98a7-ec510de48284 ro single
initrd /boot/initrd.img-2.6.24-16-generic
title Ubuntu 8.04.1, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST Ciao grazie x l'aiuto VeonIlongamor ma ...(usando il tag code #) ke mi chiedi mi vedo in un labirinto cosi ho copiato e incollato quello ke mi chiedevi .E cosi! lo so
forse ci sono cose ke magari nn servono Grazie1000 ciao Claudio T.
- smandrake
- Prode Principiante
- Messaggi: 130
- Iscrizione: venerdì 14 marzo 2008, 15:22
- Località: Veneto
- Contatti:
Re: [Boot] 2 hard disk: ide1con Ubuntu * ide2 con XP....Come/Cosa fare x poter scegliere ?
A me sembra proprio che manchi windows :O...
Consiglio di aggiungere in fondo le righe che ho scritto sopra, magari aggiungere un # dietro a hiddenmenu, così che venga scritto #hiddenmenu, così ti appare il menù, aumentare il timeout da 3 a 10, o 20, così hai più tempo per scegliere cosa bootare, e basta.
Anzi qua ti copio come il file dovrebbe essere per fare andare tutto:
Consiglio di aggiungere in fondo le righe che ho scritto sopra, magari aggiungere un # dietro a hiddenmenu, così che venga scritto #hiddenmenu, così ti appare il menù, aumentare il timeout da 3 a 10, o 20, così hai più tempo per scegliere cosa bootare, e basta.
Anzi qua ti copio come il file dovrebbe essere per fare andare tutto:
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-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 10
## 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=816d3315-602d-42d1-98a7-ec510de48284 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-19-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=816d3315-602d-42d1-98a7-ec510de48284 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=816d3315-602d-42d1-98a7-ec510de48284 ro single
initrd /boot/initrd.img-2.6.24-19-generic
title Ubuntu 8.04.1, kernel 2.6.24-16-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=816d3315-602d-42d1-98a7-ec510de48284 ro quiet splash
initrd /boot/initrd.img-2.6.24-16-generic
quiet
title Ubuntu 8.04.1, kernel 2.6.24-16-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=816d3315-602d-42d1-98a7-ec510de48284 ro single
initrd /boot/initrd.img-2.6.24-16-generic
title Ubuntu 8.04.1, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
title Windows
root (hd1,0)
savedefault
makeactive
chainloader +1
Linux user # 477979, Linux Machine # 407344.
Re: [Boot] 2 hard disk: ide1con Ubuntu * ide2 con XP....Come/Cosa fare x poter scegliere ?
corretto ma siccome windows è nel disco hd1 bisogna aggiungere 2 map.smandrake ha scritto: A me sembra proprio che manchi windows :O...
Consiglio di aggiungere in fondo le righe che ho scritto sopra, magari aggiungere un # dietro a hiddenmenu, così che venga scritto #hiddenmenu, così ti appare il menù, aumentare il timeout da 3 a 10, o 20, così hai più tempo per scegliere cosa bootare, e basta.
Anzi qua ti copio come il file dovrebbe essere per fare andare tutto:
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-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 10 ## 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=816d3315-602d-42d1-98a7-ec510de48284 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-19-generic root (hd0,0) kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=816d3315-602d-42d1-98a7-ec510de48284 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=816d3315-602d-42d1-98a7-ec510de48284 ro single initrd /boot/initrd.img-2.6.24-19-generic title Ubuntu 8.04.1, kernel 2.6.24-16-generic root (hd0,0) kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=816d3315-602d-42d1-98a7-ec510de48284 ro quiet splash initrd /boot/initrd.img-2.6.24-16-generic quiet title Ubuntu 8.04.1, kernel 2.6.24-16-generic (recovery mode) root (hd0,0) kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=816d3315-602d-42d1-98a7-ec510de48284 ro single initrd /boot/initrd.img-2.6.24-16-generic title Ubuntu 8.04.1, memtest86+ root (hd0,0) kernel /boot/memtest86+.bin quiet ### END DEBIAN AUTOMAGIC KERNELS LIST title Windows root (hd1,0) savedefault makeactive chainloader +1
Dopo la riga
### END DEBIAN AUTOMAGIC KERNELS LIST metti così:
Codice: Seleziona tutto
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sdb1
title Microsoft Windows XP Professional
root (hd1,0)
savedefault
makeactive
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
-
VeonIlongamor
- Entusiasta Emergente

- Messaggi: 1067
- Iscrizione: mercoledì 30 aprile 2008, 12:18
Re: [Boot] 2 hard disk: ide1con Ubuntu * ide2 con XP....Come/Cosa fare x poter scegliere ?
Esatto smandrake :) proprio quello che volevo dire io.
Aggiungo che per visualizzare all'avvio il menù di boot che ti faccia scegliere il sistema da caricare, dovresti mettere nel bios l'hd con ubuntu, se non sbaglio. Prova se poi non esce nessun menù, metti l'altro hd e vedrai che lo trovi (yes)
Quella di map non la sapevo.
Aggiungo che per visualizzare all'avvio il menù di boot che ti faccia scegliere il sistema da caricare, dovresti mettere nel bios l'hd con ubuntu, se non sbaglio. Prova se poi non esce nessun menù, metti l'altro hd e vedrai che lo trovi (yes)
Quella di map non la sapevo.
Ultima modifica di VeonIlongamor il lunedì 18 agosto 2008, 13:54, modificato 1 volta in totale.
- smandrake
- Prode Principiante
- Messaggi: 130
- Iscrizione: venerdì 14 marzo 2008, 15:22
- Località: Veneto
- Contatti:
Re: [Boot] 2 hard disk: ide1con Ubuntu * ide2 con XP....Come/Cosa fare x poter scegliere ?
Scusa non lo sapevo :-[telperion ha scritto:corretto ma siccome windows è nel disco hd1 bisogna aggiungere 2 map.smandrake ha scritto: A me sembra proprio che manchi windows :O...
Consiglio di [...]
Dopo la riga
### END DEBIAN AUTOMAGIC KERNELS LIST metti così:
Codice: Seleziona tutto
# This entry automatically added by the Debian installer for a non-linux OS # on /dev/sdb1 title Microsoft Windows XP Professional root (hd1,0) savedefault makeactive map (hd0) (hd1) map (hd1) (hd0) chainloader +1
Linux user # 477979, Linux Machine # 407344.
- claudio29751
- Prode Principiante
- Messaggi: 37
- Iscrizione: sabato 1 marzo 2008, 19:21
[Boot] Re: [Boot] 2 hard disk: ide1con Ubuntu * ide2 con XP....Come/Cosa fare x poter scegliere ?
...........un momento ragazzi ???
voi ke smanettate e rivoltate il pc come vi pare ..........VI INVIDIO !
ma per me con l'assalto del DUBBIO di fare qualcosa di IRREPARABILE mi strizza tutto la parte di
liquidi ke sono in noi (rotfl) divento secco dalla paura!!
Cioè devo riaprire ...#menu.lst ...etc,etc che ho postato sopra e solo aggiungere :
Dopo la riga
### END DEBIAN AUTOMAGIC KERNELS LIST metti così:
Codice:
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sdb1
title Microsoft Windows XP Professional
root (hd1,0)
savedefault
makeactive
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
Come smandrake scrive nel suo ultimo post?.............
Ho capito bene! Grazie del vostro aiuto e pazienza soprattutto ciao Claudio T. (good)
voi ke smanettate e rivoltate il pc come vi pare ..........VI INVIDIO !
ma per me con l'assalto del DUBBIO di fare qualcosa di IRREPARABILE mi strizza tutto la parte di
liquidi ke sono in noi (rotfl) divento secco dalla paura!!
Cioè devo riaprire ...#menu.lst ...etc,etc che ho postato sopra e solo aggiungere :
Dopo la riga
### END DEBIAN AUTOMAGIC KERNELS LIST metti così:
Codice:
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sdb1
title Microsoft Windows XP Professional
root (hd1,0)
savedefault
makeactive
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
Come smandrake scrive nel suo ultimo post?.............
Ho capito bene! Grazie del vostro aiuto e pazienza soprattutto ciao Claudio T. (good)
Re: [Boot] Re: [Boot] 2 hard disk: ide1con Ubuntu * ide2 con XP....Come/Cosa fare x poter scegliere
claudio29751 ha scritto: ...........un momento ragazzi ???
voi ke smanettate e rivoltate il pc come vi pare ..........VI INVIDIO !
ma per me con l'assalto del DUBBIO di fare qualcosa di IRREPARABILE mi strizza tutto la parte di
liquidi ke sono in noi (rotfl) divento secco dalla paura!!
Cioè devo riaprire ...#menu.lst ...etc,etc che ho postato sopra e solo aggiungere :
Dopo la riga
### END DEBIAN AUTOMAGIC KERNELS LIST metti così:
Codice:
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sdb1
title Microsoft Windows XP Professional
root (hd1,0)
savedefault
makeactive
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
Come smandrake scrive nel suo ultimo post?.............
Ho capito bene! Grazie del vostro aiuto e pazienza soprattutto ciao Claudio T. (good)
se vuoi usare il tuo fai
Codice: Seleziona tutto
sudo gedit /boot/grub/menu.lstCodice: Seleziona tutto
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 3Codice: Seleziona tutto
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 12Codice: Seleziona tutto
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
hiddenmenuCodice: Seleziona tutto
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu### END DEBIAN AUTOMAGIC KERNELS LIST
aggiungi il blocco per far partire windows:
Codice: Seleziona tutto
### END DEBIAN AUTOMAGIC KERNELS LIST
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sdb1
title Microsoft Windows XP Professional
root (hd1,0)
savedefault
makeactive
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
- claudio29751
- Prode Principiante
- Messaggi: 37
- Iscrizione: sabato 1 marzo 2008, 19:21
[Risolto] Re: [Boot] 2 hard disk: ide1con Ubuntu * ide2 con XP....Come/Cosa fare x poter scegliere
(b2b)
.................Ragazzi ! GRAZIE a VOI ho risolto il problema (mad) .
dico la verita! ...........sudavo tanto quando seguivo alla lettera ciò ke aveva scritto!... telperion
alla prima prova nel salvare mi ha vietato di farlo! poi armato di santa pazienza.......2 prova
è andato NO! bene............ ma BENISSIMO!!!!!!! accettando i cambiamenti era il primo passo.
Quando ho spento e riavviato il computer . .......lì nell'ultima riga è apparso Windows XP dopo i
Kernel di Ubuntu e ho evidenziato xp ... (yes) (yes) è andato tranquillo allo schermo aprendosi!
SIETE dei FENOMENI !!!.... smandrake,VeonIlongamor e tu Prof. telperion con il tuo ultimo post
Chiaro e limpido ke un ragazzino pure sarebbe stato capace di seguire, grazie1000.
Vorrei tanto ridare ad altri almeno una piccola parte dell'aiuto ke mi è stato dato da voi e nn solo
ma non sono cosi bravo e sicuro specialmente nel dare soluzioni certe ad altri.
Comunque se dentro il forum di Ubuntu c'è gente come voi ........io sono uno di più e ultimo.
certo di non far fare danni ad altri nel pretendere di SAPERE .
Ancora grazie a tutti .ciao Claudio T. (good)
.................Ragazzi ! GRAZIE a VOI ho risolto il problema (mad) .
dico la verita! ...........sudavo tanto quando seguivo alla lettera ciò ke aveva scritto!... telperion
alla prima prova nel salvare mi ha vietato di farlo! poi armato di santa pazienza.......2 prova
è andato NO! bene............ ma BENISSIMO!!!!!!! accettando i cambiamenti era il primo passo.
Quando ho spento e riavviato il computer . .......lì nell'ultima riga è apparso Windows XP dopo i
Kernel di Ubuntu e ho evidenziato xp ... (yes) (yes) è andato tranquillo allo schermo aprendosi!
SIETE dei FENOMENI !!!.... smandrake,VeonIlongamor e tu Prof. telperion con il tuo ultimo post
Chiaro e limpido ke un ragazzino pure sarebbe stato capace di seguire, grazie1000.
Vorrei tanto ridare ad altri almeno una piccola parte dell'aiuto ke mi è stato dato da voi e nn solo
ma non sono cosi bravo e sicuro specialmente nel dare soluzioni certe ad altri.
Comunque se dentro il forum di Ubuntu c'è gente come voi ........io sono uno di più e ultimo.
certo di non far fare danni ad altri nel pretendere di SAPERE .
Ancora grazie a tutti .ciao Claudio T. (good)
Chi c’è in linea
Visualizzano questa sezione: 0 utenti iscritti e 8 ospiti
