現状
sv:~# df Filesystem 1k-blocks Used Available Use% Mounted on /dev/hda7 20315812 3211188 16055984 17% / /dev/hda8 20641788 1090668 18502480 6% /var/data /dev/hda10 20641788 2588484 17004664 14% /mnt
マウントポイントディレクトリを作成 /dev/hda1 を マウント
sv:~# mkdir qmt sv:~# mount -t vfat /dev/hda1 qmt/ sv:~# ls qmt/ 001oexec.bat* device.raw* gem.bat* kernel.sys* shell.raw* autoexec.bat* fdconfig.sys* gemapps/ org-exec.bat* work/ command.com* fdos/ hda7_ker* setup.bat*
カーネルのコピー
sv:~# cp /mnt/vmlinuz-2.4.31 qmt/hda10_ker
sv:~# ls qmt/
001oexec.bat* device.raw* gem.bat* hda7_ker* setup.bat*
autoexec.bat* fdconfig.sys* gemapps/ kernel.sys* shell.raw*
command.com* fdos/ hda10_ker* org-exec.bat* work/
sv:~# umount qmt/
sv:~# rmdir qmt/
sv:~# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda7 20315812 3211188 16055984 17% /
/dev/hda8 20641788 1090668 18502480 6% /var/data
/dev/hda10 20641788 2588484 17004664 14% /mnt
sv:~# umount /mnt/
sv:~# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda7 20315812 3211188 16055984 17% /
/dev/hda8 20641788 1090668 18502480 6% /var/data
sv:~# mount /dev/fd0 /mnt/
sv:~# cd /mnt/boot/grub/
sv:/mnt/boot/grub# mv menu.lst 20090112_flors-370-menu.lst
sv:/mnt/boot/grub# cp 20090112_flors-370-menu.lst menu.lst
sv:/mnt/boot/grub# vi menu.lst
sv:/mnt/boot/grub# diff -s menu.lst 20090112_flors-370-menu.lst
12,24d11
<
< # %%%%%%%%%%% plamo 4.03 /Linux on /dev/hda10 %%%%%%%%%
< # For booting plamo 4.03 /Linux
< # plamo on /dev/hda10
< # Use kernel /dev/hda1/hda10_ker as /vmlinuz-2.4.31
< # root=/dev/hda10 ro
< # kernel /vmlinuz root=/dev/hda10 ro vga 16 unicon=euc
< # BIOS
<
< title plamo 4.03 Nyan Nyan for /dev/hda10 For SerVer
< kernel (hd0,0)/hda10_ker root=/dev/hda10 ro
<
<
これで 上手く立ち上がれば 有り難いのですが?
ほたら 立ち上がるか 確認しませう。
sv:/mnt/boot/grub# cd sv:~# umount /mnt/ sv:~# shutdown -r now Broadcast message from root (pts/0) (Sat Feb 6 22:58:47 2010): The system is going down for reboot NOW! sv:~# Connection to 192.168.24.9 closed by remote host. Connection to 192.168.24.9 closed.
にゃんたろう 拝!
2010年 5月24日 (月) 21:08:03 JST 作成