LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 02-04-2006, 12:03 PM   #16
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112

Reinstalling another copy of XP over an existing copy that no longer work will be able to salvage some of the programs' settings and data but all the programs will not be managed by the new XP without a re-installation of each software.

The new XP will install and try not to destroy the existing data but as the programs were not installed with it the new XP's registry will not accept the existing programs which should be still operable if one click to the appropriate directory in the "program files" and select the relevant .exe file.

Before installing the new copy of XP it is advisible to backup the old XP partition so that the original data and settings are duplicated and can be re-called if any of the information is destroyed by the new XP.

Installing a new XP copy will get over the blinking cursor problem because you are effectively implementing a new XP license there. XP is a reasonable system that it will salvage the old settings and would not destroy any of them without receiving a permission form the user.
 
Old 02-04-2006, 12:23 PM   #17
kkishor3
LQ Newbie
 
Registered: Feb 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Hello
I have made a fresh installation of windows without formatting the drive but the cursor blinks even after reboot. Do i need to fix anything now?

thanks
 
Old 02-04-2006, 01:15 PM   #18
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Try to load a Live CD and post the information of
Code:
fdisk -l
here. The "l" above is a small "L".

Try also make sure the XP partition is "bootable", using "cfdisk" or "fdisk" from Linux.

Running fdisk.exe from a bootable DOS floppy should show up your XP as a non-Dos partition but marked as "active".

From experience as long as you put a new licenesed copy over an existing XP installlation it should wipe clean the boot loader and behaves like a new installation.
 
Old 02-04-2006, 03:39 PM   #19
kkishor3
LQ Newbie
 
Registered: Feb 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Hey

I installed using a licensed copy of windows XP. THis are the Fdisk -l details from Redhat9 after a partial windows installation.

Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 3273 26286088+ 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary
/dev/hda2 3273 3336 506520 f Win95 Ext'd (LBA)
Partition 2 does not end on cylinder boundary
/dev/hda3 3336 4865 12285000 83 Linux
Partition 3 does not end on cylinder boundary
/dev/hda5 3273 3336 506488+ 82 Linux swap


Is there any way i can edit the boot.ini and make it working from linux?

thanks
 
Old 02-06-2006, 08:34 PM   #20
kkishor3
LQ Newbie
 
Registered: Feb 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Hello
Can anyone think of any possible solution?

thanks
 
Old 02-06-2006, 08:42 PM   #21
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Your disk has a corrupted partition table.

If you have used Partition Magic before than it would be the one which did the damage.

Since all your partitions are affected it appears a clean re-install of both systems may be necessary.
 
Old 02-06-2006, 10:46 PM   #22
kkishor3
LQ Newbie
 
Registered: Feb 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Hello
Is clean install the only option I have?
thanks
 
Old 02-07-2006, 03:28 AM   #23
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
If you know you partition sizes accurately you can

(1) use "fdisk" to remove all the partitions

(2) reboot with a Live CD and re-create the partitions using "cfdisk" or "fdisk".

(3) Reboot again.

I have rebuilt my 60 and 54 partitions in disks this way at least 10 times. A complete destruction of the partition table does not change the content of the partitions interiors.
 
Old 02-07-2006, 10:02 AM   #24
kkishor3
LQ Newbie
 
Registered: Feb 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Hello Saikee
Does complete destruction of partition table affect the interior applications? If no, during the installation of Windows XP from a CD, what are the options to be selected when asked for formatting?

Thank you
 
Old 02-07-2006, 11:12 AM   #25
wpn146
Member
 
Registered: Jan 2005
Distribution: Solaris, Linux Fedora Core 6
Posts: 170

Rep: Reputation: 30
Quote:
Originally Posted by kkishor3
Hello
Is clean install the only option I have?
thanks
I can't extend much hope for your XP system. With the corrupted partition table, your XP install cd and your own system backups will probably have to do. (You DO have backups, right?) Just in case there is some way to recover it, by all means use whatever utility you can to save an image (perhaps Ghost?) before you wipe the partition table.

It is possible(?) that you can preserve your Linux build using a Linux rescue disk and the "dump/restore" utilities if you have a place to safely store the dump files -- for example, a usb drive.

There is even an outside chance that Linux from a rescue cd can mount your NTFS partition (read-only) and let you grab a "tar" to the safe location and at some point in the future after XP is working again, a windows port of "tar" might let you recover files.

