LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-24-2002, 02:18 PM   #1
ridha
LQ Newbie
 
Registered: Nov 2002
Location: france
Distribution: redhat8.0 and mandrake9.0
Posts: 22

Rep: Reputation: 15
Question dual boot


hello
i am new in linux. this is the partition i have in my hdd (in order) windows Red Hat mandrake
i installed windows then Red Hat then Mandrake (in that case i can choose between Mandrake and windows only, Red Hat failed) then i installed again Red Hat ( in this second case only windows and Red Hat load)
i tried to load Mandrake from the floppy but it failed
so if someone have a solution for that problem it will be welcome.
thank you in advance
 
Old 11-24-2002, 03:09 PM   #2
membrax
Member
 
Registered: Nov 2002
Location: 50'48''N - 4'21''E
Distribution: SuSE7.1 - SuSE8.1 - SuSE8.2 - RH6.2 - RH7.1 - RH7.3 - RH8.0 - RH9.0 - Fedora Core 1
Posts: 281

Rep: Reputation: 30
Get two different Hard drivs.
On the first one, install the complete Windows you need.
On the second one (disconnect first the Win drive) install at your ease RH8.0

After that you reconnect both drives :
First as Primary on IDE channel 1 will be your Linux drive (hda1)
Second drive as Primary on IDE channel 2 will be your Windows one.

When in Linux RH8, define your mount point to gain access to the Win drive, mount the drive (hdb1) and swap everything needed between the devices.

Need to boot windows ?
Either you route it through Grub (or Lilo) boot loader or you specify another boot device in your bios.

GL M8 !
 
Old 11-24-2002, 03:16 PM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Whoa, that's one way, here's my suggestion:

Go ahead and install as it is, but you need to choose either RH's boot loader, OR Mandrakes, not both. Then when you decide (let's assume you chose Mandrakes) you need to copy your kernel image to the /boot directory of the distro that is going to be doing the booting. SO you will need to (as root) in a terminal:
copy over from RH's partition the /boot/vmlinuz-something file to Mandrake's partition /boot/vmlinuz-RedHat

Then make an entry into LILO and then when LILO pops up you can boot either RH, Mandy OR winbloze.

