LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 07: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, 08: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, 08:19 PM   #3
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
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, 08: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, 09:53 PM   #5
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

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 09:54 PM.
 
  


Reply

Tags
grub2



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 02:23 AM
GRUB Configuration file Woes. Simdude90015 Linux - Software 12 01-27-2006 08:51 PM
Doom3: DoomConfig.cfg keeps getting reset (keyboard configuration lost) DaneM Linux - Games 0 11-20-2005 05:01 PM
Grub configuration file Buruma Linux - Newbie 10 06-20-2005 09:29 PM
grub bootloader : saving a new configuration file? lynnsbomb Mandriva 3 02-03-2004 04:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:11 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration