Ubuntu This forum is for the discussion of Ubuntu 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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
08-23-2005, 11:41 PM
|
#1
|
LQ Newbie
Registered: Aug 2005
Location: Nelson, New Zealand
Posts: 5
Rep:
|
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
|
|
|
08-24-2005, 12:23 AM
|
#2
|
LQ Newbie
Registered: Jun 2005
Location: Oklahoma
Distribution: Freespire, Mepis 6.0, FC5, PCLinux, Knoppix, Damn Small Linux(DSL)
Posts: 25
Rep:
|
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
|
|
|
08-24-2005, 01:18 AM
|
#3
|
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211
Rep:
|
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
|
|
|
08-24-2005, 03:35 AM
|
#4
|
LQ Newbie
Registered: Aug 2005
Location: Nelson, New Zealand
Posts: 5
Original Poster
Rep:
|
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
|
|
|
08-26-2005, 10:08 PM
|
#5
|
Member
Registered: Feb 2004
Location: Los Alamos, NM, USA
Distribution: Kubuntu, Suse 9.2 Pro, Gentoo
Posts: 32
Rep:
|
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!
|
|
|
08-26-2005, 10:35 PM
|
#6
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,312
|
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).
|
|
|
08-26-2005, 11:46 PM
|
#7
|
Member
Registered: Feb 2004
Location: Los Alamos, NM, USA
Distribution: Kubuntu, Suse 9.2 Pro, Gentoo
Posts: 32
Rep:
|
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?
|
|
|
08-27-2005, 12:03 AM
|
#8
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,312
|
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.
|
|
|
08-27-2005, 12:24 AM
|
#9
|
Member
Registered: Feb 2004
Location: Los Alamos, NM, USA
Distribution: Kubuntu, Suse 9.2 Pro, Gentoo
Posts: 32
Rep:
|
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-27-2005 at 12:27 AM.
|
|
|
08-27-2005, 12:42 AM
|
#10
|
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211
Rep:
|
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
|
|
|
08-27-2005, 02:58 AM
|
#11
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,312
|
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.
|
|
|
09-01-2005, 06:47 PM
|
#12
|
Member
Registered: Sep 2005
Posts: 38
Rep:
|
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.
|
|
|
09-02-2005, 09:47 AM
|
#13
|
Member
Registered: Dec 2003
Location: Riverside, RI, USA
Distribution: Ubuntu/Kubuntu
Posts: 308
Rep:
|
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
|
|
|
09-02-2005, 07:30 PM
|
#14
|
Member
Registered: Feb 2004
Location: Los Alamos, NM, USA
Distribution: Kubuntu, Suse 9.2 Pro, Gentoo
Posts: 32
Rep:
|
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.
|
|
|
09-03-2005, 12:38 AM
|
#15
|
Member
Registered: Aug 2005
Location: India, New Delhi
Distribution: Debian Etch, Ubuntu
Posts: 342
Rep:
|
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!!
|
|
|
All times are GMT -5. The time now is 01:49 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
|
|