Results 1 to 3 of 3

Thread: Write to a USB

  1. #1
    Junior Member
    Join Date
    Dec 2008
    Posts
    2

    Write to a USB

    Good Evening All,

    I am currently in an introduction to UNIX class and am having an issue getting started with an assignment. The assignment calls for booting to Knoppix (I am using version 5.5.1) and creating directories on external media using the command prompt rather than the GUI.

    All is well until I try to create directories on my flash drive (I have tried many, all formatted FAT) (I also ensured that the drive is plugged in pre-boot)

    I get an error that says that the drive is read only whenever I do a mkdir foldername

    The directory is as such
    Root - Media - sdb

    I checked the permissions at Root/Media/ and sbd (flash drive) folders and they all suggest write access.

    Any thoughts or guidance would be appreciated.

    Thank You

  2. #2
    Junior Member
    Join Date
    Dec 2008
    Posts
    2
    Found it... Right click on sdb icon and select Change Read/Write options... DUH.

  3. #3
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    or you could do
    Code:
    sudo  mount -t vfat /dev/pendrive /mnt/pendrive -o rw,users
    Replace pendrive with whatever fits your situation (sdb in this case) .

    to be successfull you should do this when the disk is NOT YET MOUNTED!
    that is plug it in AFTER boot and do NOT touch any icons...
    or even better start knoppix in runlevel 2 ( knoppix 2 ,at bootprompt) which is console only, then mount it manually.
    just remember unmounting it befre removing it and wait untill it is fully unmounted before removing it, otherwise it can be damaged.

    Code:
    umount /mnt/pendrive
    by the way runlevels 2, 3, and 4 are all text only, runlevel 0 is halt, runlevel 6 =reboot and runlevel 1 is single user admin mode.
    you can change runlevel with init or telinit.

    same goes for may other linux distributions, runlevels 0 and 6 are more or less set in stone, and 95% on runlevel 1, but not all have any non gui mode.

    by the way, here you have a very short intensive course in textode linux if you want to try, http://floppix.com/labs.html
    in my popinion it is hard to beat for short and to the point learning, true it is somewhat outdated in few areas, but not too bad.

Similar Threads

  1. Could Not Write to...
    By jim2000 in forum General Support
    Replies: 3
    Last Post: 03-21-2008, 02:52 PM
  2. cannot write on ext hdd
    By mcrae in forum Hardware & Booting
    Replies: 2
    Last Post: 09-20-2006, 12:54 PM
  3. Cannot write to HDs
    By tac in forum General Support
    Replies: 1
    Last Post: 09-02-2004, 02:44 AM
  4. cant write to hdd
    By boo ya in forum General Support
    Replies: 6
    Last Post: 07-16-2004, 12:41 PM
  5. Cannot write to hd HELP!
    By Juggalo_X in forum Hardware & Booting
    Replies: 6
    Last Post: 07-08-2003, 06:34 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Dell PowerEdge R620 2x Xeon E5-2630 v2 3.1GHz 2.5

Dell PowerEdge R620 2x Xeon E5-2630 v2 3.1GHz 2.5" 4-BAY 32GB RAM No OS 2x 495w

$174.95



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Dell Poweredge R720 8SFF 2.5

Dell Poweredge R720 8SFF 2.5" 2x Xeon E5-2680 v2 2.8GHz 20-Cores 64gb 4x Trays

$259.99



Dell R640 Diskless Servers 2x Gold 18-Cores 6254 3.10GHz CPU, 32gb RAM, No Raid picture

Dell R640 Diskless Servers 2x Gold 18-Cores 6254 3.10GHz CPU, 32gb RAM, No Raid

$699.00



Dell Poweredge R720 8SFF 2.5

Dell Poweredge R720 8SFF 2.5" x Xeon E5-2680 v2 2.8GHz 20-Cores 128gb 4x Trays

$349.99



Dell Poweredge R630 2x Xeon E5-2680 v4 2.4ghz 28-Core | 32GB | HBA330 | 2x 1100w picture

Dell Poweredge R630 2x Xeon E5-2680 v4 2.4ghz 28-Core | 32GB | HBA330 | 2x 1100w

$359.99



Dell PowerEdge R640  8xSFF Server Barebone 2 x Heat Sink w / 2x 1100W PSU picture

Dell PowerEdge R640 8xSFF Server Barebone 2 x Heat Sink w / 2x 1100W PSU

$315.00



Dell Poweredge T420 SFF 2x E5-2430 v2 2.5Ghz / 64gb / H710 / 8x Trays / 2x 495w picture

Dell Poweredge T420 SFF 2x E5-2430 v2 2.5Ghz / 64gb / H710 / 8x Trays / 2x 495w

$394.99



Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb picture

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb

$374.99



Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD picture

Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD

$99.99