-
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
-
Found it... Right click on sdb icon and select Change Read/Write options... DUH.
-
Senior Member
registered user
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
-
By jim2000 in forum General Support
Replies: 3
Last Post: 03-21-2008, 02:52 PM
-
By mcrae in forum Hardware & Booting
Replies: 2
Last Post: 09-20-2006, 12:54 PM
-
By tac in forum General Support
Replies: 1
Last Post: 09-02-2004, 02:44 AM
-
By boo ya in forum General Support
Replies: 6
Last Post: 07-16-2004, 12:41 PM
-
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
-
Forum Rules

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX
$59.99

GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5
$119.99

Corsair RMe RM850e 850W 80 Plus Gold Fully Modular Low Noise Certified Refurb
$56.99

Gigabyte GA-B85M-D3H Motherboard
$54.99

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard
$59.99

Asus Prime B660M-A AC D4 Motherboard Intel LGA 1700 14th 13th 12th Gen DDR4
$79.99

Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)
$29.90

ASUS PRIME H410M-K LGA 1200 Intel 10th Gen H410 DDR4 USB3.2 Motherboard M-ATX
$59.99

MSI B450M PRO-VDH MAX MicroATX AM4 DDR4 HDMI AMD Motherboard
$69.99

Dell XPS 8940 Desktop Motherboard Intel H470 LGA1200 DDR4 K3CM7 KV3RP 427JK
$154.99