initramfs oluşturmak.
cd /boot
mkinitrd -c
cd initrd-tree
find . | cpio -H newc -o > ../initrd.cpio
/etc/lilo.conf dosyası içeriği.
# Start LILO global section
boot = /dev/disk/by-id/ata-ST3320620AS_ABCD1234
compact
lba32
# LILO doesn't like same volume IDs of RAID 1
disk = /dev/sdb inaccessible
default = Windows
bitmap = /boot/slack.bmp
bmp-colors = 255,0,255,0,255,0
bmp-table = 60,6,1,16
bmp-timer = 65,27,0,255
# Append any additional kernel parameters:
append=" vt.default_utf8=1"
prompt
timeout = 35
# End LILO global section
image = /boot/vmlinuz
append = "root=UUID=2cc11aaf-f838-4474-9d9a-f3881569f97c"
label = Linux
read-only
image = /boot/vmlinuz.rescue
append = "root=UUID=2cc11aaf-f838-4474-9d9a-f3881569f97c"
label = Rescue
read-only
other = /dev/sda
# Windows doesn't go to S3 sleep and has issues with backup,
# unless it sees its disk as first in BIOS...
boot-as = 0x80
label = Windows
other = /dev/disk/by-id/ata-ST3320620AS_ABCD1234-part4
label = OSX
deneyen olursa yorum kısmana yazmanızı rica ediyorum.
Kaynak : http://nil-techno.blogspot.com.tr/2012/01/using-lilo-to-boot-disks-by-uuid.html
Yorum Gönder