Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello, I am the pure definition of a "newbie". I have never worked with Linux before but as part of my new job I need to format and install a program on a compact flash card. I have followed our procedure to the T but when i install the card I get a No bootable partition error. Here is what I'm doing. I go into Gnome terminal and change to my directory to "cd dcmsetupdir" (this may not be important but I want to give as much info as I can. Then I type "sudo ./format_cf". once this is complete (no errors detected), I type in "sudo ./install_cf" this seems to install correctly but when I boot up the unit with the card in I get the no bootable partition error. I apologize if this is too basic or I have not given enough detail but any help would be GREATLY appreciated.
Thanks for the quick response gentlemen! 1st to Thor I really have a option to use a different version of Linux. To Jefro I need the CF to be bootable. I know the hardware I'm using is ok because I have a CF that does work with it. Finally to David 1357, I tried "sudo fdisk_l" and it asks for a root password. Unfortunately for me and the company, our Linux expert left and did not leve me/us with a password. Where I think my problem is, is with the "sudo ./format_cf". after I enter that command, I get a message "warning no primary partition marked bootable (active). The DOS MBR will not boot this disk". Does this help with the diagnoses?
Finally to David 1357, I tried "sudo fdisk_l" and it asks for a root password. Unfortunately for me and the company, our Linux expert left and did not leve me/us with a password
Hmmm, bummer...you could "sew" the guy - but, if there is data on the system you need to get at, a liveCD can be used for that.
Get one, burn the disk and feed it in the drive, reboot the machine. Try to mount the disk (possibly as easy as opening the file browser) and then, in the console, issue the suggested command on the mounted disk:
Quote:
fdisk -l
Let's see where we get from here...
Thor
Last edited by ButterflyMelissa; 05-05-2011 at 02:02 PM.
...I get a message "warning no primary partition marked bootable (active). The DOS MBR will not boot this disk". Does this help with the diagnoses?
Yes it does, but you will not like the answer. You will need to run fdisk to mark the first partition as bootable. It sounds like your sudo access has been limited to running the two scripts, or the commands in the two scripts.
If you know enough about the scripts' contents, you might be able to modify them to run fdisk for you. However, I do not know enough about sudo, nor do I have enough information about the contents of the scripts, to be able to guarantee that this approach will work or tell you what changes need to be made to the scripts.
Last edited by David1357; 05-05-2011 at 03:47 PM.
Reason: Added possessive apostrophe after "scripts" in first sentence of second paragraph.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.