LinuxQuestions.org
Help answer threads with 0 replies.
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 01-15-2008, 12:19 AM   #1
gordon__1
LQ Newbie
 
Registered: Jan 2008
Posts: 10

Rep: Reputation: 0
Terminal command: cannot run bootinst.sh


ISSUE RESOLVED-NO FURTHER HELP NEEDED


I'm definitely struggling through the setup of Backtrack. I'm also

learning a lot so it can't be all bad right? I'm currently at this instructional step:

Run the bootinst.sh script contained in the boot directory on the first partition (/mnt/sda1/boot/bootinst.sh). This will make the SD card/USB flash drive bootable.

I'm in terminal, at root :/# i type /mnt/sdb1/boot/bootinst.sh and am advised no such file or directory

Well, in the File System I can browse the partition and the bootinst.sh file is located in the boot folder where it should be.

I'm stuck, the sdb1 partition is Fat16 as required, it contains the boot folder with all the files, so i guess i'm not mounting this partition properly, so the computer can't get to the file?

Last edited by gordon__1; 01-15-2008 at 12:42 AM. Reason: issue resolved
 
Old 01-18-2008, 11:27 AM   #2
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Glad to hear you solved it on your own. Good job.

Now, would mind posting the solution for those who might a similar problem? TIA
 
Old 01-25-2008, 01:29 PM   #3
gordon__1
LQ Newbie
 
Registered: Jan 2008
Posts: 10

Original Poster
Rep: Reputation: 0
./bootinst.sh
 
Old 01-27-2008, 12:02 PM   #4
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
So, there is the actual fix, but how is that going to help anybody else? How about telling us why it worked? If you don't know, then maybe we can help you figure it out.

Are you trying to say that you learned that merely making a script executable isn't enough; you must also either have it in your $PATH, or call it w/ its path included in the name? No, you said you tried
Code:
/mnt/sda1/boot/bootinst.sh
Was it instead that bootinst.sh only worked when it was run from its own directory? If that's so, did you actually run
Code:
cd /mnt/sda1/boot
./bootinst.sh
 
Old 01-28-2008, 03:11 PM   #5
gordon__1
LQ Newbie
 
Registered: Jan 2008
Posts: 10

Original Poster
Rep: Reputation: 0
The problem was caused because I was having difficulty changing over to the USB drive in Terminal. It turns out i was not in the correct directory and once I was, the command worked. I've been working my way through Ubuntu, eeexubuntu, BackTrack3 and my new ASUS eee computer. I'm self taught and have made a lot of progress, there's definitely a learning curve.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
run command in new gnome-terminal checkchan Linux - General 10 08-29-2012 04:55 AM
Run a command on another terminal. mpyusko Slackware 3 06-23-2007 04:44 AM
Run command on a different terminal jantman Linux - General 3 06-07-2006 02:32 PM
Is there a terminal command that I can run that will........... ludwig W Linux - Networking 20 11-28-2005 04:59 PM
Run user command on Terminal startup coolfrog Linux - General 4 09-26-2004 10:08 AM

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

All times are GMT -5. The time now is 08:23 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration