Moving Debian installation to another partition.
- From: Roman Khomasuridze <khomasuridze@xxxxxxxxx>
- Date: Sat, 9 Oct 2010 23:26:53 +0400
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
- Follow-Ups:
- Re: Moving Debian installation to another partition.
- From: Andrew McGlashan
- Re: Moving Debian installation to another partition.
- From: Hugo Vanwoerkom
- Re: Moving Debian installation to another partition.
- From: Greg Madden
- Re: Moving Debian installation to another partition.
- Prev by Date: Re: Debian-installer crashes
- Next by Date: Re: Howto add autostartup applications
- Previous by thread: How to change jpg time stamp using exiv2
- Next by thread: Re: Moving Debian installation to another partition.
- Index(es):
Relevant Pages
|