[Risolto] GParted

Installazione, configurazione e uso di programmi e strumenti.
Avatar utente
magoo69
Prode Principiante
Messaggi: 148
Iscrizione: martedì 8 luglio 2008, 22:19
Località: Fermo

Re: GParted

Messaggio da magoo69 »

così??

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		6

## 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=c184a870-f82c-4a29-b0df-c2601cfb1dde 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 vga=799

## 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=c184a870-f82c-4a29-b0df-c2601cfb1dde 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=c184a870-f82c-4a29-b0df-c2601cfb1dde 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=c184a870-f82c-4a29-b0df-c2601cfb1dde 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=c184a870-f82c-4a29-b0df-c2601cfb1dde ro single
initrd		/boot/initrd.img-2.6.24-19-generic

title		Ubuntu 8.04.1, memtest86+
root		(hd0,0)
kernel		/boot/memtest86+.bin
title		Microsoft Windows XP Professional
root		(hd0,0)
makeactive  
chainloader	+1
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
Avatar utente
Mozo
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2974
Iscrizione: giovedì 9 marzo 2006, 10:43
Desktop: mate
Distribuzione: Ubuntu Mate 22.04.3 LTS
Località: On The Air

Re: GParted

Messaggio da Mozo »

NO!

Essendo che ubuntu è su (hd0,0) probabilmente xp sarà su (hd0,1)
Aggiungi in coda a tutto, nel menù.lst, (per intenderci dopo la riga "### END DEBIAN AUTOMAGIC KERNELS LIST").
title Windows Xp (oppure il nome che vuoi tu)
root (hd0,1)
makeactive
chainloader +1
Avatar utente
bancaldo
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2585
Iscrizione: mercoledì 18 aprile 2007, 15:13
Località: Bologna
Contatti:

Re: GParted

Messaggio da bancaldo »

magoo69 ha scritto: così??

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		6

## 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=c184a870-f82c-4a29-b0df-c2601cfb1dde 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 vga=799

## 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=c184a870-f82c-4a29-b0df-c2601cfb1dde 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=c184a870-f82c-4a29-b0df-c2601cfb1dde 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=c184a870-f82c-4a29-b0df-c2601cfb1dde 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=c184a870-f82c-4a29-b0df-c2601cfb1dde ro single
initrd		/boot/initrd.img-2.6.24-19-generic

title		Ubuntu 8.04.1, memtest86+
root		(hd0,0)
kernel		/boot/memtest86+.bin
title		Microsoft Windows XP Professional
root		(hd0,0)
makeactive  
chainloader	+1
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
attento a non fare del casino

il quiet è relativo al
title Ubuntu 8.04.1, memtest86+


deve essere così:

Codice: Seleziona tutto

title		Ubuntu 8.04.1, memtest86+
root		(hd0,0)
kernel		/boot/memtest86+.bin
quiet

title		Windows 95/98/NT/2000
root		(hd0,x)
makeactive
chainloader	+1
per la X di (hd0,x)

dài un

Codice: Seleziona tutto

sudo fdisk -l 
e postalo
triplete!..."non vinciamo mai"...grazie Mou
Ubuntu User #27170  Linux User #489389
Avatar utente
magoo69
Prode Principiante
Messaggi: 148
Iscrizione: martedì 8 luglio 2008, 22:19
Località: Fermo

Re: GParted

Messaggio da magoo69 »

Codice: Seleziona tutto

Disco /dev/sda: 160.0 GB, 160041885696 byte
255 heads, 63 sectors/track, 19457 cylinders
Units = cilindri of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0deb0deb

Dispositivo Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1       11473    92156841   83  Linux
/dev/sda2           11474       19269    62621370    7  HPFS/NTFS
/dev/sda3           19270       19457     1510110    5  Esteso
/dev/sda5           19270       19457     1510078+  82  Linux swap / Solaris
Avatar utente
bancaldo
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2585
Iscrizione: mercoledì 18 aprile 2007, 15:13
Località: Bologna
Contatti:

Re: GParted

Messaggio da bancaldo »

magoo69 ha scritto:

Codice: Seleziona tutto

Disco /dev/sda: 160.0 GB, 160041885696 byte
255 heads, 63 sectors/track, 19457 cylinders
Units = cilindri of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0deb0deb

Dispositivo Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1       11473    92156841   83  Linux
/dev/sda2           11474       19269    62621370    7  HPFS/NTFS
/dev/sda3           19270       19457     1510110    5  Esteso
/dev/sda5           19270       19457     1510078+  82  Linux swap / Solaris
allora (hd0,1)
triplete!..."non vinciamo mai"...grazie Mou
Ubuntu User #27170  Linux User #489389
Avatar utente
magoo69
Prode Principiante
Messaggi: 148
Iscrizione: martedì 8 luglio 2008, 22:19
Località: Fermo

Re: GParted

Messaggio da magoo69 »

allora. fatto tutto e riavviato. al primo riavvio mi ha dato grub e mi ha fatto scegliere anche xp. L'ho avviato e tutto ok. Quando però ho nuovamente riavviato...va direttamente su xp senza passare da grub  :-\
Avatar utente
369
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 3452
Iscrizione: giovedì 5 luglio 2007, 15:02
Località: Napoli
Contatti:

Re: GParted

Messaggio da 369 »

magoo69 ha scritto: allora. fatto tutto e riavviato. al primo riavvio mi ha dato grub e mi ha fatto scegliere anche xp. L'ho avviato e tutto ok. Quando però ho nuovamente riavviato...va direttamente su xp senza passare da grub  :-\
Qui

timeout 6


imposta un valore diverso, magari per provare, imposta 20 e vedi se reagisce allo stesso modo...
Avatar utente
bancaldo
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2585
Iscrizione: mercoledì 18 aprile 2007, 15:13
Località: Bologna
Contatti:

Re: GParted

Messaggio da bancaldo »

magoo69 ha scritto: allora. fatto tutto e riavviato. al primo riavvio mi ha dato grub e mi ha fatto scegliere anche xp. L'ho avviato e tutto ok. Quando però ho nuovamente riavviato...va direttamente su xp senza passare da grub  :-\
sì ma vedi per un istante la scritta GRUB Loading....
o nulla?
triplete!..."non vinciamo mai"...grazie Mou
Ubuntu User #27170  Linux User #489389
Avatar utente
magoo69
Prode Principiante
Messaggi: 148
Iscrizione: martedì 8 luglio 2008, 22:19
Località: Fermo

Re: GParted

Messaggio da magoo69 »

niente. avvia direttamente xp ora :o
Avatar utente
369
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 3452
Iscrizione: giovedì 5 luglio 2007, 15:02
Località: Napoli
Contatti:

Re: GParted

Messaggio da 369 »

magoo69 ha scritto: niente. avvia direttamente xp ora :o
Anche se lo spegni?
Avatar utente
magoo69
Prode Principiante
Messaggi: 148
Iscrizione: martedì 8 luglio 2008, 22:19
Località: Fermo

Re: GParted

Messaggio da magoo69 »

