Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
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.
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662
Original Poster
Rep:
Nylex angrily wrote the following:
For God's sake, how long have you been using Linux? Device as in /dev/*.
------------------------------------------------------------------------
I have not done any formatting of floppy drives or USB drives for more than 10 years.
Though I have been using Linux for more than 10 years, I must confess that there are thousands of things to learn. I consider it is impossible to know everything.
More than 10 years ago, I used Linux for the first time. It was SuSE Linux 6.0 or 6.2. I always mount the floppy drive and the CD drive in the good old days.
I bought the program/package from a shop. Today we download it freely. I still have the manuals/books in the cellar. The package includes about 5 or 6 manuals/books.
As far as I remember it was not necessary to format a floppy disk with the help of the command line.
There was a program to format floppy disks. I didn't use USB modules those days. USB modules are not commonplace in the good old days.
By the way today's Linux distros are loaded with all the printer drivers. You could buy any printer from a shop; your Linux has a driver for it. Those days it was hell to configure a printer driver. There was a lot of manual work on the command line.
linux-lcqj:/home/nis # mkfs -t ext2 /dev/sdb1
mke2fs 1.40.8 (13-Mar-2008)
Warning: 256-byte inodes not usable on older systems
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
125952 inodes, 503804 blocks
25190 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=515899392
16 block groups
32768 blocks per group, 32768 fragments per group
7872 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912
This filesystem will be automatically checked every 39 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
linux-lcqj:/home/ni #
Have I done it correctly?
If it is fine I will go ahead with the rest of the task which is the creation of gpg keys.
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662
Original Poster
Rep:
Thanks jschiwal
I got a strange result while trying to mount the pendrive.
I just inserted it.
I tried invain the command.
--------------------------------------------------------------------
ni@linux-lcqj:~> su root
Password:
linux-lcqj:/home/ni # mount /media/KINGSTON
mount: can't find /media/KINGSTON in /etc/fstab or /etc/mtab
linux-lcqj:/home/ni #
linux-lcqj:/home/ni # mount /dev/media/KINGSTON
mount: can't find /media/KINGSTON in /etc/fstab or /etc/mtab
linux-lcqj:/home/ni #
linux-lcqj:/home/ni # mount /dev/KINGSTON
mount: can't find /media/KINGSTON in /etc/fstab or /etc/mtab
linux-lcqj:/home/ni #
Run "ls /dev/sd*" before and fter inserting the pendrive and seeing which device is used. You can examine details on a device with the command:
udevinfo -q env -n /dev/sdN
where N is the device number.
An easy way to mount a pendrive in SuSE is to run:
halmount /dev/sdN
It should be mounted in a directory in /media then.
In SuSE, if you created an /etc/fstab entry for the pendrive, it won't be mounted automatically by hal.
You can also try monitoring the /var/log/messages file as you insert the pendrive:
sudo tail -f /var/log/messages
This may tell you whether a device is assigned or not.
Make sure that the usb port supplies enough power for the drive. Some extenders such as off a keyboard may be able to power a mouse but not a pendrive or external usb drive. I've had this situation occur at work. The usb keyboard has a USB plug on the left hand side but pendrives don't work.
The command 'halmount' doesn't work.
linux-lcqj:/home/ni # halmount /dev/sdb1
bash: halmount: command not found
linux-lcqj:/home/ni #
As you read the above, after inserting the USB module if found the folders 'sdb' and 'sdb1'. This 'sdb1' is the USB module.
If you want I can remove open SUSE 11.0 and reinstall again. I am not going to lose any data. Because this particular computer is for testing and experimenting purposes. I bought it recently. I have not connected the computer the Internet, as yet.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.