Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 6th February 2009, 03:58 AM
arun_maurya's Avatar
arun_maurya Offline
Registered User
 
Join Date: Dec 2005
Age: 34
Posts: 59
running commands directly from grub

Dear Sir/Madam,

I don't know whether I should ask this question in this forum or not, but as I discuss all my linux issues in this forum only I am posting this question here.
I am able to run my VirtualBox machine using this command.
VBoxSDL -vm "MyOS" -fullscreen

I am little bit confused that can I run this command from grub or not.

I want to know can I specify commands in grub, ofcourse after mentioning kernel, initrd etc. so that i can boot and run that command directly as in this case booting vms.

thanks.
regards,
Arun Maurya
Reply With Quote
  #2  
Old 6th February 2009, 03:33 PM
stoat Offline
Registered User
 
Join Date: Jun 2006
Posts: 7,551
Quote:
Originally Posted by arun_maurya

I want to know can I specify commands in grub, ofcourse after mentioning kernel, initrd etc. so that i can boot and run that command directly as in this case booting vms.
GRUB, grub.conf, and the GRUB shell will execute only a specific set of GRUB commands. Anything else will produce only an error message. Maybe you can launch your application automatically with a script after the Linux OS boots.
Reply With Quote
  #3  
Old 7th February 2009, 06:33 AM
arun_maurya's Avatar
arun_maurya Offline
Registered User
 
Join Date: Dec 2005
Age: 34
Posts: 59
Quote:
Originally Posted by stoat View Post
GRUB, grub.conf, and the GRUB shell will execute only a specific set of GRUB commands. Anything else will produce only an error message. Maybe you can launch your application automatically with a script after the Linux OS boots.
Thanks, I know that grub has some limited commands only.

we want to boot a virtual OS without completely booting the host os. i.e. directly from grub. may be we need some intermediate utility(having light kernel) to provide the environment. coz if sometimes we want to use the virtual os only, why should host os consume the resources?

regards,
Reply With Quote
  #4  
Old 7th February 2009, 12:09 PM
scottro's Avatar
scottro Offline
Retired Community Manager -- Banned from Texas by popular demand.
 
Join Date: Sep 2007
Location: NYC
Posts: 8,142
Let me make sure I understand the question.

You have HostOS and GuestOS. GuestOS runs in VirtualBox. Let's say, for example, HostOS is Fedora, GuestOS is Ubuntu.
What you would like to do is boot the machine, and then, rather than boot into Fedora itself, start Ubuntu without completely starting Fedora, as, in this case, you just want to run Ubuntu for this session, and feel that there's no point in using the machine's resources to run Fedora.

Is this correct?

If so, I don't think it can be done, but I could be wrong. (The reason I make this post, even though it gives you no real answer, is simply to clarify the question, which isn't yet quite clear to me.)

Last edited by scottro; 7th February 2009 at 12:10 PM. Reason: typos
Reply With Quote
  #5  
Old 11th February 2009, 07:10 AM
arun_maurya's Avatar
arun_maurya Offline
Registered User
 
Join Date: Dec 2005
Age: 34
Posts: 59
Thanks scottro,
Yes thats what I want as if I have installed 4-5 diffrent VMs in virtual box and currently running HostOS Fedora 10. but sometimes I want to run Guest OS without wasting my resources.

I know it is not possible without doing something...else I need to Install some very small linux distro as HostOS which can run VirtualBox directly.
regards,
Reply With Quote
  #6  
Old 11th February 2009, 08:09 AM
davidvandoren Offline
Registered User
 
Join Date: Jan 2009
Posts: 190
maybe you want to look into "moka5 bare metal"
its linux based
or splashtop and see what these guys are up to right now.
moka5 bare metal starts straight into an user interface from which you can start your vms
Reply With Quote
  #7  
Old 11th February 2009, 11:56 AM
scottro's Avatar
scottro Offline
Retired Community Manager -- Banned from Texas by popular demand.
 
Join Date: Sep 2007
Location: NYC
Posts: 8,142
I wasn't familiar with moka5 which sounds very interesting. VMware is now offering a free version of its ESX system as well, which installs a minimal Linux kernel into which you can install various VMs.
Reply With Quote
  #8  
Old 24th February 2009, 11:26 AM
arun_maurya's Avatar
arun_maurya Offline
Registered User
 
Join Date: Dec 2005
Age: 34
Posts: 59
Thanks for your kind suggestions. but I love to use opensource softwares. i.e. using a light kernel for booting and starting Virtualbox or qemu.
regards
Reply With Quote
Reply

Tags
commands, directly, grub, running

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
running .exe directly from samba share abubin Using Fedora 5 25th February 2012 04:46 PM
commands not running khashya Using Fedora 2 16th August 2007 03:55 PM
Grub not working booting directly to WinXP sakthi Installation and Live Media 10 6th July 2006 08:30 AM
Running 2 commands one after another ctugangui Using Fedora 2 26th June 2006 10:10 PM
Dual Boot: GRUB does not load. I goes directly to XP pespinoza Installation and Live Media 23 22nd July 2005 06:10 AM


Current GMT-time: 11:23 (Tuesday, 21-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat