現在持っているものの フロッピデスク を 作成した grub の ヴァージョンが
# grub --version grub (GNU GRUB 0.95)
ということなので、該当する部分のみを書き換えると 使えるはずと考えました (趣旨からいえば 関係ないよということ なのですが)
menu.lst を 変更してみましょうその前に まず 現状のものをみておきましょ う移動して
# pwd /boot # ls System.map@ grub/ kernel.h System.map-2.6.16-0vl68 initrd-2.6.16-0vl68.img vmlinuz@ System.map.old@ initrd.img@ vmlinuz-2.6.16-0vl68 config-2.6.16-0vl68 initrd.old.img@ vmlinuz.old@ # cd grub/ # ls default ffs_stage1_5 menu.lst stage2 device.map grub.conf@ menu.lst.rpmsave stage2_eltorito device.map.rpmsave grub.conf.rpmsave@ minix_stage1_5 ufs2_stage1_5 e2fs_stage1_5 iso9660_stage1_5 reiserfs_stage1_5 vstafs_stage1_5 fat_stage1_5 jfs_stage1_5 stage1 xfs_stage1_5
menu.lst を 覗いてみましょう
# cat menu.lst
# menu.lst generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd1,0)
# kernel /boot/vmlinuz-version ro root=/dev/sda1
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=0
timeout=5
title Vine Linux (Current kernel)
root (hd1,0)
kernel /boot/vmlinuz ro root=LABEL=/1234 resume2=swap:/dev/sda2 vga=0x314
initrd /boot/initrd.img
title Vine Linux (Previous kernel)
root (hd1,0)
kernel /boot/vmlinuz.old ro root=LABEL=/1234 resume2=swap:/dev/sda2 vga=0x314
initrd /boot/initrd.old.img
title Other
rootnoverify (hd0,0)
chainloader +1
ディスク(ファイル)の構成の 抜粋を みると
# fdisk -l Disk /dev/sda: 64 heads, 32 sectors, 38175 cylinders Units = cylinders of 2048 * 512 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 10000 10239984 83 Linux /dev/sda2 10001 10120 122880 82 Linux swap
材料は揃ったようです 書き換えを行いましょう。