Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm having two problems with RedHat 9:
1.I'm trying to create a shared FAT32 partition for both windows and linux following the forum tutorial, but when I typed 'df', it onlys shows hda2 and no hda1?
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda2 9518644 6889072 2236624 76% /
none 256396 0 256396 0% /dev/shm
I checked /dev/hda1 using more, it gave some messed up display:
[root@Red_Hat_LInux dev]# more hda1
JMSWIN4.1�Af��F~--More--(0%)
�faT�e--(0%)
NTLDR is missing)
Disk error
Press any key to restart
tDfFfFfNf�^(�t:^Rf�F$f��Rf�߹
--More--(0%)
}��^f�AVfj--(0%)
V@�ad^r
@uB^re--(0%)
Iu�▒'
Invalid system disk
Disk I/O error
Replace the disk, and then press any key
--More--(0%)
etc.
2.I messed up my iptables, and I cannot connect to google or gmail so I used a script from the forum, and it worked for about 12 hours after I executed the script and then stop working (can't connect to google/gmail), and I have to execute the script again, here's the script I'm using:
cd /sbin/
./iptables -F
./iptables -P OUTPUT ACCEPT
./iptables -P FORWARD DROP
./iptables -P INPUT DROP
./iptables -A INPUT -i lo -j ACCEPT
./iptables -A OUTPUT -o lo -j ACCEPT
./iptables -A INPUT -i eth0 -m state --state ESTABLISHED,RELATED -j ACCEPT
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.