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!
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.
I am using Fedora-8 and currently learning about grub.
On booting my system,in grub shell I typed find /boot/grub/stage1
It flashes an error Error 15: File not found
Then I simply boot my system and checked stage1 file.It was there.
Why it was not showing in grub shell?
I am running this command as superuser
I've tried your solution. While unhide (hd0),an error was falsing. Error 30: Invalid Argument
My Windows is on first partition ie (hd0,0).
How to solve this?
while unhide (hd0,4) an error was shown Error 5: Partition table invalid or corrupt
One magic happened:
before running unhide, on fdisk -l all /dev/sda1 to /dev/sda5 was there, but after running unhide, fdisk -l only showing upto /dev/sda4,with and error Warning: invalid flag 0x0000 of partition table 5 will be corrected by w(rite)
Then I did fdisk /dev/sda and press w(rite) , it again gave an error WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
The kernel still uses the old table.
The new table will be used at the next reboot.
What is this?
I think, my system is full of errors and warnings.
strange things are happening
I rebooted my system and after linux kernel uncompressed, hell lot of errors were there.
monut: Could not find the filesystem '/dev/mount
setuproot: moving /dev/failed :No such file or directory
setuproot: error mounting /proc :No such file or directory
setuproot: error mounting /sys :No such file or directory
switchroot: mount failed :No such file or directory
and system hangs.
I am posting this from windows_XP, how to fix the problem?
You wrote a new partition table with fdisk and you messed up some things.That's why it's not good to use commands that you don't understand completly what they can do.
Do you have some program in Windoze to see your current hard disk state (partitions) and can you say how your disk was partitioned before this?
On what partition was Fedora installed and did you maybe had a separate /boot partition?
I have no such software. I have one ext2-fsd which shows linux partition on windows.But now, it says unavailable location to linux and swap partition.But yes, seprate /boot partition is good. I can still see /boot in windows.
How can I get back my linux.
Have a look here;1,2.Remember,you must know where is your /root partition and point Grub to it,so that Fedora would run,also you must know where is /boot partition,so that Grub would be installed on the right partition.Maybe you should install Grub to MBR.
Have a look here,too.
Thank you man. Testdisk worked.
My grub need not be reinstalled as only partition table was corrupted( only pointers were lost may be) , i think. One more question,while installing grub stage1 is installed in MBR, does this file do anything with 64 bytes of partition table?
And yes, my previous query was still not solved., ie GRUB shell still not able to find /boot/grub/stage1.