-
help! winxp & knoppix
hello to all.i have 2 hard disks(40 giga, 20 giga).on the first i installed winxp. i want to install also knoppix because i like it and because i want to try to play with linux. the problem is: if i install knoppix i can access to winxp or the dualboot is not supported by knoppix? if with gag i can i install without problem. which boot loader knoppix has?
please help me.i want to be free by miscroshift.
-
I haven't done an hdinstall of knoppix, but I do run another distro in this manner as dualboot with no modification to my Winxp drive's (hda1) Boot Sector.
It's a simple process with Lilo
Install Linux on your secondary hard drive (for the sake of arguement let's use HDC1 for this example, IDE channel 1 master)
1: install Linux as normal on hdc1
2: create your lilo.conf
3: run lilo
4: mount your floppy with a blank formatted diskette:
mount /dev/fd0 /mnt/floppy
5: copy the Boot Sector from linux to a file:
dd if=/dev/hdc1 of=/mnt/floppy/bootsect.lnx bs=512 count=1
6: unmount your floppy drive
umount /mnt/floppy
7: remove the diskette and reboot to winxp
8: copy bootsect.lnx to the root directory of your C: drive
9: edit your boot.ini and add the following entry:
c:\bootsect.lnx="Knoppix"
This should go under the [operating systems] heading
note: don't forget to open a command prompt before editting and run the follow command: attrib -r -h -s boot.ini
Then run the following after editting: attrib +s +r +h boot.ini
When you reboot your computer you'll have a boot menu, one entry for Winxp and one for Linux
When you boot to the linux partition, you should get the lilo menu and all is working as normal. You can also make Linux your primary boot option in boot.ini simply by changing the default in boot.ini to: default=c:\bootsect.lnx
I did this with Redhat 9 and it works great, I've also heard you can do the above with grub instead of lilo, and I'd assume that you can do it with any Linux bootloader as long as the Boot Sector for Linux is 512 bytes in side (that's what the bs=512 is referring to)
Once you've done this, if ever you change something in your linux bootloader, such as installing a new kernel and have to update your bootloader (grub or lilo) all you have to do is edit your lilo.conf (I use this as example because that's what I use), then follow steps 3 thru 8 and reboot, and the new Boot Sector will take over properly.
If you ever remove your Linux drive, all you have to do is a minor edit to the boot.ini, no modification to your winxp MBR.
-
Senior Member
registered user
Re: help! winxp & knoppix
Originally Posted by
predhator
hello to all.i have 2 hard disks(40 giga, 20 giga).on the first i installed winxp. i want to install also knoppix because i like it and because i want to try to play with linux. the problem is: if i install knoppix i can access to winxp or the dualboot is not supported by knoppix? if with gag i can i install without problem. which boot loader knoppix has?
please help me.i want to be free by miscroshift.
After installation knoppix is a normal linux.
It has lilo and grub the standard linux multiboot loaders.
No problem at all to boot winxp.
-
Senior Member
registered user
Worked for me with Mandrake also. Unfortunately, the installation program didn't ask me which disk to boot from, and I erroneously assumed that since I was installing to the second drive that it would insert the boot loader on that drive also. Wrong. I caught it later before finishing the install, but not before it screwed up the MBR on C: Anyway, I changed the boot order in BIOS, so all works OK now, and I just have to fix the C: drive boot partition in case I ever remove the second HD.
Thanks for the idea of booting from the second HD, and leaving the primary alone.
-
The above instructions are a paraphrase of a document I found on RedHat's site regarding dualbooting with win2k and winxp. Those are the steps I followed, in order to get the system booting the way I wanted it. I did have the option of making the Linux drive the primary, as I do have an entry in Lilo to boot to WinXP, but I chose to leave the WinXP drive as primary boot and the linux secondary, and it all works great for me.
I'm sorry to hear you had a problem and overwrote your MBR, I've never installed Mandrake, but I'd assume the installation procedure is the same as RedHat, since Mandrake is a dirivative of RedHat, just as Knoppix is dirivative of Debian.
Good luck with your new setup.
-
Seem to be a lot of people on this forum trying to preserve their Windows XP MBR..have I missed something? I triple boot XP/Mandrake/Knoppix using lilo on my MBR and it works beautifully....I'm pretty new to Linux- only seven months or so - but I find this desire to preserve the Windows MBR interesting. Won't a Linux bootloader do the same job with a lot less trouble?
Or is there an issue with multiple hard drives that I'm ignorant of? Just curious...
-
It really is no trouble at all. As for the reason to preserve the WinXP MBR, I run programs under both OS's, and beta test software on both, for me it's a matter of preserving the hard drive installation, so when I make a bug report on a program under windows, there are no extraneous issues that the developers need to deal with other than a windows installation.
There shouldn't be any issues either way, but again, with testing, you have to eliminate any possible issues, having a different bootloader could add an unknown issue to a piece of software running, even after boot.
-
OK - interesting. I see your point.
Thanks for the reply....
-
Senior Member
registered user
Well, also, if you have a machine that's under warranty and it cr*ps on you (as mine did), you run the risk that tech support and warranty folks will use that as an excuse to hose you.
Fortunately, the fact that I loaded Mandrake on a second HD wasn't an issue with HP tech support (I chose Mandrake deliberately because: 1. not only is it reputed to be better for newbies to learn, but, 2. HP, itself, specs Mandrake for the PCs it ships with Linux, so there shouldn't be much for them to say about it). In fact, the tech seemed delighted, saying things like "it's a wonderful O/S, isn't it?".
Also, there's the spouse factor. If my experimentation with other OSes kept my wife from running her favorite Windows apps, I could find that my ability to tinker with an otherwise well working machine would be sharply curtailed. Fortunately, this last time, the box cr*pped because of a hardware problem, and I wasn't messing with hardware.
Similar Threads
-
By bob58 in forum Hdd Install / Debian / Apt
Replies: 15
Last Post: 02-09-2005, 07:45 PM
-
By Matrox462 in forum Networking
Replies: 1
Last Post: 01-07-2005, 03:00 AM
-
By Shenr0n in forum Hdd Install / Debian / Apt
Replies: 5
Last Post: 10-08-2003, 01:32 AM
-
By hernan in forum Networking
Replies: 5
Last Post: 09-02-2003, 12:22 AM
-
By JMichael in forum General Support
Replies: 5
Last Post: 04-11-2003, 07:19 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield
$42.00
***NEW*** BCM RX67Q Gaming Motherboard | Intel Q67 2nd/3rd Gen. | LGA1155 | DDR3
$29.77
Asus H81M-C Intel LGA1150 DDR3 Desktop Motherboard MicroATX Socket H3
$24.99
ASUS ROG Strix B650E-F Gaming WiFi AM5 ATX AMD Motherboard
$115.00
Asrock Z390 Phantom Gaming 4S/AC Wifi 8th/9th Gen Intel 1151 Motherboard Bulk
$47.49
MSI A320M-A PRO AM4 AMD A320 USB3.2 Gen1 Micro-ATX Motherboard
$46.99
Micro ATX Desktop Motherboard ASUS H110M-C LGA 1151
$31.95
Gigabyte AMD B550 UD AC Gaming Motherboard - AMD B550 Chipset - AM4 Socket - AMD
$89.99
BTC-S37 Mining Motherboard Kit /w SSD & Ram Preinstalled
$59.99
GIGABYTE MB10-Datto Motherboard Xeon D-1521- SR2DF 2.40 GHz- Open Box
$115.00