Moving Debian installation to another partition.



Hello kind people.

The story is, that I want to install FreeBSD on my computer, but
unfortunately i don't have spare primary partition (only logical one), and
as freBSD documentation says, I can only install it on primary partition, so
I'm thinking to move my current Debian installatin from primary partiion to
logical one.

here is my fdisk -l


/dev/sda1 * 1 2610 20964793+ 7 HPFS/NTFS
/dev/sda2 2611 3656 8401995 83 Linux
/dev/sda3 3657 3899 1951897+ 82 Linux swap / Solaris
/dev/sda4 3900 38913 281249924+ 5 Extended
/dev/sda5 3900 4872 7815591 83 Linux
/dev/sda6 4873 38913 273434301 83 Linux

Debian is on dev/sda2, i'm moving it to /dev/sda5

After some research and thinking(!), my plan is to do following steps:

1. mount /dev/sda5 /mnt
2. cp -ax /* /mnt
3. modify /mnt/boot/grub/menu.lst
4. modify /mnt/etc/fstab

So, am I missing something? Will these four steps be enough?
My current Debian install is approx 2 years old, and I don't want to screw
it up.

Any suggestions are greatly appreciated, and thanks in advance!!



Regards
-------------
Roman


Relevant Pages

  • Re: FreeBSD on a PC with Windows
    ... in the FreeBSD Handbook. ... -- Make room to install FreeBSD. ... is called a primary partition in MS World. ... new slice in the freed up space. ...
    (freebsd-questions)
  • Re: Can I install Free BSD latest version on my laptop with dual boot?
    ... Can I install Free BSD latest version on my laptop with dual boot (Windows ... small slice (Primary Partition) with diagnostic and maintenance stuff ... on first and the MS slice on second, ...
    (freebsd-questions)
  • Re: setting up dual boot windows xp pro, and windows 64 bit
    ... install xp pro 64 bit on another primary partition. ... For some PC you can use the F8 to choose which disk to boot from. ...
    (microsoft.public.windowsxp.setup_deployment)
  • Re: Primary Drive Space Problem
    ... I followup by suggesting that you install a second, fast HD, with a 2.1 GB ... primary partition at its head and assign the page file to it exclusively, ... > default settings, will set the pagefile to 1.5 x that amount, roughly 1.12 ... This file is part of the virtual memory mechanisms - no need to open ...
    (microsoft.public.windowsxp.basics)
  • Re: Moving Debian installation to another partition.
    ... The story is, that I want to install FreeBSD on my computer, but unfortunately i don't have spare primary partition, and as freBSD documentation says, I can only install it on primary partition, so I'm thinking to move my current Debian installatin from primary partiion to logical one. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)