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.
Ok, so then assuming it's not already mounted somewhere (which you could easily find out by typing 'mount' into a terminal) we will now mount it. Let's make a mount point:
Now let's mount it:
mount -t ext3 /dev/hda5 /mnt/rh
Now to access the /boot directory of the Redhat distro, all we have to do is:
And we are there. Now we need to copy the vmlinuz file from the Redhat /boot directory (/mnt/rh/boot) to the Mandy /boot directory, so (the vmlinuz file might be called something more elaborate like vmlinuz-2.4.19-Rh or something, so just use the make sure it has vmlinuz in the name):
cp /mnt/rh/boot/vmlinuz-blahblah /boot/vmlinuz-RedHat
And then the initrd.img file:
cp /mnt/rh/boot/initrd-2.4.19 (or whatever the "special" name extension is) /boot/initrd.img-RedHat
Now we need to make an entry into lilo for this new kernel and to make the partition bootable:
i mounted th partion as you asked me to do but i can't access to the boot ( cd /mnt/rh/boot ) directery of the RedHat partition , i have the folowing message "no such file or directery"
i am thinking to reinstall RedHat then copy the file to the windows partion then start Mandrake and copy the files from the windows partition . its the solution i find and i dont know if there are any other simple solution
what should i do ?
Well, you should do whatever you are comfortable with...
Here's how I'd go about all this:
I'd install winbloze, then rh, and finally Mandrake, and allow Mandrake to install it's boot loader. From there I'd proceed as we have been, mounting RH and accessing it's /boot directory as shown above. I'd then edit LILO, and run lilo, reboot, and select RH, to make sure things went ok.
Ultra simplified, but that's a nut shell of how'd I'd do it. But if you want to copy to winbloze partition, and you'd think that'd be easier, go for it. Not really gonna matter, but you do want to make sure you are specifying the correct drive/partition in your lilo.conf file for RH to boot.
ok i will reinstall all that as you did and see coz i should learn using only Linux and not using winbloze
just a question
should configure the boot loader of Rh and if yes witch one LILO or GRUB or let it as it is ?