LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 02-02-2010, 10:23 PM   #1
mitchell7man
Member
 
Registered: Jan 2007
Location: Provo, UT
Distribution: OSX - Fedora
Posts: 458

Rep: Reputation: 31
Smile Booting Fedora 12 from Ubuntu's Grub2, ERROR: NOT AN ASSIGNEMENT


Okay, so I'm trying to boot my Fedora 12 partition, but am failing miserably, when I try to boot Fedora 12 I get "ERROR: NOT AN ASSIGNMENT"

my 40_custom file is as follows:
Code:
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.

menuentry "Fedora (2.6.31.5-127.fc12.x86_64)"
{
   set root = (hd0,2)
   linux /boot/vmlinuz-2.6.31.5-127.fc12.x86_64 ro root=UUID=9990b87d-e7e1-4859-be4c-2885b8e6eb46  LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
    initrd /boot/initramfs-2.6.31.5-127.fc12.x86_64.img
}
#menuentry "Fedora 12"
#{
#set root = (hd0,3)
#linux /boot/vmlinuz-2.6.31.1-127.fc12.x86_64 root=/dev/sda3 ro quiet splash
#initrd /boot/initramfs-2.6.31.1-127.fc12.x86_64.img
#}
Note that I tried this using the entry that is currently commented out and I had the same result. Does anyone know what is wrong? The entry that is currently uncommented came directly from the grub entry created by fedora itself (before I installed ubuntu).

Thanks in advance,
MJ
 
Old 02-03-2010, 03:19 PM   #2
slacker_et
Member
 
Registered: Dec 2009
Distribution: Slackware
Posts: 111

Rep: Reputation: 23
Does Grub2 allow ( and ) in menu entries ?

--ET
 
Old 02-03-2010, 11:56 PM   #3
mitchell7man
Member
 
Registered: Jan 2007
Location: Provo, UT
Distribution: OSX - Fedora
Posts: 458

Original Poster
Rep: Reputation: 31
I don't get what your saying...
 
Old 02-04-2010, 12:09 AM   #4
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,615

Rep: Reputation: Disabled
Why dont you try your fedora entries by removing the parenthesis from the entry name?
 
Old 02-04-2010, 02:17 AM   #5
Phoxis
Member
 
Registered: Feb 2008
Location: India, Kolkata
Distribution: Fedora 16
Posts: 58

Rep: Reputation: 16
Similar post: http://www.linuxquestions.org/questi...gnment-751076/
grub.cfg : http://grub.enbug.org/grub.cfg
 
  


Reply

Tags
error, fedora, fedora 12, grub2, ubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
grub2 returns a "invalid magic number" error when booting slackware 13.0's kernel baji Slackware - Installation 4 03-09-2010 06:15 PM
[SOLVED] Problem in Booting Linux(GRUB2) Kcghost Linux - Software 1 12-04-2009 06:11 PM
Grub2 on flash drive from fedora niravshah Linux - Newbie 3 07-16-2009 05:12 PM
Booting error in puppy linux while booting it from fedora why ? senthilarumugam LinuxQuestions.org Member Intro 1 02-22-2007 02:43 PM
Server IP & Port assignement database software? a2vr6 Linux - Networking 5 02-19-2007 01:57 PM


All times are GMT -5. The time now is 02:14 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration