Dne, 04. 01. 2011 13:12:52 je John Lindsay napisal(a):
Recently I had to do a reboot. I get the following 'grub' screen
title Debian GNU/Linux, kernel 2.6.26-2-686
root (hd0,0)
kernel /boot/vmlinuz-2.6.26-2-686 root=/dev/hda1 ro quiet
initrd /boot/initrd.img-2.6.26-2-686
title Debian GNU/Linux, kernel 2.6.26-2-686 (single-user mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.26-2-686 root=/dev/hda1 ro single
initrd /boot/initrd.img-2.6.26-2-686
title Debian GNU/Linux, kernel 2.6.26-1-686
root (hd0,0)
kernel /boot/vmlinuz-2.6.26-1-686 root=/dev/hda1 ro quiet
initrd /boot/initrd.img-2.6.26-1-686
title Debian GNU/Linux, kernel 2.6.26-1-686 (single-user mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.26-1-686 root=/dev/hda1 ro single
initrd /boot/initrd.img-2.6.26-1-686
title Debian GNU/Linux, kernel 2.6.24-1-686
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-1-686 root=/dev/hda1 ro quiet
initrd /boot/initrd.img-2.6.24-1-686
title Debian GNU/Linux, kernel 2.6.24-1-686 (single-user mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-1-686 root=/dev/hda1 ro single
initrd /boot/initrd.img-2.6.24-1-686
If I allow it to select default the computer seems to go into a loop.
If I select any of the alternate except the very last option it seems
to loop ie continuous reboot.
Something has gone wrong but I don't know what -- if I put the # sign
in front of all lines except the last set will that then become
default and boot only kernel 2.6.24-1-686(single user mode)? I
really don't want to play with grub but if I have a long power outage
and the computer shuts down and I'm not around the darn thing will
just reboot continuously and my wife who also uses this computer will
have words to say about my choice of OS's.
John
Grub has a command for setting the default stanza to boot (please
google for that; it also may be dependent upon the version of Grub
you're using). You just have to insert that command into your menu.lst
(or grub.cfg -- again depending upon the version of Grub you're using).
That said, however, the thing to do is track down why all the other
entries are broken, what is the reason for the continuous loops, and
what update (or other cause) brought it about. Installed new kernel
recently? Updated the initrd? Modified partitions? Updated Grub?
Changed Xorg.conf and/or installed new video driver? It could be
anything of these, or something completely different...
--
Cheerio,
Klistvud
http://bufferoverflow.tiddlyspot.com
Certifiable Loonix User #481801 Please reply to the list, not to
me.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1294149131.583...@compax