Re: Creating an empty partition (for raw device)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2002.06.25 15:30 Amy Tanner wrote:
On Mon, Jun 24, 2002 at 09:57:27PM +0100, Ian Leonard
(ileonard@xxxxxxxxxxxx) wrote:
> Hello,
>
> The system I am developing uses a rawdevice to store data.
> For this, kickstart needs to create an empty partition. The 'part'
> command could be run (I would suppose) with the '--noformat'
> option but the mount point looks mandatory.

I could not find a way to do this and I needed a raw partition as well.
I ended up just removing it from /etc/fstab in the %post.

Yes, I tried various different options but nothing worked. In the end
I did this in the %post.

fdisk /dev/hda<<!
n
p
4


w
q
! Not elegent and I haven't really tested yet but it seems to work. It assumes
the raw device is on partition 4 (which it has to be) and doesn't require a
lengthy format.

--
Ian Leonard
eMail: ileonard@xxxxxxxxxxxx
Phone: +44 (0)1865 765273

Please ignore spelling and punctuation - I did.





[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux