• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Need some Linux help

engineereeyore

Platinum Member
I'm currently running Fedora Core 6. I have a 250GB NTFS hard drive that I want to wipe and use on my Fedora installation. I'm trying to mount it to /mnt/Share.

Does anyone know the commands to do this? I'm ssh'ing into the machine, though I am using X window. So if anyway has some ideas how I can get this drive up and running, please let me know. It is recognized as hdb, just need to get it into a condition that I can write to it.

Thanks for any help.
 
If all you want to do is format the drive then run 'mke2fs -m 0 -j /dev/whatever' and add an entry to /etc/fstab so it'll be mounted on bootup. But be sure you use the right device name in that mke2fs command otherwise you might end up formatting the wrong drive.
 
You'll need to determine what the device is mapped to:

dmesg | grep hd

You should see it in the list somewhere. If not, the kernel or the bios did not recognize the drive.

fdisk the drive to create partitions:

fdisk /dev/hdX

Create a new partition and change the type to "Linux"

As nothinman said, you'll need to initialize a files system on the drive:

mke2fs /dev/hdX1

Next step is to mount the drive to a folder...

mount /dev/hdX1 /mnt/Share

Further instruction for the same process in Gentoo
 
Thanks guys. That worked. I thought I needed fdisk and mke, but forgot that I had to be logged in as root for those to work. Otherwise, it says they don't exist.

Anyway, thanks again. Works now!
 
Thanks guys. That worked. I thought I needed fdisk and mke, but forgot that I had to be logged in as root for those to work. Otherwise, it says they don't exist.

Because they're in /sbin which isn't in regular user's PATH by default. You can still use at least mkfs if you have correct rights on the device/file but I'm not sure about fdisk.
 
Back
Top