Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

making a disc image

  • 23-09-2003 5:06pm
    #1
    Registered Users, Registered Users 2 Posts: 2,518 ✭✭✭


    How would it be possible to make an image of a freebsd partition to restore from later?

    I'm going to give debian a try for a while and I'll have to install it over the partition that my current freebsd installation is on; I don't want to lose this setup because everything works properly on it :)


Comments

  • Registered Users, Registered Users 2 Posts: 2,755 ✭✭✭niallb


    Hi,
    a good approach would be to boot from a linux boot disk/cdrom
    like knoppix and use the 'dd' command to make a block for block copy.

    fdisk -l should show you which partition your freebsd installation is on.
    Lets assume it's /dev/hda3 as seen by linux:
    Find a disk with enough free space to back up the partition
    (might be hard!) and mount it on /mnt/otherpartition

    you would then use,
    dd if=/dev/hda3 of=/mnt/otherpartition/backup-image

    If space is tight, you could compress it through bzip2 or gzip like this:
    dd if=/dev/(yourfreebsdpartition) | bzip2 > /mnt/otherpartition/backup-image.bz2

    NiallB


Advertisement