Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: installing usb flash/hd drive  (Read 4848 times)

0 Members and 1 Guest are viewing this topic.

fat_basterd21

    Topic Starter


    Apprentice

    Thanked: 15
  • Experience: Experienced
  • OS: Windows Vista
installing usb flash/hd drive
« on: January 06, 2007, 03:01:42 PM »
I just installed knoppix 4.0 using # knoppix-install, i've found out that it doesn't automaticaly configure a mount position for the drive like it would running Live... I know that the flash drive is working because it shows up in "usb viewer"

I dont know much anything about linux but would like to create a shortcut on the desktop that can be mounted when a usb drive...

thanx in adv...
CAPS LOCK IS CRUISE-CONTROL FOR COOL!!!

WillyW



    Specialist
  • Thanked: 29
  • Experience: Experienced
  • OS: Windows XP
Re: installing usb flash/hd drive
« Reply #1 on: January 06, 2007, 03:34:37 PM »
Quote

I dont know much anything about linux but would like to create a shortcut on the desktop that can be mounted when a usb drive...

thanx in adv...

I have an idea of what would need to be done, to mount it, from the command line - but I'm not familiar enough to try to tell you.    

Until somebody comes along that can,  I can direct you to some reading, that will begin to get you familiar with what is involved.

" how to mount usb drive"
http://www.linuxforums.org/forum/installation/24063-how-mount-usb-drive.html


" How to mount usb flash drives in linux."
http://www.linuxforums.org/forum/linux-tutorials-howtos-reference-material/15776-how-mount-usb-flash-drives-linux.html

Not specifically about usb drives, but about the mount command in general.
http://www.tuxfiles.org/linuxhelp/mounting.html


This probably won't take you directly to where you want to be, but it should be a step in the right direction.   When somebody comes along here that can explain what you need to do,  if you've read that stuff it should help.

I have the feeling that you will want to prove that you can successfully mount and umount it from the command line, before you try to set up a shortcut.

I hope this helps, for now.



« Last Edit: January 06, 2007, 03:35:36 PM by WillyW »
.



fat_basterd21

    Topic Starter


    Apprentice

    Thanked: 15
  • Experience: Experienced
  • OS: Windows Vista
Re: installing usb flash/hd drive
« Reply #2 on: January 06, 2007, 04:39:07 PM »
thank you for your reply, you are right I did need to know how to mount  it through the shell, and suceeded with

mkdir /mnt/usb
mount /dev/sda1 /mnt/usb

and what I would like is to have the icon like "hard disk" wich i can mount and unmount....
CAPS LOCK IS CRUISE-CONTROL FOR COOL!!!

WillyW



    Specialist
  • Thanked: 29
  • Experience: Experienced
  • OS: Windows XP
Re: installing usb flash/hd drive
« Reply #3 on: January 06, 2007, 05:24:15 PM »
Quote
thank you for your reply,

You're welcome.

Quote
you are right I did need to know how to mount  it through the shell, and suceeded

Excellent!  It is good to hear that you succeeded.   I hope those links contributed.

Quote
with
mkdir /mnt/usb
mount /dev/sda1 /mnt/usb


and what I would like is to have the icon like "hard disk" wich i can mount and unmount....

I'm out of my realm now -  but, what would happen if you saved those commands in a file,  changed the file permissions to make it an executable file, and ran it?
If it worked,  then there should be some way to associate your working script file with an icon -  it seems like there should be, anyway.
...just thinking...


Hey -  by the time somebody comes along that really does know what they are talking about,  you'll probably have worked it out all by yourself!     :)






.



fat_basterd21

    Topic Starter


    Apprentice

    Thanked: 15
  • Experience: Experienced
  • OS: Windows Vista
Re: installing usb flash/hd drive
« Reply #4 on: January 06, 2007, 06:27:46 PM »
you were correct but its your sites that got me in the right direction. so this is what I did....


first of all I edited /etc/fstab and added /dev/sda1 /mnt/usb vfat noauto,users,rw,umask=0 0 0

then I right-clicked on the desktop and went to: create new---link to device---hard disk device.

/dev/sda1 now appeared in the drop down for the devices and that was all it took....

Thaanx
CAPS LOCK IS CRUISE-CONTROL FOR COOL!!!

WillyW



    Specialist
  • Thanked: 29
  • Experience: Experienced
  • OS: Windows XP
Re: installing usb flash/hd drive
« Reply #5 on: January 07, 2007, 07:36:47 AM »
Quote
you were correct but its your sites that got me in the right direction. so this is what I did....


first of all I edited /etc/fstab and added /dev/sda1 /mnt/usb vfat noauto,users,rw,umask=0 0 0

then I right-clicked on the desktop and went to: create new---link to device---hard disk device.

/dev/sda1 now appeared in the drop down for the devices and that was all it took....

Thaanx

Great!
and now you've recorded it for the masses that will visit here looking to learn how to do it too.     :D
.