Update Grub Command Not Working

I have made a change to GRUB2 bootloader in etc/default/grub.
Now I need to run 'update grub' for the change to take effect.
However, the 'update grub' command on the terminal is giving this error message:
Code:
root@debian:/# update grub
bash: update: command not found

Can someone please explain why this command is no longer working?

I've had to make a change to grub because I tried to install a new distro which meant I had to alter grub.
The install wasn't successful so I deleted the grub file and then re-installed it.
The re-installed grub needs a change so I can get sound on my pc.
However, I can't add these changes because the 'update grub' command doesn't work.

I've checked the grub file with another debian distro and they are both the same.
So now I don't know if I need to check if a different grub file is the problem or anything else.
Can someone help?


Similar Content



Grub Directory Has Disappeared - Can't Reinstall Grub

I have tried installing a Ubuntu OS onto a partition (sda3).
When I had difficulties with the install, I decided to delete everything from the partition.

But now when I boot the computer, I get taken to the 'grub rescue' prompt.
I have tried to find grub in my other partitions (sda1 and sda2).
However, the command 'ls (hd0,msdos1)/' for example, does not show a grub directory.
It must've transferred grub to sda3 somehow and now I've deleted it.

I have debian live USB and am trying to install grub with:
Code:
apt-get install-grub /dev/sda

But I get the error message:
Code:
bash: grub-install: command not found

So now I don't know what's going on. Can anyone please help?

GRUB Can`t See My Second Xubuntu Partition

Hello, i hope i created this thread in good place

I have 2 linux Xubuntu 14.04 partitions
GRUB shows only one partition, i cannot switch user to the second partition too, but file manager sees it right.

In GParted it looks like this:
 http://s23.postimg.org/igpp2j1jf/Scr...5_19_08_53.png

the bigger dev/sda/1 partition is my old one which i want to boot with GRUB and use it

and /dev/sda/6 is new which i need to remove

But i cannot do this because GRUB doesn`t see /dev/sda/1, so what can i do?

My GRUB version is 2.02~beta2-9ubuntu1, i tried to update it with sudo update-grub but no effects.

Thanks for your effort

GRUB2 Not Seeing Old Distro When New Distro Is Installed

I have an old debian distro installed on hard disk. The distro is on sda1 partition. I also have Win7 on a seperate hard disk which is on sdb1.
When I boot up, GRUB bootloader opens up and gives me the option to select either OS.

So I recently installed a new debian distro and put into my sda2 partition.
But now when I boot up, GRUB only sees the new distro in sda2 and I can't access the distro in sda1 or Win7 in sdb1.

On one thread someone said mounting the partitions and then using 'update-grub' will resolve the problem.
I tried it and re-booted, but GRUB still only offers the newly installed distro in sda2.

Can someone help please?

Live DVD - Grub Install Issue

Hello all,

I am new to linux but not new to PC's.

I am self taught in everything i know so far.

I have an issue i am looking for some guidance on, i have burned an ISO copy of AVLinux & booted from the Live DVD.

chose to install on partition & created all the necessary file systems etc with GParted then proceeded with the install.

Completed install but when i try to boot no joy.

I have EasyBCD installed on Vista to manage to boot processes.

I am able to get to Grub4dos window & grub> prompt.

I have tried many commands of which i have identifeid the partition is there as correct filesystem, when running the /vmlin....TAB command it locates the name of the linux distro, if i set the drive partition to makeactive it boots up saying no operating system them have to change it back to Vista.

I have two pics that show the grub configuration reading from the live DVD, the install appears to have some missing or not right as opposed to the DVD, can anyone assisst how i can fix this issue?

Do i have to copy each file over manually from the Live DVD's folders?

Cant attach images here so here is the differeneces,

these are the listing on the Grub configuartion being read using the Live DVD,

1. /etc/grub.d
2. /boot/grub/device.map
3. grub-install
4. grub-mkconfig
5. grub-mkdevicemap--device
6. grub-mkfont
7. /boot/grub
8. /boot/grub/grub.cfg
9. /etc/default/grub

Here is what way they are on Live DVD,

1. Present
2. Present
3. Present
4. Present
5. Present
6. Present
7. Present
8. Yellow information bubble
9. Present

My install on partition,

1. Present
2. Yellow information bubble
3. Red X bubble
4. Red X bubble
5. Yellow information bubble
6. Present
7. Yellow information bubble
8. Yellow information bubble
9. Present

what do i need to do to remedy this?

i have attempted the install on couple of different drives, no success.

Centos 6 Grub Issue

Machine is booted into Grub Menu
I am using rescue linux

by doing fdisk -l

it shows
Disk /dev/sda : bla bla bla
Device Boot
/dev/sda1 *

so i install grub using this command in shell

grub-install /dev/sda1

it shows

installation finished. No error reported
This content of the device map /boot/grub/device.map


After re-boot it again shows grub menu

Deleted Partition With Deepin On It, Now Stuck In Grub Rescue Please Help.

