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

0 Members and 1 Guest are viewing this topic.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14442
  • Karma: 357
  • 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: 871
  • Karma: 30
  • 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: 89
  • Karma: 1
  • Gender: Male
  • I've just joined, and I like it here.
    • 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: 871
  • Karma: 30
  • 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

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14442
  • Karma: 357
  • 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: 871
  • Karma: 30
  • 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: 89
  • Karma: 1
  • Gender: Male
  • I've just joined, and I like it here.
    • 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: 871
  • Karma: 30
  • 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

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14442
  • Karma: 357
  • 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: 89
  • Karma: 1
  • Gender: Male
  • I've just joined, and I like it here.
    • 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 »

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14442
  • Karma: 357
  • 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: 89
  • Karma: 1
  • Gender: Male
  • I've just joined, and I like it here.
    • 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!

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14442
  • Karma: 357
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: using linux to fix an xp system
« Reply #42 on: August 15, 2014, 12:41:42 pm »
Virtualbox question split to here:
http://linuxforums.org.uk/index.php?topic=12018.0

ONE SUBJECT (with a descriptive title) PER TOPIC,
(installing Virtualbox is not covered by the title of this topic)

Please be aware this forum is just as much about other people searching for already discovered solutions as about finding new ones .. a single issue/question per topic with a descriptive title makes it MUCH easier for people to search for already discovered solutions .. it also means they can be marked as (SOLVED) when a solution is discovered (again aiding people with the same problem/question).
« Last Edit: August 15, 2014, 12:43:16 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

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

Offline mikep

  • Jr. Member
  • **
  • Posts: 89
  • Karma: 1
  • Gender: Male
  • I've just joined, and I like it here.
    • View Profile
    • Awards
Re: using linux to fix an xp system
« Reply #43 on: August 15, 2014, 09:41:24 pm »
Point taken Mark.

Never occured to me - you suggested running XP in a VM earlier in the thread so I automatically (unthinkingly) came back with the supplementary question.

Thanks for your help, as always.

Offline mikep

  • Jr. Member
  • **
  • Posts: 89
  • Karma: 1
  • Gender: Male
  • I've just joined, and I like it here.
    • View Profile
    • Awards
Re: using linux to fix an xp system
« Reply #44 on: September 06, 2014, 11:30:13 pm »
Truecrypt works in Linux too ;)
(and/or it's extremely easy to encrypt your whole home folder in Linux)

Which bookkeeping software does she use ? .. let me guess .. Sage ?
(if so, there's AFAIK currently no way to get that to work in Linux .. but you could always run XP in a virtual machine in Linux and possibly cut it off from the interweb for safeties sake)

Mark,

I'm now running Ubuntu 14.04 and within it Virtualbox, as you know from other threads.

What amazes me is that I now have the ability to run a secure, free OS (Ubuntu), plus a version of XP which is cut off from the web, plus another version of XP with web access (purely to allow me to use the Epic Privacy Browser which doesn't work in Linux).

What's more, I can run them simultaneously, they're quick (the VMs start quicker than standard installations if anything), and I can routinely reinstate snapshots far more quickly that a Norton Ghost.

So, I now have one computer, two screens, three operating systems and (I hope) a lot more security. Plus the option to try other Linux distros in VMs. Oh yes, it's hooked up to a KVM switch, so there's the option to at least double the confusion!

Seems almost too good to be true. Am I missing something? Could a virus sneak in through the XP VM with internet access and spread beyond the VM? (I suspect not).

Could a virus get in through the host OS (Ubuntu)?  I suspect possible, though improbable. Does the Linux community even bother with antivirus/firewalls? I always knew Windows was vulnerable, but at least I felt slightly comforted knowing that I ran regular checks and a firewall.
« Last Edit: September 06, 2014, 11:45:09 pm by mikep »

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal