Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2012
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Question Help With Linux From Scratch.

    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. #2
    Join Date
    Jun 2012
    Location
    Inside a German cannibal.
    Posts
    27
    Thanks
    2
    Thanked 4 Times in 4 Posts
    Rep Power
    0
    unmount the partition first:

    umount /dev/sda

  3. #3
    Join Date
    Jul 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by db-linux View Post
    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?
    use parted on the command line or gparted for a gui in order to create or modify a partition.
    Last edited by ddd-222; 07-10-2012 at 07:15 PM. Reason: mike just is right, i didn't read thoroughly.

  4. #4
    Join Date
    Jul 2012
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    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. #5
    Join Date
    May 2012
    Posts
    27
    Thanks
    0
    Thanked 1 Time in 1 Post
    Rep Power
    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.

 

 

Similar Threads

  1. Replies: 0
    Last Post: 11-01-2011, 08:59 AM

Bookmarks

Posting Permissions

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








Check out Linux Central for Linux software and other goodies!





» Stats

Members: 3,541
Threads: 3,912
Posts: 9,423
Top Poster: Fred (1,486)
Welcome to our newest member, permeno34

» Links



Powered by vBadvanced CMPS