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 Hosts
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 Questions about my rhl 5 server
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-07-2008   #1 (permalink)
rockjr
Just Joined!
 
Join Date: Dec 2007
Posts: 12
Question Questions about my rhl 5 server

1. how do I format a usb flash drive using the mkfs command? I want to use half of it for streaming movie files and format the other half for tht suse I will put on there

2. why cant I use ' useradd ' cmd on my rhl but there is a man page for it

3. samba is started on my server but I can't see the other window clients on the network or the can't see tht server
rockjr is offline   Reply With Quote
Old 05-07-2008   #2 (permalink)
Felarin
Linux User
 
Felarin's Avatar
 
Join Date: Mar 2007
Location: Brazil or Singapore
Posts: 272
Once you insert your device, you need to do the following.

su -

Key in your root password to gain administrative priviledges.

Assuming you wish to format your device with ext3 and assuming your device has been issued the device id /dev/sdb,

# To check device id assignment fdisk -l

# To create a partition in the device fdisk /dev/sdb
# Press "n" to create a new partition
# Press "p" to select primary # Press "1" to make it the first partition
# And use the default values for the first and last cylinder to encompass the whole disk

# Once your partition has been created, use this command to format it mkfs.ext3 /dev/sdb1

You will be able to use the useradd command once you "su -" to login as root.

You need to configure Samba in order for it to work properly. You might want to look at some Samba documentation at their site.
__________________
"A graphical user interface is just a mask. What lies beneath is what matters."
Felarin is offline   Reply With Quote
Old 05-11-2008   #3 (permalink)
rockjr
Just Joined!
 
Join Date: Dec 2007
Posts: 12
super user root or just regular root???? I guess i am asking that one right...

also the usb cant be usb1 or something like that.... does it have to be sdb1
rockjr is offline   Reply With Quote
Old 05-11-2008   #4 (permalink)
khafa
Linux Enthusiast
 
khafa's Avatar
 
Join Date: Apr 2008
Location: Tokyo, Japan
Posts: 569
hi,

root as the super user root(this is not regular user root).

for the usb device question , Linux from the 2.6 kernel sees your disks as /dev/sda, /dev/sdb , /dev/sdc etc . so when you plug your usb memory it will see it as /dev/sdb(if your already present hard disk is seen as /dev/sda ...).
you need to know how your usb flash memory is seen before formatting because if you make a mistake and format your hard drive you will be in trouble.
to see how you usb memory is seen just run the following command as Felarin said
Code:
/sbin/fdisk -l
(its a small L after the - sign)
__________________
Linux and me it's a love story
khafa is offline   Reply With Quote
Old 05-11-2008   #5 (permalink)
khafa
Linux Enthusiast
 
khafa's Avatar
 
Join Date: Apr 2008
Location: Tokyo, Japan
Posts: 569
Quote:
Originally Posted by rockjr View Post
2. why cant I use ' useradd ' cmd on my rhl but there is a man page for it
to use useradd you need to be root and the command useradd is under /usr/sbin/
__________________
Linux and me it's a love story
khafa is offline   Reply With Quote
Old 05-13-2008   #6 (permalink)
rockjr
Just Joined!
 
Join Date: Dec 2007
Posts: 12
Quote:
Originally Posted by khafa View Post
hi,

root as the super user root(this is not regular user root).

for the usb device question , Linux from the 2.6 kernel sees your disks as /dev/sda, /dev/sdb , /dev/sdc etc . so when you plug your usb memory it will see it as /dev/sdb(if your already present hard disk is seen as /dev/sda ...).
you need to know how your usb flash memory is seen before formatting because if you make a mistake and format your hard drive you will be in trouble.
to see how you usb memory is seen just run the following command as Felarin said
Code:
/sbin/fdisk -l
(its a small L after the - sign)

my hd should be hda right???? oh and i am using rhl 5 right now
rockjr is offline   Reply With Quote
Old 05-13-2008   #7 (permalink)
khafa
Linux Enthusiast
 
khafa's Avatar
 
Join Date: Apr 2008
Location: Tokyo, Japan
Posts: 569
hi,


please can you run the following command and post the output so we can tell you what your HD is
Code:
/sbin/fdisk -l
(its a small -L)
__________________
Linux and me it's a love story
khafa is offline   Reply With Quote
Old 05-13-2008   #8 (permalink)
manavalansuresh
Just Joined!
 
Join Date: Feb 2008
Location: chennai
Posts: 18
Send a message via Yahoo to manavalansuresh
[quote=rockjr;584908]1. how do I format a usb flash drive using the mkfs command? I want to use half of it for streaming movie files and format the other half for tht suse I will put on there

hi,
rockjr you want format you pen drive
eg:-
fdisk -l ---> it's show /dev/sdba

plz type this command :- mkfs.vfat /dev/sdba --> this is command to format your pen drive plz try it reply soon ....bye
manavalansuresh is offline   Reply With Quote
Old 05-13-2008   #9 (permalink)
manavalansuresh
Just Joined!
 
Join Date: Feb 2008
Location: chennai
Posts: 18
Send a message via Yahoo to manavalansuresh
Thumbs up

[quote=manavalansuresh;586918]
Quote:
Originally Posted by rockjr View Post
1. how do I format a usb flash drive using the mkfs command? I want to use half of it for streaming movie files and format the other half for tht suse I will put on there

hi,
rockjr you want format your pen drive
eg:-

fdisk -l ---> it's show /dev/sdba

plz type this command :- mkfs.vfat /dev/sdba --> this is command to format your pen drive plz try it reply soon ....bye
if you know any thing plz share with me or any ques
manavalansuresh 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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT. The time now is 02:34 AM.

Powered by vBulletin 3.6.8 ©2000 - 2007, content relevant URLs by vBSEO, Property of Core Root.

Content Relevant URLs by vBSEO 3.0.0