FedoraThis forum is for the discussion of the Fedora Project.
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 installed windows on a partition on my comp that i had previously deleted it from. my grub went away, and i tried the following to get it back:
1. boot fedora dvd
2. linux rescue
3. chroot /mnt/sysimage
4. grub-install /dev/hda
here's what happens: when i chroot, all of my dev files go away because the /dev that is under /mnt/sysimage is empty, so grub-install cant find hda. also, i tried:
ln -s /dev /dev/dev
but that didn't work. also, i tried not doing the chroot and just making symlinks from / into /mnt/sysimage whenever it told me it couldnt find something, but when i tried to do a symlink in /usr/share for the actual grub files, it told me i was in a read-only file system!
please help me get my linux system back, because i dont want to be stuck with the alternative again! help is much appreciated, because I am out of ideas..
OK, that's your Windows NTFS partition (partition type 7), and grub can't find it's files there, which is to be expected.
Which partition contains your Linux /boot directory (usually setup as a separate partition)? Lets say that it's on the same hard drive, in the second partition (remember that grub counts from 0). In that case, change the root command in the previous post to:
This tells grub that the /boot/grub files are on the first hard drive, second partition.
If the /boot partition is on the first partition of the second drive, then the root command would be:
The setup command tells grub which drive's MBR to modify. If your boot drive is actually the second drive, then specify: