I'm trying to do an automated install RHEL 5 on a HP server keeping the
sources on the hardrive.

...

However, the installation succeeds if I make the following changes in steps
a) through f).
a) Create two partitions: /dev/sssd1 (ext2 of size 4 GB) & /dev/sssd2 (ext2
of size about 66GB)
Steps b) through e) remain the same.
f) ks.cfg has the following lines:
part / --size 4096 --grow --onpart=/dev/sssd2
part /opt --size 4096 --grow --onpart=/dev/sssd1 --noformat

This works. The installation goes through.
But, I'm now left with a system that has two partitions: /dev/sssd2 of size
about 65 GB(mounted on /) & /dev/sssd1 of size about 4GB (mounted on /opt).
 
But, what if the end-user wants just a single partition: /dev/sssd1 (entire
harddisk size) mounted on /?
Is there no way to do that using harddisk installation?

Swap the order of the partitions, making /dev/sssd1 the install-target and /dev/sssd2 the source.

After install copy the contents off from /dev/sssd2 and destroy the partition, resize the install partition and fs.

I'm not a fan of partition resizing but I suppose it's somewhat reliable with parted.

--

  Jussi
_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to