problema partizione ubuntu - xp
problema partizione ubuntu - xp
salve a tutti ...
Sul mio toshiba ho partizionato l'hd mettendoci ubuntu e windows xp ...
Avendo aggiornato la versione di ubuntu dalla 6 all 8.04 , al boot quando devo scegliere quale sistema operativo far avviare mi compaiono un sacco di kernel di linux e una sola riga di windows ...
Come posso togliere tutti quei kernel lasciando solo quello che mi interessa ?
grazie
Sul mio toshiba ho partizionato l'hd mettendoci ubuntu e windows xp ...
Avendo aggiornato la versione di ubuntu dalla 6 all 8.04 , al boot quando devo scegliere quale sistema operativo far avviare mi compaiono un sacco di kernel di linux e una sola riga di windows ...
Come posso togliere tutti quei kernel lasciando solo quello che mi interessa ?
grazie
-
jerico
- Tenace Tecnocrate

- Messaggi: 19127
- Iscrizione: lunedì 21 luglio 2008, 23:43
- Desktop: Gnome
- Distribuzione: Archlinux
Re: problema partizione ubuntu - xp
edita il file
cancella le righe (in fondo al file) dei kernel che non ti interessano.
anzi,mettici davanti ## forse è meglio.poi salvi e riavvii
Codice: Seleziona tutto
sudo gedit /boot/grub/menu.lstanzi,mettici davanti ## forse è meglio.poi salvi e riavvii
- streetcross
- Accecante Asceta

- Messaggi: 24943
- Iscrizione: giovedì 7 febbraio 2008, 10:52
- Contatti:
Re: problema partizione ubuntu - xp
assolutamente no, non farlo, piuttosto elimina i vecchi kernel che non utilizzijerico ha scritto: edita il filecancella le righe (in fondo al file) dei kernel che non ti interessano.Codice: Seleziona tutto
sudo gedit /boot/grub/menu.lst
anzi,mettici davanti ## forse è meglio.poi salvi e riavvii
Ubuntu user #22995 Linux user #474679 Stacy can't you see, you're just not the girl for me, I know it might be wrong, but I'm in love with Stacy's Mom. ﺕ In molti credono di essere degli alternativi. In realtà la maggior parte di loro lascia la strada principale per seguire la seconda strada più battuta; in pochi si creano il proprio sentiero.
-
jerico
- Tenace Tecnocrate

- Messaggi: 19127
- Iscrizione: lunedì 21 luglio 2008, 23:43
- Desktop: Gnome
- Distribuzione: Archlinux
Re: problema partizione ubuntu - xp
Codice: Seleziona tutto
assolutamente no, non farlo, piuttosto elimina i vecchi kernel che non utilizzi- streetcross
- Accecante Asceta

- Messaggi: 24943
- Iscrizione: giovedì 7 febbraio 2008, 10:52
- Contatti:
Re: problema partizione ubuntu - xp
perchè darebbe problemi in caso di aggiornamento automagico del grub, inoltre lasciare dei kernel inutili ha poco senso
Ubuntu user #22995 Linux user #474679 Stacy can't you see, you're just not the girl for me, I know it might be wrong, but I'm in love with Stacy's Mom. ﺕ In molti credono di essere degli alternativi. In realtà la maggior parte di loro lascia la strada principale per seguire la seconda strada più battuta; in pochi si creano il proprio sentiero.
-
jerico
- Tenace Tecnocrate

- Messaggi: 19127
- Iscrizione: lunedì 21 luglio 2008, 23:43
- Desktop: Gnome
- Distribuzione: Archlinux
Re: problema partizione ubuntu - xp
Codice: Seleziona tutto
perchè darebbe problemi in caso di aggiornamento automagico del grubRe: problema partizione ubuntu - xp
per non fare casini a sto punto ... come si cancella un kernel ?? :P:P
- streetcross
- Accecante Asceta

- Messaggi: 24943
- Iscrizione: giovedì 7 febbraio 2008, 10:52
- Contatti:
Re: problema partizione ubuntu - xp
in synaptic cerca linux, ti compaiono i vari kernel generic, tu vedi quello più recente e rimuovi tutti gli altri (magari lascia il penultimo, 2 kernel fanno comodo)
Ubuntu user #22995 Linux user #474679 Stacy can't you see, you're just not the girl for me, I know it might be wrong, but I'm in love with Stacy's Mom. ﺕ In molti credono di essere degli alternativi. In realtà la maggior parte di loro lascia la strada principale per seguire la seconda strada più battuta; in pochi si creano il proprio sentiero.
Re: problema partizione ubuntu - xp
perfetto !!! ti ringrazio .. un ultima cosa ...
perche secondo te è meglio tenersi 2 kernel ?
perche secondo te è meglio tenersi 2 kernel ?
- streetcross
- Accecante Asceta

