Red HatThis forum is for the discussion of Red Hat Linux.
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'm running a dual boot system with 2 hard drives at the moment. XP on the master & RH9 on the slave. At the moment all is fine and hunky dory. what i need to do for next semester at uni is have win 2003 server & XP on one drive and RH9 on the other disk so i can practice networking/server. i'm obviously going to invest in another pc to use as a LAN workstation. i've already set up apache (or at least it tells me i have when i type http://localhost in the browser) Unfortunately i have to teach myself Linux (6 months now) as Linux subjects are reserved for post-grads. (MS sponsored uni!!!!!!?????!!!!!???!!!) Anyway, once i reformat the master drive with clean installs of both XP & server 2003 how do i or what do i have to do to get grub up and running again after MS wipes the MBR to please itself?????? Please, only replies from folks who have actually done this as i can't afford to f@#k it up. i can supply any files if you need to see them. thanks
GT
It's not that hard:
1) Boot from RH CD1
2) At the "boot:" prompt type "linux rescue"
3) At the bash prompt change to your system root "chroot /mnt/sysimage"
4) Then to reinstate grub on the mbr "/sbin/grub-install /dev/hda"
5) Reboot "shutdown -r now"
Hi
sorry for taking so long to get back, but i lost my password. anyhow it will be another 2 weeks before i get round to re-formatting. are you sure this will give me back a grub frontend at boot with all three choices lined up??????
it seems so very diffrent to what everyone else tells me?????? not that any 2 people have told me the same way. i know there's more than one way to skin a cat. i just need to be certain thats all before i start.
also how do i make a boot disk, just incase it all fails??????
thanks
lee
sorry for being so unclear in my last post, i was in a rush. So here's some answers to your last post
1) The password i lost was for this site so i couldn't answer your first post promptly.
2) I need to do a clean install and re-format my windows drive because one of the subjects i'm doing next semester at uni is for Active Directory in win 2003 server. so i need to put a version of it on my hard drive. (linux is on a seperate HD) I've bough another pc to serve to. (i will also use this to practice various linux networking services. Unfortunately as stated, my uni doesn't teach Linux until post-grad, smart uni!!!!!!!!!! so i have to teach myself )
3) I need to make a boot disk for RH9, as i don't have one.
So after formatting the master drive i figure grub will be overwritten. i need to know how to reinstall the grub GUI with the new settings for boot. Unfortunately when i ask 10 people about this, i get 10 diffrent answers, all from folk who are quite knowledgeable, but haven't done it yet., like i said, i can't afford to screw this up. i don't have the pleasure of being able to spend a couple of weeks to figure it out myself by trying all the suggestions and visiting all the helpful websites on-line. sorry for needing my hand holding on this one.
kind regards
GT
PS The reason i can't do this for another 2 weeks is because i'm in the middle of a block mode at uni studying software engineering.
3) do you not have cd1? You can use it in rescue mode to fix the bootloader.
The instructions I gave you above will most definately put grub back on the mbr. Once you are able to boot into linux you will be able to add whatever new bootloader entries you want for your other OSs.
i beleive my grub.conf file is the file i should hack. is this right and if so which one do i hack or do i hack both of the following.
/boot/grub/grub.conf
/etc/grub.conf
i take it i hack the
/boot/grub/grub.conf
as the other is just a link. Is this correct. If so, i should be able to leave the file as is should'nt i as the windows partition numbers will not change????????? Sorry for this but after 6 months of tinkering with Linux, i'm just getting the hang of it (ish). Great fun though eh? Once ya get over the initial culture shock!!!
kind regards
GT
PS yes i do have the cd. Although i thought a boot floppy (like the win98) would be good to use if all fails. Sounds like the CD1 is the same, yes?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.