Ubuntu :: GRUB "error: Syntax Error" On Boot?

Nov 3, 2010

Whenever I boot my laptop, I get the following three lines:Code:error: syntax error.error:Incorrect command.error: syntax error.Right after I see the error messages for a couple seconds, the boot screen shows up and the rest of the boot progresses as normal. I'm on a Wubi 10.10 ubuntu install and I'm pretty sure this error has something to do with the GRUB_TIMEOUT line on 'etc/default/grub' file.I was experiencing some weird glitches with the boot splash screen (it was in the wrong resolution and would not display some times) so I edited that file to make it work. Here is the file:

Code:
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.

[code]....

View 9 Replies


ADVERTISEMENT

General :: Error:syntax Error GRUB Or Similar

Feb 5, 2011

My brother has Tri boot Ubuntu ,7 and Vista ..GRUB2 is the bootloader..The problem : At boot after the Lenovo splash disappears , there appears some 4 to 5 lines of error , error:syntax error GRUB or similar..This is visible only for a fraction of a second before the GRUB2 menu pops up...

The OS es load properly on selection in the menu so no loss of functionality One another problem is there is no OS highlighted by default and the timeout message "Automatic Boot in 10 Secs" does not appear Reinstalling GRUB does not solve the issue

View 1 Replies View Related

General :: Unable To Boot Windows / Grub Error Saying GRub Loading Stage2 Read Error

Jul 8, 2011

I am new to Linux. I have installed RHEL 5.4 on my PC with preloaded Windows XP.

Windows was set as the first boot kernel. So if i do not choose which OS to be loaded it will load Windows by Default.

Today I got an error saying GRub Loading Stage2 read error.

View 9 Replies View Related

General :: MySQL Boot Syntax Error?

May 23, 2011

Mental note: ignore start-up process scroll.

Okay, now MySQL is just being (even more) difficult. Prior to boot's starting MySQL, I notice the line

Code:
/etc/rc2.d/S19mysql: line 132: syntax error near unexpected token ')'
Near?? Line 132 consists of

Code:
'stop')

Which is proper, and identical to all the other /etc/rc#.d/S19mysql scripts that don't result in errors. C'mon...!

View 9 Replies View Related

Ubuntu :: Grub Error 17, Grubfix Error 22, Unable To Boot?

Feb 6, 2010

not sure what happened, yesterday i installed the new kernel and played around a bit by uninstalling some older kernels. Everything was fine but now i cant boot into ubuntu any more. I have a Dual boot and Grub let me boot into windows. for linux grub gave error 17 (if i remember correctly).o i popped in the LiveCD and tryed gparted to check for errors (nothing changed). I tried rewriting grub from the live cd and that made matters worse.

Code:
grub> find /boot/grub/stage1
find /boot/grub/stage1

[code]....

View 3 Replies View Related

Ubuntu :: Error: Syntax Error On Line 20 Of /etc/apache2/sites-enabled/portal

Feb 1, 2010

I am trying a release of Ubuntu has have run into a problem that does not make much sense. I am receiving the following error: Syntax error on line 20 of /etc/apache2/sites-enabled/portal: Invalid command 'ProxyHTMLEnable', perhaps misspelled or defined by a module not included in the server configuration
fail! I believe the modules required for this is apt-get install libapache2-mod-proxy-html and it shows under the available modules and it was enabled with a2enmod proxy-html.

The line from the config is ProxyHTMLEnable On. The release is the latest download with updates from, 32bit.

View 4 Replies View Related

Ubuntu :: Create New Directory But Keep Getting Same Error - Bash: Syntax Error Near Unexpected Token `newline'

Jan 13, 2010

I'm trying to create a new directory using the mkdir command.

Code:

home@ubuntu:~$ mkdir <aicoursework>
bash: syntax error near unexpected token `newline'

that's the error that i keep getting, what am i doing wrong?

View 5 Replies View Related

Ubuntu :: ERROR --bash: Syntax Error Near Unexpected Token 2

