Find the answer to your Linux question:
Results 1 to 4 of 4
Hi i am trying to do partition in my SD card. for that i tried my device name is sdb1. but it says Code: ariem@ariem-desktop:/dev$ fdisk /dev/sdb1 Unable to open ...
  1. #1
    Linux User
    Join Date
    Aug 2008
    Location
    Trichy,India
    Posts
    308

    fdisk command doubt

    Hi i am trying to do partition in my SD card. for that i tried

    my device name is sdb1. but it says

    Code:
    ariem@ariem-desktop:/dev$ fdisk /dev/sdb1
    
    Unable to open /dev/sdb1
    I dont know what will be the problem. Please help me
    Thanks in advance...

  2. #2
    Linux User
    Join Date
    Aug 2008
    Location
    Trichy,India
    Posts
    308
    Now it works fine. I partitionaed my SD card. ANd it shows the out for "print the partition table" is

    Code:
    Disk identifier: 0x00000000
    
         Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1p1               1           4        8032+  83  Linux
    /dev/sdb1p2               5          11       14112   83  Linux
    /dev/sdb1p3              12         956     1905120   83  Linux
    
    Command (m for help):
    Now in what file system this partitions are. And how to change the file system of each partition.
    When i open /media/disk i am not seeing any partitioned part. Just it shows all the things. what is wrong?
    Thanks in advance...

  3. #3
    Linux User
    Join Date
    Aug 2008
    Location
    Trichy,India
    Posts
    308
    Sorry i partitioned only one partion into three. Now i partitoned the whole disk into three partition
    Now i partitoned the whole disk. see the partition table

    Code:
    Disk identifier: 0x00000000
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1               1           4        8032+  83  Linux
    /dev/sdb2               5          11       14112   83  Linux
    /dev/sdb3              12         957     1907136   83  Linux
    Now how to change the file system for each partion?
    i want to change
    first partition as RAW
    Second partition as FAT32
    Third as EXT3
    What are the command i have to give change the file system of each partition. I am confused. Please help me
    Thanks in advance...

  4. #4
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568
    You would need to use ,the option t with fdisk to set a file system type.

    check this site for fdisk tutorial,Partitioning with fdisk

    HTH
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

Posting Permissions

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