Re: mke2fs hangs during partitioning phase

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

 



> Martin, when you run the mke2fs "manually" in %post,
> is it a %post --nochroot or a regular %post?  If it's
> a regular %post, what happens if you try it with a
> %post --chroot?

It's a regular %post, I basically have the following code:

echo , | sfdisk /dev/rd/c0d1
mke2fs /dev/rd/c0d1p1
cat <<EOF >>/etc/fstab
/dev/rd/c0d1p1          /HardDriveBay1          ext2    defaults        1 2
EOF
mkdir /HardDriveBay1
mount /HardDriveBay1

I don't think this stuff would work using the --nochroot option.





[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