Feb 4, 2010

The following problem occurs to me, I'm creating a distribution (as a class project) for my school (I'm studying telecommunications and computer systems). I am following, in order to create the distribution, the manual that you can find on this page: [URL] But when I get to write:

[Code]...

View 3 Replies View Related

General :: Broken Dual Boot - Xp / Ub - Error: Error File Not Found - Grub Rescue

May 21, 2011

Ubuntu 9.10 was set up to handle the booting selection - previously I thought it was xp but Ubuntu 9.10 "did" it. The system started out as a xp / ubuntu 9.10 dual boot on a 400gb drive. xp has 210gb, ub has 80 and their is a 100gb shared storage. Xp was installed first and then I followed a guide over at linuxconfig.org to get ub installed so that I could select which OS was wanted at boot. Ubuntu manages the boot up menu (Went back to look at my notes from the original setup) The owner tried to update to ub 11.04 and afterall was said and done the machine now boots to the message

error file not found grub rescue I can't say if 11.04 was properly installed or not. Ask whatever you like and I'll give the best answer I can. I think the xp install is okay but I can't say for certain as I don't know how to boot it outside the bootmanager at startup. Data has been saved so if I have to blow it all away and start over I can but I'm hoping I won't have to.

View 29 Replies View Related

Fedora :: ERROR 1064 (42000): You Have An Error In Your SQL Syntax; Check The Manual That Corresponds To Your MySQL

Jul 20, 2010

i ,musing mysql5 at fedora12 i have just installed it but i ,m using mysqladmin -p root password mypassword it says ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mysqladmin -uroot password 123456' at line 1

View 10 Replies View Related

