LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 08-23-2005, 10:41 PM   #1
sako75
LQ Newbie
 
Registered: Aug 2005
Location: Nelson, New Zealand
Posts: 5

Rep: Reputation: 0
Unhappy Urgent Help! Ubuntu + Xp Professional Dual Boot Error


Hi There People
Just recently i attempted a dual boot setup to run both ubuntu linux and xp on the same 40 gb hard drive. I already had xp professional installed on my hard drive so i used partition magic to partition the hard drive into 2 partitions, 10.5gb for ubuntu and 29.5 for xp. Then i re-boot my pc and installed ubuntu on the 10.5gb partitionand then run ubuntu and its works perfectly HOWEVER, When i select Windows xp professional in the grub bootloader menu it begins to load xp then an error comes up that says =



xmt2002 program not found - skipping autocheck
autochk program not found - skipping autocheck



this error message stays on screen for 1-5 seconds and then is replaced by the blue screen of death and another error =



STOP: c0000219 {Fatal System Error}
The session msnsger initialization system process terminated unexpectedly
with a status of 0xc000003a (0x00000000 0x00000000). The System Has Been Shut Down.


Ubuntu still boots up fine but i really need xp for my accounting work so i would be greatful for any help whatsoever on the subject.

Thanks
 
Old 08-23-2005, 11:23 PM   #2
clintbrot
LQ Newbie
 
Registered: Jun 2005
Location: Oklahoma
Distribution: Freespire, Mepis 6.0, FC5, PCLinux, Knoppix, Damn Small Linux(DSL)
Posts: 25

Rep: Reputation: 15
Use the winxp cd to repair the boot

sector. If you don't have the xp cd then you'll need a knoppix cd to boot from and fixboot. If you have an xp cd to boot from fixboot should replace the boot sector if not try fdisk /mbr
 
Old 08-24-2005, 12:18 AM   #3
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
I think these are available in the ubuntu cd (in rescue mode) and in cdrescue.
GRUB is loaded in MBR? Perhaps we can see grub.conf but it does look like windows bootsector has been corrupted.

Of course, you can always do your accounting from linux
 
Old 08-24-2005, 02:35 AM   #4
sako75
LQ Newbie
 
Registered: Aug 2005
Location: Nelson, New Zealand
Posts: 5

Original Poster
Rep: Reputation: 0
hey clinbrot thanx 4 that il try it, maybe damage was done to the boot sector because i ddnt run a defrag to move everything to the front of the drive before i did a disk parition?. thanx simon the only problem is that my accounting software isnt compatable with linux thats why i wanted dual boot to start with. thanx any way
 
Old 08-26-2005, 09:08 PM   #5
tjuii
Member
 
Registered: Feb 2004
Location: Los Alamos, NM, USA
Distribution: Kubuntu, Suse 9.2 Pro, Gentoo
Posts: 32

Rep: Reputation: 15
I have a similar problem after having just installed kubuntu on my winxp machine. Here's the rundown:

1) I partitioned the hd with partitionmagic in winxp and left the remaining space free/unformatted (for linux).
2) verified that partitioning didn't effect windows (i.e., repeatedly booted into windows with the new partitions).
3) installed kubuntu (WOW was that easy ... worked right away too!).
4) booted into kubuntu multiple times with no problems.
5) tried booting into windows (GRUB apparently detected it during kubuntu install ... there were no obvious errors anyway).
6) got this error after selecting winxp from GRUB

Booting 'Microsoft Windows XP Prefessional Edition'
root (hd0,1)
Filesystem type unknown, partition type Ox7

save default
makeactive
chainloader +1


.... and then everything freezes until I ctrl+alt+del.

