Re: Kickstart how to detect disks 20.04 LTS

2021-01-07 Thread Jerry Geis
Correct. I am trying to determine the correct disk vda/sda/nvme and then the size. blockdev --getsz /dev/vda in the %pre section did nothing. Perhaps something is not available yet at boot for this to work. Jerry -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify

Re: Kickstart how to detect disks 20.04 LTS

2021-01-07 Thread Ko Ko Ye`
Thank you - however this does not seem to be true. I am a long time CentOS user - and this document seems good for CentOS. - noted However- just something like "editors" that are supposed to be available it says Vi. It is not available on Ubunutu duing install only nano. - ithink tiny vim and

Re: Kickstart how to detect disks 20.04 LTS

2021-01-07 Thread Ko Ko Ye`
VDA for Virtual you must be test hda / sda On Thu, Jan 7, 2021 at 10:46 PM Jerry Geis wrote: > doesnt seem blockdev --getsz /dev/vda is available at %pre time either. > > jerry > > -- with regards *Ko Ko Ye`* +95 97989 22022 +95 94500 22022 +95 9731 47907 kokoye2...@gmail.com

Re: Kickstart how to detect disks 20.04 LTS

2021-01-07 Thread Jerry Geis
doesnt seem blockdev --getsz /dev/vda is available at %pre time either. jerry -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss

Re: Kickstart how to detect disks 20.04 LTS

2021-01-07 Thread Jerry Geis
Thank you - however this does not seem to be true. I am a long time CentOS user - and this document seems good for CentOS. However- just something like "editors" that are supposed to be available it says Vi. It is not available on Ubunutu duing install only nano. However - looks like blockdev

Re: Kickstart how to detect disks 20.04 LTS

2021-01-07 Thread Ko Ko Ye`
https://unix.stackexchange.com/questions/131690/what-commands-are-available-in-the-pre-section-of-a-kickstart-file-on-centos On Thu, Jan 7, 2021 at 8:54 PM Jerry Geis wrote: > How do you "detect" disks in the %pre section of kickstart ??? > > I have tried fdisk - command not available > I

Kickstart how to detect disks 20.04 LTS

2021-01-07 Thread Jerry Geis
How do you "detect" disks in the %pre section of kickstart ??? I have tried fdisk - command not available I tried ln busybox to fdisk and it says applet not available. I tried dmesg | grep vda and dmesg | grep sda - seems as linux has not yet detected teh disk during the pre section... So how