Author Topic: using linux to fix an xp system  (Read 2440 times)

0 Members and 1 Guest are viewing this topic.

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13187
  • Karma: 321
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: using linux to fix an xp system
« Reply #30 on: May 07, 2014, 12:32:50 am »
Is the drive listed in either Gparted or Disk Utility (aka. Disks) ?
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline chemicalfan

  • Hero Member
  • *****
  • Posts: 559
  • Karma: 12
  • Gender: Male
  • I've been here a little while!
    • View Profile
    • Awards
Re: using linux to fix an xp system
« Reply #31 on: May 07, 2014, 09:01:58 am »
I'd guess that was right? Does it show up in the file manager, and can you access it?

If you want to zero the drive, dd is the best - takes a while though!

Offline mikep

  • Jr. Member
  • **
  • Posts: 19
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: using linux to fix an xp system
« Reply #32 on: May 08, 2014, 12:11:34 am »
No, I can't see it in Gparted or the file manager.

Not sure what you mean by Disk Utility - I'm very much new to Linux

Offline chemicalfan

  • Hero Member
  • *****
  • Posts: 559
  • Karma: 12
  • Gender: Male
  • I've been here a little while!
    • View Profile
    • Awards
Re: using linux to fix an xp system
« Reply #33 on: May 08, 2014, 08:59:22 am »
If you unplug the drive, then run in a terminal:
Code: [Select]
sudo tail -f /var/log/messages.log
Then leave that running, and plug in the drive and wait a few seconds. Post back anything that appears in the terminal window

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13187
  • Karma: 321
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: using linux to fix an xp system
« Reply #34 on: May 08, 2014, 11:15:39 am »
After doing what chemicalfan suggests...

unplug the drive .. wait 10 seconds .. replug the drive .. then post the output from:
Code: [Select]
dmesg | tail -n 30
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline chemicalfan

  • Hero Member
  • *****
  • Posts: 559
  • Karma: 12
  • Gender: Male
  • I've been here a little while!
    • View Profile
    • Awards
Re: using linux to fix an xp system
« Reply #35 on: May 08, 2014, 12:12:41 pm »
Lol, forget what I suggested - the code I was thinking of was what Mark posted (needed another cup of tea!!!)

Offline mikep

  • Jr. Member
  • **
  • Posts: 19
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: using linux to fix an xp system
« Reply #36 on: May 09, 2014, 12:23:58 am »
Hello Mark,

Here's the output from the terminal. The external drive in question is indeed a Maxtor one-touch, but I can't find it anywhere although Linux can obviously see it.  This may well be something simple - like my ignorance of how Linux works - so assume little or no knowledge on my part!

Thanks also for your input, Chemicalfan.


ike@mike-desktop:~$ dmesg | tail -n 30
[  779.232020] sd 9:0:0:0: [sdd] 160084992 512-byte hardware sectors: (81.9 GB/76.3 GiB)
[  779.438385] sd 9:0:0:0: [sdd] Write Protect is off
[  779.438387] sd 9:0:0:0: [sdd] Mode Sense: 1c 00 00 00
[  779.438390] sd 9:0:0:0: [sdd] Assuming drive cache: write through
[  779.439006] sd 9:0:0:0: [sdd] 160084992 512-byte hardware sectors: (81.9 GB/76.3 GiB)
[  779.645266] sd 9:0:0:0: [sdd] Write Protect is off
[  779.645268] sd 9:0:0:0: [sdd] Mode Sense: 1c 00 00 00
[  779.645270] sd 9:0:0:0: [sdd] Assuming drive cache: write through
[  779.645273]  sdd: sdd1
[  779.668853] sd 9:0:0:0: [sdd] Attached SCSI disk
[  779.668914] sd 9:0:0:0: Attached scsi generic sg4 type 0
[  829.256883] usb 2-6: USB disconnect, address 3
[  849.832012] usb 2-5: new high speed USB device using ehci_hcd and address 4
[  849.965104] usb 2-5: configuration #1 chosen from 1 choice
[  849.965410] scsi10 : SCSI emulation for USB Mass Storage devices
[  849.965877] usb-storage: device found at 4
[  849.965880] usb-storage: waiting for device to settle before scanning
[  854.964122] usb-storage: device scan complete
[  855.170007] scsi 10:0:0:0: Direct-Access     Maxtor   OneTouch         0201 PQ: 0 ANSI: 0 CCS
[  855.170988] sd 10:0:0:0: [sdd] 160084992 512-byte hardware sectors: (81.9 GB/76.3 GiB)
[  855.377252] sd 10:0:0:0: [sdd] Write Protect is off
[  855.377255] sd 10:0:0:0: [sdd] Mode Sense: 1c 00 00 00
[  855.377257] sd 10:0:0:0: [sdd] Assuming drive cache: write through
[  855.377874] sd 10:0:0:0: [sdd] 160084992 512-byte hardware sectors: (81.9 GB/76.3 GiB)
[  855.584132] sd 10:0:0:0: [sdd] Write Protect is off
[  855.584135] sd 10:0:0:0: [sdd] Mode Sense: 1c 00 00 00
[  855.584137] sd 10:0:0:0: [sdd] Assuming drive cache: write through
[  855.584140]  sdd: sdd1
[  855.607093] sd 10:0:0:0: [sdd] Attached SCSI disk
[  855.607153] sd 10:0:0:0: Attached scsi generic sg4 type 0
mike@mike-desktop:~$

