Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Redhat / Fedora Linux Help
Reload this Page LInux is getting me a headache
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Redhat / Fedora Linux Help Help and discussion related to Redhat and Fedora Linux.

Reply
 
Thread Tools Display Modes
Old 05-12-2008   #11 (permalink)
Just Joined!
 
iyuvabharat's Avatar
 
Join Date: Mar 2008
Location: HYDERABAD.INDIA
Posts: 43
Send a message via Yahoo to iyuvabharat
Quote:
Originally Posted by devils casper View Post
You haven't posted the output of df -h command.
Anyway, execute this
Code:
cat /etc/fstab
Post output here.
[arun@localhost ~]$ cat /etc/fstab
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
[arun@localhost ~]$
iyuvabharat is offline   Reply With Quote
Old 05-12-2008   #12 (permalink)
Just Joined!
 
iyuvabharat's Avatar
 
Join Date: Mar 2008
Location: HYDERABAD.INDIA
Posts: 43
Send a message via Yahoo to iyuvabharat
here is the output

/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
[arun@localhost ~]$
iyuvabharat is offline   Reply With Quote
Old 05-12-2008   #13 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, INDIA
Posts: 18,411
Log in as root and execute this
Code:
cd /media
mkdir win_c win_d win_e
Open /etc/fstab file and add these lines at the end of file :
Code:
/dev/sda1  /media/win_c  ntfs-3g  defaults,umask=0  0  0
/dev/sda5  /media/win_d  ntfs-3g  defaults,umask=0  0  0
/dev/sda6  /media/win_e  ntfs-3g  defaults,umask=0  0  0
Save file and execute mount -a command or reboot machine.
Check win_c, win_d and win_e folders in /media.
__________________
New Users: Read This First


devils casper is offline   Reply With Quote
Old 05-12-2008   #14 (permalink)
Just Joined!
 
iyuvabharat's Avatar
 
Join Date: Mar 2008
Location: HYDERABAD.INDIA
Posts: 43
Send a message via Yahoo to iyuvabharat
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xecd9ecd9

Device Boot Start End Blocks Id System
/dev/sda1 * 1 4334 34812823+ 7 HPFS/NTFS
/dev/sda2 4335 19456 121467465 f W95 Ext'd (LBA)
/dev/sda5 9434 14532 40957686 7 HPFS/NTFS
/dev/sda6 14533 19456 39551998+ 7 HPFS/NTFS
/dev/sda7 4335 4360 208782 83 Linux
/dev/sda8 4361 9433 40748841 8e Linux LVM

Partition table entries are not in disk order

Disk /dev/dm-0: 39.5 GB, 39594229760 bytes
255 heads, 63 sectors/track, 4813 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 2080 MB, 2080374784 bytes
255 heads, 63 sectors/track, 252 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x30307800

Disk /dev/dm-1 doesn't contain a valid partition table
[root@localhost ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
36G 8.5G 26G 26% /
/dev/sda7 198M 13M 175M 7% /boot
tmpfs 497M 24K 497M 1% /dev/shm
/dev/sda5 40G 5.9G 34G 15% /media/disk-1
/dev/sda1 34G 8.1G 26G 25% /media/disk-2
/dev/sda6 38G 2.0G 36G 6% /media/disk-3

THIS IS THE OUTPUT FOR "FDISK" U TOLD ME
iyuvabharat is offline   Reply With Quote
Old 05-12-2008   #15 (permalink)
Just Joined!
 
iyuvabharat's Avatar
 
Join Date: Mar 2008
Location: HYDERABAD.INDIA
Posts: 43
Send a message via Yahoo to iyuvabharat
[root@localhost arun]# cd /media
[root@localhost media]# mkdir win_c win_d win_e
mkdir: cannot create directory `win_c': File exists
mkdir: cannot create directory `win_d': File exists
mkdir: cannot create directory `win_e': File exists
[root@localhost media]# /dev/sda1 /media/win_c ntfs-3g defaults,umask=0 0 0
bash: /dev/sda1: Permission denied
[root@localhost media]# /dev/sda5 /media/win_d ntfs-3g defaults,umask=0 0 0
bash: /dev/sda5: Permission denied
[root@localhost media]# /dev/sda6 /media/win_e ntfs-3g defaults,umask=0 0 0

Hey sorry ,for this nooby guy iam just learning linux and i dont know what u mean by those opening fstab or mount -a can u give step by step explanation ,as u see i entered all those in terminal
iyuvabharat is offline   Reply With Quote
Old 05-12-2008   #16 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, INDIA
Posts: 18,411
Open /etc/fstab file in Gedit or Kate and those lines in /etc/fstab file.
Execute mount -a command after saving file. You must be logged in as root user.
__________________
New Users: Read This First


devils casper is offline   Reply With Quote
Old 05-13-2008   #17 (permalink)
Just Joined!
 
iyuvabharat's Avatar
 
Join Date: Mar 2008
Location: HYDERABAD.INDIA
Posts: 43
Send a message via Yahoo to iyuvabharat
here is the result

[root@localhost arun]# cat /etc/fstab
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
[root@localhost arun]#
iyuvabharat is offline   Reply With Quote
Old 05-13-2008   #18 (permalink)
Just Joined!
 
iyuvabharat's Avatar
 
Join Date: Mar 2008
Location: HYDERABAD.INDIA
Posts: 43
Send a message via Yahoo to iyuvabharat
excuse me BUT where is gedit located?must be logged as user means what?
we should excute this all in terminal or what

u may give me directions like
applications>software>/////// SOMETHING LIKE THAT

and i am greatful to u for helping me here
iyuvabharat is offline   Reply With Quote
Old 05-13-2008   #19 (permalink)
Linux Engineer
 
khafa's Avatar
 
Join Date: Apr 2008
Location: Tokyo, Japan
Posts: 770
Quote:
Originally Posted by iyuvabharat View Post
excuse me BUT where is gedit located?must be logged as user means what?
we should excute this all in terminal or what

u may give me directions like
applications>software>/////// SOMETHING LIKE THAT

and i am greatful to u for helping me here
gedit is under /usr/bin(im not on my linux box so sorry if im wrong) so you run it as follows
Code:
/usr/bin/gedit /etc/fstab &
when casper said "You must be logged in as root user." he meant you have to switch to root before running the command.

run the command from terminal and gedit will open a GUI for you
__________________
Linux and me it's a love story
khafa is offline   Reply With Quote
Old 05-13-2008   #20 (permalink)
Just Joined!
 
iyuvabharat's Avatar
 
Join Date: Mar 2008
Location: HYDERABAD.INDIA
Posts: 43
Send a message via Yahoo to iyuvabharat
Quote:
Originally Posted by devils casper View Post
Log in as root and execute this
Code:
cd /media
mkdir win_c win_d win_e
Open /etc/fstab file and add these lines at the end of file :
Code:
/dev/sda1  /media/win_c  ntfs-3g  defaults,umask=0  0  0
/dev/sda5  /media/win_d  ntfs-3g  defaults,umask=0  0  0
/dev/sda6  /media/win_e  ntfs-3g  defaults,umask=0  0  0
Save file and execute mount -a command or reboot machine.
Check win_c, win_d and win_e folders in /media.
the files exist
iyuvabharat is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
 

Free Magazines
Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe
Systems Management News, the newspaper for IT systems administration and data center managers!
Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 09:46 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0