I can boot into kubuntu (which can't mount the windows partitions) and I can use knoppix livecd (which CAN mount the windows partitions.

Using Knoppix I can see that everything seems to still be intact on the winxp C:, but I still can't boot from it. How do I use knoppix (or something else ... no winxp cd though) to get my winxp boot option back. If I don't fix this soon, my wife's gonna kill me!
 
Old 08-26-2005, 09:35 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,125

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
sako75
I don't believe there is a problem with either the MBR or boot sector record.
If the boot sector record was bad, you wouldn't find ntldr, and the boot would stop *real* early. The fact that you don't get a message saying "ntldr is missing" indicates you got through that, and ntldr was kicked off.

As to your query about not having done the defrag, I afraid I don't know. PM is (usually) pretty good about those sort of things - if it can't make some room for a new partition, I've had it just refuse to do anything.
Hopefully you used a recent (XP NTFS aware) version of PM.

tjuii
Try chaging the "root (hd0,1)" to "rootnoverify (hd0,1)" in grub.conf (or menu.lst depending on what kubuntu uses).
 
Old 08-26-2005, 10:46 PM   #7
tjuii
Member
 
Registered: Feb 2004
Location: Los Alamos, NM, USA
Distribution: Kubuntu, Suse 9.2 Pro, Gentoo
Posts: 32

Rep: Reputation: 15
just tried the root -> rootnoverify replacement ... now the only change in the message that I received previously is that same replacement ... but still no booting. Any other ideas?
 
Old 08-26-2005, 11:03 PM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,125

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Can only think the kubuntu (note, not grub) installer got the partition wrong.
Is windows on the second partition ???. Post the output from "fdisk -l", and add what you think each partition is.
 
Old 08-26-2005, 11:24 PM   #9
tjuii
Member
 
Registered: Feb 2004
Location: Los Alamos, NM, USA
Distribution: Kubuntu, Suse 9.2 Pro, Gentoo
Posts: 32

Rep: Reputation: 15
fdisk -l return absolutely nothing ... just came up with the prompt again. Looking at what the "storage media" in kubuntu displays the partitions make sense as to how I set them up, although hda1 is abnormally small (kubuntu did that).

here's what I should have:
hda1 = 1.0 k (?? really small isn't it?) -- primary
hda2 = 66 G (NTFS, windows C:) -- primary
hda3 = 40 G (ext3, kubuntu) -- primary
hda5 = 91 G (Fat32, storage) -- extended, logical
hda6 = 1.8 G (swap) -- extended, logical

there is no hda4, though in partition magic 5 and 6 were listed as logical "subpartitions" of 4. Anyway, hda2 should be (hd0,1), right? I don't know what to do, but I do know that losing winxp boot would really suck ... mainly because my wife would kill me, not because I hold any high regard for M$ or winblows.

Last edited by tjuii; 08-26-2005 at 11:27 PM.
 
Old 08-26-2005, 11:42 PM   #10
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
sako75: your accounting software dosn't have to be. What are you using (presumably it's a work requirement that you be able to write a particular format file?)

tjuii: hda1 is normally the windows partition. Someone correct me: dosn't windows normally put some partition information in the 1st 1k of the disk?

I suspect that hda4 is the base extended partition - that would make hda5 the first logical partition, and hda6 the second logical partition.

If you quickly install crossover-office, your wife may not notice
 
Old 08-27-2005, 01:58 AM   #11
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,125

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
sako75
A quick google shows a couple of possibilities;
- is the XP partition (now) marked hidden ???
- did the XP partition get "moved" by the Ubuntu install (say from first to second partition, or somesuch) ???
As above, can you show us a "fdisk -l" (that's "l" as in list) output - just run it from a terminal in Ubuntu.

tjuii
I just found a Ubuntu system I had laying around
I presume kubuntu uses similar grub.conf - full of comments. You need to read them - I put my updates right at the end, after the "END DEBIAN AUTOMAGIC KERNELS LIST" comment. That gives an extra option on the boot menu - I suggest you also add a new one, and try selecting that.
If that fails, you may need to get the XP CD booted, and run fixmbr from the recovery console.
That'll get XP back, but you'll lose access to the Linux system.

Your call as to what's more valuable.
 
Old 09-01-2005, 05:47 PM   #12
devmoc
Member
 
Registered: Sep 2005
Posts: 38

Rep: Reputation: 15
I believe the problem is with your Windows boot.ini file. I recently did a tri-boot system of Win98SE, Win2k, and Ubuntu. I installed them in this order, and during the Ubuntu install I chose to install GRUB to the MBR. After I restarted I get the GRUB menu and it allows me to select "MS Win2k". After selecting that, I get the Windows boot menu which allows me to select Win98SE or Win2k. However, I received similar errors when selecting Win2k.

The fix was to modify the boot.ini file which should be located in the root of your first partition. This file has a line it that points to the Win2k/XP partition. At the end of the line it says something like blahblah..partition(x) where x is the partition number that 2k/XP is installed in. You need to fix the "x". For some reason after installing Ubuntu the partition tables change, and you need to update that reference number in boot.ini.

Hope this helps.
 
Old 09-02-2005, 08:47 AM   #13
impeteperry
Member
 
Registered: Dec 2003
Location: Riverside, RI, USA
Distribution: Ubuntu/Kubuntu
Posts: 308
Blog Entries: 1

Rep: Reputation: 31
I'm just sticking my nose in here. I,m thinking of switching from Fedora to Ubunto. I had the same problem with a Grub dual boot on my new XP box. I ended up with System Commander $$ which did the trick. The problem is factory installed XP has a recovery partition that screws thing up. Hope this is some help
 
Old 09-02-2005, 06:30 PM   #14
tjuii
Member
 
Registered: Feb 2004
Location: Los Alamos, NM, USA
Distribution: Kubuntu, Suse 9.2 Pro, Gentoo
Posts: 32

Rep: Reputation: 15
Well, I tried the fixmbr thing and got a message that my filesystem was corrupt. Windaows notified me that it was attmepting to fix it and came back with a message that it was unfixable. I then looked at the drive and all of my partitions were gone and all of my stuff lost ... windows, linux and my FAT32 partition for files. WINBLOWS!!! I wisha it had asked me if I wanted it to repartition my drive, but of course Bill knows better than I do.

Now I installed Suse 9.3 pro, but I'll never get my winxp media center back as the disks didn't come with my computer. Yes, there was a recovery partition from HP, but winblows wiped that too. If I could get my Hauppage PVR 350 and mythtv to work I wouldn't care, but I haven't had any luck on that end either. I'll keep trying though, as there's no way I'm gonna pay for windows, especially after all of this.

Thanks for the previous suggestions ... now I need to go and post about my PVR woes.
 
Old 09-02-2005, 11:38 PM   #15
crash_override_me
Member
 
Registered: Aug 2005
Location: India, New Delhi
Distribution: Debian Etch, Ubuntu
Posts: 342

Rep: Reputation: 30
Cool Do the Partitioning Manually

HI

I saw this problem..
Try solving it using the Manual Partitioning Method

#1 Win Xp------- Fat32 or ur fs
#2 logical--------Fat32 or ur fs
#3 logical--------- / 4-5 GB
#4 logical-------- /boot 100 MB
#5 logical-------- swap space 2-3 GB

try this........., it shud probably work.....

Enjoy!!
 
  


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
SuSE 9.1 Professional and Windows XP Dual Boot--QUICK Question redbutler SUSE / openSUSE 3 11-28-2005 03:56 PM
Need help fixing boot problem on Ubuntu/WinXp dual-boot Ay-Karamba! Linux - General 5 09-06-2005 09:20 PM
Urgent: I need to know how to dual-boot my machine with SUSE 9.1 and Windows XP. Hrothgar15 Linux - Hardware 32 08-17-2005 08:11 AM
!!URGENT!! Need help, about to attempt a dual boot installation!!! Ausar Linux - Newbie 3 10-03-2004 07:17 PM
Windows Xp Professional dual boot with Gentoo Entking5 Linux - Newbie 5 02-19-2004 05:39 PM

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

All times are GMT -5. The time now is 09:49 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