LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-01-2018, 11:24 AM   #31
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,786

Rep: Reputation: 2216Reputation: 2216Reputation: 2216Reputation: 2216Reputation: 2216Reputation: 2216Reputation: 2216Reputation: 2216Reputation: 2216Reputation: 2216Reputation: 2216

Quote:
Originally Posted by pan64 View Post
If I remember well it may occur if the number of partitions has changed (since the last boot of MS Whatever).
Except, the message he's getting is not about "required device is inaccessible", but instead a disk read error.

One thing I see now is that the type of partition 5 has been changed to 7 (HPFS/NTFS/exFAT) from its original 83 (Linux). I suppose Windows XP could be getting confused by that. But I also cannot see why the Mint 18.3 "Disks" tool is refusing to delete partitions. When I run a Mint 18.3 VM with a virtual disk partitioned in exactly that way, the Disks tool deletes partitions just fine.

Is this old 80GB disk now failing? What does "smartctl -A /dev/sda" report?
 
1 members found this post helpful.
Old 02-01-2018, 11:55 AM   #32
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
this isn't fixed yet? I keep getting emails ...
 
1 members found this post helpful.
Old 02-02-2018, 12:28 AM   #33
Gyroman
Member
 
Registered: Nov 2014
Location: Australia
Distribution: Mint 19.1 Toshiba Satellite Pro R50-C
Posts: 108

Original Poster
Blog Entries: 5

Rep: Reputation: 1
Quote:
Originally Posted by rknichols View Post
Except, the message he's getting is not about "required device is inaccessible", but instead a disk read error.

One thing I see now is that the type of partition 5 has been changed to 7 (HPFS/NTFS/exFAT) from its original 83 (Linux). I suppose Windows XP could be getting confused by that. But I also cannot see why the Mint 18.3 "Disks" tool is refusing to delete partitions. When I run a Mint 18.3 VM with a virtual disk partitioned in exactly that way, the Disks tool deletes partitions just fine.

Is this old 80GB disk now failing? What does "smartctl -A /dev/sda" report?
Yes I used Mint GUI 'Disks' to re-format partition 5 to NTFS before I did the 'force sfdisk' to read new corrected partition data. After doing the re-format Windows did recognize that partition as a data drive and was running ok then.

No I am sure the disk is not failing.. (but will check) should I try to use force sfdisk once more to return the partition sizes to what Windows saw when last working.. I assume I can re-create the sfdisk output from the screenshots and tell it to read it back then change the disk ID if it needs it..

Thanks so much.. its a learning experience..
 
Old 02-02-2018, 12:52 AM   #34
Gyroman
Member
 
Registered: Nov 2014
Location: Australia
Distribution: Mint 19.1 Toshiba Satellite Pro R50-C
Posts: 108

Original Poster
Blog Entries: 5

Rep: Reputation: 1
When I used 'sudo sfdisk --force /dev/sda </tmp/parts' the output said..

"Created a new partition 1 of type 'HPFS/NTFSexFAT' and of size 19.5 GiB."

By creating a new partition 1 (Windows XP boot) albeit exactly the same as what was there.. does that mean however it also created a new blank FAT..?
 
Old 02-02-2018, 01:25 AM   #35
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,132

Rep: Reputation: 7374Reputation: 7374Reputation: 7374Reputation: 7374Reputation: 7374Reputation: 7374Reputation: 7374Reputation: 7374Reputation: 7374Reputation: 7374Reputation: 7374
no, there will be no filesystem created, there will be no FAT created at all.
 
1 members found this post helpful.
Old 02-02-2018, 08:25 AM   #36
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,786

Rep: Reputation: 2216Reputation: 2216Reputation: 2216Reputation: 2216Reputation: 2216Reputation: 2216Reputation: 2216Reputation: 2216Reputation: 2216Reputation: 2216Reputation: 2216
Quote:
Originally Posted by Gyroman View Post
When I used 'sudo sfdisk --force /dev/sda </tmp/parts' the output said..

