#boot your customcd image
#set root passwd
sudo passwd
#change to root
su
#set the user passwd
passwd user
#create a mount point
mkdir /hda5
#mount the partition
mount /dev/hda5 /hda5
#copy the system over, exclude a few things
rsync -a / /hda5/ --exclude=/{hda5,live,sys,proc,media}/
#create proc, sys, and media folders
mkdir /hda5/proc /hda5/sys /hda5/media
#chroot into partition
chroot /hda5/
#install grub - will only setup grub for this installation
grub-install hd0
update-grub
#remove fstab
rm /etc/fstab
#create new fstab (example below)
nano /etc/fstab
#exit chroot
exit
#reboot
reboot
#/etc/fstab example
Code: Select all
proc /proc proc defaults 0 0
/dev/hda5 / ext3 defaults 0 1