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 was happily using a multiboot system with W2k and Redhat9, until I installed WinXP on a spare partition. This has overwritten Grub. What is the best/easiest way to re-install grub. I presume I can make a linux boot disk from my redhat cds.
You can just use your RH install CD #1... There's an option to use it as a boot disk to load an already-installed system. I forget exactly, but read the first screen, and it will tell you. Once you get the system booted, you can have GRUB takeover again. "man grub" will help.
Cheers for the advice, not had time to try yet but hopefully it should work. I've realised that installing Windows first saves a lot of hassles, but windows being what it is, fresh installs are a regular task! Is there way to avoid this happening? Is Grub best installed on the MBR or the /boot partition?
My advice: save that boot floppy you make during the RH installation. Then when you re/install Windows, boot off the floppy, log in as root and reconfigure Grub. Note that you may have to do this more than once to get it right; this sort of thing can be tricky.
Originally posted by JohnHawes ...I've realised that installing Windows first saves a lot of hassles, but windows being what it is, fresh installs are a regular task! Is there way to avoid this happening? Is Grub best installed on the MBR or the /boot partition?
*Every* time you re-install Windows, it will overwrite the MBR.
Go with the flow - install GRUB to /boot, and let NTLDR have the MBR. Use the Windows boot loader to fire up GRUB. Means you just have to check the boot.ini after each Windows upgrade.
If you *have* to keep a Windows dual-boot (say for work), this is the least painful solution I have found.
Originally posted by syg00 Go with the flow - install GRUB to /boot, and let NTLDR have the MBR. Use the Windows boot loader to fire up GRUB. Means you just have to check the boot.ini after each Windows upgrade.
so what do u check in boot.ini? how do u 'give it the mbr' ? does any other partition need to be marked bootable as well?
Originally posted by abs so what do u check in boot.ini? how do u 'give it the mbr' ? does any other partition need to be marked bootable as well?
First-up you'll need to DD your Grub boot record to the XP C: drive - this has been covered extensively on LQ even in my short time on LQ.
Then you'll need to update your boot.ini to include an entry for that record - something like;
c:\linux.bin="Linux - Redhat 9"
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows 2000 Professional"
You just need to ensure this is still there after each upgrade of Windows.
As I said, Windows will always over-write the MBR, so you don't have to do anything - Bill has looked after that for you
Originally posted by syg00 First-up you'll need to DD your Grub boot record to the XP C: drive - this has been covered extensively on LQ even in my short time on LQ.
i didn't manage to find the relevant posts.
1. could u post links to them?
2. also, i'd appreciate it if u could show me where i could find the neccessary steps.
3. i checked out the grub documentation, i found this to be closest to what i need.
# For booting Windows NT or Windows95
title Windows NT / Windows 95 boot menu
# For loading DOS if Windows NT is installed
# chainload /bootsect.dos
this applies to xp too?
4. u mentioned a linux.bin file for boot.ini. could u give some more details pls? how'd u get the file, etc.
5. boot.ini: am i correct in assuming that the second hard disk would be '(1)' and it's fifth partition is 'partition(5)'? since 'multi(0)disk(0)rdisk(0)partition(1)' is the first hdisk's first partition.