LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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
 
Search this Thread
Old 07-17-2009, 08:42 PM   #1
niravshah
Member
 
Registered: Jul 2009
Posts: 83

Rep: Reputation: 16
grub.cfg file configuration help


I have installed grub2 on a flash drive
though after installing I did not find grub.cfg file in the /boot/grub/
so i placed it from the my existing system but the problem is when i boot from this flash drive i get this error

unknown command 'boot' for all the menu item

I have added this entry to my
menuentry " Testing to boot ISO" {
loopback loop (hd0,0)/myiso.iso
linux (loop)/isolinux/vmlinuz boot=fll quiet vga=791 fromiso=/myiso.iso
initrd (loop)/isolinux/initrd.img
boot
}

anyidea what causing this error
 
Old 07-17-2009, 09:13 PM   #2
niravshah
Member
 
Registered: Jul 2009
Posts: 83

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by niravshah View Post
I have installed grub2 on a flash drive
though after installing I did not find grub.cfg file in the /boot/grub/
so i placed it from the my existing system but the problem is when i boot from this flash drive i get this error

unknown command 'boot' for all the menu item

I have added this entry to my
menuentry " Testing to boot ISO" {
loopback loop (hd0,0)/myiso.iso
linux (loop)/isolinux/vmlinuz boot=fll quiet vga=791 fromiso=/myiso.iso
initrd (loop)/isolinux/initrd.img
boot
}

anyidea what causing this error
come on guys plsssssssssss
 
Old 07-17-2009, 09:19 PM   #3
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,084

Rep: Reputation: 336Reputation: 336Reputation: 336Reputation: 336
did you read the last post I made to your other thread?
there's a post there about the initrd thing
 
Old 07-17-2009, 09:20 PM   #4
niravshah
Member
 
Registered: Jul 2009
Posts: 83

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by linus72 View Post
did you read the last post I made to your other thread?
there's a post there about the initrd thing
I did but tht doesn work
 
Old 09-19-2009, 10:53 PM   #5
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Rep: Reputation: Disabled
hi

I have not succeeded with my efforts in this area atm but I can spot some minor errors

(hd0,0)

grub2 counts hds from zero.....ok
grub2 counts partitions from ONE

2) assuming its now (hd0,1)/myiso.iso...are you sure your iso is under /?


3) if you mount the cd normally....are you sure the filenames on the cd and pathway are
/isolinux/vmlinuz etc?

4) fromiso needs a full pathway is dev speak

/dev/sda1/pathway/myiso.iso

it could be vmlinuz-version x?

Last edited by aus9; 09-19-2009 at 10:54 PM.
 
  


Reply

Tags
grub2


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
grub configuration file Glemu Linux - Newbie 3 10-19-2006 03:23 AM
GRUB Configuration file Woes. Simdude90015 Linux - Software 12 01-27-2006 09:51 PM
Doom3: DoomConfig.cfg keeps getting reset (keyboard configuration lost) DaneM Linux - Games 0 11-20-2005 06:01 PM
Grub configuration file Buruma Linux - Newbie 10 06-20-2005 10:29 PM
grub bootloader : saving a new configuration file? lynnsbomb Mandriva 3 02-03-2004 05:10 PM


All times are GMT -5. The time now is 01:05 AM.

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