General :: Bash Error - Syntax Error Near Unexpected Token `{

Mar 4, 2010

I am new to shell scripting, bash specifically.

I am trying to run the following script:

Code:

When trying to execute I always get this error:

Code:

In case you need to know the permissions. Here is it:

Code:

I run the script using the following command:

Code:

View 1 Replies View Related

Programming :: Parse Error: Syntax Error, Unexpected '@' In Php Code

Jun 14, 2011

Parse error: syntax error, unexpected '@' in C:xampphtdocsminippromail.php on line 8 .......its not recognizing the '@' symbol. heres the code im working with

<?php $receiver = myfriend@ourmail.co.in; $subject = wish; $content = Hi! My dear friend how are you.; $sender = myself@ ourmail.co.in ; $headers = From: $sender; mail($receiver,$subject, $content,$headers); echo Mail has been sent successfully.; ?>

View 1 Replies View Related

Ubuntu Installation :: Lucid: Restoring Grub2 (dual Boot) - Error "error File Not Found Grub Rescue"

Apr 30, 2010

After upgrading to 10.04 from 9.10 Win7 wouldn't startup any more. So I tried this HowTo: [URL] to restore Grub2. But now each time I boot up I get this two lines: error file not found grub rescue> I have NO idea what to do.

[Code]...

View 9 Replies View Related

General :: SUSE 10 Syslog-ng Syntax - Bash: Syntax Error Near Unexpected Token "("

Apr 20, 2011

I am a Novell (now defunct) CNE tring to learn Linux and am having a lot of trouble finding out where the WB 6-6 is wrong in the syntax for adding local4... the the syslog-ng config file. In the instructions there are discrepancies between commas and simi-comma, they are both in the statements in no particular order. there is no pattern to them. Here is what the book shows:

filter f_local4debug { level(debug) and facility(local4); };

When I try to input this in the Gnome terminal window to try and find out where it goes wrong I get the following: -bash: syntax error near unexpected token "(" If I can get the correct syntax I belive I can use the info to get past the rest of this portion of the lesson. I am desperate to learn Linux as the only jobs out there for a Novell CNE are migrations to MS, which really sucks, since MS really really sucks.

View 1 Replies View Related

General :: GRUB Boot - Error: Attempting Boot From Hard Drive (c GRUB)

May 16, 2011

we have an oracle application server on red hat 4.6 upon booting it comes up with error: attempting boot from hard drive (c GRUB)

View 2 Replies View Related

Software :: GRUB When Cloning Machine - Error: "An Error Occurred During Boot Loader Installation"

Feb 13, 2010

I used proprietary software (acronis trueimage) to clone an Opensuse 11.1 machine, onto another machine with somewhat distinct hardware (different motherboard, less memory). I expected to have to change entries in /boot/grub/menu.lst, /etc/fstab, etc. I was told a good way to do this was to use the Opensuse DVD's "repair installed system" feature.

When I ran the repair, I was informed that "bootloader configuration file contains errors". I attempted to re-install the bootloader, but received this unhelpful error: "An error occurred during boot loader installation. Retry boot loader configuration?". When I boot the system, I just see the text "GRUB ", followed by a flashing underscore character.

View 4 Replies View Related

General :: Error While Starting Apache2 / Syntax Error On Line 113 Of /etc/apache2/httpd.conf?

Nov 19, 2010

I have suse10 64bit and I was setting up SVN server on it. After all required setup while reloading apache2,its giving the error:

Code:

httpd2-prefork: Syntax error on line 113 of /etc/apache2/httpd.conf: Syntax error on line 31 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib64/apache2/mod_dav_svn.so into server: /usr/lib64/libsvn_subr-1.so.0: undefined symbol: apr_memcache_add_server

View 6 Replies View Related

Ubuntu Installation :: Grub Error: Unknown Filesystem And Grub Error: No Such Disc

Nov 23, 2010

I have a dual boot system with ubuntu 9.10 x64 and Windows 7. Everything has been working fine for a a long time but yesterday I tried to delete an unused partition through the Disk Utility in ubuntu (System->Adminstration->Disk Utility) and everything was messed up. I used to get the "Grub error: Unknown filesystem". I managed to create an ubuntu bootable usb and followed some tutorials for fixing grub but all i managed to do is to get another error: "Grub error: No such disc". After some experimentation i got
"Grub stage 1.5" which gave me a grub> command prompt./dev/sda is the drive containing Windows and Ubuntu.

Code:

[ Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Grub 0.97 is installed in the MBR of /dev/sda and looks on the same drive
in partition #6 for /boot/grub/stage2 and /boot/grub/menu.lst.

[code].....

View 5 Replies View Related

Ubuntu Installation :: Grub Rescue Mode - Error: Cannot Find A Device For /boot/grub (is /dev Mounted?)

Dec 16, 2010

I updated yesterday and now when I start my laptop it goes in to grub rescue mode. I have booted from a 'live cd' and thought I could repair grub from there. In gparted however the partition with ubuntu (sda1) is seen as unknown file system, in terminal when I list the partition table it shows up as FAT16 type. When I try a grub-install it gives this error message:

[Code]....

View 9 Replies View Related

Server :: Script Error: "syntax Error Near Unexpected Token Then"

Jun 9, 2011

I'm trying to get this script working, it's supposed to give me options of typing B to backup a folder, typing R to restore the backup, and typing E to exit.

[Code]....

When I attempt to run the script, I get my echos prompting me to type B, R or E and press enter. When I type B and press Enter, I get this:

Code: line 18: syntax error near unexpected token 'then' line 18: 'then'

View 14 Replies View Related

General :: Error: Syntax Error Before "pid_t" - In Unistd.h ?

Apr 2, 2010

error: syntax error before "pid_t" - in unistd.h ?

View 3 Replies View Related

Software :: Rote.h:121: Error: Syntax Error Before "pid_t"

Apr 2, 2010

I'm trying to compile some code off sourceforge, and getIn file included from rote.c:22:

rote.h:121: error: syntax error before "pid_t"
rote.h:121: warning: no semicolon at end of struct or union

[code]....

View 2 Replies View Related

Programming :: Error - "syntax Error Near Unexpected Token Done"

Jul 23, 2011

I am a newbie in unix shell script programming . After I have tried to execute this code , I found the problem said that "syntax error near unexpected token done" . I don't know that where is the mistake in my code . Could anyone help me out this problem ?, PS* : I executed it in Redhat Enterprise Linux 4 and this is my code :

#!/bin/ksh
# Purge Script
# Input:
# 1. path (absolute path)
# 2. filename (does not apply to empty folder name)
# 3. retention policy (in day)

[Code]...

View 6 Replies View Related

Ubuntu Installation :: Boot Error - 'If I Hit 'Esc' Get To The Grub -meny And Can Boot As Normal?

Sep 4, 2010

I installed Ubuntu 10.04 LTS on a machine with 8.04 LTS, and have dualboot between those i system.The problem is when a start a get a message:'Boot error'If I hit 'Esc' I get to the Grub -meny and can boot as normal.

View 1 Replies View Related

Ubuntu :: Grub Update Error "update-grub Head: Cannot Open `/boot/grub/video.lst' For Reading: No Such File Or Directory"

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

Ubuntu Installation :: Getting GRUB Error 17 On Boot

Jun 17, 2010

I'm trying to fix the partitions on my laptop. how it was setup before I made the change:

[code]...

I shrunk the windows partition to about 150 gigs, and used the unallocated 25 or gigs and formatted it as ext4 and copied dev/sda1 to it. Now I have all the same as above now with

[code]...

I had two installations of ubuntu and deleted the sda1 partition. Now I get a GRUB Error 17 when I boot. I'm in a live CD and I have access to a console, how can I reconfigure GRUB?

View 1 Replies View Related

Ubuntu :: Grub Out Of Disk Error On Boot

Sep 4, 2010

Edit: This is somewhat inaccurate, please see post #16 on page 2 for my actual situation

I'm more than a little confused by this. A little while back I had to reinstall my machine because I had a hard disk failure and I replaced my primary drive.Everything went perfectly smoothly, but then a couple of weeks after that when I rebooted, it dumped my into the grub rescue console

Code:

error: out of disk.
grub rescue>

So, I found a solution to the problem on these forums, rebooted perfectly fine, and thought everything was fine. Until the next time I rebooted, when it happened again. And now, every single time I reboot, I get the same issue.I have to do the following, each and every time I want to reboot - and i'm at a loss to explain why grub is borking itself every time.Boot off a live cd.Open a konsole window

Code:

sudo su -
mount /dev/sda6 /mnt
mount /dev/sda1 /mnt/boot
mount --bind /dev /mnt/dev

[code]....

View 9 Replies View Related

Ubuntu :: Syntax Error When Deleting Dir?

Jun 1, 2011

I am trying to delete a dir (with the CLI), that contains many sub dirs and files:
Hello - DE Important Files Stuff (0000-0001)

I am using the command:
PHP Code:
sudo rm -rf Hello - DE Important Files Stuff (0000-0001)/ 

But I keep getting this error:
PHP Code:
-sh: Syntax error: "(" unexpected

The between the spaces in the file name isn't showing in the PHP code?!?

View 7 Replies View Related

Ubuntu :: Syntax Error On Done Statement

Nov 28, 2010

I have returned the below mentioned lines of code however I am receiving error "Syntax Error On Done Statement".

while:
do
clear
echo "-------------------------------------------------------------------"
echo "Main Menu"
echo "-------------------------------------------------------------------"
echo "[1] Today's Date"
echo "[2] Show files in the current Directory"
read yourch
case $yourch in

1) echo "Today is `date`,press a key ........";read;;
2) echo ls -l;read;;
*) echo "Select the yourch as 1 or 2";

View 3 Replies View Related

Debian :: GRUB Error 15 - Can't Boot ?

Jul 10, 2010

I installed GRUB 2 for someone, and I made a mistake, and did not specify the right place (/dev/sda3 for me) when it asked. Now I can't do anything. I can't boot GRUB, can't do nothing.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved