Hi,
I'm trying to do an automated install RHEL 5 on a HP server keeping the sources
on the hardrive.
Total size of the disk is 70GB.
I do the following steps:
a) create a single partition (say, /dev/sssd1, type ext2, )
b) copy the mbr,
c) copy the diskboot.img contents (basically loopmount the diskboot.img present
in the RHEL DVD to a tmp directory & then copy the contents) onto it,
d) install the "extlinux" bootloader on it,
e) copy the RHEL dvd iso on it.
f) store a ks.cfg that has the following line:
part / --size 4096 --grow --onpart=/dev/sssd1 --noformat
When I reboot & the RedHat installer starts up, it throws up a message saying:
"Could not allocate the requested partition".
If I exclude the --noformat, it runs into problems while formatting /dev/sssd1.
I presume that this is because I'm trying to install on the same partition that
has the installation sources. That's like cutting the
branch i'm sitting on.
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?
Thanks & Regards,
Ananth.
_________________________________________________________________
New Windows 7: Simplify what you do everyday. Find the right PC for you.
http://windows.microsoft.com/shop_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list