Ubuntu :: Files On A Shared Ntfs Data Disk On A Dual Boot System - Disappear ?
Jun 20, 2011
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 used advanced partition scheme and added partitions for /, /home, /swap, and and NTFS partition mounted at /home/username/Desktop/DATA.
Unfortunately the NTFS partition was created as a "Linux (0x83)" partition and therefore is not recognized inside Windows. I did not even realize there was such a thing as Linux only (Non MS) NTFS partition. I don't even recall the details when selecting the partition type.
I tried using disk Ubuntu utility to change the type to "HPFS/NTFS (0x07)". While mounted I get error after long delay (hang) high CPU usage error "Message did not receive a reply (timeout by message bus)"
If I try the same change with DU after unmounting the volume, I get the same error.
I'm in the process of moving/backingup all data on the volume. I'll most likely reformat. Question is, shall I format with Gparted or within Windows Disk Manager? I seem to recall some odd permission problems in the past with mounted NTFS volumes.
I am installing a custom 8.04 live disk (basically, a mirror of my whole system with user data intact, sans all non-OS files) from a USB key with remastersys for the .iso creation, and UNetbootin for the bootable USB on a brand new 120GB PATA WD HDD. Both do nicely so far, so I have a working livedisk to use until I need to install Ubuntu to the drive.
I had a pure linux box, but I need to add XP with dual booting now- I have to use Autodesk Inventor 2010 software for my college class on my laptop, so I don't drive 30 miles to use the 1 computer lab equipped with that software. I'm not new to Linux, but I am new to more in-depth partitioning. I've taken the lead and looked into things- read this good guide, among others:
HTML Code: http://www.psychocats.net/ubuntu/partitioning and noticed that there is a way to more deftly use partitions so that personal files can be shared access and write between Windows and Linux partitions- with this: HTML Code: http://www.fs-driver.org/ Ubuntu is still my main OS, but being able to access all my media/data files between the 2 systems would be nice. Problem is, until now, I've put everything on a single partition because I didn't know better. Now I do, but am a bit confused with all the guides as to what's most efficient, especially in my case where full RAM speed is crucial to running a single program.
Here's what I know I need to do: 1. The Windows XP install I know needs from 20-30GB for Inventor 2010 LT to work well. I don't need anything else in XP spacewise- it's just being added for Inventor. 2. I'd like to create a separate /home partition for Ubuntu this time to save my user data, making future upgrades much more painless (I will be getting Lucid soon). How that works when upgrading, though, I don't know yet..
3. I'd like both OSes to share all my personal files (docs, pics, music, Inventor design files) if it is an efficient choice that works without problems.
4. Finally, because 2GB is minimum for Inventor to run decently, I need to maximize the speed of my RAM for it- from my reading, these so-called "swap" partitions can somehow be added for buffering this- people seem to sugguest the swap be half the size of the RAM for fastest speed, and some say add separate /usr or other partitions. I'm not clear on what would be most efficient for me.
I have limited HDD space- because of my laptop's BIOS, this single 120GB drive is the biggest I can get on my laptop, so efficient partitioning would make a huge difference for me. Before this, a 60GB HDD was in this. I'd like to see some added space for my data storage, but still keep things as fast as possible for Inventor when I use it, and Ubuntu.
I'd like the final layout to have a Windows partition (will start out as XP and will become Win7 when I can afford yet another copy), a partition for Ubuntu, and a shared Data partition that I can use for all my files between both OSs. I think this should be fairly straight forward with Linux on a Primary partition with / and swap. Only thing is, from what I've read (and yes I know this is a bit old school) it might be a good idea to put in a /Home partition so that I can reinstall new upgrades and maintain settings. But I don't want to max out my 4 primary partitions so I can use a 4th partition as a kind of sandbox for OS testing without using VirtualBox all the time.
This leaves me in need of some advice, I've never used Fdisk and I was planning on just using the Ubuntu installer to do all of this, but I don't know if I can create /Home as a logical partition in the main Ubuntu partition and still have the benefit of being able to reformat /root without losing /Home. I might have just confused myself, because no matter how many guides and How Tos I read I still don't really get extended partitions, I understand logical vs. primary but extended is...confusing. I need the Ubuntu partition to be bootable, so it needs to be a primary partition...I think. Unless I can have: /boot, /, swap, and /Home...
Also, if Ubuntu can read NTFS, and Win7 can read Ext3, what should a do with /Data? Or should I just go with FAT32 and be done with it. (It's a big HDD btw, 640 GB, so /Data will be fairly large)
i want to know how i can use data which is situated in windows hard disks on linux red hat 5 operting system. i m using dual boot concept and i have installed both windows and linux properly. 3 partition of hard disks are used in windows and one in linux. my data like songs are situated in one of the windows partition. now i want to know how i can use that data when i m working on linux.
I have a (slightly complicated) dual/multi boot system.
I keep getting boot errors (when choosing ubuntu from the grub2 menu)
Code: Serious errors were found while checking the disk drive for /boot
If I switch off and restart, ubuntu will then start without issue.
My setup is like this ....3 disks, one with 10.10 clean install - so Grub2, separate partitions for /, /boot and /home, one with windows 7, one with windows XP and 10.04 wubi (this is my old disk which I will trash once I'm happy with my upgrade to 10.10 & 7 on separate disks.
I installed 7 and 10.10 with ONLY their disks installed. After both were working, I added all disks and rejigged the grub2 menu (using update-grub and StartUp-Manager).
This problem only seems to occur if my previous boot was not 10.10 ( I will investigate this further). It's as if something (grub2 ?, the bios ?) is remembering part of the previous boot and not using the grub2 menu completely.
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 am running Windows 7 on an HP laptop. I recently used Wubi to run Dual OS with Ubuntu. Everything is working fine, Ubuntu is great, but I am somewhat of a newbie and want to know: Is there any way that I can transfer, or share, my windows 7 files (music, pictures, etc) in Ubuntu? I can't seem to figure it out?
Someone on IRC had mentioned they had a shared partition in NTFS, and that Ubuntu could read from it just fine... I wanted to get a second opinion before I did anything. Right now I have a WinXP partition and an Ubuntu partition, and a large NTFS partition in the middle that I'd like to move my /home to.
I'm running dual boot with Vista and Ubuntu Lucid Lynx. for few days i was running Ubuntu only, downloaded some files and created some directories. few minutes ago, i switched to Vista to see something and i wanted to burn some of the files i downloaded using Ubuntu but couldn't find those folders.
i thought maybe its related to different file system or something so i switched back to Ubuntu and surprise! my folders are not there, instead i got a file, of unknown type with the same name as the folder had! in another folder case it's was an image (some print screen of my browser screen - Mozilla) and again with the name of what was the folder! first - what the hall had happened? second - can i recover my data somehow?
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.
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?
There is a disk 500 gb, it is broken on /boot and on /root and on /dev/sda1 and /dev/sda2. Whether prompt it is possible to redistribute a disk without loss of data namely it is necessary to make/boot and two equivalent on disk volume.
I am quite experienced user of Ubuntu desktop / server distributions. Recently my desktop 9.10 disk failed and I decided to reinstall using 10.04. My configuration is a dual disk dual bot system. I have XP Pro SP3 on one disk and Ubuntu 10.04 on second. XP has own, untached MBR ubuntu got Grub 2 installed on the same disk as Ubuntu. Ubuntu disk is booting first in BIOS. Grub 2 detected both system, however I can boot only to Ubuntu. When I am trying to boot XP I got black screen only. Looks like booting is stack in BIOS stage, because crt+alt+del reset system.
I read Ubuntu forum, search Google and did not come with any solutions. My XP MBR is OK. I can boot directly, choosing XP HDD in BIOS as a starting disk. All entries in grub.cfg looks fine to me. I made 3 different clear installations of Ubuntu. Each with the same result. I reinstaled Grub2 with no effect. I wonder if this may be a hardware/Grub 2 compatibility issue. I am using quite old components.My motherboard is Assus P4C800 Delux. I have 5 HDDs 2 CD. Exactly the same configuration was OK with 9.10/XP dual disk dual boot using Grub legacy.
Using Ubuntu 10.10 (installed via mythbuntu) I'm unable to read or see files/directories created under Ubuntu. I think it started happening after a reboot to Windows. Some of the directories created under Ubuntu have disappeared completely and some of them produce the following error: /media/storage/videos/Kids Videos$ ls ls: cannot access Justin Bieber: Input/output error ls: cannot access Octonauts: Input/output error rest of directory is seen fine...
Same on some files: ls -l ls: cannot access Dirk Gently.mp4: Input/output error ls: cannot access Dirk Gently.nfo: Input/output error ls: cannot access Dirk Gently.srt: Input/output error ls: cannot access Dirk Gently.tbn: Input/output error ls: cannot access Human Planet: Input/output error ls: cannot access Russell Howard's Good News: Input/output error ls: cannot access The Planets: Input/output error ls: cannot access Lost Land of the Tiger: Input/output error total 300160 .....
Just to make it worse I copied more data onto the disk from windows so may have lost some it completely. It there anyway I can repair this? When trying to check under Windows it says it can't. Some of the missing files can be reloaded but others can't. Ran chkdsk /f under Windows XP. Some files have reappeared, but there has been a lot of unrecoverable files lost. Conclusion: Ubuntu 10.10 is badly broken for writing to NTFS. As I would like to share between Windows & Ubuntu using the external disk, I'm not sure what to do at this stage.
Partition 1: Windows 7 - NTFS Partition 2: Ubuntu 10.10 - Ext4 Partition 3: Data - NTFS Partition 4: Windows Recovery - meh...
Basically, I have it so that I have one large NTFS partition (Data) for sharing files between Ubuntu and Windows. It works very well. I keep all my Documents, Music, Pictures and Videos on "Data" and then sym-link those folders to my home folder on Ubuntu. Unfortunately, I'm afraid to bootup Windows. Sometimes when I boot Windows, files that I made or edited in Ubuntu get lost, unindexed or corrupt. It happens very frequently with image files (.jpeg, .png, etc.) but also happens with PDFs and folders. This means that not only do these files become unusable, but I also can't delete them. Even using $ rm -rf my_file returns a "Cannot delete my_file. It is not a file or directory."
The only way to get rid of these files is to perform a CHKDSK on Data when I boot Windows. CHKDSK always finds a shed-load of files that have gone haywire. I'm usually greeted by an seemingly indefinite list of "Removing index entry xyz from $afxyz" and other scary looking actions being taken out on my files.I keep backups of my files on an external HDD and a remote server, but it's no use when I'm backing up corrupt files.
Since the drive (sdb2) was already mounted I was able to see "file" show up on the NTFS drive (sdb2) with the last command above. After I rebooted onto Windows 7, I found my F: drive (sdb2) showing up as a RAW filesystem. Windows 7 asks to reformat and I press NO as I have a lot of files on that drive. I rebooted onto Ubuntu again, during boot it says cannot mount to /dev/sdb2 and to press "S" to skip. I pressed "S" and saw sdb2 not mounted. I tried this command:
Code: root@akashi-desktop:~# mount -t ntfs /dev/sdb2 /media/sdb2 NTFS signature is missing. Failed to mount '/dev/sdb2': Invalid argument The device '/dev/sdb2' doesn't seem to have a valid NTFS. Maybe the wrong device is used? Or the whole disk instead of a partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
How to fix this drive without formatting it! fdisk shows the filesytem as NTFS so it must still be fixable I hope.
I have a dual-boot Fedora / WinXP laptop, and the F13 upgrade failed soon after the 'upgrade' option was selected in the menu.The problem was that the installer could not recognise the ...ntfs-3g.. entry for WinXP in /etc/fstab.The fix is simply to change this entry to ...ntfs... and the install will then proceed OK.
I'm trying to achieve my dream (but indeed not perfect) boot scenario: dual-boot OpenSUSE and Fedora with shared /boot, /home and SWAP partitions. First I installed OpenSUSE (sda3 on my layout below) with separate /boot (sda2), /home (sda5, encrypted) and SWAP (sda6), next I installed Fedora on /dev/sda1, and pointed it to mount sda2, sda5, sda6 with respective mount points, without formatting. I proceeded with the installation without installing new GRUB bootloader (overwriting an existing one).
It was successfull and now I'm back in OpenSuSE trying to edit menu.lst file (under /boot/grub) to make GRUB boot Fedora.
I attached a copy of menu.lst I cooked up for now. OK, it's a mess. Life would be allot easier if I didn't have a separate /boot partition, as I could just chainload, but it's no longer possible (or is it?). May be I needed to specify the resume device or problem is in initrd? below are the contents of /boot:
I am attempting to install Maverick on an older pc. It has (2) mirrored 153 GB SATA drives. I set aside 33GB for a linux partition, by shrinking the partition in Vista.
Choosing to "Install along side windows" is not an available option. I can only choose use who disk, or use empty area. I choose use the empty area, and the Ubiquity installer gets hung up when attempting to format the empty space as EXT4. When I scroll up on the output I notice some error messages referencing NTFS. When I use Gparted it shows a possible problem.
Warning: The device /dev/sda1 doesn't exist ntfsresize v2.0.0 (libntfs 10:0:0 ERROR(2):Failed to check 'dev/sda1' mount state: No such file or directory Probably /etc/mtab is missing. It's too risky to continue. You might try an another Linux ditro.
Unable to read the contents of this file system!Because of this some operations may be unavailable.
The following list of software packages is required for ntfs file system support: ntfsprogs.
I ran chkdsk /r on the Vista partiton, in case there was a problem there. The issue still persists.
I just recently installed ubuntu 9.10 in my upstairs computer. It is a single boot system.Downstairs I have a dual boot system. I have windows vista and ubuntu 9.10 installed. It worked fine. I wanted to make this a single boot system and uninstall ubuntu 9.10. I cannot get rid of the grub bootloade
I have never used Linux before and know nothing about it . But my cousin installed a Fedoro linux CD on my laptop which previously had Lotus symphony . Unfortunately my laptop had single partition and so Linux overrode the old OS ,ie lotus symphony .
I have some critical data on my hard disk but I have no clue how to take backup this data using Linux . I desparately need this data .
Could somebody let me know how I can access this data and take the backup ?
I have a laptop dual booted with windows vista and ubuntu.I downloaded certain movies and music files while using windows vista,which are there in my hard disk,My question is can i access these music and video files when i boot into ubuntu,and can i play them?