After completely reformatting the disk and reinstalling XP, again reboot from the Linux rescue cd and restore the data to your new Linux partitions. You will probably have to make new ext2/ext3 file systems and "mkswap <device>" to set up your swap partition. After that, mount the Linux root partition under /mnt/sysimage (you may have to create the /mnt/sysimage directory), any other Linux partitions you may have at their appropriate mount points -- example: "/mnt/sysimage/boot" for your "/boot" partition, chroot to /mnt/sysimage, and run "grub-install <device>". (Alternately, after you have restored the Linux partitions, you can reboot from the rescue cd and it will probably find and mount /mnt/sysimage for you.) As long as you have repartitioned the drive the same way it used to be, /etc/fstab will be correct. Otherwise, it will have to be edited to reflect the partitioning. Don't forget that if grub.conf and /etc/fstab refer to drives by label, you will have to create the labels when you make the file systems. See the man page for mke2fs. Or see the man page for tune2fs to add the labels if you forgot.
 
Old 02-07-2006, 11:55 AM   #26
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
The partition table is just 64 bytes at the last 66 bytes of the 512 bytes MBR. One can have it erased completely and then rebuilt. If no data was written into the partition and the sizes were correctly replicated the partitions will simply reappear after the partition table has been rebuilt.

I must have done this on two IDE disks about 10 times and haven't lost a partition yet. I run 2 IDE and 2 Sata disks in the main box that hold over 100 systems. My hda has 60 partitions and is fully populated with operating systems.

Threr were three culprits trashing the partition table in my case. (1) I have Partition Magic trashed them about twice. (2) Every time I boot up a FReeDOS it truncates all the partitions except the first 4 and (3) I have suffered the same "Partition 3 does not end on cylinder boundary" by running several BSD and Solaris with a large number of Linux in logical partitions.

The task can be underatken by a Live CD. Just use fdisk to remove one partition at a time unless none is left. The reboot will ensure the disk partition table validated, even though it isn't bootable itself and so the PC is booted by a Live CD. The new partitions are then created exactly in the same order and size as the original. After a further reboot all the good partitions reappear, including the labels and bootable flag.

The process does require an axact knowledge of the partitions' original sizes and types.

There is no "reformat" involved at all! The disks will go back to the original condition. The partition table provides mainly the starting address of each partition in the hard disk. The partition type tells the operating system how to read the internal data.

Last edited by saikee; 02-07-2006 at 12:00 PM.
 
Old 02-09-2006, 09:20 AM   #27
kkishor3
LQ Newbie
 
Registered: Feb 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Hello
I have formatted the windows partition and installed a fresh WinXP. Now i am able to access both Linux and windows.

Earlier, I took a backup of the windows files from Linux in the form of tar. As the tar file is big, i am not able to get the Xwindows working. Is there any way to access my linux folders from a text prompt?

Can you suggest a way how I can recover the files from the tar file? The tar consists only my Windows files.

thank you
 
Old 02-09-2006, 09:43 AM   #28
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Any file you can access in Xwindows will be available in termainal console. Can you not just click system/terminal in RH9 to get a terminal screen?

To kill Xwindows completely is pressing ctrl+alt+backspace.
 
Old 02-09-2006, 10:40 AM   #29
kkishor3
LQ Newbie
 
Registered: Feb 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Hello
I am not able to login into linux using Xwindows. It tries to come up but because of lack of space it keeps retrying. So unable to continue with the prompt in text mode. I will try using Alt+ctrl+bkspace.

Can you suggest a way to access the tar files in windows?

thanks
 
Old 02-09-2006, 11:34 AM   #30
new_to_open_ssl
LQ Newbie
 
Registered: Jan 2006
Posts: 10

Rep: Reputation: 0
You may want to Ghost drive before attemp repair
 
  


Reply


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
Dual boot GRUB problem mansion108 Linux - Newbie 5 11-18-2005 11:09 PM
Dual boot Grub problem russviolet Fedora - Installation 5 09-24-2005 10:10 PM
FC3, grub problem with dual boot henderman Fedora - Installation 8 05-19-2005 12:11 PM
grub/dual boot problem/question... wrat Linux - Newbie 2 11-28-2004 04:59 PM
Grub Dual Boot Problem zutanoz Linux - Newbie 1 09-22-2003 07:04 PM


All times are GMT -5. The time now is 10:23 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration