Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
01-08-2003, 03:33 PM
|
#31
|
Member
Registered: Dec 2002
Distribution: freeBSD 4.9/6.0
Posts: 194
Original Poster
Rep:
|
Quote:
Originally posted by DavidPhillips
ok, It is possible that mkfs.vfat is missing.
You would be better off using a linux partition, here is how you can do it
run fdisk as before, you need to delete the partition first
d = delete partition
1 = delete hdb1
then you can repeat the creation proceedure, only instead of using type c use type 83 ( the default )
After that's done format the partition
then if you want ext3 use this
Code:
tune2fs -j /dev/hdb1
update your /etc/fstab entry
Code:
/dev/hdb1 /somefolder ext3 defaults 1 1
|
whats the diff in using ext3 and such and where am i supposed to execute the mke2fs /dev/hdb1
i tryed finding the command by hitting the letter that it starts with an tab but i couldnt find it.
|
|
|
01-08-2003, 04:00 PM
|
#32
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
execute it in a terminal or virtual terminal
you will need to be root
the command should be in /sbin
/sbin/mke2fs
ext3 is ext2 with a journal. The journal allows quick recovery of the filesystem in case of power failure or lockup
|
|
|
01-08-2003, 04:41 PM
|
#33
|
Member
Registered: Dec 2002
Distribution: freeBSD 4.9/6.0
Posts: 194
Original Poster
Rep:
|
David you are probably getting upset with my by now but. for some reason it keeps giveing me this fs type ntfs not supported by kernel.
i deleted the fat32 partitions like u said.
i run fdisk i did everything the same except for i turned the c to 83 i belive it is.
i run mke2fs /dev/hdb1 i went threw to like 500 and something it finished i then run
turn2fs -j /dev/hdb1 said so and so will be checked in 35 mounts or 180 days whichever comes first.
only thing i didnt do was the update your etc/fstab entry i wasnt real sure on how to do that and more tha likely that is the problem. 
|
|
|
01-08-2003, 05:26 PM
|
#34
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
ok you may have ntfs in your /etc/fstab for /dev/hdb1
that combined with the mount command you are using would cause a problem
try this to bypass the fstab entry
mount /dev/hdb1 /somefolder
you can also use this, but we need to get it working without doing it
mount /dev/hdb1 -t ext3 /somefolder
if you are already doing this then the kernel needs to update it's filesystem entries. Which means you will need to reboot
what does fdisk -l say now
Last edited by DavidPhillips; 01-08-2003 at 05:27 PM.
|
|
|
01-08-2003, 05:42 PM
|
#35
|
Member
Registered: Dec 2002
Distribution: freeBSD 4.9/6.0
Posts: 194
Original Poster
Rep:
|
Quote:
Originally posted by DavidPhillips
ok you may have ntfs in your /etc/fstab for /dev/hdb1
that combined with the mount command you are using would cause a problem
try this to bypass the fstab entry
mount /dev/hdb1 /somefolder
you can also use this, but we need to get it working without doing it
mount /dev/hdb1 -t ext3 /somefolder
if you are already doing this then the kernel needs to update it's filesystem entries. Which means you will need to reboot
what does fdisk -l say now
|
well i tryed to mount the drive by mount /dev/hdb1 /home/ace
that didnt work
i tryed doing mount /dev/hdb1 -t ext3 /home/ace
and well now it says
pls contact your system administrator to resolve the following problem.
could not open or create the file "/home/ace.gconf-test-locking-file" this indicates that thre may be a problem with your configuration, as many programs will need to create files in your home directory. the error was "permission denied"
ps i tryed rebooting before this but nothing still the same thing.
i wont be home for a little while due to me having to go to work at the radio station but if u wouldnt mind telling me how to get rid of that error so i can get back into my linux box i would really appreciate it  .
lol almost forgot
when i do a fdisk -l it returns saying
/dev/hda1=linux filesystem
/dev/hdb1=linux filesystem
Last edited by dkc_ace; 01-08-2003 at 06:03 PM.
|
|
|
01-08-2003, 05:58 PM
|
#36
|
Member
Registered: Dec 2002
Distribution: freeBSD 4.9/6.0
Posts: 194
Original Poster
Rep:
|
Quote:
Originally posted by dkc_ace
well i tryed to mount the drive by mount /dev/hdb1 /home/ace
that didnt work
i tryed doing mount /dev/hdb1 -t ext3 /home/ace
and well now it says
pls contact your system administrator to resolve the following problem.
could not open or create the file "/home/ace.gconf-test-locking-file" this indicates that thre may be a problem with your configuration, as many programs will need to create files in your home directory. the error was "permission denied"
ps i tryed rebooting before this but nothing still the same thing.
i wont be home for a little while due to me having to go to work at the radio station but if u wouldnt mind telling me how to get rid of that error so i can get back into my linux box i would really appreciate it .
|
lol well a little update LINUX fixed it self this is one strange breed. lol mom got mad at me and fliped the switch off when she said i could go get back on it booted up just fine. *yells across room *thanks mom*
|
|
|
01-08-2003, 06:41 PM
|
#37
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
cool
so it works now?
if you made the changes to fstab you should be able to mount it using this
then run this
if you see this, it's ok
Code:
/dev/hdb1 on /somewhere type ext3 (rw)
Last edited by DavidPhillips; 01-09-2003 at 05:50 PM.
|
|
|
01-09-2003, 05:47 PM
|
#38
|
Member
Registered: Dec 2002
Distribution: freeBSD 4.9/6.0
Posts: 194
Original Poster
Rep:
|
Quote:
Originally posted by DavidPhillips
cool
so it works now?
if you made the changes to fstab you should be able to mount it using this
then run this
if you see this, it's ok
Code:
/dev/hd1 on /somewhere type ext3 (rw)
|
thats the problem i didnt make the changes to fstab and im not real sure how to do it. onlything it tells me is permission denied and yes im su
|
|
|
01-09-2003, 06:00 PM
|
#39
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
what editor are you using
I would use vi it's less likely to screw things up
here is a way to do it
first make a backup
Code:
cp /etc/fstab /etc/fstab.backup
now this should not be too bad, vi is not hard to learn the basics in.
you will see the data in the file, scroll down with the arrow keys and position the cursor on the line that has /dev/hdb1 and delete it using this
If you have no line that has hdb in it then you can skip this all together
now you can add the new line if you want, but for now if you are not familiar with vi there is another way
now you need to write to the file and quit
ok now you can add the line you need to it using echo
Code:
echo "/dev/hdb1 /somefolder ext3 defaults 0 0" >> /etc/fstab
try it
Code:
mount /dev/hdb1
ls /somefolder
Last edited by DavidPhillips; 01-09-2003 at 06:02 PM.
|
|
|
01-09-2003, 06:35 PM
|
#40
|
Member
Registered: Dec 2002
Distribution: freeBSD 4.9/6.0
Posts: 194
Original Poster
Rep:
|
Quote:
Originally posted by DavidPhillips
what editor are you using
I would use vi it's less likely to screw things up
here is a way to do it
first make a backup
Code:
cp /etc/fstab /etc/fstab.backup
now this should not be too bad, vi is not hard to learn the basics in.
you will see the data in the file, scroll down with the arrow keys and position the cursor on the line that has /dev/hdb1 and delete it using this
If you have no line that has hdb in it then you can skip this all together
now you can add the new line if you want, but for now if you are not familiar with vi there is another way
now you need to write to the file and quit
ok now you can add the line you need to it using echo
Code:
echo "/dev/hdb1 /somefolder ext3 defaults 0 0" >> /etc/fstab
try it
Code:
mount /dev/hdb1
ls /somefolder
|
ok i tryed that but when i mount it under my ace acount on my server i loose my desktop only thing i can do is umount it and the desktop comes back.
|
|
|
01-09-2003, 07:20 PM
|
#41
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
sounds like you are mounting it over something, meaning if there are files in the mountpoint folder then they will become inaccessable
Last edited by DavidPhillips; 01-09-2003 at 08:11 PM.
|
|
|
01-09-2003, 07:47 PM
|
#42
|
Member
Registered: Dec 2002
Distribution: freeBSD 4.9/6.0
Posts: 194
Original Poster
Rep:
|
Quote:
Originally posted by DavidPhillips
what editor are you using
I would use vi it's less likely to screw things up
here is a way to do it
first make a backup
Code:
cp /etc/fstab /etc/fstab.backup
now this should not be too bad, vi is not hard to learn the basics in.
you will see the data in the file, scroll down with the arrow keys and position the cursor on the line that has /dev/hdb1 and delete it using this
If you have no line that has hdb in it then you can skip this all together
now you can add the new line if you want, but for now if you are not familiar with vi there is another way
now you need to write to the file and quit
ok now you can add the line you need to it using echo
Code:
echo "/dev/hdb1 /somefolder ext3 defaults 0 0" >> /etc/fstab
try it
Code:
mount /dev/hdb1
ls /somefolder
|
i dont get what u mean by mounting it over something?
ok let me make sure so as "su" i should type:
echo /dev/hdb1 /somefolder ext3 defaults 0 0 >> /etc/fstab
one time i put /somefolder the other time i put /home/ace
as u can see im not the best with commands
Last edited by dkc_ace; 01-09-2003 at 07:49 PM.
|
|
|
01-09-2003, 08:09 PM
|
#43
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
yes, well that "somefolder" is where you want to mount it
you should create a folder you can decide any name you want to use, but the folder must exist, and it should not be a folder you are already using, unless you want it to be. In that case you will need to copy your files to it by mounting it somewhere else first
mounting it on /home/ace will make it your home folder, which is empty until you put something there
Last edited by DavidPhillips; 01-09-2003 at 08:10 PM.
|
|
|
01-09-2003, 08:14 PM
|
#44
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
if you want it to be in your home folder, like only you can access it and it will contain data files, documents and such, I would use this
/home/ace/myfiles
something like that
|
|
|
01-09-2003, 08:26 PM
|
#45
|
Member
Registered: Dec 2002
Distribution: freeBSD 4.9/6.0
Posts: 194
Original Poster
Rep:
|
Quote:
Originally posted by DavidPhillips
if you want it to be in your home folder, like only you can access it and it will contain data files, documents and such, I would use this
/home/ace/myfiles
something like that
|
well ummm what would be a good place to put it for a FTP server?
im guessing /var/ftp? or something like that.
or what about "/hdb1"
Last edited by dkc_ace; 01-09-2003 at 08:36 PM.
|
|
|
All times are GMT -5. The time now is 03:37 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|