Re: Reboot and all I get is a grub prompt.
On Mon, Dec 05, 2011 at 03:38:22PM +0200, Harry Putnam wrote: I'm bunrning a systemRescue cd now... but any suggestions will be most welcome. Booting with a live CD (like systemRescue) or the standard Debian Install CD will help. 'chroot' to the system and do an 'update-grub'. Regards Johann -- Johann SpiesTelefoon: 021-808 4699 Databestuurder / Data manager Sentrum vir Navorsing oor Evaluasie, Wetenskap en Tegnologie Centre for Research on Evaluation, Science and Technology Universiteit Stellenbosch. Go ye therefore, and teach all nations, baptizing them in the name of the Father, and of the Son, and of the Holy Ghost: Teaching them to observe all things whatsoever I have commanded you: and, lo, I am with you alway, even unto the end of the world. Amen. Matthew 28:19,20 -- 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/20111205141717.ga31...@sun.ac.za
Re: Reboot and all I get is a grub prompt.
On Mon, 05 Dec 2011 07:38:22 -0600, Harry wrote in message 8762hvw33l@newsguy.com: I haven't rebooted wheezy for a while... and there have been many updates .. I'm not sure which ones have caused this problem but when bootup starts I get to grub and immediately a prompt rather than a selection screen. It shows grub version 1.99 ?? something.. so is that grub2... It must be since I do not recognize most of what I see. For example, I can type `help' and a massive flood of commands flash past leaving only the last screenful visible... there seems no way to page this mess, so it is mostly useless. Pressing TAB shows a gout of other commands with no newlines just all in a blob. Given what I see, I have no idea at all how to proceed or why this has happened. OK, grub2 by itself will never let me see how to get booted. Its setup all wrong for that to happen, I mean how ridiculous is it to offer a fountain of commands you can see for 1/50 of a second? So digging up directions from google.. set root (hd0,1) (in grub1 that would be hd0,0) linux /vmtab .._here_ is where you wanna tell grub about your initrd, it (/boot/initrdtab?) should match your /vmtab . boot OK, now were talking... but whoops.. kernel panic .. just paraphrasing: `unable to mount root on unknown block' What the heck has happened to my poor wheezy? I'm bunrning a systemRescue cd now... but any suggestions will be most welcome. -- ..med vennlig hilsen = with Kind Regards from Arnt Karlsen ...with a number of polar bear hunters in his ancestry... Scenarios always come in sets of three: best case, worst case, and just in case. -- 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/20111205153649.715bc...@nb6.lan
Re: Reboot and all I get is a grub prompt.
On Mon 05 Dec 2011 at 07:38:22 -0600, Harry Putnam wrote: For example, I can type `help' and a massive flood of commands flash past leaving only the last screenful visible... there seems no way to page this mess, so it is mostly useless. set pager=1 Pressing TAB shows a gout of other commands with no newlines just all in a blob. Given what I see, I have no idea at all how to proceed or why this has happened. set root (hd0,1) (in grub1 that would be hd0,0) linux /vmtab boot set root=(hd0,1) linux /vmlinuz root=/dev/sda1 initrd /initrd.img boot OK, now were talking... but whoops.. kernel panic .. just paraphrasing: `unable to mount root on unknown block' Paraphrasing means we have to guess what you saw. -- 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/20111205142540.GO3655@desktop
Re: Reboot and all I get is a grub prompt.
Arnt Karlsen a...@c2i.net writes: set root (hd0,1) (in grub1 that would be hd0,0) linux /vmtab .._here_ is where you wanna tell grub about your initrd, it (/boot/initrdtab?) should match your /vmtab . boot gackk .. I've spent too many yrs booting gentoo with no initrd... I just skipped right over it by default.. I'll try that in a minute. right now I'm in a chroot. -- 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/87pqg35bek@newsguy.com
Re: Reboot and all I get is a grub prompt.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05.12.2011 14:38, Harry Putnam wrote: I haven't rebooted wheezy for a while... and there have been many updates .. I'm not sure which ones have caused this problem but when bootup starts I get to grub and immediately a prompt rather than a selection screen. Afaik, that is the base grub before the modules from /grub/ get loaded. Usually this means somehow it did not found the /grub directory on the boot partition. It shows grub version 1.99 ?? something.. so is that grub2... It must be since I do not recognize most of what I see. For example, I can type `help' and a massive flood of commands flash past leaving only the last screenful visible... there seems no way to page this mess, so it is mostly useless. Pressing TAB shows a gout of other commands with no newlines just all in a blob. Given what I see, I have no idea at all how to proceed or why this has happened. OK, grub2 by itself will never let me see how to get booted. Its setup all wrong for that to happen, I mean how ridiculous is it to offer a fountain of commands you can see for 1/50 of a second? So digging up directions from google.. set root (hd0,1) (in grub1 that would be hd0,0) linux /vmtab boot I think after the linux /vm... line you need tell it about initramfs with something like: initrd /vmtab (should match the kernel) else you may be missing required kernel modules. Is (hd0,1) your /boot-partition? then you additionally need tell the kernel about the real root with something like linux /vmtab root=/dev/your root partition OK, now were talking... but whoops.. kernel panic .. just paraphrasing: `unable to mount root on unknown block' What the heck has happened to my poor wheezy? I'm bunrning a systemRescue cd now... but any suggestions will be most welcome. I think using a rescue CD (as suggested by Johann) is the best to do in this case. Debugging inside grub without experience can be a hard task (but its educational, done once you should be fine next time ;-) Greetings HP -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.17 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7c1mUACgkQjLvx8ViUjYLZpwCfTMLPgEJ7nNJ1wY+8GULS4rt9 bh8Anjq4X2YgooyIRhFiDsq+cREBQ9Q+ =wyiG -END PGP SIGNATURE- -- 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/4edcd668.4010...@spahan.ch
Re: Reboot and all I get is a grub prompt.
Johann Spies jsp...@sun.ac.za writes: On Mon, Dec 05, 2011 at 03:38:22PM +0200, Harry Putnam wrote: I'm bunrning a systemRescue cd now... but any suggestions will be most welcome. Booting with a live CD (like systemRescue) or the standard Debian Install CD will help. 'chroot' to the system and do an 'update-grub'. Writing this from chroot. When I run update-grub, it appears to be working but ends with something akin to an error: root # update-grub Generating grub.cfg ... Found background image: /usr/share/images/desktop-base/desktop-grub.png Found linux image: /boot/vmlinuz-3.0.0-1-686-pae Found initrd image: /boot/initrd.img-3.0.0-1-686-pae Cannot find list of partitions! (Try mounting /sys.) done So its not clear if it has finished properly or what. Apparently /sys is not populated in a chroot, or there is something I needed to run before chroot. Anyway, I'm going to try booting manually again with ArntK's addition of adding the initrd line to the grub commands -- 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/87liqr5b8c@newsguy.com
Re: Reboot and all I get is a grub prompt.
On Monday 05 December 2011 22:44:51 Harry Putnam wrote: Johann Spies jsp...@sun.ac.za writes: On Mon, Dec 05, 2011 at 03:38:22PM +0200, Harry Putnam wrote: I'm bunrning a systemRescue cd now... but any suggestions will be most welcome. Booting with a live CD (like systemRescue) or the standard Debian Install CD will help. 'chroot' to the system and do an 'update-grub'. Writing this from chroot. When I run update-grub, it appears to be working but ends with something akin to an error: root # update-grub Generating grub.cfg ... Found background image: /usr/share/images/desktop-base/desktop-grub.png Found linux image: /boot/vmlinuz-3.0.0-1-686-pae Found initrd image: /boot/initrd.img-3.0.0-1-686-pae Cannot find list of partitions! (Try mounting /sys.) done So its not clear if it has finished properly or what. Apparently /sys is not populated in a chroot, or there is something I needed to run before chroot. Anyway, I'm going to try booting manually again with ArntK's addition of adding the initrd line to the grub commands you need to mount /proc, /sys and /dev before chrooting to the target -- 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/201112052300.38340.mikl...@gmail.com
Re: Reboot and all I get is a grub prompt [SOLVED]
Harry Putnam rea...@newsguy.com writes: Arnt Karlsen a...@c2i.net writes: set root (hd0,1) (in grub1 that would be hd0,0) linux /vmtab .._here_ is where you wanna tell grub about your initrd, it (/boot/initrdtab?) should match your /vmtab . boot gackk .. I've spent too many yrs booting gentoo with no initrd... I just skipped right over it by default.. I'll try that in a minute. right now I'm in a chroot. OK, this is really a bad gaff here. Some person put this computer into hybernation unbeknownst to me. Since he is too old and grown to beat.. I'll have to settle for an upbraiding. I've never used hybernation on a desktop computer, and did not recognize that was what was going on. I saw the computer lights off, and pushed the on button... which lead to the grub prompt and all the heaving and hoeing. All squared away now after systemRescue chroot etc etc, update-grub, and on and on, finally an fsck.ext4 on / was required and had many errors fixed. For future reference... how does one bring a hybernated computer out of hybernation gracefully. And more important how does one disable hybernation entirely. In fact, how does one recognize that a computer is hybernated? This one just appeared off. Does it have to be taken out at kernel level or is there some way to disable it? -- 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/8762hvjbks.fsf...@newsguy.com
Re: Reboot and all I get is a grub prompt.
On Mon 05 Dec 2011 at 08:44:51 -0600, Harry Putnam wrote: When I run update-grub, it appears to be working but ends with something akin to an error: root # update-grub Generating grub.cfg ... Found background image: /usr/share/images/desktop-base/desktop-grub.png Found linux image: /boot/vmlinuz-3.0.0-1-686-pae Found initrd image: /boot/initrd.img-3.0.0-1-686-pae Cannot find list of partitions! (Try mounting /sys.) done So its not clear if it has finished properly or what. OSs on other partitions will not be found. Apparently /sys is not populated in a chroot, or there is something I needed to run before chroot. mount -o bind /sys mount_point/sys -- 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/20111205150651.GP3655@desktop
Re: Reboot and all I get is a grub prompt [SOLVED]
On Mon 05 Dec 2011 at 09:13:39 -0600, Harry Putnam wrote: For future reference... how does one bring a hybernated computer out of hybernation gracefully. And more important how does one disable hybernation entirely. GMOME? KDE? XFCE4? None of these? Does it have to be taken out at kernel level or is there some way to disable it? The latter. -- 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/20111205160759.GQ3655@desktop
Re: Reboot and all I get is a grub prompt [SOLVED]
Brian a...@cityscape.co.uk writes: On Mon 05 Dec 2011 at 09:13:39 -0600, Harry Putnam wrote: For future reference... how does one bring a hybernated computer out of hybernation gracefully. And more important how does one disable hybernation entirely. GMOME? KDE? XFCE4? None of these? If you are asking which one here... its kde. But there was nothing whatsoever on the screen, nor any lights on at the on/off button on the face of the computer. after the initial activities inside a chroot, then reboot, but dropped into a root prompt for repairs. Message saying an fsck was required but had failed. fsck.ext4 /dev/ROOT. Many errors fixed. reboot again. Goes thru boot sequence, coming up on a kde login, after login, it comes up on a dialog like one sees on a locked screen. So after all that huffing and puffing, I see a dialog like a locked screen, which had been disabled long ago in screensaver dialog. That was my first real clue that something besides reboot troubles were going on. -- 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/871usikh1i@newsguy.com
Re: Reboot and all I get is a grub prompt.
Brian a...@cityscape.co.uk writes: On Mon 05 Dec 2011 at 08:44:51 -0600, Harry Putnam wrote: When I run update-grub, it appears to be working but ends with something akin to an error: root # update-grub Generating grub.cfg ... Found background image: /usr/share/images/desktop-base/desktop-grub.png Found linux image: /boot/vmlinuz-3.0.0-1-686-pae Found initrd image: /boot/initrd.img-3.0.0-1-686-pae Cannot find list of partitions! (Try mounting /sys.) done So its not clear if it has finished properly or what. OSs on other partitions will not be found. Apparently /sys is not populated in a chroot, or there is something I needed to run before chroot. mount -o bind /sys mount_point/sys Does it matter whos sys is being bound to the debian OS.? For example, the /sys on systermRescueCD will do as well as livecd or knoppix, etc? -- 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/87wraaj285@newsguy.com
Re: Reboot and all I get is a grub prompt [SOLVED]
On Mon 05 Dec 2011 at 12:30:17 -0600, Harry Putnam wrote: If you are asking which one here... its kde. I was thinking in terms of the Big Three(TM) having some sort of power control application, so hibernation could be turned off or access to it controlled. Not using KDE I'm unfamiliar with what is possible. On my machines I'd be inclined to use policykit directly. When I get time it will be something to try. But there was nothing whatsoever on the screen, nor any lights on at the on/off button on the face of the computer. Suspend to RAM I'm familiar with, the power button flashes on and off if it in use. I've never used hibernate but suspect there may be nothing to indicate the computer is in that state. -- 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/20111205192649.GR3655@desktop
Re: Reboot and all I get is a grub prompt.
On Mon, Dec 5, 2011 at 10:06 AM, Brian a...@cityscape.co.uk wrote: On Mon 05 Dec 2011 at 08:44:51 -0600, Harry Putnam wrote: When I run update-grub, it appears to be working but ends with something akin to an error: root # update-grub Generating grub.cfg ... Found background image: /usr/share/images/desktop-base/desktop-grub.png Found linux image: /boot/vmlinuz-3.0.0-1-686-pae Found initrd image: /boot/initrd.img-3.0.0-1-686-pae Cannot find list of partitions! (Try mounting /sys.) done So its not clear if it has finished properly or what. OSs on other partitions will not be found. Apparently /sys is not populated in a chroot, or there is something I needed to run before chroot. mount -o bind /sys mount_point/sys I only bind-mount /dev; for /sys, I run: mount -t sysfs sysfs /path_to_mountpoint/sys -- 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/CAOdo=SwiDWEsmdvfKBDqciJn0r9uV=H=yxygfelvp+rgjx_...@mail.gmail.com