an operator saved a file with a ':' in it, creating a file stream (new concept to me). I'm wondering if anyone with wisdom can point me to know how to get the data from that file piped into another file.. i.e. he saved as "wrong file: rest of wrong file title.wmv"
so first, can this be salvaged in ubuntu? ..how? ..
I'm now having to access a lot of data on a portable hard drive on a regular basis. The drive needs to be used with three different Windows systems, three Ubuntu machines and two slackware units. The data is backed up once per week.
I have been using Ext2IFS to access the data (stored on Ext3) from Windows but keep having problems. Obviously Ubuntu and Slack have no trouble reading or writing to the drive. Additionally, some sensitive data will be put onto the drive shortly and I would like to encrypt it.
What is the best solution here? Is NTFS reliable enough and is data access and writing reliable enough from Linux? Can I encrypt NTFS and still leave it accessible by Linux? What is the best software to encrypt the drive with (if I can) that is accessible by both Windows and Linux?
I have recently installed ubuntu 10.04 aside to my windows 7. One thing I tried out was to share firefox and thunderbird profiles. I have a separate NTFS partition for sharing stuff.Everything seemed to work fine. I had all my browsing history and bookmarks and emails shared nicely between windows and ubuntu. But now I have managed to lost data twice already (in one week time). The data itself is not so important (no need to recover it). But I'm just curious, why is this failing?
I use firefox ProfileManager (firefox -ProfileManager) to create a new profile. I did it in Ubuntu. I created a new folder on my Share partition and pointed profile there. Everything works fine. Profile is saved there and I can use it in Ubuntu. Now, after I shut down Ubuntu and go into Windows 7 (which was hibernated the whole time), the given folder is gone. And in Ubuntu, the folder is also gone.There are some other folders, which I created during my Ubuntu session, which are not visible in Windows, but are visible in Ubuntu.Does any one have any suggestions, how to make sharing data possible? Or why is my data getting lost.
On my system I have two internal SATA Disk drives, the first one is 120GB and the second one 360GB.
120GB Disk: 1st partition: NTFS (22GB), Windows XP is installed, for playing my games. 2nd partition: NTFS (62GB), The "GAMES" partition, where all the games are installed 3rd partition: EXT4 (25GB), Ubuntu Karmic 4th partition: SWAP space
The 320GB disk is a single NTFS partition, where all my data/files are stored. A couple of days ago I used GPARTED to shrink the 320GB partition and create a new 2GB FAT32 one at the end of it. (Never had any problem before using GPARTED for any filesystem). I put in there some old dos games and rebooted to windows. Then I formatted a diskette as MS-DOS startup disk. I rebooted the computer again and and booted from the FreeDOS LiveCD. After playing for a while I tried the MS-DOS disk, to see if it performed better.
Now Windows XP does not recognize the DATA and GAMES partitions, buts recognizes the fat32 one. In ubuntu they work, but when I try to fix them, it says "run chkdsk". Windows does not recognize them so I cannot do this. I tried to restore Windows XP from a Norton Ghost Backup image file, but its LiveCD does not recognize these partitions either (norton ghost 12 uses vista to boot the live cd).
I'm using windows 7 now and I want to install ubuntu as the main OS to the current C:drive(which has installed windows currently) but with keeping the data in other ntfs drivers(D:, E:, F: ) on my hard disk. I can't take backups of all data in other drivers and if that data erased with ubuntu installation I will face a very big problem in future. So how to install ubuntu 10.10 only for a one drive(c: drive) without erasing the data on other ntfs drivers? and I uses nvidia 8 series graphic card and are there any special things to follow to install it's official linux drivers(.run) or is it enough to use default drivers on ubuntu.
I have a 1TB External HD that at the time of purchasing was used with my PS3 which only allowed FAT32 HDs. But now I am using it for other uses. I have came across the problem of the file size limit of 4gb that FAT32 has.The problem is I have about 200 GB filled of data on this HDD and wish to convert it to NTFS with no data being lossed. Is this possible and if so how?
I have a windows install that is totally hosed, bluescreens, etc. I want to try to force mount it from Ubuntu to get whatever data I can, but it won't allow me to mount. It keeps telling me to run chkdsk /f and reboot twice. But that's not possible. I was wondering if there are any ntfs tools for Ubuntu or any data recovery tools I can use to get what I can from this drive.
You'd think that with two backups of all my data, which are syncronised twice weekly - that I'd be pretty safe. Fine and good until in a reorganisation of my documents folders,I delete a bunch of files - and don't notice until after I've run the backup - so they're deleted from the backups as well. Cue me beating myself around the head with the keyboard a few times about a week later when I realised.I'd advise against doing that if you have a keyboard like the IBM Model-M - it hurts.Okay, so I figure it's at least worth having a stab at recovering this data. The external harddrive's not had anything written to it since then, so is probably the best candidate. It's formatted as an NTFS volume (1.5Tb).
Now, I DO have a copy of R-Studio for Windows which I bought and paid for a few years agowhen XP managed to destroy itself and the file structure on the harddrive when it fell over installing SP2 (this was the event which lead ultimately to me switching to Ubuntu).I've found this to work quite well, though the initial scan does take a while.nfortunately, it does NOT seem to work from within Ubuntu through Wine. It runs, but can't see any drives. The only Windows environment I have access to now is Vista, andR-Studio seems to hang after running for an hour or so under Vista.
Are there any tools - preferably simple enough that I can get my head around them - which I can use from within Ubuntu to have a scrub through an NTFS drive to look for and otentially recover deleted data? I've found several tools which claim to recover things from ext3/4 drives from Windows - but not the other way around!There are a fair selection of filetypes involved here, some word documents, probably most of interest to me though are some old videos, mostly <5Mb taken on my old phone camera from university. Nothing really mission critical...but memories nevertheless.
This forum might not be the best place for this question, but some people here are pretty knowledgeable and may have more insight than I do about this. Anyways, I'm thinking about expanding an NTFS (Windows 7) partition on my desktop computer into unallocated space. I know that there is a risk when shrinking a NTFS partition due to fragmentation but are there any risks of data loss from expanding a NTFS partition? My common sense tells me there isn't a risk but I want to be 100% sure I won't lose any files.
The other day one of my hard drives on my windows system decided to stop working. Not entirely sure what happened, but it seemed that it just erased its partition header, although I wasn't able to recover it.
Anyway, I successfully got an image of the drive using GNU_ddrescue (yay!), and I'm currently salvaging what CAN be salvaged with foremost.
way to get EVERYTHING off of the drive? I mean, it seems that it's all intact (since foremost is finding so much stuff).
I've tried mounting the partition, but it's not working. (I'd post the output from the terminal, but the forum thinks there is/are URL(s) in it....)
I am using rhel4 with kernel 2.6.9-55 ELsmp. I have recently purchased 250gb seagate portable usb HDD. I have already mounted the usb HDD by updating Kernel with mode 755 and root user. I can transfer file from usb HDD to rhel system. But I am unable to make directory or copy file from rhel4 file system to usb HDD with ntfs. It is giving error message of permission denied though the device having write permission. I have already installed ntfsprog-2.0.0 in root. But there is no improvement. Is there any thing I can do to transfer data from linux system to ntfs.
My main partition having all my data like movies, music, files,etc has become inaccessible. Its file system was NTFS. Due to some recent resizing using GParted, the partition as well as my WIndows 7 OS has become unbootable due to some errors. The data partition's file system has become unknown. I don't care much about the OS but I would like to recover my drive. I am trying to achieve this using Testdisk and Photorec but haven't met with much success so far. The main problem is I can see my partition and all my files through Testdisk but I am not able to copy them to another drive. When I try to copy the option I get is of copying them to the DVD and not to any other partition.
I am trying to access data that is on a Raid 5 array in Ubuntu... There are 4 installed disks (250gig disks) - 3 of which are setup as a Raid 5 array (the 4th is active but unused). These show up as one large drive (498gig). I have had an issue with the drive where it is no longer allowing Windows to boot - I receive a disk read error on boot (so the OS does not load, obviously!) - what happened was basically I unplugged then replugged in one of the disks which affected the array... I physically reconnected everything as it was, I then had to 'reactivate' the disk in the Raid BIOS... at that point the array seemed OK, was the right size, etc (and was listed as "Optimal" in the Raid BIOS) however, the problem with the disk read error persists.
I have started the machine using Ubuntu v9.10 from a CD (non-destructive mode) and it shows a disk of the right size (ie: on the desktop and in Nautilus it says "498gig Filesystem" ). However, in Nautilus, the disk appears empty with no folders or files on it (even with hidden files shown).... If I view 'Information" for the disk it shows 67gig used space and 399gig free space (which is correct). Also, if I view the disk in Gparted, it shows a disk with about 67gig of used space and 399 free space on a 464gig disk (with 8gig unallocated). One more thing.... when I try the command 'sudo dmraid -tay' it says that there is no raid disk (there are in fact, no drives plugged into IDE or SATA slots - all disk are plugged into the RAID controller card). Anyway, at this stage, I just want to copy the data to a single hard disk if possible and move on.
I'm using Ubuntu 10.04 and am trying to use it to recover data from a failed External HDD (NTFS).
The drive failed with an accompanying smell of electric burning and subsequently was not recognised by Windows. It would recognice the enclosure, but told me that the drive had to be reformatted.
I removed the drive from the external enclosure and hooked it up to my PC with a power cable and USB to SATA connector. I can mount the drive in Ubuntu (eventually) and I've learned enough about BASH to navigate through the files on the drive.
Those that I can access I am able to copy across to my internal drive (VERY slowly, but it does do it) but a lot of the directories show up with an Input/output Error when I run the ls -l command.
Is there any way for me to be able to access these files or to recover them? Should I be trying a different technique rather than just attempting to access and copy the files?
So the first 10Gb of a 450GB NTFS partition have just accidently been written over with an Ext4 filesystem that spans the entire partition instead. all foolishness asside, what can be repaired. Now I know Ext4 likes to jot bits of meta-data down (inodes blocks) along the way, and this can be about 5% of drive capacity, that said, there's alot of small text files and stuff, coe files so forth that can surely be recovered
I've looked into magicrescue and testdisk, but they fall into the only two groups to exist: 1) Filesystem independent, that is search almost like a patern - well exactly like a pattern match, to find the header and footer of files. 2) Filesystem recovery tools, like, damaged bootsector, so forth
I need one, that will be able to extract files, Iunderstand this will be a hard task, but.... text files; surely that'll be easy, anyway. This is my backup drive, they''re both WD you see, anyway. This is important, given the coding is ASCII surely.
When i work in Ubuntu on a dual boot system with a shared NTFS data-partition where Windows is hibernated, and then reboot and continue working in Windows from the hibernated sesion, strange things happen. Files disappear, files that i worked on suddenly have the content of another file.
I'd like to take a regular .pdf file (also converted it to .ps), and double the pages and switch it to landscape orientation. I've used the tools at the following website, but it doesn't exactly do what I want it to.[URL]... In particular, the left page is too far to the left, and both pages are too high up. Please see attached screenshot of one of the pages. I'd like to get this to work because then instead of printing 234-page coursenotes, it'll be half that. Does anyone have a good solution to do this?
I'm actually not a Linux newbie, but I'm DEFINITELY no expert either... I'm trying to copy all my data(approx 50 GB) from a usb drive(western digital 250GB) with ntfs partition in one go... The problem is that it only fails for big transfers... works fine for smaller transfers like 1Gigs or less... I have just one internal hdd partitioned into two ext3 partitions.. so I have sda1(Primary.. mount pt /), sda2(swap) and sda3(mount pt /piyush)... The usb drive comes up as sdb(sdb1).. just has one ntfs partition... I've also installed the ntf-3g drivers.... but doesn't seem to work... I've also noticed that when the machine hangs and I try to shut down, it fails and I get a message again again... (sdb1- no sense detected) or something like this... don't remember the exact message... will post the exact one if no one is able to figure out what's wrong...
I have a performance report that provides all the information I need to report the following: total transactions per day, average transactions per second, and peak transactions per second. It just doesn't provide any of it in a very accessible manner, so I want to parse on it and just capture the bits I care about. Ideally, I'd like the output to look something like this:
Code: Date Total Avg Peak 07/11/11 12,328,033 24.05 64 07/12/11 9,328,429 21.98 56
The problem is the format of the input file, which is somewhat complicated. The report gives a summary of all transactions within any given second, and then totals at the end of each day, with page breaks in the middle, like so:
So first, the easy part that takes me to the daily summary, which gives me the date, the total transactions, and I can divide the total by 86400 to get the average per second, too. No problem. It's the last part that's got me stumped... the daily peak. I can't just do a while loop on the date, because it's missing from most of the records. And it also means I can't use positional parameters, because depending on the page break, the total will move between $2 or $3. And I need the date as a conditional to find the daily peak, because this output will have many days' worth of data.
Any ideas? Some kind of awk or sed command to insert the date wherever it's missing (I'm not particularly good at either utility)? Is there a method to parse these things based on column location that I'm not aware of?
I've recently inherited a bunch of files at a new job and am trying to figure out some of the problems that have constantly popped up. The one i'm getting a huge headache with results from a bash script that is supposed to change a date format from a client populated txt field to one we want defined a certain way. Everything in the script works fine, except that one function. Below is the line i'm trying to manipulate, with date examples.
The one caveat is that the first date is non-static and changes daily. It is, however, always the current date. If it helps, the second date will always be a year away from the first date.My idea was to pull the current date via perl's DATE function, but...how to do it, and calculate a year away without throwing the rest of the bash script off? Any help would be appreciated. I'm sure it's a simple solution but i know absolutely nothing about these scripts and how they were written.
i 've been using fedora 14,15 for like few months and i still have a 4GB NTFS partition win XP pro.i have installed fedora in about like 20gb for root and home ext4.i rarely use win xp nowadays (once in a week) considering i was using windows for like years.i have a commondata partition of about 130GB NTFS.i now dont want to use the windows and i want to convert the 130GB NTFS to ext4, but i am worried that if somehow at some point i crash my partition tables and i was using ext4 i wouldn't be able to recover the data as easily as i would in a windows.i want to know whether there is a reliable ext4 data recovery tool for fedora?igoogled and i found this link .. if any of you guys have used these tools can you share the experiences ?Mondo RescueTestDisk safecopy PhotoRecddrescue
Just ran into an uncomfortable problem. I usually never save any documents on my machine, and keep all my stuff on an external USB hard disk. (an 80GB TrekStor DS microdisk q.u) Well yesterday this disk just would not mount. Read through related posts but nothing seemed to work. Even tried it on a Windows machine.
Tried TestDisk utility. Found nothing wrong with the drive, but still could not repair the MBR.log code...
Palimpsest Utility recognized the drive, but just will not let me do anything with it except format it.
How can i repair the partitions and MBR without losing all my data?
Original disk: XP NTFS primary Linux / ext4 logical Linux /home ext4 logical Win 7 NTFS logical NTFS data logical swap space NTFS recovery partition
I tried to install linux, as there was a problem with XP overwriting grub, I chose write grub to /dev/sda8 (which is where the linux install was appearing earlier).
I guess this borked the filesystem somehow. Now the NTFS data partition and the swap space are appearing as one free space. Well actually before that some linux live CDs (including gparted were seeing the entire drive as unpartitioned). I had to go into XP and delete the /ext4 partitions.
Is there any way for me to recover the NTFS data partition ?
I'm trying to manipulate a large text file full of records (metadata - one complete record per line). I need to delete every line on which certain words appear - there are five different words, all pretty simple all-caps strings with occasional whitespace. I tried using grep -v, which worked a treat, but only string-by-string. Ideally I'd like to run this as grep -v -f, where the file targeted by the -f contains the strings I need to match in order to delete the lines they're in.
i.e. grep -v -f filecontainingSTRINGS.txt targetfile.txt > outputfile.txt
When I try this, however, I don't get any matches - or more specifically, no changes are made in the output file. It works fine if there's only one string in filecontainingSTRINGS, but it doesn't work if there's more than one (I'm using newline as the delimiter). (Also my machine doesn't recognise /usr/xpg4/bin/grep - no idea what that's all about!)
I have acces to NTFS partitions from OpenSuse 11.2, and read data, yet I cannot write changes of it. I tryed to change "rw" attributes using "sudo", and was not possible. Even the windows version I had is 7, the NTFS partition I want to access for writing, comes from a previous XP install. Is there a way to have "write" access for data stored in NTFS? I recall an install I had on a laptop with Windows XP and Ubuntu... and Ubuntu was able to write on NTFS; would it be possible in OpenSuse?