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 -- Sincerely,
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 appreciatedDid 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
On Tue, Aug 10, 2010 at 6:03 PM, Thomas B?chler <thomas at archlinux.org> wrote:> Am 10.08.2010 16:44, schrieb Face: >> i have 7 img files in /boot/grub >> ls /boot/grub |grep .img >> boot.img >> cdboot.img >> core.img >> diskboot.img >> kernel.img >> lnxboot.img >> pxeboot.img >> >> which one is the initrd filename ?(my guess is kernel.img ) > > None of them. They are all part of grub. > > > _______________________________________________ > 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. > > >so where i can find it or how can i create an initrc.img ? -- Sincerely,