HD Install :: Can't make appropriate filesystems



Using fdisk, I repartitioned a hard disk preparatory to a frugal install. Having created three partitions (so fdisk -p confirms), I wanted to put ext2 filesystems on two of them and make the third a swap partition.

Having rebooted the computer from the live cd, I tried to run mke2fs /dev/hda1, but was told the partition was mounted. I then tried umount /dev/hda1, but was told the device was busy.

How do I unmount the partition so that I can put a filesystem on it?

Edit: I suppose the answer would be obvious to anyone but me, but just in case ... I booted up with another live cd than DSL. Settings I'd saved to use with the DSL live cd were preventing me from unmounting hda1.

Usally, you have to reboot after creating a partition. This way the OS can then see the newly created partition. If not you can use the "umount /dev/hda" command.

Hope it helps.
:)

Thanks very much for taking the trouble to reply, 300c_pilot. I solved my particular problem by booting up with the SystemRescue live cd, which didn't mount hda1. That made it easy to put a filesystem on hda1. I was then able to do the frugal install.

Thanks again,

Leslie


original here.