LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-25-2005, 02:41 PM   #1
mohtasham1983
Member
 
Registered: Apr 2005
Location: San Jose
Distribution: Fedora 3,4- Ubuntu 6.06 to 8.10, Gentoo and Arch
Posts: 408

Rep: Reputation: 30
changing file system to ext3


when I write command moun I recieve this message:
/dev/hdb8 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw)
none on /dev/shm type tmpfs (rw)
/dev/hdb1 on /home type ext3 (rw)
/dev/hdb5 on /media/hd/e type vfat (rw)
/dev/hdb7 on /media/hd/g type vfat (rw)
/media/hd/e on /home/mohammad/Hard_Drive/E_partition type none (rw,bind)
/media/hd/f on /home/mohammad/Hard_Drive/F_partition type none (rw,bind)
/media/hd/g on /home/mohammad/Hard_Drive/G_partition type none (rw,bind)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
but I made a mistake accidentally and destroyed my drive f which was fat32 for windows XP.
when my computer starts it says that it is unable to mount hdb6 (drive F). it says bad type, bad option, bad super block or too many mounted file systems.
I want to change my hdb6 to ext3. I have nothing in hdb6 to be lost.
 
Old 06-25-2005, 03:39 PM   #2
mmmm
Member
 
Registered: Oct 2004
Location: Poland
Distribution: Slack 10.1, Mandrake 10.1
Posts: 118

Rep: Reputation: 15
type : mkfs.ext3 /dev/hdb6 . It will format partition as ext3 fs.
 
Old 06-25-2005, 05:10 PM   #3
mohtasham1983
Member
 
Registered: Apr 2005
Location: San Jose
Distribution: Fedora 3,4- Ubuntu 6.06 to 8.10, Gentoo and Arch
Posts: 408

Original Poster
Rep: Reputation: 30
thanks, it works,
after that I typed mount /dev/hdb6 /media/hd/f
Now I have a ext3 file system
But I am not able to write any information in it
 
Old 06-26-2005, 05:48 AM   #4
mmmm
Member
 
Registered: Oct 2004
Location: Poland
Distribution: Slack 10.1, Mandrake 10.1
Posts: 118

Rep: Reputation: 15
try - mount -o rw /dev/hdb6 /media/hd/f
And do it as root. Should work. And what does ´df -kah´ writes?
 
Old 06-26-2005, 07:05 AM   #5
mohtasham1983
Member
 
Registered: Apr 2005
Location: San Jose
Distribution: Fedora 3,4- Ubuntu 6.06 to 8.10, Gentoo and Arch
Posts: 408

Original Poster
Rep: Reputation: 30
it doesn't work.
what do you mean by ´df -kah´?
if I want to mount it automatically how can I use -o auto?
 
Old 06-26-2005, 04:12 PM   #6
mmmm
Member
 
Registered: Oct 2004
Location: Poland
Distribution: Slack 10.1, Mandrake 10.1
Posts: 118

Rep: Reputation: 15
"df -kah" displays all mounted disks and free/busy space on them. To mount disk automatic on boot you need to add it in /etc/fstab. Line about this partition should looks like :
/dev/hdb5 /home ext3 defaults 1 2
What is -o auto ? I have never heard about sth like this
 
Old 06-27-2005, 04:20 AM   #7
mohtasham1983
Member
 
Registered: Apr 2005
Location: San Jose
Distribution: Fedora 3,4- Ubuntu 6.06 to 8.10, Gentoo and Arch
Posts: 408

Original Poster
Rep: Reputation: 30
thank you man,
it works now
-o auto is an option for mounting
when I typed man mount is read some description about it but I understood nothing
 
Old 06-28-2005, 11:27 AM   #8
mmmm
Member
 
Registered: Oct 2004
Location: Poland
Distribution: Slack 10.1, Mandrake 10.1
Posts: 118

Rep: Reputation: 15
Writing also works ?
 
Old 06-28-2005, 04:39 PM   #9
mohtasham1983
Member
 
Registered: Apr 2005
Location: San Jose
Distribution: Fedora 3,4- Ubuntu 6.06 to 8.10, Gentoo and Arch
Posts: 408

Original Poster
Rep: Reputation: 30
yes, even writing works now
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to ext3 file system A-Liang Programming 2 09-13-2004 11:14 PM
ext3: File system error big_gie Linux - General 6 07-16-2004 12:44 PM
Large tar file taking huge disk space in ext3 file system pcwulf Linux - General 2 10-20-2003 08:45 AM
Quotas : ext3 file system tropical Linux - General 4 04-13-2003 04:29 PM
Format ext3 file system? mikeshn Linux - General 5 11-03-2002 01:37 PM


All times are GMT -5. The time now is 03:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration