[syslinux] chainboot Windows on second drive
H. Peter Anvin
hpa at zytor.com
Mon Jun 16 12:49:42 PDT 2008
H. Peter Anvin wrote:
> Aeron Draxar wrote:
>>
>> I still need some help to install 3.70-pre17. I tried to install from
>> Ubuntu and I had the same issue than with Fedora: I've lost all my
>> partitions. I may have done something wrong.
>> I untar the archive, make, make extbootinstaller, then cat
>> core/extlinux.bss > /dev/sda. Reboot and crak, no more partitions.
>> How do install extlinux from this pre17 archive?
>>
>
> Ah, yes, that would be very bad (you just wiped out your partition
> table, and possibly your first partition metadata.)
>
> Instead, mount the partition and run the extlinux installer. Assuming
> you want extlinux installed in /boot/extlinux on the device:
>
> mount /dev/sda1 /mnt
> syslinux-3.70-preXX/extlinux/extlinux -i /mnt/boot/extlinux
> cp -f syslinux-3.70-preXX/com32/*/*.c32 /mnt/boot/extlinux
> umount /mnt
>
Actually, even better (new in 3.70):
cd syslinux-3.70-preXX
mount /dev/sda1 /mnt
make extbootinstall INSTALLROOT=/mnt EXTLINUXDIR=/boot/extlinux
./extlinux/extlinux -i /mnt/boot/extlinux
umount /mnt
-hpa
More information about the Syslinux
mailing list