Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
So I have a RedHat 7.2 load on my machine. I have a VFAT partition where was gonna put my Win32 apps and run WINE to play Star Craft on Linux, cool huh? Right, well anyway, I figured out that it would be a lot better to load Win9x onto one of the VFAT parts to help WINE out, so last night I installed Win9x onto one of the VFAT parts to give WINE some help....
Of course, GRUB doesn't work since Windows overwrote the MBR, but I can't boot to anything.. Linux boot disk to the rescue. I boot to the disk, chroot /mnt/sysimage and then try to :
/sbin/grub: Not found
I KNOW that i am in the right dir. I know I am running grub-install right because when I run it with no arguments, it gives me the help menu, but when I try to run it with arguments and devices, etc, I get the previous error. Any advice?
Location: Vienna / Austria / Europe / Earth / Milky Way
Re: GRUB not reinstalling
Originally posted by jboo Linux boot disk to the rescue. I boot to the disk, chroot /mnt/sysimage and then try to :
/sbin/grub: Not found
I'm a little bitt puzzled. You say you chroot to /mnt/sysimage but call grub-install with /mnt/sysimage/sbin/grub-install? Something isn't working right here. When you chroot to /mnt/sysimage you should be able to call grub-install through /sbin/grub-install directly.
So I guess your chroot hasn't worked. Did you take a look at the grub-install script? After all, it's just a script. It calls grub (yes, that /sbin/grub path is hardcoded into that script) - you can easily copy that script over to some tmp directory and tweak it there.
Or you try to find out why your chroot hasn't worked - there might be several reasons for that.
I am facing a simliar problem. I had to reinstall my WindowsXP and that overwrote the MBR.
I have a small doubt,
>Linux boot disk to the rescue
>grub>root (hd0,7) //the number 7 is my linux boot partition mark
>reboot your computer then everything is OK
How do I find the linux boot partition mark on my system. On my machine the linux partition is shown as /dev/hda5. Does that mean my linux boot partition on hd0 is 5 and hence I should use root (hd0, 5) .
One of my friends (who lost that command now!) had got a command line for installing GRUB directly from the RH 9 Distro CDs, which directly put the GRUB (If it was lost after the MBR got cleared, because we reinstalled our windows, for both 98 or XP) on to it's place right working for us.
Does anyone have any idea of this? Please help.
I right am running Fedora Core 2. Provide equivalent commands for it too!