Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #21  
Old 14th February 2006, 18:24
cybereatl cybereatl is offline
Senior Member
 
Join Date: Jan 2006
Posts: 255
Thanks: 6
Thanked 2 Times in 2 Posts
Send a message via Yahoo to cybereatl
Default

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!!
__________________
Eli Acevedo
Reply With Quote
Sponsored Links
  #22  
Old 14th February 2006, 19:05
falko falko is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Quote:
Originally Posted by cybereatl
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!!
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
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #23  
Old 14th February 2006, 23:07
latcarf latcarf is offline
Senior Member
 
Join Date: Jul 2005
Posts: 215
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by falko
Have a look at these two tutorials:
http://www.howtoforge.com/howto_linux_systemimager
http://www.howtoforge.com/dedicated_...e_systemimager


I recommend to disable SELinux. Open /etc/sysconfig/selinux and set SELINUX to disabled:
Code:
SELINUX=disabled
Then reboot your system.

Also have a look here: http://fedora.redhat.com/docs/selinu...olling-selinux
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

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

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?
Reply With Quote
  #24  
Old 15th February 2006, 00:01
latcarf latcarf is offline
Senior Member
 
Join Date: Jul 2005
Posts: 215
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by falko
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
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=73>Iol   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...
Reply With Quote
  #25  
Old 15th February 2006, 09:38
falko falko is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
 
Default

Quote:
Originally Posted by latcarf
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...
It was in response to cybereatl's question how to copy back his fstab from /home/admin/backup to /etc.

Quote:
Originally Posted by latcarf
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?
Right.

Quote:
Originally Posted by latcarf
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?
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.

Quote:
Originally Posted by latcarf
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=73>Iol   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...
It should look similar to this:
Code:
LABEL=SWAP-sda3         swap                    swap    defaults        0 0
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to perfect install SNMP and MRTG in Fedora Core 3??? fandi2000x Installation/Configuration 5 5th July 2006 21:48
Mandriva 10.2 Perfect Setup Install Problems... ctroyp Installation/Configuration 12 30th December 2005 16:04
perfect install 5.04 isp on desktop image? bspratt Server Operation 5 6th November 2005 14:27
Perfect Fedora Core 4 install (GPG key errors) linuxfast HOWTO-Related Questions 2 16th September 2005 19:54
Fresh Install of FC4 using Perfect Install HowTo latcarf HOWTO-Related Questions 21 10th August 2005 22:55


All times are GMT +2. The time now is 23:41.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.