"Created a new partition 1 of type 'HPFS/NTFSexFAT' and of size 19.5 GiB."

By creating a new partition 1 (Windows XP boot) albeit exactly the same as what was there.. does that mean however it also created a new blank FAT..?
No, sfdisk only writes partition table entries. It doesn't alter the content of partitions. You still have to be a bit careful because an extended partition, as well as every logical partition within it, has a 512-byte extended partition header at its beginning. If you create one of those in the wrong place, it would overwrite any data that was there before.

Note that gparted does format a new filesystem if you create a partition of a type other than "empty".

Last edited by rknichols; 02-02-2018 at 08:27 AM.
 
1 members found this post helpful.
Old 02-04-2018, 05:21 PM   #37
Gyroman
Member
 
Registered: Nov 2014
Location: Australia
Distribution: Mint 19.1 Toshiba Satellite Pro R50-C
Posts: 108

Original Poster
Blog Entries: 5

Rep: Reputation: 1
Quote:
Originally Posted by rknichols View Post
No, sfdisk only writes partition table entries. It doesn't alter the content of partitions. You still have to be a bit careful because an extended partition, as well as every logical partition within it, has a 512-byte extended partition header at its beginning. If you create one of those in the wrong place, it would overwrite any data that was there before.

Note that gparted does format a new filesystem if you create a partition of a type other than "empty".
I have been told using "sfdisk --force" to re-partition a HDD with another OS on it has the possibility it may grab some free space from the end of the other OS partition and they are suggesting this is what has happened since Windows stores some stuff at the end of its partition or file system whatever.. they had that experience and I think he is right..

So I need to wipe the disk and reinstall Windows.. unless anyone has a better idea..
Since I can't delete any partitions even in the 'fixed' state I presume I just use "sudo fdisk --force /dev/sda </tmp/parts" where parts is an edited output of fdisk with all blocks in one partition.. then format NTFS with Mint GUI Disks..

No problem and thanks for your patience and all the help..
 
Old 02-06-2018, 07:44 PM   #38
Gyroman
Member
 
Registered: Nov 2014
Location: Australia
Distribution: Mint 19.1 Toshiba Satellite Pro R50-C
Posts: 108

Original Poster
Blog Entries: 5

Rep: Reputation: 1
Final Outcome

Quote:
Originally Posted by BW-userx View Post
this isn't fixed yet? I keep getting emails ...
It appears using a Linux bootstick to force a partition table re-write did some damage to the Windows XP installation (more than just changing the disk ID).. Trying to fix a broken Windows boot from Linux did not work.. I then found (as advise) from Windows install CD I could access tools (under R-epair an installation) like FIXBOOT and FIXMBR and a simple PARTITION tool I could have just deleted the bad partitions (as advised).. but after Linux attempt to fix the partitions even Windows tools could not restore the installation.. So I used the Windows install disc to re-partition the whole drive to start again..

Now I am trying to 'activate' my Windows XP installation.. but it won't recognize the original Activation Key.. Microsoft direct me to [https://www.magnamsoft.com/Windows-Help-Support/] and they have a phone number etc.. and a chat line.. but so far I can't connect my new Windows XP to their tech guy/function..

My question is: Is this all the normal way to go now to activate an old Windows XP installation.. anything doggy to watch out for here..
 
Old 02-06-2018, 08:45 PM   #39
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by Gyroman View Post
It appears using a Linux bootstick to force a partition table re-write did some damage to the Windows XP installation (more than just changing the disk ID).. Trying to fix a broken Windows boot from Linux did not work.. I then found (as advise) from Windows install CD I could access tools (under R-epair an installation) like FIXBOOT and FIXMBR and a simple PARTITION tool I could have just deleted the bad partitions (as advised).. but after Linux attempt to fix the partitions even Windows tools could not restore the installation.. So I used the Windows install disc to re-partition the whole drive to start again..