si  >:(
Avatar utente
bancaldo
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2585
Iscrizione: mercoledì 18 aprile 2007, 15:13
Località: Bologna
Contatti:

Re: GParted

Messaggio da bancaldo »

puoi ripostare la situazione attuale del menu.lst?

perchè vedo che il title di XP è prima di #END OF DEBIAN.....#
triplete!..."non vinciamo mai"...grazie Mou
Ubuntu User #27170  Linux User #489389
Avatar utente
magoo69
Prode Principiante
Messaggi: 148
Iscrizione: martedì 8 luglio 2008, 22:19
Località: Fermo

Re: GParted

Messaggio da magoo69 »

ok ma come entro in ubuntu ora? ???
Avatar utente
bancaldo
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2585
Iscrizione: mercoledì 18 aprile 2007, 15:13
Località: Bologna
Contatti:

Re: GParted

Messaggio da bancaldo »

magoo69 ha scritto: ok ma come entro in ubuntu ora? ???
da livecd

o installi i driver per ext3 su XP (http://www.fs-driver.org/)
Ultima modifica di bancaldo il lunedì 22 settembre 2008, 16:28, modificato 1 volta in totale.
triplete!..."non vinciamo mai"...grazie Mou
Ubuntu User #27170  Linux User #489389
Avatar utente
369
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 3452
Iscrizione: giovedì 5 luglio 2007, 15:02
Località: Napoli
Contatti:

Re: GParted

Messaggio da 369 »

bancaldo ha scritto:
magoo69 ha scritto: ok ma come entro in ubuntu ora? ???
da livecd

o installi i driver per ext3 su XP (penso si possa fare)
si si può fare :)
Avatar utente
bancaldo
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2585
Iscrizione: mercoledì 18 aprile 2007, 15:13
Località: Bologna
Contatti:

Re: GParted

Messaggio da bancaldo »

triplete!..."non vinciamo mai"...grazie Mou
Ubuntu User #27170  Linux User #489389
Avatar utente
magoo69
Prode Principiante
Messaggi: 148
Iscrizione: martedì 8 luglio 2008, 22:19
Località: Fermo

Re: GParted

Messaggio da magoo69 »

ecco. fatto

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		6

## 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=c184a870-f82c-4a29-b0df-c2601cfb1dde 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 vga=799

## 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=c184a870-f82c-4a29-b0df-c2601cfb1dde 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=c184a870-f82c-4a29-b0df-c2601cfb1dde 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=c184a870-f82c-4a29-b0df-c2601cfb1dde 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=c184a870-f82c-4a29-b0df-c2601cfb1dde 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

title		Windows 95/98/NT/2000/XP
root		(hd0,1)
makeactive
chainloader	+1
### END DEBIAN AUTOMAGIC KERNELS LIST
Avatar utente
bancaldo
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2585
Iscrizione: mercoledì 18 aprile 2007, 15:13
Località: Bologna
Contatti:

Re: GParted

Messaggio da bancaldo »

fai una copia di backup di quello che hai.
Poi sostituisci il contenuto con questo....

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		20

## 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=c184a870-f82c-4a29-b0df-c2601cfb1dde 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 vga=799

## 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=c184a870-f82c-4a29-b0df-c2601cfb1dde ro quiet splash
initrd		/boot/initrd.img-2.6.24-21-generic
savedefault
quiet
boot

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=c184a870-f82c-4a29-b0df-c2601cfb1dde ro single
initrd		/boot/initrd.img-2.6.24-21-generic
boot

title		Ubuntu 8.04.1, kernel 2.6.24-19-generic
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.24-19-generic root=UUID=c184a870-f82c-4a29-b0df-c2601cfb1dde ro quiet splash
initrd		/boot/initrd.img-2.6.24-19-generic
quiet
boot

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=c184a870-f82c-4a29-b0df-c2601cfb1dde ro single
initrd		/boot/initrd.img-2.6.24-19-generic
boot

title		Ubuntu 8.04.1, memtest86+
root		(hd0,0)
kernel		/boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

title		Windows 95/98/NT/2000/XP
root		(hd0,1)
makeactive
chainloader	+1
boot

triplete!..."non vinciamo mai"...grazie Mou
Ubuntu User #27170  Linux User #489389
Avatar utente
magoo69
Prode Principiante
Messaggi: 148
Iscrizione: martedì 8 luglio 2008, 22:19
Località: Fermo

Re: GParted

Messaggio da magoo69 »

dunque. fatto come hai detto e funziona. il problema è che una volta riavviato il pc da xp non riparte più con grub, ma va direttamente su xp. come se non tenesse in memoria l'avvio
Avatar utente
bancaldo
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2585
Iscrizione: mercoledì 18 aprile 2007, 15:13
Località: Bologna
Contatti:

Re: GParted

Messaggio da bancaldo »

hai guardato che non si sia di nuovo modificato il menu.lst.
triplete!..."non vinciamo mai"...grazie Mou
Ubuntu User #27170  Linux User #489389
Scrivi risposta

Ritorna a “Applicazioni”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 7 ospiti