How to install and boot Windows on a Logical Parition
https://www.zyxware.com/sites/default/files/styles/user_image/public/pictures/Z_ribbon.png?itok=va3zzVQA
BY webmaster
10 years ago
System-Administration
2
comments comment
If you do a google search on this topic you will come across different posts that says how windows does not allow booting of a logical partition and why windows should be installed on a primary partition. The fact of the matter is that windows allows itself to be installed on logical partitions but it will want a primary windows partition to boot up. Recently we faced a situation where we had to make a windows installed on a logical partition boot up on its own. The customer had a windows XP installation on C drive (primary partition) and a windows 2000 installation (logical partition). He brought it in to clean up the Windows XP partition and have Ubuntu installed. We did that and installed Ubuntu on the primary partition. But then there was a problem, the Windows 2000 partition ceased to boot up. It was interesting that grub did not identify the Windows 2000 partition as a bootable partition and had not added it to the menu.lst. We had to add that entry manually.

The initial error we were getting was "NTLDR is missing, press any key to restart". First we copied the ntldr, NTDETECT.COM and boot.ini from a Windows XP system to the root of the Windows 2000 partition. Then we booted using a Windows XP cd, went into the repair mode and then ran bootcfg on the drive to fix the boot.ini and then we ran fixboot on the drive. Once this was done the chainloading worked fine and grub successfully passed the control to NTLDR which showed the Windows boot menu and F8 was working and we could see the different boot options.

This should have been fine but the windows registry was written while the drive was D drive and windows failed to boot. There were no error messages and the system just kept restarting once we selected any of the Windows Boot options. We could have fixed this error by loading the registry files on a running windows system and changing all occurrences of D: with C:. But we took the easy way out by resizing the linux partition and created a teeny weeny FAT32 primary partition. We could have stopped there but instead we set up this small partition as the windows boot partition by coping the three windows boot files - boot.ini, ntldr, NTDETECT.com and running bootcfg, fixboot on the new mini C drive we created. Once this was done the system successfully booted of the C drive, chainloaded the Windows 2000 installation on D drive.

Looking at all this pain, I wonder how easy it is to set up GNU/Linux on any partition and the ease of configuration of the boot files and their parameters. When everything works fine both Windows and GNU/Linux are comparable but when things go wrong, they both require almost similar levels of expertise to fix. I don't know who spread the myth that Windows is easier to configure. Probably those people who never had to configure anything beyond few radio buttons/check boxes or few text fields. Hard core users would find both equally good, equally involved in configuring and probably equally challenging. However being fully open GNU/Linux offers far more flexibility and control in configuration than Windows.

The following are some reference articles we used to solve our problem http://www.tinyempire.com/notes/ntldrismissing.htm http://support.microsoft.com/default.aspx?scid=kb;en-us;314058 http://mirror.href.com/thestarman/asm/mbr/bootini.htm http://www.dewassoc.com/kbase/multiboot/boot_ini.htm http://lists.supergrubdisk.org/pipermail/en/2008-April/000046.html http://www.sousuke.org/wiki/Installing_Windows_on_a_logical_partition http://www.mail-archive.com/bug-grub@gnu.org/msg10695.html

RELATED ARTICLE

close

