A question about automatic disk partitioning.

Jason Kohles email at jasonkohles.com
Thu Oct 12 20:25:44 UTC 2006


On Oct 12, 2006, at 3:56 PM, George R Goffe wrote:

> Howdy,
>
> I'm trying to get the enclosed partition map setup by
> kickstart. I keep getting the message "Unable to locate
> partition sda1 to use for /boot".
>
> The snipit below is from the ks.cfg file that
> system-config-kickstart generated. Is this a bug in
> anaconda or system-config-kickstart or am I doing
> something wrong?
>

Partitions specified to --onpart must already exist.  If you specify  
--onpart then --size is ignored, so if you are specifying --size AND  
--onpart, then you are doing something wrong...

> Please help.
>
> Regards,
>
> George...
>
>
> # Disk partitioning information
> part /boot --asprimary --bytes-per-inode=4096
> --fstype="ext3" --onpart=sda1 --size=1024
> part / --asprimary --bytes-per-inode=4096 --fstype="ext3"
> --onpart=sda2 --size=1024
> part swap --asprimary --bytes-per-inode=4096
> --fstype="swap" --onpart=sda3 --size=1024
> part /var --bytes-per-inode=4096 --fstype="ext3"
> --onpart=sda5 --size=1024
> part /opt --bytes-per-inode=4096 --fstype="ext3"
> --onpart=sda6 --size=3072
> part /usr --bytes-per-inode=4096 --fstype="ext3"
> --onpart=sda7 --size=12288
> part /home --bytes-per-inode=4096 --fstype="ext3" --grow
> --onpart=sda8 --size=1
>
>
> =====
>     _/_/_/_/ _/_/_/_/ _/_/_/_/ _/_/_/   _/_/_/_/ _/_/_/_/ -----
>    _/       _/       _/    _/ _/    _/ _/       _/
>   _/  _/_/ _/_/_/_/ _/    _/ _/_/_/   _/  _/_/ _/_/_/_/ -----
>  _/    _/ _/       _/    _/ _/   _/  _/    _/ _/
> _/_/_/_/ _/_/_/_/ _/_/_/_/ _/    _/ _/_/_/_/ _/_/_/_/ -----
> "It's not what you know that hurts you, It's what you know that  
> ain't so." Will Rogers
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list at redhat.com
> https://www.redhat.com/mailman/listinfo/kickstart-list
>

-- 
Jason Kohles
email at jasonkohles.com
http://www.jasonkohles.com/
"A witty saying proves nothing."  -- Voltaire





More information about the Kickstart-list mailing list