Hi, yesterday I decided to install Deepin in a dual boot. I later decided I no longer needed/wanted it so I deleted the partition. Apparently I had grub on that partition as well, and now my laptop only goes to grub rescue and will not boot.
I have an acer aspire v5 touch. Removing the hard drive is not an option. I have tried to access UEFI but my computer just beeps and goes to grub rescue. I have grub rescue disk on a flash drive, I used unetbootin to do that, but iI cannot get to any boot menu (f12), and when I use ls (hd0)/ I get a unknown file system error. Please help, and sorry for my grammar/formatting, I'm on mobile.
Tl;dr: Deleted partition containing grub and deepin, now can only get to grub rescue, and I keep getting an unknown file system error, please help.

Configuring A Dual Boot Arch And Fedora Installation

I have setup a dual boot system with Fedora 21 and Arch Linux. The problem is that Fedora doesn't see my encrypted Arch installation. The installations are on separate partitions and do not share anything apart from hard disk space. I have run the following commands as root in Fedora:

Code:
grub2-install /dev/sda

Code:
os-prober

Code:
grub2-mkconfig -o /boot/grub2/grub.cfg

When I rebooted, Fedora was the only OS entry showing in the GRUB menu.

There was a suggestion from one of the members of the Arch forums that I should write the entry myself into /etc/grub.d/40_custom and then re-build the grub configuration or take the Arch entry from Arch's /boot/grub/grub.cfg and just paste it into the 40_custom in Fedora and rebuild.

How do I boot from a live Arch USB stick into the installed Arch and do as stated above? How would it work? Thanks in advance for your replies.

How To Load Grub Menu

I've just compiled my own kernel (debian), but I have no idea how to boot it. I don't know how to get to the grub menu. I've tried holding shift down at start up but it doesn't work! When I hold down esc it asks me what I want to boot?

I've read that I have to edit the file /etc/default/grub - but I can't since don't have it..

Does anyone know how?

Boot Linux Grub Into Single User Mode?

Hello I just install centOS 7 now.and update centOS 7 now 4 grub booting.I don't wanna kill times and wanna single load with grub.

Something's Wrong With GRUB

Ubuntu 12.04

I installed updates, which included a new kernel. I went to remove one of the older kernels and got:

Code:
jnojr@DEV:~$ sudo apt-get purge linux-image-3.13.0-46-generic
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-3.13.0-46-generic gir1.2-ubuntuoneui-3.0 wireless-regdb iw
  linux-headers-3.13.0-46 crda linux-headers-3.5.0-23-generic lesstif2
  linux-headers-3.5.0-23 libubuntuoneui-3.0-1 thunderbird-globalmenu
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  linux-image-3.13.0-46-generic*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 197 MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 340656 files and directories currently installed.)
Removing linux-image-3.13.0-46-generic ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-46-generic /boot/vmlinuz-3.13.0-46-generic
update-initramfs: Deleting /boot/initrd.img-3.13.0-46-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.13.0-46-generic /boot/vmlinuz-3.13.0-46-generic
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.13.0-51-generic
Found initrd image: /boot/initrd.img-3.13.0-51-generic
Found linux image: /boot/vmlinuz-3.13.0-49-generic
Found initrd image: /boot/initrd.img-3.13.0-49-generic
Found linux image: /boot/vmlinuz-3.13.0-48-generic
Found initrd image: /boot/initrd.img-3.13.0-48-generic
Found Windows Vista (loader) on /dev/sda1
Found CentOS release 6.6 (Final) on /dev/sdb1
Found linux image: /boot/vmlinuz-3.13.0-51-generic
Found initrd image: /boot/initrd.img-3.13.0-51-generic
Found linux image: /boot/vmlinuz-3.13.0-49-generic
Found initrd image: /boot/initrd.img-3.13.0-49-generic
Found linux image: /boot/vmlinuz-3.13.0-48-generic
Found initrd image: /boot/initrd.img-3.13.0-48-generic
Found Windows Vista (loader) on /dev/sda1
Found CentOS release 6.6 (Final) on /dev/sdb1
Found memtest86+ image: /boot/memtest86+.bin
error: syntax error.
error: Incorrect command.
error: syntax error.
error: Incorrect command.
error: syntax error.
error: line no: 146
Syntax errors are detected in generated GRUB config file.
Ensure that there are no errors in /etc/default/grub
and /etc/grub.d/* files or please file a bug report with
/boot/grub/grub.cfg.new file attached.
done
Purging configuration files for linux-image-3.13.0-46-generic ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-46-generic /boot/vmlinuz-3.13.0-46-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.13.0-46-generic /boot/vmlinuz-3.13.0-46-generic

I have no idea how I'd "ensure there are no errors" in the /etc/grub related files... I have no idea what's supposed to be there. Looking at the line it's complaining about in /boot/grub/grub.cfg.new doesn't tell me anything. How do i find out what it's unhappy about?