[syslinux] Replace grub with extlinux
Face
falazemi at gmail.com
Tue Aug 10 02:40:12 PDT 2010
On Tue, Aug 10, 2010 at 11:42 AM, Bjørn Mork <bjorn at mork.no> wrote:
> Face <falazemi at gmail.com> writes:
>
>> Hello all,
>>
>> I am trying to replace grub with extlinux without any luck. I did
>> remove the grub from my root Partition and boot from a LiveCD. I
>> install syslinux and did those steps
>>
>> Boot Partition:
>> mkdir -pv /mnt/sda1
>> mke2fs -jv /dev/hda1
>> mkfs -t ext3 /dev/hda1
>> mount /dev/hda1 /mnt/sda1
>>
>> Root Partition
>> export SDB1=/mnt/sdb1
>> mkdir -pv $SDB1
>> mount -v -t ext3 /dev/hdb1 $SDB1
>>
>> SWAP Partition
>> /sbin/swapon -v /dev/hdb5
>>
>> Installing extlinux to /dev/sda1
>> dd if=/dev/zero of=/dev/sda bs=446 count=1
>> dd if=/mnt/sdb1/usr/share/syslinux/mbr.bin of=/dev/sda
>> install -d /mnt/sda1/boot
>> /sbin/extlinux --install /mnt/sda1/boot
>>
>> Writing extlinux.conf file
>> export ExtlinuxConf=/mnt/sda1/boot/extlinux.conf
>> echo "DEFAULT AlDimnaOS" > $ExtlinuxConf
>> echo "LABEL AlDimnaOS" >> $ExtlinuxConf
>> echo " KERNEL /boot/vmlinux-2.6.34-AlDimnaOS-0.0.0.1" >> $ExtlinuxConf
>> echo " APPEND initrd=/boot/vmlinux-2.6.34-AlDimnaOS-0.0.0.1
>> root=/dev/sdb1 ro quiet splash" >> $ExtlinuxConf
>> echo " TIMEOUT 100" >> $ExtlinuxConf
>> echo " PROMPT 1" >> $ExtlinuxConf
>>
>> Copy vmlinux to boot Partition
>> cp /mnt/sdb1/boot.old/vmlinux-2.6.34 \
>> /mnt/sda1/boot/vmlinux-2.6.34
>>
>>
>> any help would be greatly appreciated
>
> Did you remember to set the active flag on the /dev/hda1 partition?
>
> If that's not it, then I guess describing defining "without any luck"
> would help. Do you see any error messages? Does it still boot grub?
> Exactly what problems do you see?
>
>
> Bjørn
>
> _______________________________________________
> Syslinux mailing list
> Submissions to Syslinux at zytor.com
> Unsubscribe or set options at:
> http://www.zytor.com/mailman/listinfo/syslinux
> Please do not send private replies to mailing list traffic.
>
>
I did set the active flag on the /dev/hda1 and there is no error
message whatsoever . the thing i am not sure of is in the
extlinux.conf
KERNEL /boot/vmlinux-2.6.34
APPEND initrd=/boot/vmlinux-2.6.34 root=/dev/sdb1 ro quiet splash
i use the same file to KERNAL and APPEND
--
Sincerely,
More information about the Syslinux
mailing list