FC 4 Perfect Install

Discussion in 'HOWTO-Related Questions' started by latcarf, Feb 7, 2006.

  1. cybereatl

    cybereatl New Member

    You know what, actually I did have a copy of fstab but the command line don't give me the option to copy the file from /home/admin/backup/fstab on that place that shows me before, So you know what is was that way it might help others!!
     
  2. falko

    falko Super Moderator ISPConfig Developer

    If you want to copy your fstab backup from /home/admin/backup/fstab to /etc/fstab, simply run
    Code:
    cp -f /home/admin/backup/fstab /etc/fstab
     
  3. latcarf

    latcarf New Member

    My logic said enable it since the Perfect Setup said we were disabling it for security in ISPConfig... My illogical side said "but didn't we read that SELinux was trouble"... so much for logic! lol :D

    I'll check out the links, thanks! Hate it when you guy's assign home work!! :eek:

    As if I haven't pulled enough hair I have decided to reset the drive with dual boot option to Windows 2000 Pro and FC4. I found what appears to be a good (and current!) HowTo for this. Any thoughts or comments?
     
  4. latcarf

    latcarf New Member

    I assume this was in response to my question about copying and overwriting /etc/fstab when when the system failed to boot after install. I had to do some reading so I understood fstab and what was being said...

    This is simply a config file that set controls for mounted partitions correct? And copying this file does not clone the whole drive does it? I am not sure I understand the purpose of copying from /home/admin/backup to /etc/fstab since it actually resides in /etc. (well... unless the one in /etc got hosed somehow) Wouldn't it be the other way around? copy it from /etc/fstab to /home/admin/backup/fstab?

    I did learn some interesting stuff though! This file is why I could not get the console to recognize my floppy drive when I tried to copy it to the ststem.
    Code:
    # This file is edited by fstab-sync - see 'man fstab-sync' for details
    LABEL=/                 /                       ext3    defaults,usrquota,grpquota        1 1
    LABEL=/boot             /boot                   ext3    defaults        1 2
    /dev/devpts             /dev/pts                devpts  gid=5,mode=620  0 0
    /dev/shm                /dev/shm                tmpfs   defaults        0 0
    /dev/proc               /proc                   proc    defaults        0 0
    /dev/sys                /sys                    sysfs   defaults        0 0
    LABEL=®¯7÷ô3ƒ>IýŸo¹l²   swap                    swap    defaults        0 0
    /dev/fd0                /media/floppy1          auto    pamconsole,exec,noauto,managed 0 0
    /dev/hdd                /media/cdrecorder       auto    pamconsole,exec,noauto,managed 0 0
    /dev/fd0 and /dev/hdd both appear to be missing some key properties in the 4th column such as rw and user.

    I do not have a clue what that stuff after LABEL= for the swap partition is!? but it does not look right...
     
  5. falko

    falko Super Moderator ISPConfig Developer

    It was in response to cybereatl's question how to copy back his fstab from /home/admin/backup to /etc.

    Right.

    Prior to editing /etc/fstab, cybereatl had made a backup of /etc/fstab in /home/admin/backup. Now he corrupted his /etc/fstab and wanted to get back his original fstab, that's why I told him to copy it back from /home/admin/backup to /etc.

    It should look similar to this:
    Code:
    LABEL=SWAP-sda3         swap                    swap    defaults        0 0
     

Share This Page