Can't make appropriate filesystems


Forum: HD Install
Topic: Can't make appropriate filesystems
started by: lesliek

Posted by lesliek on Mar. 23 2006,04:59
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.

Posted by 300c_pilot on Mar. 23 2006,17:45
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.
:)

Posted by lesliek on Mar. 23 2006,21:16
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

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.