LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-24-2009, 09:39 AM   #16
Fried Egg
LQ Newbie
 
Registered: Dec 2009
Distribution: Simply Mepis 6.5
Posts: 12

Original Poster
Rep: Reputation: 1

OK, I dropped the "s" and it ran without feedback. Then I executed the the next line with the following result:
Code:
root@1[root]# file -s /dev/loop0
/dev/loop0: Squashfs filesystem, little endian, version 2.1, 709341406 bytes, 94235 inodes, blocksize: 65536 bytes, created: Fri Apr 27 14:09:23 2007
However, when I executed the final line, I got the following:
Code:
root@1[root]# mount -t ntfs /dev/loop0 /mnt
mount: block device /dev/loop0 is write-protected, mounting read-only
mount: /dev/loop0 already mounted or /mnt busy
I presume that means it was unsuccessful? Any further thoughts anyone?

Last edited by Fried Egg; 12-24-2009 at 09:41 AM.
 
Old 12-29-2009, 01:21 AM   #17
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You shouldn't simply guess which loop device was used.
Running "sudo /sbin/losetup -f" first will tell you which is the first unused loop device.
Running "sudo /sbin/losetup -a" afterwards will give you info on each loop device.
Look at "man losetup". Is there a --show option? If so try "losetup -f /dev/sda --show -o $((63*512))"

I think that /dev/loop0 was already used and you are looking at the wrong loop device.

Last edited by jschiwal; 12-29-2009 at 01:28 AM.
 
Old 12-29-2009, 05:00 AM   #18
Fried Egg
LQ Newbie
 
Registered: Dec 2009
Distribution: Simply Mepis 6.5
Posts: 12

Original Poster
Rep: Reputation: 1
Ok, thanks for all your help but this is all getting way beyong me and my linux abilities, I don't really understand what you're asking of me.

I'm going to get a new hard drive, and then set my old one up externally and try to get some data recovery software working on it to see if I can retrieve anything.
 
Old 01-05-2010, 07:45 AM   #19
Fried Egg
LQ Newbie
 
Registered: Dec 2009
Distribution: Simply Mepis 6.5
Posts: 12

Original Poster
Rep: Reputation: 1
For those interested, I managed to recover all the files I needed to from my corrupted partition by using TestDisk to find the partitions and then copy the files onto another drive.

Getting back to normal now, thanks to all those who tried to help.
 
Old 01-19-2010, 09:46 PM   #20
zenofronia
Member
 
Registered: Nov 2009
Posts: 33

Rep: Reputation: 0
virus attack, hostage. U fix it?

My wife is having similar situation. AVG anti-virus - she is offered anti-virus software to fix it. Isn't this a ransom? In short, I removed XP, installed suse 11.2 and it appears virus is still there because we cannot launch an app without the system freezing.
Did you solve your problem? How?
By the waym, I was able to rescue her data. Now we need to rescue the drive? Did I understand correctly that you simply bought a new drive?

Breathlessly waiting an answer,

geoffrey





Quote:
Originally Posted by Fried Egg View Post
Hi,

I have a KDE linux package dual booting with Windows XP.

Unfortuantely, my XP installation has a problem, I think I need to repair the installation by booting from the XP CD. However, when I boot from the CD, it cannot recognise the master partition and so it can't see the existing installation to repair.

Is it possible to add the Windows CD as a start option on the GRUB bootloader, so that when I select this option, it boots from the CD but can see my windows partitions?

Alternatively, I saw this article on how to uninstall the GRUB bootloader which would presuably allow the XP CD to see my windows partitions and repair XP? Afterwards I could restore the bootloader as before?

Or perhaps I am going about this entirely the wrong way?

Any help would be much appreciated, I am a Linux newbie!

Last edited by zenofronia; 01-19-2010 at 09:48 PM.
 
Old 01-20-2010, 08:20 AM   #21
Fried Egg
LQ Newbie
 
Registered: Dec 2009
Distribution: Simply Mepis 6.5
Posts: 12

Original Poster
Rep: Reputation: 1
I scanned for viruses using a couple of different virus boot disks (Kaspersky and Avira, both downloadable for free) and killed the infected files. Then after I had recovered all the data I needed to, I re-partitioned, formatted and reinstalled.
 
1 members found this post helpful.
  


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
How do I remove Windows 7 from a Windows / Linux dual boot setup Tiree17 Linux - Newbie 4 12-19-2009 06:36 PM
Reparing MBR from linux for Windows XP n1nja56 Linux - Newbie 1 06-09-2008 02:10 PM
I have windows XP and want to install XUbuntu on a dual boot setup, how do I do it? Mac_09 Linux - Newbie 4 05-07-2008 04:57 PM
Problem with dual boot/dual drive setup Norab Linux - Hardware 10 08-29-2005 03:13 PM
Problems With Dual Boot / Dual Drive Setup Norab Linux - Hardware 1 08-07-2005 09:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:03 AM.

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