Autor |
Nachricht |
|
Titel: Dual boot to XP
Verfasst am: 26.06.2006, 22:37 Uhr
|
|
Anmeldung: 26. Jun 2006
Beiträge: 10
|
|
Want to install XP on a secondary HD. Kanotix is already installed on the Master HD. I would think the best approach would be to remove the Master HD, install XP on the Slave (Secondary). Then once done put the Master HD back in, edit lilo to point to a dual partition.
But will it work? Or what is the best approach?
Thanks for any input.
Curtis |
|
|
|
|
 |
|
Titel: RE: Dual boot to XP
Verfasst am: 26.06.2006, 22:46 Uhr
|
|
Anmeldung: 09. Jan 2006
Beiträge: 1720
|
|
No way. XP wants to be the First and only OS.
Install the new HD as a master, install XP. Install your 'old' as slave, boot with the cd and reinstall grub on the MBR where XP resides. |
|
|
|
|
 |
|
Titel: RE: Dual boot to XP
Verfasst am: 26.06.2006, 23:03 Uhr
|
|
Team Member


Anmeldung: 03. Mai 2005
Beiträge: 1544
Wohnort: out there somewhere
|
|
No way , XP can be anywhere, but is "easier" being first I have had it on many different partitions, and different drives easily with no problems.
95 & 98 wants to be "First and only" you can get 98 on the first drive second partiton but after awhile it will become corrupt.
Other than that schnorrer's way to install is good to go  |
_________________ h2's d-u script
h2's rdiff-backup script
|
|
|
|
 |
|
Titel:
Verfasst am: 26.06.2006, 23:13 Uhr
|
|

Anmeldung: 25. Mar 2005
Beiträge: 2133
|
|
Here's my suggestion:
1. Disconnect Kanotix drive.
2. Put in new drive, set as "master" on IDE channel #1.
3. Install windows. This will result in a plain-vanilla, stand-alone windows installation that will work even without the Kanotix drive being present.
4. Re-connect Kanotix drive, jumper setting "slave".
5. Boot pc off Kanotix live cd. Make sure it is the same kernel version as on the Kanotix drive.
6. Kanotix should now see both drives. Run Kanotix installer and select "Restore previous Kanotix Installation". This should write grub to the mbr of the master drive hda (windows drive).
7. Shut down Kanotix, remove live cd, and reboot computer. You should now have a clean dual boot system with grub allowing you to choose between windows (hdaX) and Kanotix (hdbX).
If you want to remove the windows drive from your computer at a later time, set the Kanotix drive as "master", and your previous grub installation will come back to life. Conversely, if you remove the Kanotix drive from your system, windows will boot off hda without any modifications. Use windows installation cd or Kanotix live cd to remove grub from the mbr of the windows drive.
And most importantly, backup all important data before you begin!
P.S.: I just read schnorrer's post. It's the same approach, but I hope you find a more detailed answer helpful. |
_________________ And I ain't got no worries 'cause I ain't in no hurry at all (Doobie Brothers, "Black Water").
|
|
|
|
 |
|
Titel:
Verfasst am: 27.06.2006, 01:05 Uhr
|
|
Anmeldung: 12. Mar 2005
Beiträge: 1005
|
|
restoring grub does not require the same kernel version using the kanotix livecd, at least it didn't last time I ran it.
The easiest by far way to do it is to simply install xp, then restore grub to mbr using livecd, then add the windows item to the grub menu.lst file.
Of, if you want the xp boot menu instead, you can use the more complicated method of adding a pointer in boot.ini to kanotix. |
|
|
|
|
 |
|
Titel:
Verfasst am: 27.06.2006, 06:36 Uhr
|
|
Anmeldung: 27. Okt 2005
Beiträge: 45
|
|
I think I would:
1_remove the kanotix HDD
2_use the XP HDD for XP install as a master drive.
3_put back the kanotix HDD as a master
4_put the XP HDD as slave
5_boot with kanotix
6_edit the /boot/grub/menu.lst, and append at the end of the file, after the line:
### END DEBIAN AUTOMAGIC KERNELS LIST
Code:
title Windows XP (hdb)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader (hd1,0)+1
At your next start you will have the choice to boot XP.
I hope this will help you.
[Corrected because info was wrong] |
_________________ Minux.
|
|
|
|
 |
|
Titel:
Verfasst am: 27.06.2006, 08:51 Uhr
|
|

Anmeldung: 25. Mar 2005
Beiträge: 2133
|
|
Apparently, there are several ways to set up a dual boot system, and using the "map" command will probably work. But the disc swapping technique is a workaround in situations where windows has to be on the slave drive. As cavaughan is doing a fresh install, and Kanotix will boot off the slave drive just as well, he should opt for a setting that allows windows to be in its "natural habitat", i.e. the master drive. |
_________________ And I ain't got no worries 'cause I ain't in no hurry at all (Doobie Brothers, "Black Water").
|
|
|
|
 |
|
Titel:
Verfasst am: 28.06.2006, 08:50 Uhr
|
|
Anmeldung: 27. Okt 2005
Beiträge: 45
|
|
I don't know who made it, but I'm "surprised" with your "[Corrected because info was wrong]".
I don't mean to be a guru of any kind: I'm not. But I try not to give false informations.
I've always been told that it's smarter to remain silent when you don't know something for sure.
So do I.
There was no wrong info in my previous post.
The syntax may not have been "canonical", but definitely working (I mean tested).
btw I hope that you tried the "corrections" you maid, because I wouldn't like if someone messed up his hdd with something I was supposed to have written while I didn't.
You could have write these "corrections" in your own post, couldn't you?
That's the way I thought things happened on a forum.
And the use of the "map" command let you with 2 (at least) completely independant working OS, no matter what HDD failure could happen.
And these things may happen...
It's also safe for reinstall.
In other words, the mbr of the 2 HDD is "different OS free".
Anyways I never said that my solution was better than anyone else's.
It isn't. It is just a "working" one.
"Politely" yours, |
_________________ Minux.
|
|
|
|
 |
|
Titel:
Verfasst am: 28.06.2006, 14:17 Uhr
|
|

Anmeldung: 05. Jan 2006
Beiträge: 118
|
|
"XP can be anywhere"? I recently tried to put my internal XP harddrive in a USB enclosure and boot from that. XP came up with the Windows splash screen (the black one) then promptly rebooted my dell gx280 (32bit 3.2 ghz 2 gig ram). I updated the A03 bios to A08, which allowed me to but Linux from the enclosure, but XP still didn't like being on a USB enclosure. Are there other things to try? |
_________________ What is, is
|
|
|
|
 |
|
Titel:
Verfasst am: 28.06.2006, 16:10 Uhr
|
|
Team Member


Anmeldung: 03. Mai 2005
Beiträge: 1544
Wohnort: out there somewhere
|
|
|
|
 |
|
Titel:
Verfasst am: 28.06.2006, 16:21 Uhr
|
|

Anmeldung: 05. Jan 2006
Beiträge: 118
|
|
Maybe I shold have clarified...
I have an existing XP hard disk. I wanted to put it in an enclosure and boot it.
XP didn't like it. I haven't tried a "fresh" install, but then that would really be a pain;) |
_________________ What is, is
|
|
|
|
 |
|
Titel:
Verfasst am: 28.06.2006, 16:49 Uhr
|
|
Team Member


Anmeldung: 03. Mai 2005
Beiträge: 1544
Wohnort: out there somewhere
|
|
No you can't do that, you also can't take a xp install (on a harddrive) from one computer to another computer.
Well you "can" (do at your own discretion) do a "sloppy" way by going into the registry and deleting everything in device manager, but first you will have to edit the registry to show all hidden devices in device manager which is located at:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment]
You want to create a new String value, or modify the existing value, called "DEVMGR_SHOW_DETAILS" and set the value data to 1. Exit your registry, reboot (or logout) for the change to take effect.
The Device Manager uses registry keys stored in the HKEY_LOCAL_MACHINE\b0 key
Delete everything in there.
Sometimes this works, Sometimes this don't |
_________________ h2's d-u script
h2's rdiff-backup script
|
|
|
|
 |
|
Titel:
Verfasst am: 28.06.2006, 18:22 Uhr
|
|

Anmeldung: 05. Jan 2006
Beiträge: 118
|
|
Not very encouraging
I'll keep my non-windows on the enclosure
Thanks for the info tho. |
_________________ What is, is
|
|
|
|
 |
|