- Messaggi: 24943
- Iscrizione: giovedì 7 febbraio 2008, 10:52
- Contatti:
Re: problema partizione ubuntu - xp
perchè se per qualche problema uno non si avvia più, ha un bug, è incompatibile con qualcosa, e quello vecchio andava... avvii ubuntu con quello vecchio 
Ubuntu user #22995 Linux user #474679 Stacy can't you see, you're just not the girl for me, I know it might be wrong, but I'm in love with Stacy's Mom. ﺕ In molti credono di essere degli alternativi. In realtà la maggior parte di loro lascia la strada principale per seguire la seconda strada più battuta; in pochi si creano il proprio sentiero.
-
jerico
- Tenace Tecnocrate

- Messaggi: 19127
- Iscrizione: lunedì 21 luglio 2008, 23:43
- Desktop: Gnome
- Distribuzione: Archlinux
Re: problema partizione ubuntu - xp
perchè io in synaptic,sotto linux non ho nessun kernel-generic? ???in synaptic cerca linux, ti compaiono i vari kernel generic, tu vedi quello più recente e rimuovi tutti gli altri (magari lascia il penultimo, 2 kernel fanno comodo)
- streetcross
- Accecante Asceta

- Messaggi: 24943
- Iscrizione: giovedì 7 febbraio 2008, 10:52
- Contatti:
Re: problema partizione ubuntu - xp
se hai intrepid non usare la funzione ricerca rapida, non trova niente... se invece hai cercato normalmente può essere che tu non abbia un kenrel generic ma uno specifico, basta leggere nel grub che cosa hai...jerico ha scritto:perchè io in synaptic,sotto linux non ho nessun kernel-generic? ???in synaptic cerca linux, ti compaiono i vari kernel generic, tu vedi quello più recente e rimuovi tutti gli altri (magari lascia il penultimo, 2 kernel fanno comodo)
mi sa che dovrai pagarmi per il corso di informatica che ti sto offrendo in questi giorni (rotfl) va ben dai una volta che avrai assimilato tante conoscenze farai ancora di più il supporter nel forum
Ubuntu user #22995 Linux user #474679 Stacy can't you see, you're just not the girl for me, I know it might be wrong, but I'm in love with Stacy's Mom. ﺕ In molti credono di essere degli alternativi. In realtà la maggior parte di loro lascia la strada principale per seguire la seconda strada più battuta; in pochi si creano il proprio sentiero.
-
jerico
- Tenace Tecnocrate

- Messaggi: 19127
- Iscrizione: lunedì 21 luglio 2008, 23:43
- Desktop: Gnome
- Distribuzione: Archlinux
Re: problema partizione ubuntu - xp
ho usato la ricerca ma ho hardy....se hai intrepid non usare la funzione ricerca rapida, non trova niente... se invece hai cercato normalmente può essere che tu non abbia un kenrel generic ma uno specifico, basta leggere nel grub che cosa hai...
non è che li volevo togliere,era solo per curiosità...come dici tu
una volta che avrai assimilato tante conoscenze farai ancora di più il supporter nel forum
- streetcross
- Accecante Asceta

- Messaggi: 24943
- Iscrizione: giovedì 7 febbraio 2008, 10:52
- Contatti:
Re: problema partizione ubuntu - xp
ok basta comunque vedere nel menu.list (o nella cartella boot) che kernel hai, o anche da terminale, quindi su synaptic vai sul sicuro, dato che al 90% gli utenti hanno un generic io passo subito al sodo
Ubuntu user #22995 Linux user #474679 Stacy can't you see, you're just not the girl for me, I know it might be wrong, but I'm in love with Stacy's Mom. ﺕ In molti credono di essere degli alternativi. In realtà la maggior parte di loro lascia la strada principale per seguire la seconda strada più battuta; in pochi si creano il proprio sentiero.
-
jerico
- Tenace Tecnocrate

- Messaggi: 19127
- Iscrizione: lunedì 21 luglio 2008, 23:43
- Desktop: Gnome
- Distribuzione: Archlinux
Re: problema partizione ubuntu - xp
questo lo sapevo....ok basta comunque vedere nel menu.list (o nella cartella boot) che kernel hai, o anche da terminale,
siccome l'unico kernel che non mi da noie con la wireless è
Codice: Seleziona tutto
pablo@ubuntu:~$ uname -r
2.6.24-19-genericRe: problema partizione ubuntu - xp
ciao...spero sia la sezione giusta, sono nuovo del forum.
ho intallato sul mio pc ubuntu 8.10, e funziona benissimo devo dire. Purtroppo per problemi di lavoro devo reinstallare in una partizione winxp. Ho seguito una guida.....installato xp e editato grub....e qui sta il problema. Ubuntu parte perfettamente, mentre quando tento di far partire xp mi da "errore 1" o a volte errore 21. Ora...ho tentato di risolvere da solo, quindi probabilmente ho incasinato un po di cose.......
vi posto 2 schermate che a giudicare da altre discussioni sembrano utili....
sudo fdisk -lu
Disk /dev/sda: 30.0 GB, 30005821440 bytes
255 heads, 63 sectors/track, 3648 cylinders, total 58605120 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x91769176
Device Boot Start End Blocks Id System
/dev/sda1 * 63 22555259 11277598+ 7 HPFS/NTFS
/dev/sda2 22555260 56098979 16771860 83 Linux
/dev/sda3 56098980 58605119 1253070 5 Extended
/dev/sda5 56099043 58605119 1253038+ 82 Linux swap / Solari
sudo gedit /boot/grub/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 5
# 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=70f5d497-fa0f-4c2e-9d60-b04260dfc239 ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=70f5d497-fa0f-4c2e-9d60-b04260dfc239
## 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=true
## 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.10, kernel 2.6.27-7-generic
uuid 70f5d497-fa0f-4c2e-9d60-b04260dfc239
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=70f5d497-fa0f-4c2e-9d60-b04260dfc239 ro quiet splash
initrd /boot/initrd.img-2.6.27-7-generic
quiet
title Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
uuid 70f5d497-fa0f-4c2e-9d60-b04260dfc239
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=70f5d497-fa0f-4c2e-9d60-b04260dfc239 ro single
initrd /boot/initrd.img-2.6.27-7-generic
title Ubuntu 8.10, memtest86+
uuid 70f5d497-fa0f-4c2e-9d60-b04260dfc239
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Windows XP
rootnoverify (hd0,0)
savedefault
makeactive
chainloader +
sapreste darmi una mano? grazie
ho intallato sul mio pc ubuntu 8.10, e funziona benissimo devo dire. Purtroppo per problemi di lavoro devo reinstallare in una partizione winxp. Ho seguito una guida.....installato xp e editato grub....e qui sta il problema. Ubuntu parte perfettamente, mentre quando tento di far partire xp mi da "errore 1" o a volte errore 21. Ora...ho tentato di risolvere da solo, quindi probabilmente ho incasinato un po di cose.......
vi posto 2 schermate che a giudicare da altre discussioni sembrano utili....
sudo fdisk -lu
Disk /dev/sda: 30.0 GB, 30005821440 bytes
255 heads, 63 sectors/track, 3648 cylinders, total 58605120 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x91769176
Device Boot Start End Blocks Id System
/dev/sda1 * 63 22555259 11277598+ 7 HPFS/NTFS
/dev/sda2 22555260 56098979 16771860 83 Linux
/dev/sda3 56098980 58605119 1253070 5 Extended
/dev/sda5 56099043 58605119 1253038+ 82 Linux swap / Solari
sudo gedit /boot/grub/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 5
# 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=70f5d497-fa0f-4c2e-9d60-b04260dfc239 ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=70f5d497-fa0f-4c2e-9d60-b04260dfc239
## 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=true
## 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.10, kernel 2.6.27-7-generic
uuid 70f5d497-fa0f-4c2e-9d60-b04260dfc239
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=70f5d497-fa0f-4c2e-9d60-b04260dfc239 ro quiet splash
initrd /boot/initrd.img-2.6.27-7-generic
quiet
title Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
uuid 70f5d497-fa0f-4c2e-9d60-b04260dfc239
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=70f5d497-fa0f-4c2e-9d60-b04260dfc239 ro single
initrd /boot/initrd.img-2.6.27-7-generic
title Ubuntu 8.10, memtest86+
uuid 70f5d497-fa0f-4c2e-9d60-b04260dfc239
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Windows XP
rootnoverify (hd0,0)
savedefault
makeactive
chainloader +
sapreste darmi una mano? grazie
- streetcross
- Accecante Asceta

- Messaggi: 24943
- Iscrizione: giovedì 7 febbraio 2008, 10:52
- Contatti:
Re: problema partizione ubuntu - xp
error 21 è perchè cerca il grub in un hd che devi avere rimosso... error 1 non me lo ricordo, comunque prova a cambiare le righe per xp con queste:
Codice: Seleziona tutto
title Windows XP
root (hd0,0)
makeactive
chainloader +1Ubuntu user #22995 Linux user #474679 Stacy can't you see, you're just not the girl for me, I know it might be wrong, but I'm in love with Stacy's Mom. ﺕ In molti credono di essere degli alternativi. In realtà la maggior parte di loro lascia la strada principale per seguire la seconda strada più battuta; in pochi si creano il proprio sentiero.
Re: problema partizione ubuntu - xp
l'ultima riga deve essere chainloader +1, ti manca l'uno
Un titolo ben azzeccato attira l'attenzione degli esperti in quel campo, fa risparmiare tempo a voi, aumenta la probabilità di successo.
Re: problema partizione ubuntu - xp
tutto a posto ora!!!
grazie a tutti
grazie a tutti
- streetcross
- Accecante Asceta

- Messaggi: 24943
- Iscrizione: giovedì 7 febbraio 2008, 10:52
- Contatti:
Re: problema partizione ubuntu - xp
di niente ciao
Ubuntu user #22995 Linux user #474679 Stacy can't you see, you're just not the girl for me, I know it might be wrong, but I'm in love with Stacy's Mom. ﺕ In molti credono di essere degli alternativi. In realtà la maggior parte di loro lascia la strada principale per seguire la seconda strada più battuta; in pochi si creano il proprio sentiero.
Chi c’è in linea
Visualizzano questa sezione: 0 utenti iscritti e 5 ospiti