PDA

View Full Version : Big problem with FC4+Ispconfig+partitions+2 disks


vocoder
9th March 2006, 08:38
I setup ispconfig in a Fedora Core 4 System following the Perfect setup tutorial.
During the installation I made a very bad mistake. I make the installation in two Hard disks. But now I want to transfer all the partitions in the one disk because I must use the second disk for a backup disk. I would make a new installation but I have setting up 30 sites so far.

My fstab is the following:

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
/dev/devpts /dev/pts devpts gid=5,mode=620 0 0
/dev/shm /dev/shm tmpfs defaults 0 0
/dev/proc /proc proc defaults 0 0
/dev/sys /sys sysfs defaults 0 0
LABEL=SWAP-sda2 swap swap defaults 0 0
/dev/fd0 /media/floppy auto pamconsole,exec,noauto,managed 0 0
/dev/hdc /media/cdrom auto pamconsole,exec,noauto,managed 0 0


************************************************** ********************

The command mount gives the following :
/dev/sdb1 on / type ext3 (rw)
/dev/proc on /proc type proc (rw)
/dev/sys on /sys type sysfs (rw)
/dev/devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda1 on /boot type ext3 (rw)
/dev/shm on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
/proc on /var/named/chroot/proc type none (rw,bind)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
automount(pid1976) on /misc type autofs (rw,fd=4,pgrp=1976,minproto=2,maxproto=4)
automount(pid2003) on /net type autofs (rw,fd=4,pgrp=2003,minproto=2,maxproto=4)


************************************************** ********************

And finally my menu.lst is the following :

#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.11-1.1369_FC4smp)
root (hd0,0)
kernel /vmlinuz-2.6.11-1.1369_FC4smp ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.11-1.1369_FC4smp.img
title Fedora Core-up (2.6.11-1.1369_FC4)
root (hd0,0)
kernel /vmlinuz-2.6.11-1.1369_FC4 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.11-1.1369_FC4.img
************************************************** ********************

Can anyone help me to make this tranfer step by step because i am not a linux expert;

Thank you very very very much :)

falko
9th March 2006, 09:48
latcarf has written this nice tutorial: http://www.howtoforge.com/windows_linux_dual_boot where he uses SystemRescueCD to repartition his disk. You should try that. :)