on 14th August 2007 / by webmaster
One of the most common support requests we receive from our customers is for clearing their compu System Administration Virus Leave a reply Your email address will not be published. Required fields are marker * Vishvesh Nayak (not verified) access_time 17 Jul 2019 - 00:30 I'm immensely thankful to the article posted on your site. I would like to promote your site to my friends. I would like to use this link http://www.zyxware.com/articles/2007/08/14/system-administration/prevent-virus-infection/ to tell about the implications involved in using a pendrive to all my friends. At the same time, address the issues involving usage of Windows Operating System. Devashish (not verified) access_time 17 Jul 2019 - 00:30 nice Micheal (not verified) access_time 17 Jul 2019 - 00:30 Widespread problems and a failure to genuinely protect the public represent tacit encouragment of the spread of spyware and malware by government and industry. The public's ignorance is their misbegotten gain, and any genuine response is muted and rare. This page, for example, touches on only part of the issue, leaving out critical weaknesses. How, for example, do you protect thumbdrives from the most likely source of infection when plugging into a public internet cafe computer (most of which lack good firewalls)? Holding down the shift key is a method already obsolete perhaps, since activating the shift key when loading a thumbdrive simply locks the host computer. Best response to this problem is to buy a WRITE PROTECT thumbdrive so only you can write on it and no one else. Everything else, including most of what's written, is simply a marketing ploy to assuage consumers and keep them sinking millions of dollars into firewalls and spyware protection (most of which is spyware anyway and therefore ethically repugnant...like most industry today. This ubiquitious problem reflects just how unhealthy our culture has become in many ways. I say, leave the public alone and let them have their privacy if they need it. You don't have to pull people's teeth just to see what's underneath them. Add new comment
close

on 15th August 2007 / by webmaster
Ubuntu installation on a system which already has other operating systems is simple. Linux System Administration Ubuntu Windows Leave a reply Your email address will not be published. Required fields are marker * abey (not verified) access_time 17 Jul 2019 - 00:30 What is the benifit of ubuntu Is this is good as fedora? How to install other software in ubuntu? Is it eazy to install linux software in ubuntu? How to get ubuntu in kerala Are there any solution providers in kerala webmaster access_time 17 Jul 2019 - 00:30 In reply to ubuntu by abey (not verified) Ubuntu - Linux for the common man Get Ubuntu CDs Delivered to your doorstep Ubuntu Pre-installed Systems Prasad.S.R (not verified) access_time 17 Jul 2019 - 00:30 Obtain a bootable Windows XP CD, and use it to boot. Wait through all the Bill-messages until you get the first prompt. Choose R to repair an existing installation. It will search and prompt the Windows installation, showing : 1) C:\WINDOWS choose 1, and it will ask for the Admin password. If you have one enter it or just press Enter. C:\WINDOWS> Now, type C:\WINDOWS> CD .. C:\> FIXBOOT C: C:\> FIXMBR C:\> BOOTCFG /rebuild After the BOOTCFG, it will ask if you want to add the Installation it found, and to be safe answer "Y". Prasad.S.R (not verified) access_time 17 Jul 2019 - 00:30 What to do: Put the Linux liveCD or boot disk you created while the installation; on the floppy drive, boot the system and run grub command Remember that for grub (hd0,1) means hda (primary controller master), second partition. Now we need to tell grub where are the grub files: If you know where they are, type something like: root (hd0,1) else if you have no idea, type: find /boot/grub/stage1 and then the root command with the correct parameters: setup (hd0) to install it on hd0, that is MBR of the first HD. type quit and reboot. The menu will appear again. If you want to make some changes to the boot menu, you must edit the file: /boot/grub/menu.lst $ gksu gedit media/disk/boot/grub/menu.lst sagar raythatha (not verified) access_time 17 Jul 2019 - 00:30 Hey all you can find best solution of this problem over here:http://goo.gl/HXsZv Add new comment
close

on 03rd October 2007 / by webmaster
Ubuntu 6.10 had complete multimedia support including mp3, video cds, dvds. Linux System Administration Ubuntu Leave a reply Your email address will not be published. Required fields are marker * music (not verified) access_time 17 Jul 2019 - 00:30 Thank you for good information Add new comment
Leave a reply
Your email address will not be published. Required fields are marker *

Filtered HTML

  • Web page addresses and email addresses turn into links automatically.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type='1 A I'> <li> <dl> <dt> <dd> <h2 id='jump-*'> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
The content of this field is kept private and will not be shown publicly.
CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.

author-image
Anonymous (not verified)
access_time 17 Jul 2019 - 02:01

Thanks a lot.