deloptes wrote: > Just did this yesterday on a RHEL server - it actually doesn't matter what > linux is there. It all works the same way. > > I used EFI so I setup GPT and created the 3 partitions marking the first > (EFI) as bootable. > Format all as required and mount for example > mount /dev/sdd2 /mnt/target > mount /dev/sdd1 /mnt/target/boot/efi > mount /dev/sdd3 /mnt/target/home > > After this I copied all the required content to those partitions. > Adjust the /etc/fstab (use UUIDs - this is the most important part) >
Perhaps I should add that I usually debootstrap debian at this step. > blkid /dev/sda1 etc to get the UUID > > Run grub-install --root.... --boot-efi ... /dev/sdd and so on. > > Double check /mnt/target/boot/grub.conf it must have your root UUID > Double check /mnt/target/boot/efi/EFI/redhat/grub.conf it must have your > root UUID > don't know how it looks like with debian and EFI - it is still on my todo list > Rebooted and voila it works. > > regards Perhaps I should write a howto as I see +1 interested