Slashdot Log In
Strange Ubuntu/Vista Compatibility Bug, Solved
Posted by
timothy
on Thu Aug 14, 2008 08:36 PM
from the love-it-when-a-plan-comes-together dept.
from the love-it-when-a-plan-comes-together dept.
Walter Vos writes "Since I've been running Vista and Ubuntu in dual boot with a shared FAT32 partition for my personal folders, I've been seeing some strange compatibility issues between these two operating systems. Somehow Vista locks the folders on the FAT32 partition that are used for folders like Documents, Downloads, etc. A blogpost I wrote gives a detailed description of the problem and a fix for it."
Related Stories
Submission: Strange Ubuntu/Vista compatibility bug by Anonymous Coward
This discussion has been archived.
No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Full
Abbreviated
Hidden
Loading... please wait.
FAT32 (Score:5, Interesting)
NTFS-3G works pretty well. I'm not sure FAT32 is really necessary any more.
Re:FAT32 (Score:5, Funny)
Parent
Re:FAT32 (Score:4, Funny)
Parent
Re:FAT32 (Score:5, Informative)
Parent
Re: (Score:3, Insightful)
Re:FAT32 (Score:5, Interesting)
I kept all my mp3s on an NTFS partition, and it made amarok incredibly slow for searching through files and even listing them when I wanted to expand a tree. It, of course, also was using up a ton of cpu power. Other intensive programs were causing me other problems, mostly more cpu usage quirks.
NTFS-3g is not perfect and I'd recommend steering clear of relying on NTFS on linux for heavy or day-today usage. I haven't used ubuntu on windows but I can imagine it would give a negative impression due to performance issues. For pulling off the occasion file off another partition, though, it works well.
When I moved all my mp3s to an ext3 partition, all the problems with amarok went away instantly.
Parent
Re: (Score:3, Informative)
I kept all my mp3s on an NTFS partition, and it made amarok incredibly slow for searching through files and even listing them when I wanted to expand a tree. It, of course, also was using up a ton of cpu power. Other intensive programs were causing me other problems, mostly more cpu usage quirks.
I found the default database backend slow, so switching to a better DB could be the solution. Even if your files are on NTFS, try having a postgres DB backend(on your fs of choice) and it should speed up your library searching.
Re: (Score:2)
I thought of messing with that stuff but was too lazy to do it.
Re: Ubuntu and NTFS (Score:4, Informative)
Amarok has a documented performance issue with NTFS-3G: http://ntfs-3g.org/support.html#dd [ntfs-3g.org]
The NTFS-3G web site has many tips what could be the problem for high CPU usage: http://ntfs-3g.org/support.html#cpu100 [ntfs-3g.org]
Sometimes NTFS defragmentation makes a magic.
The focus of the NTFS-3G development is reliability and functionality over performance. The performance optimizations started only recently and the current development versions perform close or sometimes surprisingly even better than ext3.
Parent
Re:FAT32 (Score:5, Informative)
Parent
Re: (Score:2, Insightful)
As far as I know they're only ext2 drivers. Of coarse, you can usually mount ext3 as ext2 without any issues.
Re:FAT32 (Score:5, Insightful)
Parent
IFS Kit; Vista 64 Test Mode (Score:5, Informative)
What keeps people from implementing ext3 support for Windows? The Linux source code is obviously available, so are Windows ext2 drivers reimplementations that aren't using existing code? Or is there some deeper problem?
For a while, Microsoft once charged roughly $1,000 for the "IFS Kit" used to develop installable file system drivers. To work around this, programs such as "Explore2fs" had to act like WinRAR and 7-Zip, where you don't really mount a partition but you can still drag files in and out. (The price appears to have dropped since then.) For another thing, 64-bit versions of Windows Vista put an annoying "Test Mode" banner in all four corners of the desktop if the user installs a device driver that hasn't been signed by a publisher who pays an annual fee of at least $200 to a commercial certificate authority trusted by Microsoft.
Parent
Re: (Score:2, Insightful)
At least $200! Thats almost two developer hours of money!
Pretty certain you can chuck whatever cert you want in the trusted root store / disable this behaviour.
Re: (Score:3, Insightful)
At least $200! Thats almost two developer hours of money!
In what city of what state/province of what country?
Re: (Score:3, Informative)
Do you have a source for [Test Mode in Windows Vista 64-bit], or did I get lucky? I would love to get a screenshot of it and set it as my co-worker's wallpaper.
My source is Kernel-Mode Code Signing Walkthrough [microsoft.com].
Re: (Score:3, Informative)
http://www.diskinternals.com/ [diskinternals.com] they have a freeware ext2/ext3 proggy called 'linux reader' ive had it installed for quite a few months. plays my ext3 mp3storage in winamp just fine.
Re: (Score:2, Informative)
Re:FAT32 (Score:5, Informative)
I think he would have the same problem with a ntfs drive.
The issue is that his Linux user setup and Windows user setup are different.
So when he mounts the partition all files are owned by root (as shown on the screen), and some files have public permissions turned off - a reasonable thing.
Thus what he needs to do is specify the owner of the files using uid=value /etc/fstab (uid value can be found via "getent passwd", it is numeric).
option in
For more info read "man mount" carefully.
Parent
For external drives bigger than 2 GB (Score:2)
NTFS-3G works pretty well. I'm not sure FAT32 is really necessary any more.
Unless you have an SDHC card that you're sneakernetting between your PC and a digital camera, or you have an external hard drive that you're sneakernetting between a Windows or Ubuntu PC and either a Mac or an Xbox 360. Cameras, Macs, and game consoles tend not to work with NTFS out of the box.
Re: (Score:3, Informative)
NTFS-3G works pretty well. I'm not sure FAT32 is really necessary any more.
FAT may suck, but it's the only thing understood by a lot of embedded software like BIOSes, device firmware, etc...
Indeed, for that reason it seems like FAT may very well be more useful than NTFS. FAT will probably stay around for quite a while as a "braindead, but simple and widespread" exchange format, but the only excuse for NTFS is windows.
Re: (Score:3, Informative)
I've had NTFS-G3 totally destroy two NTFS partitions with the Vista version of NTFS 3.1
This seem to differ a bit from the XP version of NTFS 3.1
Damn (Score:5, Funny)
I suspsect that... (Score:4, Insightful)
Not a vista bug (Score:2)
This isn't a "Vista" bug, as I've seen it happen frequently on a dual boot machine that is only XP+Ubuntu (no Vista)
I ran into this not that long ago and was really stuck scratching my head for awhile, as the fstab settings were definitely correct. However, after a little "chmod -R" magic on the entire FAT32 partition, it reset the recalcitrant permissions and everything worked fine.
Re:Not a vista bug (Score:5, Informative)
It's not a bug, it's old knowledge getting flushed out of the general awareness of the public. FAT has a read-only bit and Linux knows about it, it's in there along with the system and hidden file bits:
(linux/msdos_fs.h)
Parent
Re: (Score:2)
Glad to see I'm wasn't the only one scratching my head about the claim that FAT32 doesn't support the read-only attribute.
Damn kids these days, don't remember having to use ATTRIB...
Re:Not a vista bug (Score:5, Informative)
This started in XP actually. The problem is that Microsoft sets the read-only attribute on the special folders that get custom views. See http://support.microsoft.com/kb/326549 [microsoft.com] for information about the root cause of the problem reported on this blog. Fixing it on the Windows side requires one to go all old-school and use attrib; cracked me up.
Parent
Linux newbie finds FAT32 file perms don't work... (Score:3, Insightful)
... gets page linked from slashdot.
Well, at least I adblock.
Re:Linux newbie finds FAT32 file perms don't work. (Score:2)
Re:Linux newbie finds FAT32 file perms don't work. (Score:5, Funny)
either timothy never used a Linux distro and thinks this is newsworthy, or this is the slowest news day ever
Timothy was last seen putting Ubuntu on an XO. He's been using Linux at least since I met him in 1999.
It's August, every day is a slow news day :)
Parent
Re: (Score:2)
Ha, I was so thinking the same thing. The gist of this "story" is that they had a problem getting Vista and Ubuntu to work together (*mock gasp* I've never heard of such a thing!) and then proceeded to fix it. *yawn* To top it all off the linked article is a blog post from the submitter. Give me a break.
Re: (Score:2, Funny)
You obviously never really did fit in here. I mean, a true slashdotter would have titled his post "Last post!"
not news (Score:2, Informative)
oh my god. (Score:5, Funny)
The Effectiveness of the Ubuntu Forums [ubuntuforums.org]
(The link this person gives in his blog post)
I swear to christ, reading that page made me want to kill a kitten.
Mod parent down - it's not true! (Score:5, Funny)
Parent
Re:Mod parent down - it's not true! (Score:4, Funny)
Parent
Re:Mod parent down - it's not true! (Score:4, Funny)
Parent
Re: (Score:2, Funny)
Good thing I stick to good ol' DOS, the only OS that won't sexually abuse you, it seems.
Re: (Score:3, Funny)
I've gotten used to putting up with all sorts of nasty behavior from Windows over the years, and I guess I could eventually reluctantly learn to get used to the ass fucking.... but I had to dump Vista when it insisted on shitting in my mouth after each ass fucking.
-
Just Delete The Egomaniac. (Score:4, Insightful)
Hmm, I'm having a problem with permissions between Vista and Ubuntu. What should I do?
Adopt a philosophy of ideological inflexibility, intolerance, ignorance, immaturity, and narcissism?
...or...
Run a shell script or two?
Decisions, decisions...
Parent
Re: (Score:2)
I have 3 machines at home plus my laptop. And I still dual boot on my main machine. Living life in two worlds aint that bad.
Re:you are hollow, (Score:4, Insightful)
It's lame that people feel like they're being held hostage by an operating system that they don't otherwise want, and it's lame that MS is making money off that. If you actually want Windows for one reason or another, then it's not lame at all.
Parent
Re: (Score:2)
This is why I really think a version of XNA ported to Mono would be totally awesome. Ideally, it'd allow binary compatibility between games written against that API on any platform.
Of course, this is probably a pipe dream.
Lack of Free (or even shared-source) drivers (Score:3, Insightful)
It's not necessarily you being lame, it's either game developers being lame by not porting their games
Up until very recently, it was also video card manufacturers being lame by not making OpenGL drivers for Linux that the community can help debug. But ATI, one of the two makers of chipsets for video cards,[1] plans to stop being lame [linux.com]. And some people would claim that it's distribution maintainers being lame by not providing more thorough binary compatibility across multiple families of GNU/Linux distributions. ("What's an LSB again?")
[1] Intel GMA is not available on a card.
Re: (Score:2)
Re:As my grandmother used to say (Score:5, Funny)
Nor has she ever gone outside in her life.
Parent
Re:As my grandmother used to say (Score:4, Funny)
Hey, did it just get awfully dark in here?
Parent
Re: (Score:2)
Re: (Score:2)