Now I am trying to 'activate' my Windows XP installation.. but it won't recognize the original Activation Key.. Microsoft direct me to [https://www.magnamsoft.com/Windows-Help-Support/] and they have a phone number etc.. and a chat line.. but so far I can't connect my new Windows XP to their tech guy/function..

My question is: Is this all the normal way to go now to activate an old Windows XP installation.. anything doggy to watch out for here..
does that still have one of them Windows stickers on it that give your the number, for whatever versions Windows has, and as far as going through windows help line, nothing shady about that. If you really really need windows xp, you probally get it really really cheap on line like, eBay, even amazon might have it.

Microsoft Windows XP Professional Version 2002 w/Product Key New
$25 bucks
https://www.ebay.com/itm/Microsoft-W...AAAOSwiQ9ZT40l

the big lesson here is when you're dealing with Windows use Windows, not linux, I even suggested that. I hope you get it worked out alright.

Last edited by BW-userx; 02-06-2018 at 08:46 PM.
 
1 members found this post helpful.
Old 02-06-2018, 09:22 PM   #40
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,026

Rep: Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632
A faulty drive seems unlikely to have caused this overlapping issue. It can be going bad and you should use the OEM diags to test or universal tests. At least use smarttools.
 
1 members found this post helpful.
Old 02-06-2018, 09:25 PM   #41
Gyroman
Member
 
Registered: Nov 2014
Location: Australia
Distribution: Mint 19.1 Toshiba Satellite Pro R50-C
Posts: 108

Original Poster
Blog Entries: 5

Rep: Reputation: 1
Yes I have the original Windows XP with the product code sticker..

If I can't get the codes to activate is there a way to bypass the activation thing..?

How does Windows confirm its date of installation..?

If I buy a new Windows XP I think I am going to end up with the same problem.. since I have all the official product numbers I need..

Last edited by Timothy Miller; 02-07-2018 at 09:58 AM. Reason: please no discussion of ways to circumvent software activation, even if you legally own the software.
 
Old 02-07-2018, 07:54 AM   #42
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
wonders if that is because of it no longer being supported so they did something to it to try and force the consumer into buying something else of theirs instead.

if you had you PM turn on then I could suggest something.
 
1 members found this post helpful.
Old 02-07-2018, 03:44 PM   #43
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,026

Rep: Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632
Doubt you will have an issue if you have an original builders or full copy of XP and the COA key. I think I moved it a few times. Had to call MS on one and told them the reason.

Not sure what you'd get on auction sites. They used to sell ton's of Dell disc's that were missing drivers.
 
1 members found this post helpful.
Old 02-07-2018, 04:16 PM   #44
Gyroman
Member
 
Registered: Nov 2014
Location: Australia
Distribution: Mint 19.1 Toshiba Satellite Pro R50-C
Posts: 108

Original Poster
Blog Entries: 5

Rep: Reputation: 1
PM

Quote:
Originally Posted by BW-userx View Post
wonders if that is because of it no longer being supported so they did something to it to try and force the consumer into buying something else of theirs instead.

if you had you PM turn on then I could suggest something.
Do I have to turn on vCard downloads for anyone to get my email address..? Or does PM mean Private Messaging..?
 
Old 02-07-2018, 05:00 PM   #45
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by Gyroman View Post
Do I have to turn on vCard downloads for anyone to get my email address..? Or does PM mean Private Messaging..?
Private Messaging, so I don't give away my email address.
 
  


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
overlapping partitions micder Slackware 4 11-26-2012 11:47 AM
gparted error - can't have overlapping partitions zetrotrack000 Linux - General 5 02-04-2012 08:49 PM
[SOLVED] Overlapping Partitions CincinnatiKid Linux - General 5 09-01-2010 10:15 AM
HDD partition recovery - HDD works but no partitions are accessible? stevod333 Linux - Software 6 10-01-2009 05:24 AM
Cannot Delete incomplete partitions or Start HDD truhuska Linux - Software 4 04-30-2004 11:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:21 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