Results 1 to 2 of 2

Thread: Help formatting a CompactFlash card with vfat & ext2

  1. #1
    Junior Member
    Join Date
    Sep 2004
    Posts
    1

    Help formatting a CompactFlash card with vfat & ext2

    complete newbie here to the linux/knoppix world. I'm working off of (not very clear) instructions to partition & then format a compact flash card from within Knoppix.

    When I book to the Knoppix 3.6 cd, it does detect and mount as sda1 my CF card which is connected via a USB card reader. I am using a SanDisk 256MB card.
    I did manage to get the two partitions created (I think) as follows:
    sda1p1: size=8MB, format=b (Win95 FAT32)
    sda1p2: size=the rest of the space format=Linux

    Next, I need to format the 2 partitions (they aren't already formatted from creating the partitions, correct?). The commands in my instructions for formating the partitions are:
    ---
    mkfs -t vfat /dev/hd*1
    mkfs -t ext2 /dev/hd*2
    ---
    so, I tried typing the following at a terminal:
    mkfs -t vfat /dev/sda1p1

    and I get the error:
    /dev/sda1p1 - no such file or directory

    Since, I don't know linux at all, I'm not sure where to turn from here. Am I in the wrong directory where I am typing this command? Do I need to mount the partitions first? Is the syntax of this formatting command incorrect? Any help anyone can give would be greatly appreciated! Please give as many specifics as you can in your response!

    Thank you!

  2. #2
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    900
    Try:

    mkfs -t vfat /dev/sda1

Similar Threads

  1. Wlan config using Senao 2511CD/ext2 card - drivers?
    By Muircheartach in forum Networking
    Replies: 0
    Last Post: 10-04-2005, 12:50 AM
  2. boot from CompactFlash Card ext2 formatted
    By poppicu in forum Hardware & Booting
    Replies: 4
    Last Post: 05-03-2005, 10:38 PM
  3. iso to vfat
    By cld in forum Customising & Remastering
    Replies: 2
    Last Post: 07-26-2004, 05:33 PM
  4. pendisk - vfat or ext2?
    By Alexxx in forum Customising & Remastering
    Replies: 7
    Last Post: 03-09-2004, 02:08 PM
  5. vfat not loaded automatically? vfat=fat32 support?
    By pc_dev in forum General Support
    Replies: 1
    Last Post: 02-21-2003, 04:08 PM

Posting Permissions

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


(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray picture

(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray

$174.99



HP ZBook Firefly 14

HP ZBook Firefly 14" G8 Mobile Workstation i5 11th Gen 16GB RAM 256 GB SSD No AC

$184.99



SGIN 17.3

SGIN 17.3" Laptop Intel Quad-Core Up to 2.4 GHZ 8GB RAM 256GB SSD HD

$229.99



Lenovo ThinkPad T14S Gen 1 8-Core Ryzen 7 Pro 4750U 512GB SSD 16GB RAM FAIR BATT picture

Lenovo ThinkPad T14S Gen 1 8-Core Ryzen 7 Pro 4750U 512GB SSD 16GB RAM FAIR BATT

$225.00



Intel Xeon E5 - 2667V2  / SR19W   3.30GHz 25MB  8-Core CPU Socket LGA2011 picture

Intel Xeon E5 - 2667V2 / SR19W 3.30GHz 25MB 8-Core CPU Socket LGA2011

$30.00



AMD Ryzen 7 9800X3D 8-Core 16-Thread AM5 CPU Processor Brand New Unused picture

AMD Ryzen 7 9800X3D 8-Core 16-Thread AM5 CPU Processor Brand New Unused

$395.95



AMD FX 8350 8-CORE 4.00GHz CPU FD8350FRW8KHK SOCKET AM3+ *QTY picture

AMD FX 8350 8-CORE 4.00GHz CPU FD8350FRW8KHK SOCKET AM3+ *QTY

$39.99



AMD Ryzen 7 9700X 8-Core 16-Thread 40MB Cache Socket AM5 9000 Series Processor picture

AMD Ryzen 7 9700X 8-Core 16-Thread 40MB Cache Socket AM5 9000 Series Processor

$245.99



Dell Optiplex 7050 Micro Core i5-7500 8 GB RAM 256GB SSD Microsoft Windows 11 picture

Dell Optiplex 7050 Micro Core i5-7500 8 GB RAM 256GB SSD Microsoft Windows 11

$89.99



Dell T7810 Workstation 8-Core 2.40GHz E5-2630 v3 No RAM GPU HDD OS picture

Dell T7810 Workstation 8-Core 2.40GHz E5-2630 v3 No RAM GPU HDD OS

$259.98