Help With Linux From Scratch.

D

db-linux

Guest
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?
 


D

ddd-222

Guest
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.
 
G

GoinEasy9

Guest
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.
 
J

JimBobIII

Guest
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.
 


Members online


Latest posts

Top