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 had linux installed on my hard drive and i installed XP over it.
Now that i can only access my windows partition not linux.
Windows has overwritten the boot file.
However i was able to reach to the linux shell in text mode with the Linux CD's but could not create a boot file for it said some missing package.
So I ran the DD command and placed the output file in the Windows drive and changed the boot.ini file to boot from that file.
Now when i start my PC i get a option to load linux and windows,
windows works but linux give me a system32/hal.dll is missing or corrupt error.
Please suggest a way to dual boot Linux and OS.
Thanks in advance
Your post is missing some details.
Which distro? Which bootloader (grub or lilo)? Wubi install?
Although I'm not familiar with the finer details (specially when grub is the bootloader), but you should be able to restore the bootloader in the MBR.
With Lilo it should be in the line of (commands in italics):
boot from Linux (rescue) CD
create a new mountpoint somewhere (e.g. mkdir /newmountpoint)
mount the linux partition (/dev/sdaX or /dev/hdaX) on e.g. /newmountpoint (e.g mount /dev/sdaX /newmountpoint if I'm not mistaken) chroot /newmountpoint lilo
For GRUB, you can search for something like grub restore bootloader or supergrub
Last edited by Wim Sturkenboom; 06-26-2009 at 02:31 AM.
Reason: Added grub info
My impression is (and I may well be mistaken so check it out) that you can't install windows after having installed linux. Windows does something nasty to the mbr. What I have always heard and read is that you first install windows and then install linux on top of that. You will then be able to boot up in either OS.
I havent configured my linux boot yet.Linux was installed first.
Its a RH5 linux..
I get a missing package library error when i choose the MBR at recovery process...
would this process of creating a new mountpoint and loading from the mountpoint, solve the problem.
if we could somehow manage to load linux we can configure the linux system to dual boot.
iam new to all this.anyway let me try that after a word from u guys.
Pls rember always install windows first then install linux.
If u install linux first and then secon windows then windows
will over write the linux boot loder and u will not able to boot linux.
TTHis is exactly what happen here.
Now have there are two ways to recover it.
1)reinstall grub boot loder in resque mode.
Steps:- boot the system in resque mode.
2)other wise install winows first then linux.
there is completely no difference between installing windows as a first OS or not. the only problem in that case is that windows will put its own boot manager in MBR on hard disk. thats it! no more files or changing data on linux partitions etc. if you install linux after windows and WON'T put windows as a secondary system in lilo or grub you will get exacly the same situation like with windsows' bootloader (except that in windows case it wont ask you for any secondary systems - mainly because mswindows is *the best and only wise choice* haha).
so there IS NO rule to install windows first and linux after that. you can easly fix it by booting from livecd and replace windows bootloader with your own (lilo or grub).
does everybody who has a dual-boot with Windows need to do a full Linux install again after Windows had to be reinstalled?
No. Just the bootloader files. Windows overwrites the master boot record on any install without giving an option as far as I know. All that need to be done is reinstall Grub from your Linux Install CD.
my impression is (and i may well be mistaken so check it out) that you can't install windows after having installed linux.
Windows does something nasty to the mbr.
Steps to recover dual-boot mbr if windows trashes it:
1) boot the system into "rescue mode" with the linux cd/dvd
2) chroot /mnt/sysimage
3) grub-install /dev/hda (or whatever drive your linux boot partition should be)