The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > Hardware > Filesystems, Disks and Memory
.
google unix.com



Filesystems, Disks and Memory Discuss NAS, SAN, RAID, Robotic Libraries, backup devices, RAM, DRAM, SCSI, IDE, EIDE topics here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Aix usb stick BEVAN UNIX for Dummies Questions & Answers 2 08-21-2008 07:21 AM
Fedora on a stick iBot UNIX and Linux RSS News 0 08-05-2008 12:10 PM
Copy files to a USB stick SCO 5.07? pschnell SCO 1 07-12-2008 03:55 PM
crontab does not stick lulle SUN Solaris 4 02-21-2008 01:13 AM
Stick with Solaris 10 or try something else? Filth Pig UNIX for Dummies Questions & Answers 5 08-23-2005 03:51 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-02-2009
Dax01 Dax01 is offline
Registered User
  
 

Join Date: Jul 2009
Posts: 11
Mount USB stick...

Dummies questions, perfect for this. I cannot mount my idiotic usb stick on Slackware, I input the following on non-graphic mode as root:

Code:
 Mount -t vfat /dev/sdc1/usbstick
usbstick is the folder i created for mounting my USB, the file system is FAT, and everytime I input that I get some kind of manual on how to do it, but nothing works. Also I cannot do it on KDE cause when I 1st entered the root password my numeric keymap was off so my root pass is the bunch of characters coming from the numbers: 5687991 and I do not know how to reset root password.
  #2 (permalink)  
Old 08-07-2009
Jucydee Jucydee is offline
Registered User
  
 

Join Date: Aug 2009
Posts: 1
You seem to ahve forgotten a space

Quote:
Mount -t vfat /dev/sdc1/usbstick
Try this;

Mount -t vfat /dev/sdc1 /usbstick
  #3 (permalink)  
Old 08-07-2009
bakunin bakunin is offline Forum Staff  
Bughunter Extraordinaire
  
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,628
Jucydee is correct, you need a device you can mount (your USB stick) and a place where to mount it (a directory, in your case "/usbstick").

You cannot change the root password from within a system without knowing it, because to change it you would have to become root before and for that you'd need the password.

Boot your system from an external medium (CD, floppy, whatever) and mount the root fs of your system. For example: if your root fs resides on the first partition of your first HD and you use ext3 as your filesystem (use the "mount" command without parameter to find out) enter:

Code:
mount -t ext3 /dev/sda1 /somedir
You have to create the directory "/somedir" first, of course. Now edit the file "/somedir/etc/passwd" (which is your systems /etc/passwd file) to remove roots password and reboot your system normally. Become root and change the password.

Read the man page about the format of "/etc/passwd" first and if anything is unclear PLEASE GET SOMEONE TO HELP YOU because you could easily ruin the system making errors there.

bakunin
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:49 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0