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.
My XP crashed and I had to reinstall it in order to reach my Ghost image file (it'd be a long story why). After that - and I fully understand why - my SuSe 10 GRUB was wiped from MBR (or at least it is not showing during boot), and I can't log on to Linux.
Question is, and I know there has to be some very simple operation for that, how do I "bring it back" and make everything like it was in good old days of two fully functional systems?
Please use the search feature on this forum. This question has been asked at least twice today...anyway you would have to boot using a rescue disk or live-cd and run
Code:
grub-install /dev/hdX
X should be replaced with your device where you want to install grub.
Sorry, tried to (I noticed a button just for that purpose) before posting a new thread, didn't get any result similar to my problem. Probably I didn't do it right, searched I mean.
Anyway, thanks for helping me out. I'll do exactly as you suggested - after I download a live CD Distro (didn't even bother to make a rescue disk, now I will).
After reinstalling XP no more GRUB loader - solved
PHP Code:
grub-install /dev/hdX
I'd like to share my experience with other Linux newbies with similar problems to my own - finally I noticed GRUB threads.
I"m most grateful for advice I received on this forum but, regretfully, it didn't work.
So, out of sheer desperation I put this evening my installation SuSe10 CD in CDD - firm in my resolution to fix the problem, even if it meant reinstalling the whole system (and it wouldn't be for the first time, believe me). To my utter amazement I found out that very soon I was offered possibilities of installing new system, or repairing the existing one! Just like in XP!
Naturally I chose "repair" and was immediately offered "automatic repair" "specific repair" and "expert repair" options. Characteristically for a newbie, I chose "expert" - what else? There were quite a few tools to repair almost everything!
Reinstalling the GRUB went off like a breeze and I'm right now writing this from my SuSe. I'm very glad that guys in Novell obviously thought of everything - and I have to admit I'm impressed.
I just hope (probably in vain) that old hands in Linux wan't laugh - but for me it was almost a revelation. And I learned something more, again. So, my fellow newbies, review first your "inner resources" before going to forums for advice - and that's experience talking now!
[PHP]I just hope (probably in vain) that old hands in Linux wan't laugh - but for me it was almost a revelation. And I learned something more, again. So, my fellow newbies, review first your "inner resources" before going to forums for advice - and that's experience talking now!
Why would anyone laugh about that? It's not like grub documentation is exactly clear, even to longtime technical users, and a lot of grub is inadequately documented. Novell implemented something very well because they paid their developers to read and extend code interoperating with grub - not everyone has the resources or time to learn the inner workings of undocumented applications by reading the code to grasp both the architecture and actual implementation. Heck, I've successfully rebuilt master boot records literally byte by byte using hex editors (in the days before data recovery apps) and I sometimes get confused by certain aspects of grub.
[I]Helpful hints (not directed at anyone in particular, just the guilty parties ): * Try searching. You will probably find your question is already answered multiple times - and get the answer you are looking for right away -- no waiting! * Read the stickies * Want to know which distro is right for you? Try several. Check out distrowatch. Read the stickies. * Want people to take you seriously? If you mean "you" type "you" not "u." Drop the 1337 5p34k. Yesterday. It ceased to be cool 11 years ago.(see http://www.catb.org/~esr/faqs/smart-questions.html) * it is always better to post in an existing thread than to start a new one. (See http://www.albinoblacksheep.com/flash/posting.php) * Make your topic's title descriptive of the issue (see http://www.catb.org/~esr/faqs/smart-questions.html) [/I]
Thanks for your moral support. It means a lot to me to know that by writing about my experience I (at least) didn't f**k up anything.
I followed the links you posted in you signature and found them to be most helpful, interesting and refreshing reading. Saved instructions. Tried to send you a private message (not to bore everyone in forum), but obviously I don't have the necessary rank/permit or whatever to do so.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.