現在 mount された 場所には なーんも ありません
# cd /mnt/ # mkdir boot # mkdir boot/grub # cd boot/grub/ # cp /boot/grub/* . # diff -s grub.conf menu.lst Files grub.conf and menu.lst are identical # cat grub.conf ... # pwd /mnt/boot/grub # ls device.map grubimg.xpm.gz reiserfs_stage1_5 vstafs_stage1_5 e2fs_stage1_5 iso9660_stage1_5 stage1 xfs_stage1_5 fat_stage1_5 jfs_stage1_5 stage2 ffs_stage1_5 menu.lst stage2_eltorito grub.conf minix_stage1_5 ufs2_stage1_5 # cd # umount /mnt/
grub 設定
# grub GNU GRUB version 0.97 (640K lower / 3072K upper memory) [ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename.] grub> find /boot/grub/stage1 (fd0) (hd1,0) (hd1,2) (hd1,4) (hd2,0) grub> root (hd2,0) Filesystem type is ext2fs, partition type 0x83 grub> setup (hd2) Checking if "/boot/grub/stage1" exists... yes Checking if "/boot/grub/stage2" exists... yes Checking if "/boot/grub/e2fs_stage1_5" exists... yes Running "embed /boot/grub/e2fs_stage1_5 (hd2)"... 24 sectors are embedded. succeeded Running "install /boot/grub/stage1 (hd2) (hd2)1+24 p (hd2,0)/boot/grub/stage2 /boot/grub/grub.conf"... succeeded Done. grub> quit
USB から boot 可能 な 計算機ですので
# shutdown -r now
にゃんたろう 拝!
2014年 1月 25日 土曜日 22:02:07 JST 作成