Offline chemicalfan

  • Hero Member
  • *****
  • Posts: 559
  • Karma: 12
  • Gender: Male
  • I've been here a little while!
    • View Profile
    • Awards
Re: using linux to fix an xp system
« Reply #37 on: May 09, 2014, 08:52:15 am »
Ok, with the drive inserted, try entering:
Code: [Select]
sudo blkid
And post the output back here

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13187
  • Karma: 321
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: using linux to fix an xp system
« Reply #38 on: May 09, 2014, 03:24:10 pm »
Which distro/version are we talking about again ?

and what's the output from:
Code: [Select]
mount
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline mikep

  • Jr. Member
  • **
  • Posts: 19
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: using linux to fix an xp system
« Reply #39 on: May 09, 2014, 10:18:59 pm »
Here are the two outputs Mark and Chemicalfan,

And I know you're going to tick me off for this, but the installed version I did the tests in is Ubuntu 9.04.

However, I've also tried the drive in a live CD of 14.04 with the same result (IE: not visible).  I'm intending to install 14.04 soon, but I used 9.04 for the tests as it boots infinitely quicker.  I assumed the results would be the same in both versions. Am I wrong?

mike@mike-desktop:~$ sudo blkid
[sudo] password for mike:
Sorry, try again.
[sudo] password for mike:
/dev/sda1: UUID="80D419D7D419CFF0" TYPE="ntfs" LABEL="data"
/dev/sdc1: UUID="6C74B52774B4F4C4" TYPE="ntfs"
/dev/sdc2: UUID="AEDCCEF6DCCEB7BB" LABEL="Ubuntu" TYPE="ntfs"
/dev/sdc5: UUID="470c2e75-fa21-45f3-a77c-bcc5b88a55d2" TYPE="ext3"
/dev/sdc6: TYPE="swap" UUID="f984b42f-e6db-4a1a-87d3-96ffc85e8a53"
mike@mike-desktop:~$





mike@mike-desktop:~$ mount
/dev/sdc5 on / type ext3 (rw,relatime,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,nosuid,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
lrm on /lib/modules/2.6.28-11-generic/volatile type tmpfs (rw,mode=755)
securityfs on /sys/kernel/security type securityfs (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/mike/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=mike)
mike@mike-desktop:~$
« Last Edit: May 09, 2014, 10:20:46 pm by mikep »

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13187
  • Karma: 321
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: using linux to fix an xp system
« Reply #40 on: May 09, 2014, 11:24:23 pm »
If this is 9.04 I'm afraid you're pretty much on your own .. I have no experience of how its user space automounting of USB HDD's works, or even if it does.

is there anything in here:
Code: [Select]
nautilus /home/mike/.gvfs
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline mikep

  • Jr. Member
  • **
  • Posts: 19
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: using linux to fix an xp system
« Reply #41 on: May 13, 2014, 12:31:00 am »
I tried to upgrade to 14.04 yesterday, but there was a problem with a partition being too small (the swap file, I think).  The installer said that if I didn't go back and increase the size, the installation might fail.

So I did go back.  I increased the size of the most likely suspect in GPARTED.  At which point neither Ubuntu nor XP was happy with the partition table.

I ran the XP installer and got XP SP2 running again, at which point I decided to boot & nuke the external drive.  Next I will boot & nuke the internal (XP) drive, just to be sure everything is clean, then I'll re-install XP, followed by Ubuntu 14.04.  Hopefully, I'll end up where I want to be - a dual-boot with Ubuntu and XP (where XP isn't allowed online), and a known clean external drive on which to save Norton Ghost files of the XP installation...

Thanks for your help guys.  Feel free to tell me if I'm barking up a wrong tree!

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal