no pasó nada. El kernel 2.6.28-15-generic entró en pánico. "Panic" dice entre tantos errores que me tira cuando trato de entrar con la opción de reparar paquetes. el kernel 2.6.24-23 generic, al menos me funciona. Intentaré borrar el kernel que no funciona y luego veo si me contestan la siguiente pregunta:
¿Podré hacer una actualización del kernel 2.6.24-23 generic a uno más actual más adelante.
Gracias por la ayuda y espero comentarios.
No lo borres aún, vamos a ayudarte a hacer lo que dijo Stalker, que es indicarle a GRUB cuál es el kernel que debe usar para arrancar con el que sí funciona. Ejecuta este comando y pega aquí el resultado:
$ cat /boot/grub/menu.lst | nl
Y confirmanos cuál de los que aparecen ahí es el que te funciona, por ejemplo: -"es el que está en la línea 35, el kernel 2.4.6.8.10-12-14"-.
Aquí está lo que me pidió. (Muchas gracias, siddharta por interesarte en enseñar)
hora@KUBUNTU:~$ cat /boot/grub/menu.lst | nl 1 # menu.lst - See: grub(8), info grub, update-grub(8) 2 # grub-install(8), grub-floppy(8), 3 # grub-md5-crypt, /usr/share/doc/grub 4 # and /usr/share/doc/grub-doc/. 5 ## default num 6 # Set the default entry to the entry number NUM. Numbering starts from 0, and 7 # the entry number 0 is the default if the command is not used. 8 # 9 # You can specify 'saved' instead of a number. In this case, the default entry 10 # is the entry saved with the command 'savedefault'. 11 # WARNING: If you are using dmraid do not use 'savedefault' or your 12 # array will desync and will not let you boot your system. 13 default 0 14 ## timeout sec 15 # Set a timeout, in SEC seconds, before automatically booting the default entry 16 # (normally the first entry defined). 17 timeout 10 18 ## hiddenmenu 19 # Hides the menu by default (press ESC to see the menu) 20 #hiddenmenu 21 # Pretty colours 22 #color cyan/blue white/blue 23 ## password ['--md5'] passwd 24 # If used in the first section of a menu file, disable all interactive editing 25 # control (menu entry editor and command-line) and entries protected by the 26 # command 'lock' 27 # e.g. password topsecret 28 # password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/ 29 # password topsecret 30 # 31 # examples 32 # 33 # title Windows 95/98/NT/2000 34 # root (hd0,0) 35 # makeactive 36 # chainloader +1 37 # 38 # title Linux 39 # root (hd0,1) 40 # kernel /vmlinuz root=/dev/hda2 ro 41 # 42 # 43 # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST 44 ### BEGIN AUTOMAGIC KERNELS LIST 45 ## lines between the AUTOMAGIC KERNELS LIST markers will be modified 46 ## by the debian update-grub script except for the default options below 47 ## DO NOT UNCOMMENT THEM, Just edit them to your needs 48 ## ## Start Default Options ## 49 ## default kernel options 50 ## default kernel options for automagic boot options 51 ## If you want special options for specific kernels use kopt_x_y_z 52 ## where x.y.z is kernel version. Minor versions can be omitted. 53 ## e.g. kopt=root=/dev/hda1 ro 54 ## kopt_2_6_8=root=/dev/hdc1 ro 55 ## kopt_2_6_8_2_686=root=/dev/hdc2 ro 56 # kopt=root=UUID=be3db1a5-d09d-4403-906f-20bfaa54f7b5 ro 57 ## default grub root device 58 ## e.g. groot=(hd0,0) 59 # groot=(hd0,0) 60 ## should update-grub create alternative automagic boot options 61 ## e.g. alternative=true 62 ## alternative=false 63 # alternative=true 64 ## should update-grub lock alternative automagic boot options 65 ## e.g. lockalternative=true 66 ## lockalternative=false 67 # lockalternative=false 68 ## additional options to use with the default boot option, but not with the 69 ## alternatives 70 ## e.g. defoptions=vga=791 resume=/dev/hda5 71 # defoptions=quiet splash 72 ## should update-grub lock old automagic boot options 73 ## e.g. lockold=false 74 ## lockold=true 75 # lockold=false 76 ## Xen hypervisor options to use with the default Xen boot option 77 # xenhopt= 78 ## Xen Linux kernel options to use with the default Xen boot option 79 # xenkopt=console=tty0 80 ## altoption boot targets option 81 ## multiple altoptions lines are allowed 82 ## e.g. altoptions=(extra menu suffix) extra boot options 83 ## altoptions=(recovery) single 84 # altoptions=(recovery mode) single 85 ## controls how many kernels should be put into the menu.lst 86 ## only counts the first occurence of a kernel, not the 87 ## alternative kernel options 88 ## e.g. howmany=all 89 ## howmany=7 90 # howmany=all 91 ## specify if running in Xen domU or have grub detect automatically 92 ## update-grub will ignore non-xen kernels when running in domU and vice versa 93 ## e.g. indomU=detect 94 ## indomU=true 95 ## indomU=false 96 # indomU=detect 97 ## should update-grub create memtest86 boot option 98 ## e.g. memtest86=true 99 ## memtest86=false 100 # memtest86=true 101 ## should update-grub adjust the value of the default booted system 102 ## can be true or false 103 # updatedefaultentry=false 104 ## should update-grub add savedefault to the default options 105 ## can be true or false 106 # savedefault=false 107 ## ## End Default Options ## 108 title Ubuntu 9.04, kernel 2.6.28-15-generic 109 root (hd0,0) 110 kernel /boot/vmlinuz-2.6.28-15-generic root=UUID=be3db1a5-d09d-4403-906f-20bfaa54f7b5 ro quiet splash 111 initrd /boot/initrd.img-2.6.28-15-generic 112 quiet 113 title Ubuntu 9.04, kernel 2.6.28-15-generic (recovery mode) 114 root (hd0,0) 115 kernel /boot/vmlinuz-2.6.28-15-generic root=UUID=be3db1a5-d09d-4403-906f-20bfaa54f7b5 ro single 116 initrd /boot/initrd.img-2.6.28-15-generic 117 title Ubuntu 9.04, kernel 2.6.24-23-generic 118 root (hd0,0) 119 kernel /boot/vmlinuz-2.6.24-23-generic root=UUID=be3db1a5-d09d-4403-906f-20bfaa54f7b5 ro quiet splash 120 initrd /boot/initrd.img-2.6.24-23-generic 121 quiet 122 title Ubuntu 9.04, kernel 2.6.24-23-generic (recovery mode) 123 root (hd0,0) 124 kernel /boot/vmlinuz-2.6.24-23-generic root=UUID=be3db1a5-d09d-4403-906f-20bfaa54f7b5 ro single 125 initrd /boot/initrd.img-2.6.24-23-generic 126 title Ubuntu 9.04, memtest86+ 127 root (hd0,0) 128 kernel /boot/memtest86+.bin 129 quiet 130 ### END DEBIAN AUTOMAGIC KERNELS LIST 131 # This is a divider, added to separate the menu items below from the Debian 132 # ones. 133 title Other operating systems: 134 root 135 # This entry automatically added by the Debian installer for a non-linux OS 136 # on /dev/sdb1 137 title Windows NT/2000/XP (loader) 138 root (hd1,0) 139 savedefault 140 makeactive 141 map (hd0) (hd1) 142 map (hd1) (hd0) 143 chainloader +1
espero que sirva para reparar el kernel más moderno (que es el que no anda), porque todo el mundo dice que es muy bueno.
no pasó nada. El kernel 2.6.28-15-generic entró en pánico. "Panic" dice entre tantos errores que me tira cuando trato de entrar con la opción de reparar paquetes. el kernel 2.6.24-23 generic, al menos me funciona. Intentaré borrar el kernel que no funciona y luego veo si me contestan la siguiente pregunta:
¿Podré hacer una actualización del kernel 2.6.24-23 generic a uno más actual más adelante.
Gracias por la ayuda y espero comentarios.
No lo borres aún, vamos a ayudarte a hacer lo que dijo Stalker, que es indicarle a GRUB cuál es el kernel que debe usar para arrancar con el que sí funciona. Ejecuta este comando y pega aquí el resultado:
$ cat /boot/grub/menu.lst | nlY confirmanos cuál de los que aparecen ahí es el que te funciona, por ejemplo: -"es el que está en la línea 35, el kernel 2.4.6.8.10-12-14"-.
Aquí está lo que me pidió. (Muchas gracias, siddharta por interesarte en enseñar)
hora@KUBUNTU:~$ cat /boot/grub/menu.lst | nl1 # menu.lst - See: grub(8), info grub, update-grub(8)
2 # grub-install(8), grub-floppy(8),
3 # grub-md5-crypt, /usr/share/doc/grub
4 # and /usr/share/doc/grub-doc/.
5 ## default num
6 # Set the default entry to the entry number NUM. Numbering starts from 0, and
7 # the entry number 0 is the default if the command is not used.
8 #
9 # You can specify 'saved' instead of a number. In this case, the default entry
10 # is the entry saved with the command 'savedefault'.
11 # WARNING: If you are using dmraid do not use 'savedefault' or your
12 # array will desync and will not let you boot your system.
13 default 0
14 ## timeout sec
15 # Set a timeout, in SEC seconds, before automatically booting the default entry
16 # (normally the first entry defined).
17 timeout 10
18 ## hiddenmenu
19 # Hides the menu by default (press ESC to see the menu)
20 #hiddenmenu
21 # Pretty colours
22 #color cyan/blue white/blue
23 ## password ['--md5'] passwd
24 # If used in the first section of a menu file, disable all interactive editing
25 # control (menu entry editor and command-line) and entries protected by the
26 # command 'lock'
27 # e.g. password topsecret
28 # password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
29 # password topsecret
30 #
31 # examples
32 #
33 # title Windows 95/98/NT/2000
34 # root (hd0,0) 35 # makeactive 36 # chainloader +1 37 # 38 # title Linux 39 # root (hd0,1)
40 # kernel /vmlinuz root=/dev/hda2 ro
41 # 42 # 43 # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
44 ### BEGIN AUTOMAGIC KERNELS LIST
45 ## lines between the AUTOMAGIC KERNELS LIST markers will be modified
46 ## by the debian update-grub script except for the default options below
47 ## DO NOT UNCOMMENT THEM, Just edit them to your needs
48 ## ## Start Default Options ##
49 ## default kernel options
50 ## default kernel options for automagic boot options
51 ## If you want special options for specific kernels use kopt_x_y_z
52 ## where x.y.z is kernel version. Minor versions can be omitted.
53 ## e.g. kopt=root=/dev/hda1 ro
54 ## kopt_2_6_8=root=/dev/hdc1 ro
55 ## kopt_2_6_8_2_686=root=/dev/hdc2 ro
56 # kopt=root=UUID=be3db1a5-d09d-4403-906f-20bfaa54f7b5 ro
57 ## default grub root device
58 ## e.g. groot=(hd0,0) 59 # groot=(hd0,0) 60 ## should update-grub create alternative automagic boot options
61 ## e.g. alternative=true 62 ## alternative=false 63 # alternative=true 64 ## should update-grub lock alternative automagic boot options
65 ## e.g. lockalternative=true 66 ## lockalternative=false 67 # lockalternative=false 68 ## additional options to use with the default boot option, but not with the
69 ## alternatives 70 ## e.g. defoptions=vga=791 resume=/dev/hda5
71 # defoptions=quiet splash 72 ## should update-grub lock old automagic boot options
73 ## e.g. lockold=false 74 ## lockold=true 75 # lockold=false 76 ## Xen hypervisor options to use with the default Xen boot option
77 # xenhopt= 78 ## Xen Linux kernel options to use with the default Xen boot option
79 # xenkopt=console=tty0 80 ## altoption boot targets option
81 ## multiple altoptions lines are allowed
82 ## e.g. altoptions=(extra menu suffix) extra boot options
83 ## altoptions=(recovery) single
84 # altoptions=(recovery mode) single
85 ## controls how many kernels should be put into the menu.lst
86 ## only counts the first occurence of a kernel, not the
87 ## alternative kernel options 88 ## e.g. howmany=all 89 ## howmany=7 90 # howmany=all 91 ## specify if running in Xen domU or have grub detect automatically
92 ## update-grub will ignore non-xen kernels when running in domU and vice versa
93 ## e.g. indomU=detect 94 ## indomU=true 95 ## indomU=false 96 # indomU=detect 97 ## should update-grub create memtest86 boot option
98 ## e.g. memtest86=true 99 ## memtest86=false 100 # memtest86=true 101 ## should update-grub adjust the value of the default booted system
102 ## can be true or false 103 # updatedefaultentry=false 104 ## should update-grub add savedefault to the default options
105 ## can be true or false 106 # savedefault=false 107 ## ## End Default Options ##
108 title Ubuntu 9.04, kernel 2.6.28-15-generic
109 root (hd0,0)
110 kernel /boot/vmlinuz-2.6.28-15-generic root=UUID=be3db1a5-d09d-4403-906f-20bfaa54f7b5 ro quiet splash
111 initrd /boot/initrd.img-2.6.28-15-generic
112 quiet
113 title Ubuntu 9.04, kernel 2.6.28-15-generic (recovery mode)
114 root (hd0,0)
115 kernel /boot/vmlinuz-2.6.28-15-generic root=UUID=be3db1a5-d09d-4403-906f-20bfaa54f7b5 ro single
116 initrd /boot/initrd.img-2.6.28-15-generic
117 title Ubuntu 9.04, kernel 2.6.24-23-generic
118 root (hd0,0)
119 kernel /boot/vmlinuz-2.6.24-23-generic root=UUID=be3db1a5-d09d-4403-906f-20bfaa54f7b5 ro quiet splash
120 initrd /boot/initrd.img-2.6.24-23-generic
121 quiet
122 title Ubuntu 9.04, kernel 2.6.24-23-generic (recovery mode)
123 root (hd0,0)
124 kernel /boot/vmlinuz-2.6.24-23-generic root=UUID=be3db1a5-d09d-4403-906f-20bfaa54f7b5 ro single
125 initrd /boot/initrd.img-2.6.24-23-generic
126 title Ubuntu 9.04, memtest86+
127 root (hd0,0)
128 kernel /boot/memtest86+.bin
129 quiet
130 ### END DEBIAN AUTOMAGIC KERNELS LIST
131 # This is a divider, added to separate the menu items below from the Debian
132 # ones.
133 title Other operating systems:
134 root
135 # This entry automatically added by the Debian installer for a non-linux OS
136 # on /dev/sdb1
137 title Windows NT/2000/XP (loader)
138 root (hd1,0)
139 savedefault
140 makeactive
141 map (hd0) (hd1)
142 map (hd1) (hd0)
143 chainloader +1
espero que sirva para reparar el kernel más moderno (que es el que no anda), porque todo el mundo dice que es muy bueno.
En la línea 13, pone
default 0Si pones
default 2Arrancará por defecto el kernel 2.6.24-23-generic, que es el que te funciona.
Un saludo
¿Me podrías indicar cómo hago para editar la linea 13? No tengo ni la menor. Perdona mi ignorancia y gracias por la ayuda.
kdesudo kate /boot/grub/menu.lstBusca la linea 13 y haz lo que te dijo stalker.
kdesudo kate /boot/grub/menu.lstBusca la linea 13 y haz lo que te dijo stalker.
Así lo hice todo fue bien. Muchas gracias a todos.
Muy bien .. por favor recuerda que debes marcar el tema como SOLUCIONADO una vez que ha sido así. Mira cómo hacerlo:
http://www.youtube.com/watch?v=fFuBe6TLtX8