Ubuntu :: Grub Goes Directly To Prompt (No Menu)
Oct 30, 2010
I rebooted my computer recently after installing some updates in Ubuntu and now when grub launches it goes straight to the grub prompt and I don't get a menu. I tried searching around online and have tried what seemed like the most common fix but to no avail:
find /boot/grub/stage1 (returns hd1,0)
root (hd1,0)
setup (hd0) -I also tried (hd1,0) and (hd1)
-then reboot- (still get no menu and goes straight to the prompt)
I then tried booting into Ubuntu live, using apt-get to install Grub, and then running through the install process using similar commands, but to no avail. When I run setup it finds my config info and doesn't show any errors. I have a menu.lst file with lots of entries for different kernel versions and a windows 7 install on hd0,0. I am running Ubuntu Ubuntu 10.04.1 LTS, kernel 2.6.32-25-generic-pae.
View 6 Replies
ADVERTISEMENT
Jun 5, 2009
I've got myself the curious situation where, when I boot the system, I can get grub to start, but it always drops to the prompt.
I can run:configfile /grub/menu.lst
and this brings up the menu with no problems, and from there I can boot the system to either linux or windows. What I don't understand is why it wont go to the menu in the first place?As far as I can tell, grub/Kubuntu got confused when installing, as each of the hd#,# settings in the menu.lst have needed tweaking to let the system boot. (e.g. windows is actually hd0, but the original install had it at hd2. Likewise linux is on hd1, but the menu.lst had it at hd0). I've happily tweaked these to make the system boot, but would appreciate any help in convincing grub to actually load the menu without me having to use the prompt.
View 7 Replies
View Related
Jun 1, 2010
I did a clean installation of Ubuntu 10.04 and I found that after the computer booted, the GRUB stopped by waiting for entering command -- "grub >". The GRUB version is 1.98. I want to go directly to the GRUB boot menu after computer booted.
View 9 Replies
View Related
Jun 20, 2011
I have installed BackTrack 5 and I have set GRUB up:
Code:
root (hd1,4)
setup (hd1)
However, the GRUB prompt appears at boot instead of the GRUB menu. However, when I boot from the Live USB, the GRUB menu works fine. Here are the contents of the grub.cfg:
Code:
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
# .....
The reason I want the GRUB menu to show up of because I would like to dual-boot BackTrack 5 with Windows 7.
View 1 Replies
View Related
May 26, 2011
I dual boot Windows 7 and Ubuntu, and recently I updated from 10.04 to 11.04 via live cd. However, I now get the grub rescue prompt instead of the normal grub menu when I boot my computer.
View 1 Replies
View Related
Jul 4, 2010
I have XP on sda and Fedora 13 on sdb with Fedora's grub on the mbr of sda.
Everything's been working fine.
In particular, grub's boot menu has been intervening in the boot process
with options reflecting my entries in grub's menu.lst file.
I'm not sure what I did prior to this, but now my system boots to the grub> prompt.
I'd like to get my old menu back.
I know the command sequences to enter at this prompt to boot into either XP or Fedora.
I can boot successfully into XP but attempts to boot Fedora fail with the first command; namely,
grub>root (hd1,0),
the system responds with the error message "error 25: disk read error."
Does this mean my sdb has failed?
If not, please tell me what I should do to recover from this,
recover meaning to get the grub's boot menu to intervene once again
in the boot process.
View 6 Replies
View Related
Jun 11, 2010
Can I make my messages directly appear at client from server? Normally we type
tailf /var/log/messages
to see messages sent by other machine. So can I send my messages directly at command prompt?
View 2 Replies
View Related
Jul 28, 2009
I am testing my crash recovery strategy for my linux system and I am having trouble with GRUB. I am basically restoring my backup (i.e. tar) unto a different hard drive, but I am having problems getting the machine to boot without me having to type the GRUB commands at the GRUB prompt that is presented when the machine boots up off the new hard drive. I have tried to restore the MBR in two ways (the 2nd one is the one that gets me to the GRUB prompt):
1. Get the MBR off the original drive and write it unto the new drive (all via dd), but that did not work at all: the machine hangs right away during boot up. It seems to hang right at the point where the BIOS tries to read the MBR.
Code:
On original drive:
# dd if=/dev/sda of=mbr+part.bin bs=512 count=1
On new drive (new drive is now in place of original drive):
# dd if=mbr+part.bin of=/dev/sda bs=1 count=446 conv=notrunc
2. By using the FEDORA rescue CD, I installed grub unto the new hard drive as follows:
Code:
# chroot /mnt/sysimage
# grub-install --root-directory=/boot hd0
reboot and remove FEDORA CD Using the 2nd option above, I get the GRUB> prompt during bootup. I can then boot into the system by issuing the commands that are in the menu.lst file, followed by the "boot" command. However, I would like for those commands to happen automatically, just like in the original configuration. It seems to me that GRUB is actually finding all its stage files because I doubt the GRUB program (the one displaying the prompt) fits entirely in the 446 bytes it has on the MBR. So, it must be loading its stage 2 (and stage 1.5??) files from my /boot partition. However, if GRUB is loading its stage files off the boot partition, why does it not load/read the menu.lst/grub.conf contained in the boot partition also?
Code:
# ls -l /boot
total 22888
-rw-r--r--. 1 root root 1274567 2009-05-27 16:39 System.map-2.6.29.4-167.fc11.i686.PAE
-rw-r--r-- 1 root root 1274538 2009-06-16 22:27 System.map-2.6.29.5-191.fc11.i686.PAE
[code]....
View 3 Replies
View Related
Jan 15, 2011
So I wanted to get rid of ubuntu 10.10 on my HP pavilion dv6 laptop as I wanted to make some hd space. Its a dual boot with windows 7. I deleted the ubuntu partition and expanded the windows partition to fill the whole hard drive again. When I restarted my laptop I got the "error: no such partition. Grub rescue>" message.
I tried inserting my ubuntu 10.10 boot cd but whenever I boot from the cd I get the exact same grub rescue error. Is it possible to remedy this situation from the error? I am currently unable to download a windows recovery cd so I'm stuck in the grub rescue page unless its possible to fix this mess from the error prompt.
View 9 Replies
View Related
May 6, 2011
After certain system-wide changes, like kernels updates, I obtain grub prompt on restart. However, if I put the hard drive into another computer (b), it boots up fine. Since, however, I use the present computer (a) regularly, I only use b to purge and reinstall grub using the chroot method. However, doing so every time is time consuming; and I cannot change anything in the defaults and run update-grub without obtaining a grub prompt on restart. How do I fix this?
View 9 Replies
View Related
Mar 21, 2011
I have used CentOS for a while and have never run into this issue. I searched all over and didn't see a similar issue anywhere, I did an install of CentOS as a server (no GUI) with only the base. Partition is /boot ext3, size of 100MB. The rest of the drive is partitioned as / with ext3. This is being done on a CompactFlash card of 32GB in size. The BIOS sees it as an IDE drive.
When the install completes and the system reboots, the grub stops at the grub> prompt. There is no menu for OS options. If I do the following commands:
grub>root (hd0,0)
grub>kernel /vmlinuz-2.6.18-194.el5 root=LABEL=/
grub>initrd /initrd-2.6.18-194.el5.img
grub>boot
View 19 Replies
View Related
Jul 15, 2011
I have opensuse 11.4 with KDE. How to add a program launcher directly from the menu to the KDE desktop, but not as a widget?
View 3 Replies
View Related
Jul 8, 2011
I installed Ubuntu on w7 using Wubi and I set in w7 that it on startup automatically boots Grub without asking. Now when I am in Grub and when I select Windows 7 (loader) it goes black and returns to Grub so I cant boot w7 at all.
View 4 Replies
View Related
Jun 6, 2010
I have an old laptop that I installed EasyPeasy Lucid on. I have never used Grub2 as my other Ubuntu installs still use Grub Legacy. I have studied all the tutorials which instruct that the grub.cfg file should not be edited directly.This old laptop has one of the dreaded Intel graphics chips for which the kernel automatically loads the i915 module. Of course (like a multitude of others with Intel graphics and Lucid) I booted into a black screen but knew the workaround was to enable mode setting through grubI used the
Code:
i915.modeset=1
and added it to /etc/default/grub line GRUB_CMDLINE_LINUX, just after "quite splash", just
[code]....
View 9 Replies
View Related
Nov 20, 2010
my Setup is Fedora 14 x64 + radeon hd 4830 i've downloaded .run package from ati site with latest driver for x64 systems. installed it, but didn't edited grub.conf becouse i didn't understood anything there (probably didn't spent enough time to get things understand) Now i've lost possibility to enter my Fedora system. during boot it lost it's modern blue boot screen (with filling drop), it was replaced by standard old boot screen with triple-color stripe. after this boot screen monitor start blinking going on and off. and on last step i'm getting "Fedora 14 boot bla bla bla something" on screen. nothing works except Ctrl+Alt+Delete. system reboots showing successful daemons shutting sequence. How can i edit grub menu from initial grub screen is it possible to it's own 'e' option or 'c' from grub command line?
View 4 Replies
View Related
Oct 30, 2010
Anyhow, I'm a n00b to the Linux world, so I installed it on my Windows 7 desktop to dual boot. Current configuration is as such:160GB HDD with 3 partitions: Ubuntu Studio 10.10 on one, Win 7 on another, and the third is for storage.1TB HDD for extra storage.So far, all is well, but I'm not pleased with the default GRUB options and layout. It gives me 4 options to choose:
-Ubuntu Studio
-Memtest
-Memtest Debug Mode (or something to that effect)
[code]....
View 9 Replies
View Related
May 20, 2010
I have fc12.x86_64, installed wireshark yum install wireshark.x86_64 and wireshark.i686but can't see in kde menu or in command prompt (wireshark) but can see dir whereis wiresharkwireshark: /usr/lib64/wireshark /usr/share/wiresharkAny help/url to install and run in fc12 kde environment
View 4 Replies
View Related
Feb 15, 2010
9.10 has no menu.lst file and hitting ESC to does not bring up the grub menu. How can we set bootup options or boot an alternate kernel? I would really like to set the resolution at boot time so that my console (Ctrl-Alt-F5, for example) has 80 columns instead of 40. (What a stupid default, gigantic Commodore-64-like text!) It would also be nice if the Login screen could be set to the resolution that I want.
In previous releases, there were ways to do this. In 9.10, I haven't been able to figure out how.
Is there a document explaining all of the radical changes?
View 5 Replies
View Related
Apr 29, 2010
I want to edit the GRUB menu in ubuntu but Menu.1st is missing.When I open the /boot/grub.cfg from terminal I cant save it.
View 7 Replies
View Related
Apr 22, 2011
9.10 has no menu.lst file and hitting ESC to does not bring up the grub menu. How can we set bootup options or boot an alternate kernel? I would really like to set the resolution at boot time so that my console (Ctrl-Alt-F5, for example) has 80 columns instead of 40. (What a stupid default, gigantic Commodore-64-like text!) It would also be nice if the Login screen could be set to the resolution that I want. In previous releases, there were ways to do this. In 9.10, I haven't been able to figure out how.
View 1 Replies
View Related
Jan 21, 2011
I updated the kernel to 2.6.35.10-74.fc14.x86_64 and had to reinstall and rebuild the kernel module for my ATi driver as usual, so I edited the kernel arguments at the grub splash screen so that I could boot into single user mode and install the driver (i.e appending the relevant line with '1'). The interesting thing is, the system booted directly into single user mode as root when the system started up. No password was required.
View 6 Replies
View Related
Mar 6, 2010
I have been trying ubantu 9.10 via dual boot (with windows XP) for a while now. Today I decided to wipe out windows and install ubantu only. After I completed the install I get GRUB prompt and I cannot type anything. So I booted from CD again and opened ubantu from disk. ran the boot_info_script as mentioned on other posts here and here is the results
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Grub 2 is installed in the MBR of /dev/sda and looks at sector 2928391 of
[code]....
View 3 Replies
View Related
Sep 9, 2010
I use wubi 10.04 installed on my xp drive. the other day my pc froze while surfing the internet. I used the following key combination to reboot my pc (this is the first time I'm trying it), but when I selected ubuntu, I don't get the grub boot menu, on the other hand, I get a little welcome message to the grub prompt and "grub>"How do I fix this and boot into Ubuntu?
View 6 Replies
View Related
Jan 6, 2011
Just got done installing U 10.1 into my old Dell desktop. Since I'm pretty darn new at Linux, I'll do my best to explain. Upon selecting Ubuntu to boot, I get a 'grub>' prompt, much like C: in DOS. But, at this point, I haven't the slightest idea of what to do.
View 3 Replies
View Related
Jul 19, 2011
I am a casual user of Ubuntu, which is installed in a vmware virtual machine. After upgrading to Ubuntu 11.04, and after the reboot, it just booted up to a grub prompt.
I found a useful post about resolving this problem here: [URL]
The sequence of grub shell commands to be entered are these: set root=(hdX,Y) linux /vmlinuz root=/dev/sdZ ro initrd /initrd.img bootwhere the X, Y, and Z are replaced with appropriate letters/numbers.
The problem that I am having is that TAB is not completing the commands at the grub shell, thus I have no idea what the letters/numbers to use.
My installation is completely generic - I have not customized it in any way. check their vmware/Ubuntu system and let me know what letters/numbers to use.
View 1 Replies
View Related
Nov 1, 2010
I got ubuntu 10.04 lucid lynx along with windows (dual boot) and using Grub. On my computer, I have my C:/ (programs) and D:/ (data). I've never used my D:/ before that day that I've lost my windows partition on my grub menu. I usually use my D:/ with windows. The first time I used my D:/ to store data with linux, I lost my windows option in my grub menu. I'm not sure what I did wrong but I do want to restore my windows option in my grub menu.
After "fdisk -l",
I checked in /boot/grub and there is no menu.lst to modify. how I can get back my windows option in my grub menu ?
View 24 Replies
View Related
Dec 22, 2010
The first is I seem to have 3 GRUB installs. So whilst I update the one from my live session, the change does not appear in the boot up menu. I had installed 10.10 from a CD into a different partition (sda6), but that will not boot, so I have just deleted this and done another grub install and update. The kernel I am using has just been updated from 10.04 to 10.10 too, and it is this that I use and the Grub I have been working on (sda5).
[Code]...
View 9 Replies
View Related
Nov 28, 2010
i have dual boot computer win7 and 10.04 ubuntu. i installed the ubuntu inside the win7
now i have problem that GRUB prompt out every reboot. i could get into system by type this(but GRUB come back after reboot)
Code:
set root=(hd0,1)
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
linux /vmlinuz root=/dev/sda1 loop=/ubuntu/disks/root.disk ro quiet splash
initrd /initrd.img
[Code].....
View 2 Replies
View Related
Mar 12, 2011
I'm having a issue. It first started a few nights ago, and after booting from the live cd and reading around, I saw it mentioned somewhere that it might help to update GRUB. I did this using sudo update-grub. This took care of the issue, with an unexpected, but not altogether unwanted result: instead of having to choose a temporary boot device to boot on to the external drive Ubuntu is on, I got a grub menu which showed the the OSs for both HDDS. I thought all was fine, but a few days later, same thing. Updated grub again, and all was okay. Tonight, it happened again.
When I try to update grub now it says:
Code:
ubuntu@ubuntu:~$ sudo update-grub
/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
Here's the result of the boot info script.
Code:
Boot Info Script 0.55 dated February 15th, 2010
Boot Info Summary
=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in partition #1 for (,msdos1)/boot/grub.
=> No boot loader is installed in the MBR of /dev/sdb .....
View 7 Replies
View Related
Apr 2, 2011
In my previous thread I found out that liquorix kernel wasn't booting properly, so I decided to uninstall it. But then my pc froze and when I restarted it, I had the grub prompt again, only this time the kernel set to boot is 2.6.35-25-generic.
Output of bootscript:
Code:
Boot Info Summary:
View 7 Replies
View Related