Re: [CentOS] Need a Centos 6 USB hard drive recovery procedure
On 11/05/13 14:48, Rock wrote: For the record, this is the Microsoft Support KB I had followed: http://support.microsoft.com/kb/176646 Just by way of update, it's currently at 95,000 of about 100,000 files; so I would expect the Recuva file recovery to complete by tomorrow morning (day 3): http://www5.picturepush.com/photo/a/12901188/img/129088.gif Of course, the results will be flatter than a pancake; so, I will try the other suggested methods; but at least I'll wait for this first (Recuva) method to complete. Give testdisk [0] a try. However, I'd suggest you still make a copy of the disk with dd and work on the image! [0] - http://www.cgsecurity.org/wiki/TestDisk Cheers, ak. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Need a Centos 6 USB hard drive recovery procedure
On Sat, 11 May 2013 21:27:59 +1000, Anthony K wrote: I'd suggest you still make a copy of the disk with dd and work on the image! Since I may only get one shot, and since I've never formatted a USB hard drive, nor ever even mounted one, how does this procedure look for my 149GB NTFS disk? Note: Recuva says the cluster size = 4096 file record size = 1024. 0. {should I boot off a Centos CD or should I use my normal OS?} 1. Connect the new =150GB hard drive to the Centos 6 laptop Note: Presumably that will be on /dev/sda0 (right?) 2. Format the new hard drive with fdisk (is this step needed?) Note: What fdisk command is recommended? 3. Connect the old 150GB compromised USB NTFS disk to Centos 6 5. Copy data, verbatim, from the old disk to the new disk with dd Key questions: Q0. Should I boot to my normal Centos 6 OS? Q1: Should I format the new USB hard disk with Fdisk? Q2: What dd command should I use? Googling, and looking at fdisk options, should I run? # fdisk /dev/sdb # fdisk -l /dev/sdb Googling, I find multiple dd examples {which block size should I use?} # dd if=/dev/sda of=/dev/sdb # dd if=/dev/sda of=/dev/sdb bs=1M # dd if=/dev/sda of=mbrbackup bs=512 count=1; dd if=mbrbackup of=/dev/sdb bs=446 count=1 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Need a Centos 6 USB hard drive recovery procedure
On 11/05/13 22:56, Rock wrote: On Sat, 11 May 2013 21:27:59 +1000, Anthony K wrote: I'd suggest you still make a copy of the disk with dd and work on the image! Key questions: Q0. Should I boot to my normal Centos 6 OS? Q1: Should I format the new USB hard disk with Fdisk? Q2: What dd command should I use? Having read your earlier posts, I believe you are quite capable of sorting out Q0 and Q1. For Q0 though, I normally use pmagic live CD. For Q2, I once ran some tests to determine the optimum blocksize to use with dd and discovered that anything over 4096 didn't increase throughput much. However, I still use 4M when working with dd to dump a hdd image: dd if=/dev/sda of=/path/to/hdd-image-file.img bs=4M After dumping the image, refer to testdisk wiki [0] on how to mount the image file. If you require some hand holding working with testdisk, please contact me off-list. Cheers, ak. [0] - http://www.cgsecurity.org/wiki/TestDisk_FAQ#How_to_open_the_image.dd_file_.3F ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Need a Centos 6 USB hard drive recovery procedure
On 05/09/2013 04:41 PM, Rock wrote: My 15GB backup USB drive somehow got corrupted such that a chkdsk /f E: on WinXP removed the file allocation table (or whatever) making the NTFS drive appear empty. I tried Windows Recuva freeware to recover the files, and it has been working for 24 hours; but it has dumped about 65,000 files into a separate flat Windows directory. http://www3.picturepush.com/photo/a/12892041/img/12892041.jpg Since none of the files were deleted or written over, is there a method on Linux that will simply recover the missing file allocation directory structure instead of dumping a hundred thousand files into a single directory? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos I had to recover a Red Hat Raid array after a motherboard failure... This did it: http://www.recoverdatatools.com/ During the recovery it rebuilt the previous Windows installation as well. It not free but it worked for me several years ago. Hope it helps. There are some linux solutions I had at the time and I am trying to dig up my notes. Fred ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Need a Centos 6 USB hard drive recovery procedure
On Sat, 11 May 2013 11:23:35 -0400, Fred Roller wrote: There are some linux solutions I had at the time and I am trying to dig up my notes. Thanks if you can find them. Currently I'm at day 3, and almost done recovering the files; but the results (sadly, due to my error in the Recuva settings) are flatter than the plains of Kansas! http://www2.picturepush.com/photo/a/12904140/img/12904140.gif ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Missing printer driver
On Thu, 9 May 2013 23:35:35 -0400 Steve Blackwell zep...@cfl.rr.com wrote: On Thu, 09 May 2013 10:49:01 +0200 Ljubomir Ljubojevic cen...@plnet.rs wrote: On 05/09/2013 03:29 AM, Steve Blackwell wrote: Lexmark 2600 Download this driver : http://downloads.lexmark.com/downloads/cpd/lexmark-inkjet-08-driver-1.0-1.i386.rpm.sh.zip It is intended for Fedora 12, but should work for EL6 as well. Thanks for the link. I'll try it this weekend. Steve Well, no luck. # ./lexmark-inkjet-08-driver-1.0-1.i386.rpm.sh Verifying archive integrity... All good. Uncompressing nixstaller... Collecting info for this system... Operating system: linux CPU Arch: x86_64 Warning: No installer for x86_64 found, defaulting to x86... ./startupinstaller.sh: bin/linux/x86/libc.so.6/lzma-decode: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory ./startupinstaller.sh: bin/linux/x86/libc.so.6/lzma-decode: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory ./startupinstaller.sh: bin/linux/x86/libc.so.6/lzma-decode: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory ./startupinstaller.sh: bin/linux/x86/libc.so.6/lzma-decode: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory ./startupinstaller.sh: bin/linux/x86/libc.so.6/lzma-decode: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory ./startupinstaller.sh: bin/linux/x86/libc.so.6/lzma-decode: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory ./startupinstaller.sh: bin/linux/x86/libc.so.6/lzma-decode: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory ./startupinstaller.sh: bin/linux/x86/libc.so.6/lzma-decode: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory ./startupinstaller.sh: bin/linux/x86/libc.so.6/lzma-decode: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory ./startupinstaller.sh: bin/linux/x86/libc.so.6/lzma-decode: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory ./startupinstaller.sh: bin/linux/x86/libc.so.6/lzma-decode: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory ./startupinstaller.sh: bin/linux/x86/libc.so.6/lzma-decode: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory Error: Couldn't find any suitable frontend for your system I contacted Lexmark's support and was told the usual we don't support your OS line. After I little back and forth I was given a 1-800 number for tech support who weren't available at the moment. Steve ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Need a Centos 6 USB hard drive recovery procedure
On Sat, 11 May 2013 15:35:31 +, Rock wrote: Currently I'm at day 3, and almost done recovering the files; but the results (sadly, due to my error in the Recuva settings) are flatter than the plains of Kansas! Just for the record, Recuva finished at 66 hours: http://www5.picturepush.com/photo/a/12907423/img/12907423.jpeg It's odd that I'm having trouble finding a good tutorial for Linux recovery of the master table of contents, since it must be happening to others day in and day out. Fundamentally, the procedure is to dd the disk and then work off the backup but I don't want to make a mistake so that's why an exact procedure is so critical to find. It's expensive being a pioneer; yet I shouldn't have to be a pioneer for this task, since it happens every day. Will read everything written and try to find a tutorial. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Missing printer driver
On Sat, 11 May 2013 15:18:50 -0400 Steve Blackwell wrote: Well, no luck. # ./lexmark-inkjet-08-driver-1.0-1.i386.rpm.sh Collecting info for this system... Operating system: linux CPU Arch: x86_64 Warning: No installer for x86_64 found, defaulting to x86... You'll apparently need to install some i386 libraries to make this work. -- MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Missing printer driver
# ./lexmark-inkjet-08-driver-1.0-1.i386.rpm.sh CPU Arch: x86_64 Warning: No installer for x86_64 found, defaulting to x86... ./startupinstaller.sh: bin/linux/x86/libc.so.6/lzma-decode: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory Your system is pure 64bit; no 32bit routines installed. You're trying to install a 32bit piece of software. You probably need to install glibc.i686 or determine if there's a x86_64 version of the package you're trying to install. -- rgds Stephen ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Need a Centos 6 USB hard drive recovery procedure
On Sat, 2013-05-11 at 19:18 +, Rock wrote: On Sat, 11 May 2013 15:35:31 +, Rock wrote: Currently I'm at day 3, and almost done recovering the files; but the results (sadly, due to my error in the Recuva settings) are flatter than the plains of Kansas! Just for the record, Recuva finished at 66 hours: http://www5.picturepush.com/photo/a/12907423/img/12907423.jpeg It's odd that I'm having trouble finding a good tutorial for Linux recovery of the master table of contents, since it must be happening to others day in and day out. Fundamentally, the procedure is to dd the disk and then work off the backup but I don't want to make a mistake so that's why an exact procedure is so critical to find. It's expensive being a pioneer; yet I shouldn't have to be a pioneer for this task, since it happens every day. Will read everything written and try to find a tutorial. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ok, here is a quick list of what to do: 1) connect your spare disk (USB) (not the bad disk!) and as root check what device id it got (tail /var/log/messages) look for detected partitions there or do fdisk -l /dev/sdx where the sdx is what you found from /var/log/messages 2) As root Mount the disk: mount /devsdxy /mnt (where y is the partion number you want to mount) if mounted goto 3 This may fail if it is ntfs 2B) If it fails format the disk as ext4: mkfs /dev/sdxy and then mount it as under 2 3) I assume here that your bad disk is already connected (as sdz check first what the real name is) dd if=/dev/sdz of=/mnt/image.dd bs=1M This will copy the contents of your bad disk to image.dd 4) just to be sure, make the image read-only chmod uog=r /mnt/image.dd 5) install testdisk from the epel repo yum install testdisk 6) now run photorec from a directory where you have sufficient space, ifg your usb disk is big enough do it there (hint create a sub-directory mdkdir /mnt/recover cd /mnet/recover but any dorectory would do photorec /mnt/image.dd The copy to an image is not really required, but better safe then sorry I have written this from Louis ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Missing printer driver
On Sat, 11 May 2013 16:05:35 -0400 Stephen Harris li...@spuddy.org wrote: # ./lexmark-inkjet-08-driver-1.0-1.i386.rpm.sh CPU Arch: x86_64 Warning: No installer for x86_64 found, defaulting to x86... ./startupinstaller.sh: bin/linux/x86/libc.so.6/lzma-decode: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory Your system is pure 64bit; no 32bit routines installed. You're trying to install a 32bit piece of software. You probably need to install glibc.i686 or determine if there's a x86_64 version of the package you're trying to install. I installed the glibc.i686 rpm which fixed some of the errors. Now I get this: # ./lexmark-inkjet-08-driver-1.0-1.i386.rpm.sh Verifying archive integrity... All good. Uncompressing nixstaller... Collecting info for this system... Operating system: linux CPU Arch: x86_64 Warning: No installer for x86_64 found, defaulting to x86... Error: Couldn't find any suitable frontend for your system From looking at the installer script, a suitable frontend appears to be gtk, fltk or ncurs. Is it OK to have both the x86_64 and i686 versions of any of these installed? Thanks, Steve ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Missing printer driver
On 05/12/2013 12:23 AM, Steve Blackwell wrote: On Sat, 11 May 2013 16:05:35 -0400 Stephen Harris li...@spuddy.org wrote: # ./lexmark-inkjet-08-driver-1.0-1.i386.rpm.sh CPU Arch: x86_64 Warning: No installer for x86_64 found, defaulting to x86... ./startupinstaller.sh: bin/linux/x86/libc.so.6/lzma-decode: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory Your system is pure 64bit; no 32bit routines installed. You're trying to install a 32bit piece of software. You probably need to install glibc.i686 or determine if there's a x86_64 version of the package you're trying to install. I installed the glibc.i686 rpm which fixed some of the errors. Now I get this: # ./lexmark-inkjet-08-driver-1.0-1.i386.rpm.sh Verifying archive integrity... All good. Uncompressing nixstaller... Collecting info for this system... Operating system: linux CPU Arch: x86_64 Warning: No installer for x86_64 found, defaulting to x86... Error: Couldn't find any suitable frontend for your system From looking at the installer script, a suitable frontend appears to be gtk, fltk or ncurs. Is it OK to have both the x86_64 and i686 versions of any of these installed? Mostly only i686/i386 libraries are needed for 32-bit software to run on 64-bit system. But first please give me exact product number of the printer. Is it X2610, X2650, X2695? It is very important to see it that driver is going to work for you. -- Ljubomir Ljubojevic (Love is in the Air) PL Computers Serbia, Europe StarOS, Mikrotik and CentOS/RHEL/Linux consultant ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Missing printer driver
On Sun, 12 May 2013 01:35:22 +0200 Ljubomir Ljubojevic cen...@plnet.rs wrote: On 05/12/2013 12:23 AM, Steve Blackwell wrote: On Sat, 11 May 2013 16:05:35 -0400 Stephen Harris li...@spuddy.org wrote: # ./lexmark-inkjet-08-driver-1.0-1.i386.rpm.sh CPU Arch: x86_64 Warning: No installer for x86_64 found, defaulting to x86... ./startupinstaller.sh: bin/linux/x86/libc.so.6/lzma-decode: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory Your system is pure 64bit; no 32bit routines installed. You're trying to install a 32bit piece of software. You probably need to install glibc.i686 or determine if there's a x86_64 version of the package you're trying to install. I installed the glibc.i686 rpm which fixed some of the errors. Now I get this: # ./lexmark-inkjet-08-driver-1.0-1.i386.rpm.sh Verifying archive integrity... All good. Uncompressing nixstaller... Collecting info for this system... Operating system: linux CPU Arch: x86_64 Warning: No installer for x86_64 found, defaulting to x86... Error: Couldn't find any suitable frontend for your system From looking at the installer script, a suitable frontend appears to be gtk, fltk or ncurs. Is it OK to have both the x86_64 and i686 versions of any of these installed? Mostly only i686/i386 libraries are needed for 32-bit software to run on 64-bit system. But first please give me exact product number of the printer. Is it X2610, X2650, X2695? It is very important to see it that driver is going to work for you. It's an X2670. I had it working under Fedora 12 on a 32bit system. Steve ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos