LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 11-15-2004, 06:25 AM   #1
HedAche
LQ Newbie
 
Registered: Jul 2004
Location: London, UK
Distribution: Kubuntu 8.04 & OpenSuse 11.0
Posts: 5

Rep: Reputation: 0
Mandrake 10.0/ WinXP dual boot..


Ok so another dual boot post...

I have two hard disks, one has Mandrake 10.0 installed (with GRUB on), the other has WinXP. Both OSes work just fine on their own. Not content with that I an trying to get both to live together happily. At the moment I have done the following: in mandrake I have done:

dd if=/dev/hda of=mnt/floppy/linux.bin bs=512 count=1

onto a DOS formatted floppy and copied this into C:\ of my XP install; then edited C:\boot.ini to have the line C:\linux.bin="Mandrake 10.0"

Then i did bootcfg /rebuild in recovery mode (after booting into XP with the XP install CD) - I am presuming that this rebuilds windows boot loader or whatever...

Now when I have my XP hard disk as Master and the Mandrake one as Slave and boot up the windows boot loader appears and presents me with the options to boot into WinXP or Mandrake 10.0. Booting into WinXP is all fine and dandy. Booting into Mandrake gets me as far as a limited part of the boot sequence (cant remember how far, but not very) before a kernel panic occurs and booting stops.

I think the problem is to do with how linux has named the partitions and these names are now changed. Or is it that there is a GRUB boot loader on the linux disk and this is screwing things up?

Any help is very much appreciated,

HedAche
 
Old 11-15-2004, 09:16 AM   #2
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
My guess is that you change bootorder of the disks in the BIOS when working in 'single'. This means that grub will look for Linux on hda, which is now hdb!

Check your grub configuration file to find out; make any changes needed and make a new linux.bin file.
 
Old 11-15-2004, 09:50 AM   #3
HedAche
LQ Newbie
 
Registered: Jul 2004
Location: London, UK
Distribution: Kubuntu 8.04 & OpenSuse 11.0
Posts: 5

Original Poster
Rep: Reputation: 0
it was lilo not grub (doh!) - here is what /etc/lilo.conf looks like:

-----------------------------

boot=/dev/hda
map=/boot/map
default="linux"
keytable=/boot/uk.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
label="linux"
root=/dev/hda1
initrd=/boot/initrd.img
append="devfs=mount acpi=ht resume=/dev/hda5 splash=silent"
vga=788
read-only
image=/boot/vmlinuz
label="linux-nonfb"
root=/dev/hda1
initrd=/boot/initrd.img
append="devfs=mount acpi=ht resume=/dev/hda5"
read-only
image=/boot/vmlinuz-2.6.3-7mdk
label="263-7"
root=/dev/hda1
initrd=/boot/initrd-2.6.3-7mdk.img
append="devfs=mount acpi=ht resume=/dev/hda5 splash=silent"
read-only
image=/boot/vmlinuz
label="failsafe"
root=/dev/hda1
initrd=/boot/initrd.img
append="failsafe acpi=ht resume=/dev/hda5 devfs=nomount"
read-only
other=/dev/fd0
label="floppy"
unsafe
other=/dev/hdb1
label="windows"
-----------------------------

If I understand you correctly you are saying that all I need to do is to change the names in lilo.conf to reflect the changes that occur when I have WinXP disk as master and linux as slave right? So now WinXP is hda and linux becomes hdb.

So, if I change the lilo.conf bit that says:

other=/dev/hdb1
label="windows"

to

other=/dev/hda1
label="windows"

and the bit that says:

image=/boot/vmlinuz
label="linux"
root=/dev/hda1
initrd=/boot/initrd.img
append="devfs=mount acpi=ht resume=/dev/hda5 splash=silent"
vga=788
read-only

to say:

image=/boot/vmlinuz
label="linux"
root=/dev/hdb1
initrd=/boot/initrd.img
append="devfs=mount acpi=ht resume=/dev/hda5 splash=silent"
vga=788
read-only

and make all the other relevant changes in the lilo.conf file, redo the boot.ini edit with the changed output from the dd command, then all is good right?
 
Old 11-15-2004, 12:26 PM   #4
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
You also need to edit /etc/fstab accordingly.

BTW: you have acpi disabled.

Unless your system will NOT work with it enabled, you really should remove the "acpi=ht " entries.
 
  


Reply



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
Dual Boot WinXP/Mandrake aro_ron_chynn Mandriva 4 01-24-2005 11:13 AM
Dual Boot WinXP & Mandrake 10 darkjedi8359 Mandriva 7 01-15-2005 07:04 AM
Dual boot WinXP and Mandrake 10.0 problems Skwirl Mandriva 32 11-21-2004 04:35 PM
Mandrake 10 / WinXP dual boot install afireinside81 Linux - Newbie 5 07-01-2004 05:53 AM
WinXP Pro / Mandrake 9.2 Dual Boot X PsychoTron X Linux - Newbie 17 12-18-2003 02:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 10:22 AM.

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
Open Source Consulting | Domain Registration