Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
03-05-2012, 09:32 AM
|
#1
|
|
LQ Newbie
Registered: Feb 2012
Distribution: Slackware
Posts: 24
Rep: 
|
Installing Windows XP after installing Slackware 13.37 | How to work with the MBR
Hello everybody,
I'm having trouble installing XP due to the fact lilo is wrote to the MBR already, I've partitioned my hard drive with fdisk:
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000088a2
Device Boot Start End Blocks Id System
/dev/sdb1 2048 1048578047 524288000 83 Linux
/dev/sdb2 1048578048 1384122367 167772160 83 Linux
/dev/sdb3 * 1384122368 1698695167 157286400 7 HPFS/NTF/exFAT
also sdb3 contains the NTFS filesystem (via mkntfs)
The problem is, as many of you know, Windows wants to write to the MBR first. I don't need to hear it's
easier to re-install, I need a solution. Any and all help will be appreciated.
Last edited by WhiteyMcQ-Tip; 03-05-2012 at 09:33 AM.
|
|
|
|
03-05-2012, 09:34 AM
|
#2
|
|
Member
Registered: Oct 2010
Location: Pittsburgh, PA
Distribution: Slackware
Posts: 54
Rep:
|
So, let windoze install itself to the mbr, after xp installs, run a linux rescue disk and reinstall lilo to the mbr.
Why do you want xp anyway?
|
|
|
|
03-05-2012, 09:38 AM
|
#3
|
|
LQ Newbie
Registered: Feb 2012
Distribution: Slackware
Posts: 24
Original Poster
Rep: 
|
First off "Windoze" will not allow this, Secondly I need it for a new job working with the .NET framework, VB, and C#.
Otherwise I wouldn't be installing it. Monodevelop is crashing on start-up, apparently the bug is common.
|
|
|
|
03-05-2012, 09:45 AM
|
#4
|
|
Member
Registered: Nov 2007
Distribution: Slackware
Posts: 34
Rep:
|
If you have a slackware CD or setup a USB boot for linux via flash drive, you can use it to boot your root partition. Once you are back in Linux, just re-run lilo after you adjusted lilo.conf to boot a windows OS as well.
|
|
|
|
03-05-2012, 09:47 AM
|
#5
|
|
Member
Registered: Oct 2010
Location: Pittsburgh, PA
Distribution: Slackware
Posts: 54
Rep:
|
Windows will not allow... what? even XP will overwrite the mbr, it does not ask, it will do it during install but it does want it's own partition.
As for running .net to do VB, just use virtual box or kvm. No real need for a full windows install unless you need 3d graphics, and even then virtualbox does some of it.
|
|
|
|
03-05-2012, 09:50 AM
|
#6
|
|
LQ Newbie
Registered: Feb 2012
Distribution: Slackware
Posts: 24
Original Poster
Rep: 
|
Thanks for the replies. I understand what your both saying. The problem is I cannot even install Windows on the NTFS parition with my current configuration.
If I could get it installed, then I could edit my boot configuration, quite a few different ways.
|
|
|
|
03-05-2012, 09:54 AM
|
#7
|
|
LQ Newbie
Registered: Feb 2012
Distribution: Slackware
Posts: 24
Original Poster
Rep: 
|
WhiteWolf1776,
I've never ran into this problem before, XP WILL NOT OVERWRITE MBR, I've deleted the partitions I've created multiple times,
and wrote new ones using the XP install disc, and still it argues about the MBR. I have tried everything Windows Setup will
allow.
|
|
|
|
03-05-2012, 10:01 AM
|
#8
|
|
Member
Registered: Oct 2010
Location: Pittsburgh, PA
Distribution: Slackware
Posts: 54
Rep:
|
I'm thinking windows wants to write / install it's primary boot on /dev/sda... not b... what's your sda disk doing?
|
|
|
|
03-05-2012, 10:03 AM
|
#9
|
|
Member
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 959
Rep: 
|
Quote:
|
still it argues about the MBR
|
what is the reason xp is giving for not wanting to write to the MBR.
|
|
|
|
03-05-2012, 10:12 AM
|
#10
|
|
Member
Registered: Nov 2007
Distribution: Slackware
Posts: 34
Rep:
|
one of the problems I had with installing windows is that it usually needed to be close to first partitions to be installed on your system. My configuration for the hard drive is usually a small partition for /boot, then the partition needed for windows, then everything else linux.
In your case, you have windows as the last partition. Could that be the problem?
Anybody else know if windows needs to be within the first 2GB or perhaps its more about cylinders on the disk
|
|
|
|
03-05-2012, 10:16 AM
|
#11
|
|
Member
Registered: Nov 2007
Distribution: Slackware
Posts: 34
Rep:
|
Quote:
Originally Posted by WhiteyMcQ-Tip
WhiteWolf1776,
I've never ran into this problem before, XP WILL NOT OVERWRITE MBR,
|
You are lucky, it always overwrote the MBR after XP was installed for me  . Usually I installed Linux first, then XP, then had to use the linux boot disk to restore the MBR with lilo. I installed linux first only to get the partitions setup the way I wanted and I'm not familiar enough if windows would let me setup partitions because it didn't recognize linux anyways.
|
|
|
|
03-05-2012, 01:12 PM
|
#12
|
|
Senior Member
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib."
Posts: 1,751
Rep: 
|
Install XP first. Use it to partition the disk, leaving empty space for your Linux installation. Once XP is installed, THEN boot from your Linux CD/DVD (whathaveyou) and do your Linux installation. When you run lilo, setup your windows partition and then your Linux boot partition. You can let lilo write the information to the MBR.
Worked everytime I've tried it.
Last edited by cwizardone; 03-05-2012 at 01:19 PM.
Reason: Typo.
|
|
|
|
03-05-2012, 01:53 PM
|
#13
|
|
Member
Registered: Jul 2007
Location: In a van down by the river...
Distribution: Slackware64 14.0
Posts: 111
Rep:
|
How about installing windows XP in a virtual machine (e.g. VirtualBox)? That way you won't have to worry about lilo or the MBR. Just a thought...
|
|
|
|
03-06-2012, 01:52 AM
|
#14
|
|
Member
Registered: Nov 2006
Posts: 42
Rep:
|
Scratch my advice, I forgot you needed an installation to use the recovery console. Sorry.
That really is weird. I've never had xp complain about the MBR even on a disk where it was unwritable.
Last edited by thegato; 03-06-2012 at 01:55 AM.
|
|
|
|
03-06-2012, 08:26 AM
|
#15
|
|
Senior Member
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib."
Posts: 1,751
Rep: 
|
If I've installed XP once, I've installed it a 100 times, and it has always trashed any other OS it finds on the HD, that is, it overwrites the MBR as it wants (thinks it needs?) to be the only OS on the hard drive.
As I've said before, install XP first, then Linux.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:32 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|