Sunday, January 20, 2013

Partitioning a hard drive with two different Linux OS's sharing a common file system?

Q. How do I partition my hard drive with two Linux operating systems so that they have a common shared file system? It was explained to me a long time ago but I forgot. THANK YOU in advance for your time and consideration.

A. First, contrary to what jerry said, two /home/ directories may not be safely shared. There are two many config files, you you may end up with name and version conflicts.

/temp may be safely shared

the swap may be safely shared (but wierd thing can happen on resume from hibernate)

also /boot/ may be safely shared so long as you only configure from one system or the other, and there are no filename collisions (unlikely so no really safe in practice)

To just share media file, I would just create a partition and mount it at /share by editing the fstab of both systems. Then you can make your /home/user/Music a soft link that point to /share/Music. Repeat for Documents, Pictures, Downloads, and whatever else you care to share.

What is the best file system to use on an SSD?
Q. We want to install a Linux system on a SSD and were wondering whether there is a preferable file system choice.
Since the drive does wear leveling, I guess the FS doesn't matter *that* much, but still, fewer write accesses are better. Do some FS manage to get fewer total bytes written per pay load bytes?

A. Check out SSD Linux.

What is a good file system to use for windows and linux?
Q. I have windows XP on my HD and I am about to install Ubuntu on the same one. Then I have a second HD that i want my home directory to be for Ubuntu, and Windows files. I want to know what file system to use so that it is completely compatible with both windows and ubuntu. I dont need if for any really big files like anything bigger than 2 GB. Thanks!

A. You may have trouble getting ubuntu to use NTFS file directory as your /home partition. I suggest you make your share partition somewhere else. /media/share or something like that. It wouldn't be particularly wise to use a linux /home partition as a windows share anyway, but if you insist on it you will find that even though linux CAN use NTFS as your /home directory, it will refuse to set one up on install. It will give you an error and tell you to use a linux filesystem.

It is, however, possible to use NTFS by adding the partition in fstab and telling it to mount at /home. You will need to create a copy of your user folder into the partition before you mount it. It may be tricky to export your user folder to the new partition, then delete the old one. You'll need to do this as root, from tty1 (ctrl-alt-F1) and you'll want to make sure your username is logged out (and X probably stopped with "/etc/init.d/gdm stop") before you do it.

If this sounds too tricky, don't try it, just make yourself a share partition and don't mount it at /home because like I said, it's unwise to use your /home partition as a share partition anyway.

But yeah, short answer, use NTFS.



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

No comments:

Post a Comment