Help With Linux From Scratch.

Discussion in 'General Computing' started by db-linux, Jul 10, 2012.

  1. db-linux

    db-linux New Member

    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    I am trying to make my oww distro using LFS but i cant seem to create a new partition on my computer...
    i try this command:
    fdisk /dev/hda
    but i get an error that there is no such file or directory, so i tried:
    fdisk /dev/sda
    and it gave an error that the disk is in use...

    So how to i make my partition then?

  2. mcneely.mike

    mcneely.mike New Member

    Messages:
    27
    Likes Received:
    6
    Trophy Points:
    0
    unmount the partition first:

    umount /dev/sda
  3. ddd-222

    ddd-222 New Member

    Messages:
    3
    Likes Received:
    1
    Trophy Points:
    0
    use parted on the command line or gparted for a gui in order to create or modify a partition.
  4. GoinEasy9

    GoinEasy9 New Member

    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    You might also want to consider something like partedmagic, which is a live Linux distro. It doesn't use your hard drive, so, nothing is mounted. Once it boots up you can go directly to partitioning your hard disk drive.
    Using fdisk for partitioning is dangerous.
  5. JimBobIII

    JimBobIII New Member

    Messages:
    27
    Likes Received:
    2
    Trophy Points:
    0
    When in doubt, always use a graphical partition editor. Much harder to make mistakes, although it's certainly still possible. Asking for help and making certain you're doing something right is always a great idea when it comes to screwing with your data.

Share This Page