If this is what you want to do, and you need more info (and a search doesn't yield much) then respond and I'll be glad to walk you through it a little better.

Cool
 
Old 11-24-2002, 05:52 PM   #4
ridha
LQ Newbie
 
Registered: Nov 2002
Location: france
Distribution: redhat8.0 and mandrake9.0
Posts: 22

Original Poster
Rep: Reputation: 15
thank you very much
i shoose Red Hat's boot loader and i copy the file kernel from another computer to the boot directery of Red Hat but i get the folowing message "no such partion hd6"
hd6 is the partition where Mandrake is installed (i get that message before and after cpoying the kernel image)
i used the disk manager and i saw "?" in the partition of Mandrake
now i dont know what to do
please if you have any other suggetion it will be welcome
thank you
 
Old 11-24-2002, 06:04 PM   #5
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
1 quick suggestion is to use Mandrake's boot manager instead of Redhats.

I REALLY should learn how to use Grub, just for such situations, but for now, let's use LILO, which is Mandrake's boot manager...

So, copy the kernel from Redhat's /boot directory to Mandrake's /boot directory, along with the initrd, and then we need to make an entry for RH in Mandrake's /etc/lilo.conf file so it can boot it.

The entry might look similar to this:
Code:
 image=/boot/vmlinuz
        label=Mandy
        root=/dev/hdb5
        initrd=/boot/initrd.img
        append="quiet devfs=mount hdc=ide-scsi hdd=ide-scsi"
        vga=791
        read-only
Depending on the partition you have each distro on.

Cool
 
Old 11-24-2002, 06:18 PM   #6
ridha
LQ Newbie
 
Registered: Nov 2002
Location: france
Distribution: redhat8.0 and mandrake9.0
Posts: 22

Original Poster
Rep: Reputation: 15
but i can entrer to the Mandkrake partition, when i try to load Mandrake with GRUB on Red Hat its said " No such partition hd6"
so should i install Mandrake again and use lilo Mandrake loader to configure the Red Hat partition ?
if there are no solution with Red Hat i can reinstall Mandrake and use its loader ( LILO)
i am new in linux and i am learning through my mistakes no problem
thank you for you quiek help
any other suggestion ? if its possible
thank u again
 
Old 11-24-2002, 06:38 PM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Yeah, I would suggest to re-install Mandrake, and then work through Mandrake's boot loader with RedHat's partition. For now it'd be the easiest route to go.

I am glad you are willing to do that, learning Grub is not as easy as it might seem.

No mistakes really, just learning how to run the system.

Cool
 
Old 11-24-2002, 08:33 PM   #8
ridha
LQ Newbie
 
Registered: Nov 2002
Location: france
Distribution: redhat8.0 and mandrake9.0
Posts: 22

Original Poster
Rep: Reputation: 15
hi MasterC
i am using LILO Mandrake's boot loder. i did what u suggeted to me to do but i still have a problem to boot Red Hat and i get the folowing error message " mount error 22 mounting ext3 flags freeing unused kernel memory :136 freed
Kernel panic : no init found. Try passing init=option kernel"
what all that does it mean i dont know what it is talking about
Have you any suggestion again
thank you
 
Old 11-24-2002, 08:46 PM   #9
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Sure, copy over the initrd image as well, this will probably clear that up. So your lilo.conf file might look like:

image = /boot/vmllinuz-RH
initrd=/boot/initrd-RH


And so on...

Sounds like it's getting closer

Cool
 
Old 11-25-2002, 08:28 AM   #10
ridha
LQ Newbie
 
Registered: Nov 2002
Location: france
Distribution: redhat8.0 and mandrake9.0
Posts: 22

Original Poster
Rep: Reputation: 15
hello
where can i find the the initrd image ? now i can load the Red Hat partition, and can i make a start floppy disk from the Red Hat's CD to load it from the floppy ?
thank you
 
Old 11-25-2002, 10:03 AM   #11
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
It should also be in the /boot directory of the redhat partition...

Oh, maybe that is something I haven't mentioned... Have you been mounting the partitions and then copying from that mounted partitions /boot point, or something similar to get that kernel information over to Mandrake's /boot partition? That's something you'll need to do to get that info over.

As for the boot disk, yes, but I don't know how

Cool
 
Old 11-25-2002, 10:28 AM   #12
ridha
LQ Newbie
 
Registered: Nov 2002
Location: france
Distribution: redhat8.0 and mandrake9.0
Posts: 22

Original Poster
Rep: Reputation: 15
thank you MasterC
i found how to make the boot floppy, i didn't try it yet.
but i didn't understand your question and how to do
please can you make it clear and how to do exactely ?
thank you
 
Old 11-25-2002, 10:32 AM   #13
ridha
LQ Newbie
 
Registered: Nov 2002
Location: france
Distribution: redhat8.0 and mandrake9.0
Posts: 22

Original Poster
Rep: Reputation: 15
her how to make a boot floppy disk from the redht's CD
C:\> d:
D:\> cd \dosutils
D:\dosutils> rawrite
Enter disk image source file name: ..\images\boot.img
Enter target diskette drive: a:
Please insert a formatted diskette into drive A: and
press --ENTER-- : [Enter]
D:\dosutils>
 
Old 11-25-2002, 02:52 PM   #14
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Sure, sorry I typed that in a hurry...

You'll wanna mount the partition that you are installing RH to while you are booted into Mandy. So boot into Mandy, create a mount point, say /mnt/rh so now we will mount rh at /mnt/rh:
(as root) mount -t ext3 /dev/hdx /mnt/rh

Where /dev/hdx is the parition that you installed rh to.

Then you can see the /boot directory on the rh partition, and copy things over. To enter the boot partition you'd:
cd /mnt/rh/boot

That should work to make things easier for ya.

I hope that makes a bit more sense... I am sorry if it doesn't and I will be glad to break it down a bit more if it doesn't. I am not sure on your level of experience and what you do know as far as linux goes, so I am not sure how to explain it for you. Let me know, I can break it down better. Also, if you need help, go ahead and post here what 'fdisk -l' shows.

Cool
 
Old 11-25-2002, 04:24 PM   #15
ridha
LQ Newbie
 
Registered: Nov 2002
Location: france
Distribution: redhat8.0 and mandrake9.0
Posts: 22

Original Poster
Rep: Reputation: 15
hello
excuse me i am lost i did what u asked me to do but i can mount the partition plaese can you give step by step what command should i do to mount and copy the files ?
i use the graphic mode in Mandrake to see the partitions but i can mount it
the partition in witch RH is installed is the hda5
thank you
 
  


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 10:15 PM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 02:44 PM
hOw to dual boot linux suse with a dual boot win98/xp pc walterkai SUSE / openSUSE 1 12-14-2004 06:04 PM
Advice (and some) Needed: Dual-HDD, Dual-Boot - Linux, WinXP elnomadkvn Linux - General 1 03-28-2004 11:11 AM
Newbie needs Mandrake/Win98 dual-HD, dual boot system design help... buddha Linux - Newbie 20 09-04-2003 09:57 PM


All times are GMT -5. The time now is 10:26 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