mkbootdisk --device /dev/fd0 `uname -r'
在debian的對應指令為何
版主: mufa
Anonymous 寫:bash:~# mkboot path_to_kernel
for example: mkboot /boot/vmlinuz-2.4.16-686
Creating a lilo bootdisk...
Kernel is at /boot/vmlinuz-2.4.20-1-686 in /boot
Matching initrd image is /boot/initrd.img-2.4.20-1-686
Found kernel image /vmlinuz in existing /etc/lilo.conf
and the correct initrd.img as well.
Your current /etc/lilo.conf looks good, and can be used
as the basis for the boot-floppy lilo.conf.
Here is the proposed lilo.conf:
# floppy lilo.conf
boot = /dev/fd0
install = boot.b
map = map
lba32
delay=20
vga=normal
default=LinuxOLD
# kernel-specific:
image=/vmlinuz
label=Linux
initrd=/initrd.img
read-only
root = /boot/vmlinuz-2.4.18-bf2.4
You can install the boot-loader from this best guess,
or you can try to install from a `vanilla\' lilo.conf .
Anonymous 寫:用了之後已可以開機不過會出現:
kernel panic: could not mount root fs (類似這樣)
不論我選B OR V都是這樣
Drake 寫:我發現在你 floppy 裏的 lilo.conf 裏有一行有問題
root = /boot/vmlinuze-2.4.20
不太正確
應該是類似如下
root = /dev/hda1
之類的
怎麼會 root 還是指到 kernel image
你可以自己檢查一下 /etc/lilo.conf 裏的 root 設到哪
再更改在 floppy 下的 lilo.conf 到那個值(記得先 mount floppy)
good luck
image=/vmlinuz.old
label=LinuxOLD
initrd=/boot/initrd.debinstall
read-only
optional
# restricted
# alias=2
正在瀏覽這個版面的使用者:沒有註冊會員 和 1 位訪客