LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   XP not booting after partition resize (https://www.linuxquestions.org/questions/linux-newbie-8/xp-not-booting-after-partition-resize-564629/)

lightsycle 06-26-2007 11:27 AM

History:
I hat XP running on my 80GBsata which is disk#3, I installed SUSE 10.2, resized the windows partition created one for SUSE on the 870GBsata. Now XP is telling me "nltdr is missing". So I mount the sata in SUSE in hopes of putting the files "ntldr" "ntdetect.com" and "boot.ini" back and the disk is mounted as read only. I tried chmod and it won't give me write permissions. the disk is not mounted whem SUSE starts I mount it manually after boot.
Question: how do I enable write permissions on my 80GBsata drive? I have had the same issue in the past. trying to edit the windows sys files from linux, so I don't think it is a hardware issue.

Any help is appreciated

P.S the other drives are mounted manually, and I can change them no problem.

Tinkster 06-26-2007 12:42 PM

I split your post out of the unrelated thread (mounting fat32 from
a running Linux install is different from trying to write NTFS).


Cheers,
Tink

lightsycle 06-26-2007 01:04 PM

trouble writing to NTFS
 
It's cool. I wasn't sure where to post, I know not to creat new threads about things that have alreade been addressed, but so far I haven't found my particular problem, some similar, but nothing that helps me.

AwesomeMachine 06-26-2007 01:14 PM

NTFS write capability is a kernel config option, but can also be installed with a package. The way I take care of this problem is to run MS Windows XP in VMWare Workstation from within Linux. That way I can have Linux and XP at the same time. The other thing you can do is use the XP CD to boot into repair mode, but you'll need the administrator password. You can then copy NTDETECT.com and NTLDR from the \i386 folder on the Windows CD. But yet there is another way. Place the boot loader files from the WinXP CD on a floppy using Linux. you need to mount the XP CD, mount the floppy:

mkdir /media/cdrom
mount -t iso9660 /dev/hdc /media/cdrom
mount /media/floppy
cp /media/cdrom/i386/NTLDR /media/floppy/
cp /media/cdrom/i386/NTDETECT.COM /media/floppy/
umount /media/floppy (or fd0)

Boot Windows XP with that floppy in the drive. Windows looks at the floppy drive for those files before it gives up. After you're back in Windows copy those files to the root directory.

lightsycle 06-26-2007 02:38 PM

The other ntfs drives work fine. I am able to access/edit the files on them, it is just the one with the windows system files on it that has given me trouble. I didn't set an admin password, and I can't get into recovery console. I will try the disk tho.

lightsycle 06-26-2007 11:22 PM

still nothing
 
Windows didn't find the files on the floppy., I added a line in the fstab file to mount the disk sda1 at boot, added rw and user options, still read only. I really don't want to format....


All times are GMT -5. The time now is 10:55 PM.