Re: resize freebsd slice

2010-06-12 Thread Rolf Nielsen
2010-06-12 15:50, Giorgos Tsiapaliokas skrev: i have a problem while i am trying to restore the dump files.. i followed your instructions but when i give restore -rf /backup/root.dump i receive the following error: expected next file 188417,got 4 and the output of ls in the /mnt directory

Re: resize freebsd slice

2010-06-12 Thread Polytropon
On Sat, 12 Jun 2010 04:32:17 +0300, Giorgos Tsiapaliokas terie...@gmail.com wrote: i have a problem while i am trying to restore the dump files.. i followed your instructions but when i give restore -rf /backup/root.dump i receive the following error: expected next file 188417,got 4

Re: resize freebsd slice

2010-06-12 Thread Polytropon
On Sat, 12 Jun 2010 17:28:49 +0300, Giorgos Tsiapaliokas terie...@gmail.com wrote: YES i have read what everyone said and yes i gave the L command when i dumped the / but i didn't mounted / as read-only when i made the dump file. That is okay - as long as -L (dump live file system) is given.

resize freebsd slice

2010-06-11 Thread Giorgos Tsiapaliokas
hello, in my machine i have gentoo and freebsd installed. i was using gentoo until i installed successfully FBSD,now i want to make my FBSD slice bigger.. i have 4 slices: ad0s1-gentoo ad0s2-linux swap ad0s3-free space (no type) ad0s4-FBSD ad0s4a-/ ad0s4b-FBSD swap ad0s4c-/home how can i make

Re: resize freebsd slice

2010-06-11 Thread Matthias Apitz
El día Friday, June 11, 2010 a las 11:30:00AM -0200, Giorgos Tsiapaliokas escribió: hello, in my machine i have gentoo and freebsd installed. i was using gentoo until i installed successfully FBSD,now i want to make my FBSD slice bigger.. i have 4 slices: ad0s1-gentoo ad0s2-linux

Re: resize freebsd slice

2010-06-11 Thread Rolf Nielsen
2010-06-11 15:30, Giorgos Tsiapaliokas skrev: hello, in my machine i have gentoo and freebsd installed. i was using gentoo until i installed successfully FBSD,now i want to make my FBSD slice bigger.. i have 4 slices: ad0s1-gentoo ad0s2-linux swap ad0s3-free space (no type) ad0s4-FBSD

Re: resize freebsd slice

2010-06-11 Thread Jerry McAllister
On Fri, Jun 11, 2010 at 07:17:23PM +0300, Giorgos Tsiapaliokas wrote: thanks for the information but the point is that i don't know how to merge s4 and s3 with sysinstall. You just delete those two slices and then make a new s3 that contains all the space of both. jerry

Re: resize freebsd slice

2010-06-11 Thread Rolf G Nielsen
2010-06-11 19:17, Giorgos Tsiapaliokas skrev: ok,but if i delete this 2 slices then i will delete my entire system.. then should i have to install it from the beggining,but i don't want to do that. ___ freebsd-questions@freebsd.org mailing list

Re: resize freebsd slice

2010-06-11 Thread Jerry McAllister
On Fri, Jun 11, 2010 at 08:17:14PM +0300, Giorgos Tsiapaliokas wrote: ok,but if i delete this 2 slices then i will delete my entire system.. That is why some of the other respondents said you must first create a good dump(8) of those two slices (or at least the one with stuff in it).You

Re: resize freebsd slice

2010-06-11 Thread Polytropon
On Sat, 12 Jun 2010 01:00:57 +0300, Giorgos Tsiapaliokas terie...@gmail.com wrote: i read the manuals about dump,but they say that if i take a back up of my / then dump will not make a backup for /home and /usr. my /home directory is empty but i need the /usr directory. what should i do?

Re: resize freebsd slice

2010-06-11 Thread Jerry McAllister
On Sat, Jun 12, 2010 at 01:00:57AM +0300, Giorgos Tsiapaliokas wrote: i read the manuals about dump,but they say that if i take a back up of my / then dump will not make a backup for /home and /usr. my /home directory is empty but i need the /usr directory. what should i do? dump works on

Re: resize freebsd slice

2010-06-11 Thread Jerry McAllister
On Sat, Jun 12, 2010 at 01:46:57AM +0300, Giorgos Tsiapaliokas wrote: only /home is in a diferent partition,but i don't care because i don't have any file in it (only .xinitrc,but this is not a prob) i give as a root the command dump -0Lauf /mnt/hd/FBSD/ /dev/ad0s3a but i receive the

Re: resize freebsd slice

2010-06-11 Thread Polytropon
On Sat, 12 Jun 2010 01:46:57 +0300, Giorgos Tsiapaliokas terie...@gmail.com wrote: only /home is in a diferent partition,but i don't care because i don't have any file in it (only .xinitrc,but this is not a prob) i give as a root the command dump -0Lauf /mnt/hd/FBSD/ /dev/ad0s3a but i

Re: resize freebsd slice

2010-06-11 Thread Polytropon
On Sat, 12 Jun 2010 02:04:06 +0300, Giorgos Tsiapaliokas terie...@gmail.com wrote: the output of the command df -h /dev/ad0s3a 19G6.5G 11G37%/ devfs 1.0K1.0K 0B 100%/dev /dev/ad0s3d2.5G186M2.1G 8%/home /dev/da0s1 149G

Re: resize freebsd slice

2010-06-11 Thread Polytropon
On Sat, 12 Jun 2010 02:17:17 +0300, Giorgos Tsiapaliokas terie...@gmail.com wrote: /mnt/hd/ is the directory of my external hard disk and /mnt/hd/FBSD is the directory of FBSD folder within the hard disk. Please try to use the correct terminology (yes, I know, I'm picky about that): FreeBSD

Re: resize freebsd slice

2010-06-11 Thread Polytropon
On Sat, 12 Jun 2010 02:30:13 +0300, Giorgos Tsiapaliokas terie...@gmail.com wrote: i used the restart option but still i had the same error. Have you previously deleted the created file from the external hard disk? Can you provide mount -v /dev/da0s1? if i make my hard disk a UFS file

Re: resize freebsd slice

2010-06-11 Thread Polytropon
On Sat, 12 Jun 2010 03:12:57 +0300, Giorgos Tsiapaliokas terie...@gmail.com wrote: after the formats how i will restore my system? With restore. :-) First of all, after you've created a new slice, and within the slice partitions as desired (you can easily do this from the FreeBSD live system