Re: Migrate primary disk (duplicate)

2005-08-02 Thread alexandre . delay
I made several tests. the exact problem is to install the freebsd boot manager. But your fdisk -B -b /boot/boot0 should have done that. I'm not sure if it has defaults that would work for you though. boot0cfg tells you what defaults it will use and lets you change them. I agree with you

Migrate primary disk (duplicate)

2005-08-01 Thread alexandre . delay
Hi guys I saw a post on http://lists.freebsd.org/pipermail/freebsd-questions/2003-October/023454.html I am actually trying to migrate from one disk to an other. I need to write a script to do it with several computers. The thing is that it works perfectly when I use the fdisk's

Re: Migrate primary disk (duplicate)

2005-08-01 Thread alexandre . delay
I already did that. as I told you, when I use sysinstall instead of fdisk, there is no problem. I tried every combination: fdisk -I ad3 fdisk -B -b /boot/mbr ad3 fdisk -I ad3 fdisk -B -b /boot/boot0 ad3 fdisk -B -b /boot/mbr -I ad3 ... the disk doesn't boot. I also tried to

resizing virtual disk (vn0)

2005-07-25 Thread alexandre . delay
hi, I am searching how to resize a virtual disk created with: # dd if=/dev/zero of=newimage bs=1k count=5k 5120+0 records in 5120+0 records out # vnconfig -s labels -c vn0 newimage # disklabel -r -w vn0 auto # newfs vn0c Warning: 2048 sector(s) in last cylinder unallocated

securing FreeBSD

2005-07-13 Thread alexandre . delay
hi guys I would like to secure my FreeBSD server. I don't want anyone to be able to access to the disk using a bootable CD (or by setting the actual hdd to secondary and plug an other primary hdd). I just don't want anyone to be able to hack this box nor any password. Do you have a solution?

Re: Per disk quota

2005-07-11 Thread alexandre . delay
Alexandre D. wrote: Hi guys, I'm searching for a way to set a limit per directory. for example: directorylimit /web/dir11Go /web/dir210Mo /web/dir3100Mo /web/dir4175Mo This system would be used by only one program (image