LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-23-2006, 12:10 AM   #1
rajarishi
LQ Newbie
 
Registered: Jun 2006
Posts: 4

Rep: Reputation: 0
How to Execute the Exe in the GRUB prompt?


Hi,

Already i asked about How to mount the External USB drive in the grub prompt?. No reply as positive. So i searched in the net and i mounted my Internal and External USB drives in the grub prompt. Now i can able to see the number of Partitions in the drive and folders and files in the partitions.

But i cann't Execute any Applications/Exe in the GRUB prompt. Plz help me how to run the exe in the grub view.


i am waiting for ur valuable reply,

Bye.

Last edited by rajarishi; 06-23-2006 at 12:18 AM.
 
Old 06-23-2006, 01:20 AM   #2
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
I'm not sure but I'm pretty confident that you can't. It's a boot loader not a shell, there wouldn't be any libs loaded for it to use or an OS to manage IO and resource allocation.

Plus on top of all that, you posted in the wrong forum.
 
Old 06-23-2006, 04:55 AM   #3
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
Do you mean "GRUB view" or the console/shell??

your post is very odd
 
Old 06-23-2006, 06:46 AM   #4
mickyg
Member
 
Registered: Oct 2004
Location: UK
Distribution: Ubuntu/Kubuntu
Posts: 249

Rep: Reputation: 30
I can't imagine why you would want to execute an exe from Grub but I would be interested to know how you managed to mount the usb device from the Grub bootloader as I too would like to know how to do this so that I don't have to alter my BIOS settings everytime I want to boot from a usb stick (i.e. to boot DSL).

P.S.
Before anyone suggested setting my BIOS to look for usb devices before booting from the HD, I've tried that and (maybe cos it's a laptop or maybe just a crap BIOS??) the option to boot from usb is only present when there is a usb device connected, so when there is no usb device connect the BIOS 'forgets' about the need to ever again attempt to boot from usb before HD, which means you have to change it back every time you wanna boot from usb.
 
Old 06-23-2006, 09:04 AM   #5
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,600

Rep: Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083
Moved: This thread is more suitable in Linux - General and has been moved accordingly to help your thread/question get the exposure it deserves.

--jeremy
 
Old 06-23-2006, 09:06 AM   #6
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
Quote:
Originally Posted by mickyg
I can't imagine why you would want to execute an exe from Grub but I would be interested to know how you managed to mount the usb device from the Grub bootloader as I too would like to know how to do this so that I don't have to alter my BIOS settings everytime I want to boot from a usb stick (i.e. to boot DSL).

P.S.
Before anyone suggested setting my BIOS to look for usb devices before booting from the HD, I've tried that and (maybe cos it's a laptop or maybe just a crap BIOS??) the option to boot from usb is only present when there is a usb device connected, so when there is no usb device connect the BIOS 'forgets' about the need to ever again attempt to boot from usb before HD, which means you have to change it back every time you wanna boot from usb.
Flash your BIOS to the latest version? That is the sort of thing they fix in future revisions.

Sorr yit's off topic from the OP
 
Old 08-10-2006, 06:42 AM   #7
mickyg
Member
 
Registered: Oct 2004
Location: UK
Distribution: Ubuntu/Kubuntu
Posts: 249

Rep: Reputation: 30
I have solved the issue of booting a USB drive from GRUB if anyone is interested???

On my laptop it's simply a case of booting from (hd1,0) instead of (hd0,0). I found this out by going to the GRUB console, editing on of the already set up boot options and hitting TAB to see the list of available devices I could boot from. Just a little FYI there
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
no such file or directory exists when trying to execute a exe ryedawg Linux - Software 5 12-05-2005 05:42 AM
execute exe file mtitu11 Linux - General 2 09-12-2005 05:25 PM
How to get .exe to execute in linux stardog2112 Linux - Newbie 2 11-18-2003 10:03 PM
execute pkzip.exe from a php script cuboctahedron Linux - General 7 04-24-2003 08:14 AM
can't execute the .exe and .tar.gz files Vieux Linux - General 12 12-01-2002 05:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:07 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