Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Distribution: Debian, Fedora 8 and 9, Mandriva 2009, Mepis, Kubuntu, SuSe 10.1, Slackware 12.1 - and Knoppix.
How to create a boot sector under Linux?
The hard drive that used to be drive C when this was a Windows machine, and then became hda under Linux, died a week or so ago. I replaced it with a new hard drive, and reinstalled all the stuff that was on there - nothing lost.
EXCEPT that it won't boot. Fortunately, I have a GRUB boot floppy so can still work, but NOWHERE can I find how to create a MBR or boot sector in Linux. Various sites suggest using a Windows 3.1 boot floppy and doing an FDISK /MBR - but surely that's a cop-out, and anyway I don't have a Win 3.1 boot floppy any more. The last one I had self-destructed years ago.
Is there really no Linux command that will create an MBR on hda?
Then, how do I get GRUB boot onto it? I have the menu.lst and all the rest. All I have to do once the GRUB floppy has started is type
configfile (hd0,0)/grub/menu.lst and off we go - with all the different distros on the machine available to select.
You list a few distributions, so even if I knew/remembered the right distribution specific details, I wouldn't know which to provide.
I did a quick google search and the top several hits I found were all just suggestions to get those instructions from man grub-install or info grub-install. I'm not at a Linux system now to check how obvious the answer will be within that man or info output.