LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 11-25-2002, 08:14 PM   #16
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68

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:
mkdir /mnt/rh

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:
cd /mnt/rh/boot

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:

image=/boot/vmlinuz-RedHat
label=RedHat
root=/dev/hda5
initrd=/boot/initrd.img
append="quiet devfs=mount hdc=ide-scsi hdd=ide-scsi"
vga=791
read-only

Anyway, I hope you get the idea (that is just an example of what it kind of should look like, similar anyway, might change the append line...).

Then from there you will need to rerun lilo to make these changes take effect:
/sbin/lilo -v

And it should return to a prompt without errors. Now you should be able to reboot into Redhat, no problems.

Cool
 
Old 11-26-2002, 07:35 AM   #17
ridha
LQ Newbie
 
Registered: Nov 2002
Location: france
Distribution: redhat8.0 and mandrake9.0
Posts: 22

Original Poster
Rep: Reputation: 15
hi
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 ?
 
Old 11-27-2002, 01:07 AM   #18
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
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.

Cool
 
Old 11-27-2002, 07:13 AM   #19
ridha
LQ Newbie
 
Registered: Nov 2002
Location: france
Distribution: redhat8.0 and mandrake9.0
Posts: 22

Original Poster
Rep: Reputation: 15
ok i will reinstall all that as you did and see coz i should learn using only Linux and not using winbloze
thank u
just a question
should configure the boot loader of Rh and if yes witch one LILO or GRUB or let it as it is ?
 
Old 11-27-2002, 02:24 PM   #20
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
You shouldn't install any bootloader from RH, you have already installed Mandrakes, so we don't need another. When you get to that part of the install, just say no.

Oh, and it's ok to still have winbloze on there, and it'll work fine.

Cool
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems With Dual Boot / Dual Drive Setup Norab Linux - Hardware 1 08-07-2005 09:15 PM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 01:44 PM
hOw to dual boot linux suse with a dual boot win98/xp pc walterkai SUSE / openSUSE 1 12-14-2004 05:04 PM
Advice (and some) Needed: Dual-HDD, Dual-Boot - Linux, WinXP elnomadkvn Linux - General 1 03-28-2004 10:11 AM
Newbie needs Mandrake/Win98 dual-HD, dual boot system design help... buddha Linux - Newbie 20 09-04-2003 08:57 PM


All times are GMT -5. The time now is 07:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration