Resizing partitions on expanded vmware disk

2011-08-20 Thread Yannis Milios
Hello! I'm testing openbsd 4.9 on vmware workstation 7.0.2.Initially i installed the system on 10gb scsi disk on vm and openbsd created and sized automatically all the partitions.Trying to install some packages with pkg_add i realized that /usr was getting full so i powered off the vm and expanded

Re: Resizing partitions on expanded vmware disk

2011-08-20 Thread Dmitrij Czarkoff
The easier way - create a new disc image and use bsd.rd to partition, label and format it as needed. When done with it, mount all of Your volumes and use tar or cp to populate the new image. A side effect of this approach is that You can test the new image before loosing the old one. You could

Re: Resizing partitions on expanded vmware disk

2011-08-20 Thread Stuart Henderson
On 2011-08-20, Dmitrij Czarkoff czark...@gmail.com wrote: The easier way - create a new disc image and use bsd.rd to partition, label and format it as needed. When done with it, mount all of Your volumes and use tar or cp to populate the new image. you could also install on a separate vm and

Re: Resizing partitions on expanded vmware disk

2011-08-20 Thread Yannis Milios
Ok i created a new scsi hd (30gb) and put it as second disk on vm. Booted OpenBSD and on boot prompt i gave boot sd0a:/bsd.rd Then i choose (I) for installation and selected the 2nd disk (sd1).Using disklabel it automatically created all partitions and i just resized f: (/usr) partition and gave

Re: Resizing partitions on expanded vmware disk

2011-08-20 Thread Nigel Taylor
On 08/20/11 11:05, Yannis Milios wrote: Ok i created a new scsi hd (30gb) and put it as second disk on vm. Booted OpenBSD and on boot prompt i gave boot sd0a:/bsd.rd Then i choose (I) for installation and selected the 2nd disk (sd1).Using disklabel it automatically created all partitions and i