Debian :: 'update Grub' Command To Use?
Jan 20, 2011
I have two partitions with Debian on them. One is straight Debian and I installed Grub to the MBR. Another is Linux Mint LMDE and I installed (or so I think) grub to the root partition. Mint is not listed when Debian boots up and there's no entry for it. What did I do wrong? I'm not familiar with Grub 2. Is there some 'update grub' command that I need to use? Why doesn't this get configured when the other OS is installed? Or is this just how it works? I suppose grub will work for the other OS. If I 'update' Grub with my Debian system, it will "detect" the new OS, maybe? I wanted the current Grub in my Debian install to handle everything since the Mint install isn't my main system and just experimental for me.
View 4 Replies
ADVERTISEMENT
Mar 26, 2010
today i changed my grub boot order, and to make that work i need to do sudo grub-update.however, it doesnt work. does anyone know why, maybe the command changed?
View 4 Replies
View Related
Jun 16, 2011
I have done the kernel compilation for linux-2.6.38.5 I have perform all the steps well ,once i am updating in /boot/ grub/menu.lst & giving command update-grub it showing this error
Code:
[root@localhost grub]# update-grub
bash: update-grub: command not found
I have install it also through
Code:
yum install grub
I gave this command
Code:
grub-setup --version
still same error ]grub-setup not found
View 2 Replies
View Related
May 18, 2010
I'm using Ubuntu 10.04 Lucid LTS. I have problem with my Ubuntu,Whenever I ran "sudo update-grub" command it did not detect my Ubuntu kernel nor Windows XP installation on another drive (I installed Ubuntu and Windows in different drive).It just display "Generating grub.cfg" and then "done". No "Found kernel..." message.
View 1 Replies
View Related
Apr 7, 2010
after doing an upgrade to 10.4 and updating grub I get this message. how do I address this
[Code]...
View 2 Replies
View Related
Sep 29, 2010
I recently updated, and now when I boot it only goes as far as grub command line. There is no grub menu. The computer is a Dell Inspiron 8600 laptop with only Ubuntu installed -- no dual boot, no weird partition schemes. Originally installed Ubuntu 09.04 on this computer, upgraded a couple times and it currently has (had) 10.04.1 LTS running. The update should have upgraded from kernel 2.6.32-23 to 2.6.32-24. I can boot with a live CD and mount the hard drive. The drive seems fine, so it appears to be simply a grub config issue. I have to boot with live cd to get online to check for potential solutions. So I'm taking some notes on how to use grub.
View 4 Replies
View Related
Dec 2, 2010
What is the command line to update grub in mandriva 2010
View 5 Replies
View Related
Apr 29, 2011
I upgraded from Meerkat to Narwhal. After all the files have been downloaded and installed it rebooted. Once it rebooted it went straight to the GRUB command line. After couple of hours of research, I ended up at
[URL]
My root was at (hd0,1). So therefore I put this in at the GRUB prompt.
set root=(hd0,1)
linux /vmlinuz root=/dev/sda1 ro
initrd /initrd.img
boot
I did what it said and it got me into Ubuntu. Nice! It asked me to: After successfully booting into the system the user should run sudo update-grub I did. Next it asked me to review (/boot/grub/grub.cfg). That's where it is hairy, my file has multiple root settings and with msdos settings. That doesn't seem normal.
[Code]....
View 3 Replies
View Related
Sep 14, 2014
I installed Windows Xp 64bit(in a partition called d:) with dual boot with Debian Wheezy. Installed first Windows Xp and after Debian Wheezy, but grub is not seeing Windows!
Look at my "fdisk -l".
root@robgeek:/home/rob# fdisk -l
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xe274e274
[Code] ....
View 2 Replies
View Related
Oct 2, 2010
I have a Lenny inside a xp. I changed my installation and make a boot partition , a home directory, and a system directory. now I reinstall my xp and do this:
find /grub/stage1
root (hd0,6)
setup (hd0,6)
and grub menu found! but when I clicked on debian, can't boot and I have a message about can't boot from this vmlinuz ( or any thing similar!) , click on any key and then it come back to grub menu. my debian is on (hd0,9) and (hd0,6) is my boot partition.
View 4 Replies
View Related
Jun 12, 2011
I am new to linux. I have mounted debian on vmware. Now I would like to get the updates on linux on the desktop all I can see it computer, my home, and trash icons. How can I get the updates. How can I go to command prompt.
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
May 18, 2010
Last nigth I upgrade my system to squeeze and it whent well except for grub-pc and udev. If i try to upgrade now udev will not install do to problems with the kernel version and grub-pc can't seem to find the boot image.
[Code].....
View 3 Replies
View Related
Jul 22, 2011
yesterday I updated my squeeze amd64 on my Phenom X4 and now it is not booting anymore. Have you experienced the same problem?
After that I noticed the shutdown was not working anymore, it just restarted instead of powering down. This morning it wouldn't boot squeeze anymore, when grub starts and prints "Welcome to grub" (or something like that) the list of operating systems is not shown.
I noticed the updated also included grub and I saw it correctly detected my operating systems.
I am planning to boot knoppix soon and try to reinstall grub from chroot, but currently I am at work.
View 2 Replies
View Related
May 18, 2010
I used the Debian Lenny (main, not testing) update manager yesterday to install some new updates. Took a few minutes and no problems but today I started up and for some reason my system wouldn`t load.The hard drive installer automatically sets hd1,0 as my Debian system when it`s 0,0. I had changed this but upon updating yesterday the system again has grub using the previous setting.
Is there any logical reason why a system update (not upgrade, just small update via update manager using only main files not testing or volatile nor backports) could or would change my grub settings back to the wrong ones? I haven`t installed anything else, the only change has been the standard system update so it can only be that which caused it, but why?
View 7 Replies
View Related
Feb 7, 2011
Well it didn't go smoothly for me. After downloading over 1,6Gb (!) of that new Debian version and restarting I was 'greeted' by a dreaded CLI instead of gnome. To make matters worse I got "command aptitude not found".
'apt-get' still worked.
Anyway, if you're gonna update check dependencies first. It seems I lost gnome due to gstreamer0.10-gnomevfs. So first uninstall that package if you got it.
View 14 Replies
View Related
May 2, 2015
I wanted to install Debian 8.0 on my second hdd in my UEFI machine, but when I choose UEFI boot from USB, GRUB command line appears, and I cannot boot up the setup. I used Rufus to create the bootable USB stick, using the amd64 kde CD image. I tried several images and I deleted the Linux and Efi partitions from previous installation of Ubuntu . Also I deleted GRUB from the Windows 7 Efi partition.
In the UEFI setup fast boot and secure boot are disabled, and I don't seem to have the option to boot in legacy mode, if I choose the simple USB boot option (without "UEFI" in front) I get "please insert correct boot media, and press any key or reboot". I couldn't manually boot from GRUB command line, because it is showing that all the drives are empty, and if I type "boot" I get "please load the kernel first".
View 2 Replies
View Related
Feb 24, 2009
I'm running Debian testing and after a recent software update, suddenly I can no longer boot into my single Linux kernel image anymore. I did look at the software update before I did it and I don't believe that it removed any software packages. When I try to boot into my linux 2.6.26-1-amd64 image, I get the following message from grub:"error: unknown command `initrd'"..The same error appears if I try to boot into single-user mode. I have a Windows XP partition on the same hard disk and I am still able to boot into that from grub. I've searched the net and haven't really found my same problem replicated anywhere. I would imagine that the problem is just that somehow the initrd package got removed in my last software update, but again I don't recall seeing any software that the update planned to remove.
Any thoughts on how I would go about fixing this problem? Since I'm unable to get into Linux at all, I imagine I'll have to use a LiveCD to get in and fix the problem, but I don't know where to begin looking.
View 8 Replies
View Related
Feb 28, 2011
I have an old BIOS (only 149 GB detected in 160 GB drive). I have installed very few OS as a result - Windows in first 80 GB , 2 distros (20 GB each) in next 40 MB which is within the 149 GB. On issue of "update-grub" grub seems to detect all OS and generates grub.cfg. But on boot , one distro does not appear in the menu.
View 3 Replies
View Related
Mar 5, 2011
I was unaware of the difficulties of installing and booting Ubuntu from the "onboard raid" that the NVIDIA nForce chipsets provide. However, I've managed to get it working reliably with one single caveat:
When update-grub builds the grub.cfg, it refers to all of my partitions as follows:
Code:
menuentry 'Ubuntu, with Linux 2.6.35-27-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(/dev/mapper/nvidia_caifaefg,msdos5)'
[Code]...
So I'm guessing that the whole nvidia_blah,msdos5 is because of that. However, it doesn't seem to explain why Grub would THINK that would work and it in fact does not work. That's the biggest source of confusion on my part.
My questions are as follows: First off, because as an IT person I want to know: Why does this sort of change work? What does changing that device name change in GRUB's behavior? Is there a setting in /etc/default/grub that would change the way it's naming these RAID devices? Is there a value for this setting that would give me the device names that work, as explained above?
If there is no setting change I can make in /etc/default/grub, could I add a sed command on to the end of update-grub or can I make a modification to one of the scripts in /etc/grub.d? What sort of change would be recommended? How would I preserve this change through later package upgrades that would possibly rewrite these files?
View 1 Replies
View Related
Nov 24, 2010
I created a new partition in Windows Vista which, after rebooting, screwed up Grub. I believe that I need to reinstall Grub and everything should be fine, and I remember reading the command to do this on this forum, but I can't find it. When I boot, I now get a black screen with white letters instead of the Grub boot menu. It says something about "Minimal Grub" at the top and gives me a prompt that looks like this.
grub>
I can boot the live CD and I have internet access with it, but I can not remember the terminal command to repair Grub. Can someone tell me this command?
View 7 Replies
View Related
Sep 2, 2009
A failed upgrade, from disk images, of Fedora 10 to 11 resulted in no GRUB bootloader main menu appearing on bootup (no WIN, no LINUX choices from which to boot). I am booted directly into the GRUB command shell...so, no WIN, no LINUX, nothing. And my understanding of GRUB shell commands is very low.I have 2 hard disks, WIN on the first, LINUX on the second. I believe GRUB Bootloader is on the first disk.Sadly, I have no external install media.An old grub.conf hardcopy indicates that root =/dev/sdb2, root (hd1,0), kernel /vmlinuz....olderversion...(relative to /boot),initrd /initrd...olderversion... (relative to boot). and WINDOWS on (hd0,1), with chainloader +1
I need to somehow get past this grub shell, and re-install/re-instate the grub bootloader, so it can boot normally.What grub command(s) must I use? I've played around with the commands, but with no success.I worry that if I can't resolve this, the whole machine may be useless.
View 9 Replies
View Related
Mar 4, 2011
I have 2 hard disks. sda,sdb
In sda, I have 4 partitions, and I have windows 7 in one of the extended partitions [not in the primary partition].
In sdb, I have 3 partitions. 2 for storage, and 1 10GB drive for Ubuntu. Again, Ubuntu is not of a primary partition.
I had ubuntu 10.04 running on that for a long time. However, I wanted to reinstall ubuntu and use 10.10.This is what I did EXACTLY:Booted from Ubuntu install CD
Chose advanced istall
Selected sdb3 for Ubuntu
I installed GRUB2 on the SAME partition as Ubuntu aka sdb3 Installed then rebooted
I can boot into Ubuntu fine, but whenever I select Windows 7 bootloader from the GRUB menu, the screen goes black, and my PC reboots.
Boot Info:
Code:
Boot Info Script 0.55 dated February 15th, 2010 [code]....
ls: reading directory sda6/: Input/output error
I have tried the testdisk/update-grub method, but it didn't work.
View 9 Replies
View Related
Dec 1, 2010
Code:
grub-install -v
grub-install (GNU GRUB 0.97)
I loaded GRUB, and now when I reboot it goes straight into the 'grub>' command line. Initially GRUB had the root as (hd0,2), whereas the boot is on (hd0,1)...(hd0,2) is my '/home' partition, and (hd0,1) is my '/' partition... So on a bootup I ran...
Code:
root (hd0,1)
setup (hd0)
Now when I boot I still get the 'grub>' command line, but now the root is correct.
From 'grub>' I can type...
Code:
grub> configfile /boot/grub/menu.lst
GRUB will then show the menu, and I can click the listings to load them. All's fine, but why doesn't GRUB just load the menu.lst without my prompting? How can I automate this process of typing 'configfile /boot/grub/menu.lst' each time I boot?
View 1 Replies
View Related
May 2, 2015
After some updates Jessie 8 my boot grub shows now 2 kernel versions to boot from.
3.16.0-4-amd64
3.16-3-amd64
- How do I know which one is the newest and if happy with it, how to remove the older one?
View 9 Replies
View Related
Dec 1, 2010
Ran the updater, went to boot to Win7 to use Photoshop and realized that the grub menu was gone. Ubuntu boots by default now. I tried running "sudo update-grub" at a virtual terminal and while it listed the various linux kernels ok, it then got caught in a loop spitting out some crazy looking errors. I rebooted and Ubuntu came up fine. I tried running "sudo update-grub" again from the gnome terminal and it hangs the whole computer for a few minutes and finally gives me this:
[Code]...
View 1 Replies
View Related
Nov 12, 2010
I've been trying change the default OS in GRUB. I changed the value for GRUB_DEFAULT in etc/default/grub. However, when I run update-grub, I get the following error:
/etc/default/grub: 19: e: not found
View 7 Replies
View Related
Apr 19, 2011
I updated my grub yesterday using the command:
Quote:
sudo grub-update
and I rebooted and grub menu not coming now. I have a dual boot with Win7. Ubuntu 10.04 is installed with WUBI. I can run WIN7 but can't run Ubuntu now.
View 7 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
Jun 2, 2010
Can I use the grub command line to reinstall grub from a ubuntu cd?
View 1 Replies
View Related