Visit Our UNIX and Linux User Community


Mount USB stick...


 
Thread Tools Search this Thread
Special Forums Hardware Filesystems, Disks and Memory Mount USB stick...
# 1  
Old 08-02-2009
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  
Old 08-07-2009
You seem to ahve forgotten a space

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

Mount -t vfat /dev/sdc1 /usbstick
# 3  
Old 08-07-2009
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

Previous Thread | Next Thread
Test Your Knowledge in Computers #379
Difficulty: Medium
Solaris is UNIX V7, UNIX 03 and UNIX 98 compliant.
True or False?

10 More Discussions You Might Find Interesting

1. BSD

Bootable usb-stick, need help, sos

I would probably set all my rubber points here to get some real help for creating a boot device on a usb-stick. There is no CD-drive on this machine, thats why I need to use a usb-stick. And scrumming in a CD-drive to fuddle around in the fstab or something like that is out of reach. My wisdom so... (9 Replies)
Discussion started by: 1in10
9 Replies

2. SCO

How to use USB Stick in UNIXware?

I am trying to use a USB (Pen?) drive on Unixware 7.1.4. The USB stick is in the machine and the machine recognises it when I enter usbprobe as follows: Path - Address Description ----------------------------- +++++++ BUS #2 0 - 1 - HUB "UHCI Root Hub" 1 - 2 - HID "Chicony Wireless Device"... (1 Reply)
Discussion started by: BernP
1 Replies

3. Ubuntu

Installing UBUNTU on USB stick

I'd like to install the OS on my stick. I would like to be able to save my works there and install apps or customize the OS. What can I do Ps. At home I use an iMac, but in the school where I work there are only PC... Ty (2 Replies)
Discussion started by: Fabio_Puricelli
2 Replies

4. SCO

Mount USB stick

hi Howto mount an USB stick under SCO 5.0.7? BTW ist it possible to mount USB stick in the command line using 'tools' at the Boot: prompt from OpenServer Release 5.0.7 installation CD? (1 Reply)
Discussion started by: ccc
1 Replies

5. Ubuntu

Ubuntu on USB stick?

Hey Guys I have an Ubuntu CD and I was thinking of creating like a bootable hard drive with various OS so that I can just boot OSs with t drive and not require the CDs. I was just wondering is there a way I can do this, like have Ubuntu boot from a USB stick? If yes how is that possible(even if I... (3 Replies)
Discussion started by: rbansal2
3 Replies

6. Shell Programming and Scripting

1 usb stick -> 2 mounted devices

Hello, i am using a solaris thinclient that tries to connecting to a terminalserver. (RDP) Everything works fine, but the usb redirection. If i put in a usb stick i always get 2 usb-drives mounted. If i look in /tmp/SUNWut/mnt/<name of the host> i see 2 devices. One with the name of the... (2 Replies)
Discussion started by: anarcy
2 Replies

7. BSD

Mounting a USB stick in FreeBSD

When mounting a USB stick or pen drive on a FreeBSD machine I always issue the following command: mount -t msdosfs /dev/da0s1 /mnt Something I have always wondered is what the option msdosfs stands for and more importantly, why it is necessary. (7 Replies)
Discussion started by: figaro
7 Replies

8. BSD

Detecting usb stick in freebsd

I inserted a 8GB usb stick in a number of machine with FreeBSD 7.1, but the medium was not detected: $ dmesg | grep MB usable memory = 4263022592 (4065 MB) avail memory = 4082540544 (3893 MB) pci0: <serial bus, SMBus> at device 31.3 (no driver attached) ad0: 238475MB <WDC WD2500BEVT-00ZCT0... (6 Replies)
Discussion started by: figaro
6 Replies

9. UNIX for Dummies Questions & Answers

Aix usb stick

I have a P-Series Machine running AIX 5.3, it has a USB Port on the front of the server, can I use a USB Stick on AIX platforms?? if so how..:rolleyes: (2 Replies)
Discussion started by: BEVAN
2 Replies

10. Linux

bootable USB Stick || Fedora 8

Hello Everybody I am planning to install Fedora core 8 on an extra PC I have; what I wanna do is to boot from a USB stick then install Fedora from an ISO image I already have via FTP. Could any one tell me how to create bootable USB Stick for Fedora as I already found how to install from FTP... (0 Replies)
Discussion started by: ahmed_nasr2001
0 Replies

Featured Tech Videos