Re: Move installation to larger partition
* soko.tica[2017-05-04 13:30:31 +0200]: > I am not quite sure I actually understand properly what you want to > achieve, but it shouldn't be possible to "rsync programs". If it is > actually possible, it is not a proper way to do it. > > I recomment getting all the installed programs on the existing drive, e.g: > $ pkg_info -m | tee myinstalledprograms > and then sending myinstalledprograms, say, as an attachment to yourself to > your e-mail address. After a fresh install on new hdd, donwload your > myinstalledprograms and > $ doas pkg_add -l myinstalledprograms > Also, you may save your ~/.xinitrc /etc/rc.local /etc/pf.conf.local and > other config stuff as a *.tar.gz and recreate your config on new install > within minutes. > Ok, problem is solved. Not exactly what I wanted, but is best way. Ddd a new install, install programs, and moved my files over. Just didn't want to downlaod everything again. System is up and running. A few things to tweak, but all is well. Have plenty of room now. Thanks everybody. Mike > On Wed, May 3, 2017 at 10:19 PM, Michael wrote: > > > I am finally getting close to filling my / partition. There is no room > > on this disk to growfs/newfs. However, I have a lot of space by > > reducing the size of windows partition. Is it possible to move my > > openbsd system to the larger space available and modify grub2 for > > booting, and /etc/fstab for uuid? > > > > Or, perhaps do a fresh install and then rsync files and programs? > > I'm just trying to keep everything I have and save a lot of time > > reinstalling everything. > > > > I'm not trying to do crazy stuff, just getting my system up and going > > again with more room :) > > > > Thanks > > ___ > > Openbsd-newbies mailing list > > Openbsd-newbies@sfobug.theapt.org > > http://mailman.theapt.org/listinfo/openbsd-newbies > > ___ Openbsd-newbies mailing list Openbsd-newbies@sfobug.theapt.org http://mailman.theapt.org/listinfo/openbsd-newbies
Re: Move installation to larger partition
I'd back up the hd before beginning. I recommend studying https://www.openbsd.org/faq/ and https://www.michaelwlucas.com/os/ao2e (Absolute OpenBSD, 2nd Edition) See chapter on multiboot installation. Good luck! Daniel Villarreal On 05/03/2017 04:19 PM, Michael wrote: > I am finally getting close to filling my / partition. There is no room > on this disk to growfs/newfs. However, I have a lot of space by > reducing the size of windows partition. Is it possible to move my > openbsd system to the larger space available and modify grub2 for > booting, and /etc/fstab for uuid? > > Or, perhaps do a fresh install and then rsync files and programs? > I'm just trying to keep everything I have and save a lot of time > reinstalling everything. > > I'm not trying to do crazy stuff, just getting my system up and going > again with more room :) > > Thanks ___ Openbsd-newbies mailing list Openbsd-newbies@sfobug.theapt.org http://mailman.theapt.org/listinfo/openbsd-newbies
Re: Move installation to larger partition
I am not quite sure I actually understand properly what you want to achieve, but it shouldn't be possible to "rsync programs". If it is actually possible, it is not a proper way to do it. I recomment getting all the installed programs on the existing drive, e.g: $ pkg_info -m | tee myinstalledprograms and then sending myinstalledprograms, say, as an attachment to yourself to your e-mail address. After a fresh install on new hdd, donwload your myinstalledprograms and $ doas pkg_add -l myinstalledprograms Also, you may save your ~/.xinitrc /etc/rc.local /etc/pf.conf.local and other config stuff as a *.tar.gz and recreate your config on new install within minutes. On Wed, May 3, 2017 at 10:19 PM, Michaelwrote: > I am finally getting close to filling my / partition. There is no room > on this disk to growfs/newfs. However, I have a lot of space by > reducing the size of windows partition. Is it possible to move my > openbsd system to the larger space available and modify grub2 for > booting, and /etc/fstab for uuid? > > Or, perhaps do a fresh install and then rsync files and programs? > I'm just trying to keep everything I have and save a lot of time > reinstalling everything. > > I'm not trying to do crazy stuff, just getting my system up and going > again with more room :) > > Thanks > ___ > Openbsd-newbies mailing list > Openbsd-newbies@sfobug.theapt.org > http://mailman.theapt.org/listinfo/openbsd-newbies > ___ Openbsd-newbies mailing list Openbsd-newbies@sfobug.theapt.org http://mailman.theapt.org/listinfo/openbsd-newbies