Q. I have been reading about Linux distros and I am lost in that kind of "flavors".
Would someone help me understand the main differences in the file system structure in Fedora and how this is compared with the file system structure in Debian?
Would someone help me understand the main differences in the file system structure in Fedora and how this is compared with the file system structure in Debian?
A. From an end-user perspective there really isn't much difference. Mostly the file system structure (do you mean layout?) is the same. For example, standard programs live in one or more of /bin, /sbin, /usr/bin, /usr/sbin, and custom applications live in /usr/local/bin (but you don't need to worry about any of that, as the PATH variable manages finding them).
Debian-derived distributions provide for some configuration within the directory /etc/default/, and network interfaces are either configured in the file /etc/network/interfaces or by Network Manager.
RedHat-derived distributions (including Fedora) mostly use /etc/sysconfig/ for configuration files, and network interfaces are configured in separate files (one per interfaces) underneath /etc/sysconfig/interfaces/ or by Network Manager
Unless you're getting into writing portable installation scripts that's about as far as you really need to go.
Debian-derived distributions provide for some configuration within the directory /etc/default/, and network interfaces are either configured in the file /etc/network/interfaces or by Network Manager.
RedHat-derived distributions (including Fedora) mostly use /etc/sysconfig/ for configuration files, and network interfaces are configured in separate files (one per interfaces) underneath /etc/sysconfig/interfaces/ or by Network Manager
Unless you're getting into writing portable installation scripts that's about as far as you really need to go.
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.
/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 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.
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