Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-27-2008, 08:27 AM   #1
Registered: Jul 2008
Distribution: Arch
Posts: 41
Blog Entries: 3

Rep: Reputation: 16
Installed Puppy, Can't boot Windows

I wanted to help my gf out by installing Puppy Linux on her old computer so she can get on it quickly for the internet and do things when her laptop isn't available.
Her hard drive was already pre-partitioned by the manufacturer and had 4 partitions so i decided to overwrite the backup partition (hda3) and do a full install to there, as she never backed up her files on it and it was empty except for the journaling system.
The install was successful, I also put grub on that partition and changed it's flag to bootable. I re-started the computer and grub came up nicely and i was able to get right into Puppy. But when I re-booted again and tried windows the screen flashed some text (too fast for me to read) and then went black and unresponsive. I hard re-booted to find that it by-passed grub and the screen flashed the text again and went black.
I loaded in the live-CD open up gparted and found that the boot flag had been switched back to the windows ntfs partition (hda2)so it will bypass grub.
So that's my problem. I can't boot into anything but Puppy and if I try i can't boot into anything at all. She is not very good with computers, and being most familiar with windows she doesn't always want to work with puppy, so that's why I'm trying to get windows to work for her again.
Old 10-27-2008, 08:42 AM   #2
Senior Member
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
A recent live CD would be the most convenient tool to help fix this.
One possible route to get everything working:

1. boot live CD
2. reinstall the GRUB bootloader, but install it to the Linux partition
3. make an image of the bootloader sector using 'dd'; copy this image to the winduhs partition
You can read/write ntfs partitions if you mount the partition using the ntfs-3g driver.
To copy the grub bootloader sector, assuming you installed grub to /dev/hda2:
dd if=/dev/hda2 of=grub.img bs=512 count=1
Be extremely careful - 'dd' is a very useful tool but one tiny mistake and it can completely screw up your HD.
4. make a backup copy of the winduhs boot.ini file, then edit the file to chain to the grub bootloader image; this is typically an entry like:
(Or maybe I got that backwards and it should be: Linux=C:\grub.img - google should be able to help you out)

Have a good look at the boot.ini parameters to see if there's anything else which might need some slight alteration. I have no idea how the XP system attempts to maintain its infestation of a computer system. Perhaps you should use google to help you find some notes on how XP attempts to detect changes to the system and 'recover'.


windows xp

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Windows won't boot since I installed Linux callum85 Linux - General 13 01-13-2011 06:13 PM
Wine installed a program onto my windows partition, Windows BSOD on boot. DJGCrusader Linux - Enterprise 9 08-14-2009 09:25 AM
linux/ windows dual boot. Windows XP is in portable HDD (already installed) izquierdista Linux - General 1 02-03-2006 11:23 AM
Re-installed windows cannot boot linux ginda SUSE / openSUSE 6 06-13-2005 05:47 AM
installed fedora 2...and now windows won't boot! Skawaii Linux - Newbie 4 10-02-2004 10:31 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:13 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration