LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy
User Name
Password
Puppy This forum is for the discussion of Puppy Linux.

Notices


Reply
  Search this Thread
Old 06-25-2006, 11:07 PM   #1
shankargopal
LQ Newbie
 
Registered: Jun 2006
Posts: 6

Rep: Reputation: 0
after new swap partition, "NTLDR is missing"


I'm having odd problems after using Gparted. my system has a 40 GB hard drive with approximately the following partitions:
1. 18 GB Primary Windows partition with Win XP (VFAT)
2. 18 GH Extended Windows partition (VFAT)
3. 1.7 GB Ext2 storage partition (Ext2)

I used gparted to shrink the first partition to make a 448 MB swap partition. However, I now get "NTLDR is missing. Press any key to restart" when trying to boot into XP.

Using Puppy I installed GRUB on the MBR to see if that would help, but no luck. I'm not able to get a Windows XP setup CD but I have an ISO image of one, from which I have recopied NTLDR and NTDETECT.COM to hda1 using Puppy. I have also edited boot.ini which seems to be correct. Finally I tried deleting the swap partition and resized the first partition to its original size.

But, still no luck.... by the way all the data on the first partition appears to be intact and fsck reports no problems. Any ideas?
 
Old 06-25-2006, 11:42 PM   #2
rarsa
Member
 
Registered: Nov 2004
Location: Canada
Distribution: Puppy Linux/ Mint
Posts: 211

Rep: Reputation: 31
Have a look at this page http://www.computerhope.com/issues/ch000465.htm

It has many different solutions.
 
Old 06-27-2006, 12:24 AM   #3
shankargopal
LQ Newbie
 
Registered: Jun 2006
Posts: 6

Original Poster
Rep: Reputation: 0
I had actually seen that page and tried all of the solutions, to no avail. I also got a Windows XP setup CD, but the recovery console and the fixboot/fixmbr commands had no effect. Even doing a full reinstall on that partition didn't work - same message still came.

It would also seem that most of those problems are unlikely to be the reason, considering that the issue started as soon as I used Gparted to resize the primary Windows partition. Fdisk informed me from Puppy that the latter two partitions did not end on cylinder boundaries, while Gparted complained that it couldn't resize the extended partition because there was an invalid cylinder number in it.

Two methods eventually fixed the problem. One was to change the bootable flag to the ext2 partition, reformat it as FAT32, and install WinXP onto that. That worked. However, the partitions were too oddly sized to be useful and re-sizing them seemed like it might just lead to the same original problem, so eventually I just re-partitioned and re-formatted the whole drive. Luckily my main system is a pen drive-based Puppy so I didn't lose any important data.

I suspect Gparted was the culprit. Will have to be careful in future.
 
Old 07-06-2006, 08:49 AM   #4
BarryK
Puppy Chief Developer
 
Registered: Jun 2006
Location: Perenjori, Australia
Distribution: Puppy Linux
Posts: 11

Rep: Reputation: 0
shankargopal,
that's interesting. I have successfully shrunk a ntfs partition.
if I recall rightly, I went into XP first and ran the full check-drive
thing, with surface check, and the defragment utility.
...maybe that is important, before running GParted?
...but you problem seems to be a more complex situation.
 
Old 07-06-2006, 11:44 PM   #5
shankargopal
LQ Newbie
 
Registered: Jun 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by BarryK
shankargopal,
that's interesting. I have successfully shrunk a ntfs partition.
if I recall rightly, I went into XP first and ran the full check-drive
thing, with surface check, and the defragment utility.
...maybe that is important, before running GParted?
...but you problem seems to be a more complex situation.
Thanks for the response, Barry. By the way the issue here was not an NTFS partition but a VFAT one - hence the mystery to some extent. Unfortunately I can't check much more now that I had to reformat that hard drive.

No idea what happened, though. Especially because the partition table apparently got damaged in some sense but didn't affect anything except XP's boot sector.
 
  


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
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 03:07 PM
"NTLDR missing" during installation attempt LaLina Debian 3 02-26-2006 06:03 AM
"NTLDR missing" Kurby88 Linux - Newbie 11 12-22-2005 08:57 PM
linux loads winxp(second disk), it says "ntldr is missing" alexko Linux - Newbie 1 11-15-2004 05:55 AM
Swap file "drive" or partition for new PC/speed questions? robbow52 Linux - Hardware 4 01-08-2004 04:59 PM

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

All times are GMT -5. The time now is 04:15 PM.

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