LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 04-14-2006, 01:46 AM   #1
neo_phyte
LQ Newbie
 
Registered: Apr 2006
Distribution: Centos
Posts: 11

Rep: Reputation: 0
copying files from my home directory to my USB, MySQL problem, NTFS problem


First, good day to everyone, I have experienced difficulty in copying files from my home files to my USB Flash Disk. After mounting my USB Flash Disk successfully in Red Hat platform. I want some of my files found in my home directory to be copied in my USB. When I perform COPY and PASTE operation, it seems that the USB is ready only. I have also problem in after installing my MYSQL server in this platform and also mounting my Drive C: inorder i can browse it in my linux platform.

The following questions will be addressing to your attention:

1. I want my USB to be not read only device. I have already perform the mounting process successfuly. How do I disabled the restrictions not to be read only device?

2. I am installing MYSQL Server in my RedHat Platform successfully. But the question, how can i run the program?

3. In my PC, I have a dual booting of operating system, in my drive C: i have my Windows XP professional, and Drive D: i have my RedHat operating system. I want my RedHat operating can recognize the drive C, noting also that my Drive C: is NTFS filing system? Or can we view also the Drive D if I am going to used the windows XP? Vice Versa.


Please help.. I am very interested with linux platform.

Last edited by neo_phyte; 04-14-2006 at 06:15 AM.
 
Old 04-14-2006, 01:56 AM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
1. Post the command that you used to mount your USB drive.

2.Please elaborate your wuetion like what problem are u facing

3.visit http://linux-ntfs.sourceforge.net to get the module for ntfs support in linux

and google for explore2fs to get the tool browse ext/etx3 FS in windows

regards
 
Old 04-14-2006, 04:54 AM   #3
neo_phyte
LQ Newbie
 
Registered: Apr 2006
Distribution: Centos
Posts: 11

Original Poster
Rep: Reputation: 0
1. Here is my command in mounting the USB, "mount -t vfat /dev/sda1 /mnt", and it is successful since i really see my files in my USB.

2. When I installed the MySQL server, it is also successful but how do i run the application? What command i am going to type inorder to run it? I dont know where it is found or where is the executable file of MySQL is found.

Here is the report when i finally installed the MySQL Server:

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h localhost.localdomain password 'new-password'
See the manual for more instructions.

Please report any problems with the /usr/bin/mysqlbug script!

The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at https://order.mysql.com
Starting MySQL. SUCCESS!


And also when I am installing the SQL Administrator error occurs:

[root@localhost dodong]# rpm -i mysql-administrator-1.1.6-1.i386.rpm
error: Failed dependencies:
libc.so.6(GLIBC_2.3.4) is needed by mysql-administrator-1.1.6-1
libstdc++.so.6 is needed by mysql-administrator-1.1.6-1
libstdc++.so.6(CXXABI_1.3) is needed by mysql-administrator-1.1.6-1
libstdc++.so.6(GLIBCXX_3.4) is needed by mysql-administrator-1.1.6-1
libstdc++.so.6(GLIBCXX_3.4.4) is needed by mysql-administrator-1.1.6-1

How do i fix the errors above stated?

3. Thanks for the link, i will download it... There are so many links there, what type of .rpm i am going to download... I am using Intel Processor, basically Celeron 2.0 Gigahertz. and my motherboard is ASUS P4VP-MX. Hope these informations will guide you to answer all of my queries.

Thanks in advance, Happy Easter.

Last edited by neo_phyte; 04-14-2006 at 05:57 AM.
 
Old 04-14-2006, 07:22 AM   #4
MarioT
Member
 
Registered: May 2004
Posts: 52

Rep: Reputation: 15
Quote:
Originally Posted by neo_phyte
1. Here is my command in mounting the USB, "mount -t vfat /dev/sda1 /mnt", and it is successful since i really see my files in my USB.
some USB stick have hardware lock. Check if you have any switch on it.
The other thing. Does your user have premission to write to /mnt.
If you are root than there should be no problems. Otherwise as root execute
chmod 777 /mnt or pick some dir in your home dir as mount point.
 
Old 04-16-2006, 11:54 PM   #5
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
Is this MYSQL administrator a standard package from redhat or have you got this from some where else??

If its looking for some dependencies then you need to clear thse dependencies first. i.e install those packages

Also to start mysql u need to start the service mysql or mysqld,whatever is the name of the script from the /etc/init.d directory

Start that by
service <service name> start
You can also see the variuos mysql binaries in /usr/bin

regards
 
Old 04-18-2006, 06:07 AM   #6
smartnorman
LQ Newbie
 
Registered: Apr 2006
Location: South Africa
Distribution: RH8
Posts: 5

Rep: Reputation: 0
I had problems writing to my USB memory stick - I found that only ROOT could write to the memory stick, even after doing:
chmod 777 /mnt

I'm not sure why this is, but at least I can write files to the stick by logging on as root.
 
Old 04-18-2006, 08:48 AM   #7
MarioT
Member
 
Registered: May 2004
Posts: 52

Rep: Reputation: 15
Quote:
Originally Posted by smartnorman
I had problems writing to my USB memory stick - I found that only ROOT could write to the memory stick, even after doing:
chmod 777 /mnt
do you mount under /mnt or /mnt/usb or something like that.
Is your mount point defined in /etc/fstab?
If yes, what does it looks like?
 
Old 04-19-2006, 12:13 AM   #8
smartnorman
LQ Newbie
 
Registered: Apr 2006
Location: South Africa
Distribution: RH8
Posts: 5

Rep: Reputation: 0
I mount it at /stick directory, by mount /dev/sdb1 /stick
I have done chmod 777 /stick

I did not define mount point in /etc/fstab (I could not work out what this was supposed to do!)

All users can see and copy the memory stick contents, but only root can write to the stick.
 
Old 04-22-2006, 11:53 PM   #9
alred
Member
 
Registered: Mar 2005
Location: singapore
Distribution: puppy and Ubuntu and ... erh ... redhat(sort of) :( ... + the venerable bsd and solaris ^_^
Posts: 658
Blog Entries: 8

Rep: Reputation: 31
both of these work for me on my rh9 , not sure about rh8 though ...

as root run ::

Code:
mount -t vfat -o uid=root,gid=users,umask=0002,dmask=0002,quiet,user,sync,dirsync /dev/sdb1 /mnt/flash
or put line this into your "/etc/fstab" ::

Code:
/dev/sdb1              /mnt/flash              vfat noauto,users,rw,umask=0 0 0


note :: as for the rest , i guess you have to figure it out yourself ...

_____________________________________________________________


references ::

http://users.actrix.co.nz/michael/usbmount.html

http://vic.gedris.org/linux-UsbMassStorage/


.
 
Old 04-24-2006, 12:32 AM   #10
smartnorman
LQ Newbie
 
Registered: Apr 2006
Location: South Africa
Distribution: RH8
Posts: 5

Rep: Reputation: 0
Thanks - I will play with these techniques.
 
  


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 view files that is stored in USB Flash Disk neo_phyte Red Hat 5 04-12-2006 04:13 AM
using flash drive for /home directory? tuneout Debian 3 01-01-2006 07:22 AM
Automatically Copying files from the ftp directory into the html directory swatward Linux - General 3 04-17-2005 10:55 PM
Copying all files from subdirectories into one directory Hegemon Linux - General 3 01-17-2005 11:25 AM
copying files to protected directory? webazoid Linux - Software 1 07-11-2004 09:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 02:45 PM.

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
Open Source Consulting | Domain Registration