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.
I ran fsck despite *** SEVERE DAMAGE *** warning, and it did some ugly things, and now I have no grub. (only later I learned the propper way to check disk)
So I restored mbr with win xp setup disk.
Is it fixable?
I tried with linux live (knoppix) but I've got nowhere.
All you need is a live cd that uses grub2, an old knoppix cd will probably have grub legacy. ubuntu uses grub2 and a few others. Which distro do you have using grub2?
Here is some documemtation and link to download grub2.
What distro is on /dev/hda2? Knoppix? What filesystem is on /dev/hda2, ext2, reiser ...?
If you cannot mount the OS partition then you won't be able to restore grub. So you have to fix this issue first.
And please give more info on the commands that you issued and what the result was.
(1) The Partition hda2 where Linux is residing is corrupted and cannot be mounted.
This is a killer. If you you cannot mount the Linux partition you cannot restore Grub2 as it needs the hard disk address of its second stage core.img.
(2) The source of Grub2 is unclear.
AFAIK Knoppix is nowhere near offering Grub2 so the original distro CD or DVD should be used. Although the package installer can install Grub2 but some supporting files may be missing if the distro has been configured to run only Grub1.
If the above are true then a re-installation can be more productive.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.