Results 1 to 6 of 6

Thread: writing to floppies, Fat partitions, and USB drives

  1. #1
    Junior Member
    Join Date
    Sep 2005
    Posts
    8

    writing to floppies, Fat partitions, and USB drives

    I am running Knoppix 3.1 ( because it has Lyx) on a Windows 98 system.

    If I want to save data ( from Lyx) on a floppy or the windows drive, or a USB external
    keychain drive, do I have to remount the floppy etc?

    Is it true that Knoppix 3.1. by default mounts the floppy drive, the USB drive, The Windows drive as READ ONLY?

    If I have to remount so that I can write to the floppy or other drives, how do I do this--From the command line please--because I LOATHE the graphical interfaces, and much prefer to use the console.
    thanks
    Penny

  2. #2
    Senior Member registered user
    Join Date
    Aug 2003
    Posts
    126
    # Back up data to USB device.
    From a terminal window, as user knoppix, type in the following commands, pressing <enter> after each line.

    su
    modprobe usb-storage
    mkdir /mnt/usbstore
    mount -t vfat /dev/sda1 /mnt/usbstore
    lyxpage > /mnt/usbstore/lyxpage
    umount /mnt/usbstore


    # Back up data to floppy disk
    From a terminal window, as user knoppix, type in the following commands, pressing <enter> after each line.

    su
    mount /mnt/floppy
    lyxpage > /mnt/floppy/lyxpage
    umount /mnt/floppy

    These commands should work for Knoppix 3.1. You may need to umount the devices first if they are mounted, but they are usually unmounted when Knoppix first boots up.
    Hope this helps.
    Regards,
    Mark Preston

  3. #3
    Junior Member
    Join Date
    Sep 2005
    Posts
    8
    Dear mark,
    Thank you.

    If I want to save a latex file created by lyx to a floppy etc, do I just replace lyxpage in your answer with the path to the texfile?

    The command would read?

    with thanks,
    Penny

    I am quite new to linux and knoppix. But, I am learning--this forum is VERY helpful.

  4. #4
    Senior Member registered user
    Join Date
    Aug 2003
    Posts
    126
    If I want to save a latex file created by lyx to a floppy etc, do I just replace lyxpage in your answer with the path to the texfile?
    Yes, that's right.
    The above commands assume that you are in the directory that contains the latex file that you are trying to save.
    Otherwise the full path to the filename could be used.
    Also, if you want to restore a saved file from the storage device you just reverse the arrow.
    i.e.
    lyxpage < /mnt/usbstore/lyxpage

  5. #5
    Senior Member registered user
    Join Date
    Aug 2003
    Posts
    126
    Hi Penny,
    I'm sorry to say the previous commands don't work as I thought they would.
    Since I've never created a lyx file or used lyx I thought I'd better check.
    I used a Knoppix 3.3 version and this is what I did.
    Firstly I opened a terminal window and typed lyx.
    This then needed to be typed again to get the lyx program started.
    Then, using lyx, I created a small file and using the drop down menus exported it as a latex file.
    Then I opened another terminal window and typed the following commands

    knoppix@ttyp1[knoppix]$ ls
    Desktop newfile1.tex tmp
    knoppix@ttyp1[knoppix]$ cp newfile1.tex /mnt/floppy/newfile1.tex
    knoppix@ttyp1[knoppix]$ su
    root@ttyp1[knoppix]# mkdir /mnt/usbstore
    root@ttyp1[knoppix]# mount -o uid=knoppix -t vfat /dev/sda1 /mnt/usbstore
    root@ttyp1[knoppix]# exit
    exit
    knoppix@ttyp1[knoppix]$ cp newfile1.tex /mnt/usbstore/newfile1.tex
    knoppix@ttyp1[knoppix]$

    ls checks the contents of knoppix's home directory and shows newfile1.tex is present.
    Then I put in my floppy disk.
    cp newfile1.tex /mnt/floppy/newfile1.tex
    copies the newfile.tex to the floppy disk
    Then I put in my usbstick
    The rest of the commands were used to create a directory on which to mount the usb drive and copy the newfile1.tex data to the usbstick.
    Hopefully you should have more success with the above set of commands.
    Regards,
    Mark Preston

  6. #6
    Junior Member
    Join Date
    Sep 2005
    Posts
    8

    new commands

    Dear Mark,
    Thank you for going the extra mile for me!
    all best
    Penny

Similar Threads

  1. Floppies?
    By PupSpark in forum General Support
    Replies: 0
    Last Post: 03-22-2009, 05:59 PM
  2. knoppix how i mount the partitions(ext3) in writing mode?
    By schreibebrett in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 06-24-2005, 05:11 PM
  3. cfdisk partitions and knoppix mounted drives disagree?
    By randolphtaco in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 06-20-2005, 08:23 PM
  4. Renaming Hard Drives/Partitions
    By Mustang64 in forum Hdd Install / Debian / Apt
    Replies: 12
    Last Post: 04-25-2005, 10:21 PM
  5. Problems with USB drives and writing to /mnt
    By Ewen in forum General Support
    Replies: 2
    Last Post: 07-07-2004, 05:44 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 R640 Server | 2x Silver 4114 20 Cores | 16GB | 2x HDD Trays picture

Dell Poweredge R640 Server | 2x Silver 4114 20 Cores | 16GB | 2x HDD Trays

$1349.99



Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB picture

Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB

$510.00



Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD picture

Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD

$79.19



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox picture

Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox

$340.00



Dell PowerEdge R730, 2 sinks, SystemBoard, 8 trays,H330,Idrac 8 exp, 2x750w Psu picture

Dell PowerEdge R730, 2 sinks, SystemBoard, 8 trays,H330,Idrac 8 exp, 2x750w Psu

$135.00



Dell Poweredge R730xd 2.5in 2x E5-2690 v3 2.6ghz 24-Cores  64gb  H730  2x 750w picture

Dell Poweredge R730xd 2.5in 2x E5-2690 v3 2.6ghz 24-Cores 64gb H730 2x 750w

$189.99



CTO Dell PowerEdge R630 Server, 2x Xeon E5-2620V4, 64GB- 512GB RAM, 480GB SSDs picture

CTO Dell PowerEdge R630 Server, 2x Xeon E5-2620V4, 64GB- 512GB RAM, 480GB SSDs

$246.67



DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45

$284.00



DELL R730XD Server 2x E5-2680v4 2.4GHz =28 Cores 128GB H730 4x 1.2TB SAS 4xRJ45 picture

DELL R730XD Server 2x E5-2680v4 2.4GHz =28 Cores 128GB H730 4x 1.2TB SAS 4xRJ45

$504.00