Dodavanje ulaza za druge distribucije u LILO

Potrebna vam je pomoć pri instalaciji? U ovom forumu možete postavljati pitanja.

Moderator: Urednik


Administrator
Administrator
offline
User avatar

Posts: 4591
Joined: 04 Feb 2011, 20:32
Location: Beograd
Contact:

Post Napisano: 09 Apr 2012, 14:38


Postavi ceo lilo.conf da pogledamo. ;)



Prijatelj foruma
Prijatelj foruma
offline
User avatar

Posts: 1053
Joined: 18 Feb 2012, 15:14
Location: Despotovac
Contact:

Post Napisano: 09 Apr 2012, 14:59


Code: Select all

petar@petar:~$ cat /etc/lilo.conf
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
# Append any additional kernel parameters:
append=" vt.default_utf8=0"
boot = /dev/sda

# Boot BMP Image.
# Bitmap in BMP format: 640x480x8
  bitmap = /boot/slack.bmp
# Menu colors (foreground, background, shadow, highlighted
# foreground, highlighted background, highlighted shadow):
  bmp-colors = 255,0,255,0,255,0
# Location of the option table: location x, location y, number of
# columns, lines per column (max 15), "spill" (this is how many
# entries must be in the first column before the next begins to
# be used.  We don't specify it here, as there's just one column.
  bmp-table = 60,6,1,16
# Timer location x, timer location y, foreground color,
# background color, shadow color.
  bmp-timer = 65,27,0,255

# Standard menu.
# Or, you can comment out the bitmap menu above and 
# use a boot message with the standard menu:
#message = /boot/boot_message.txt

# Wait until the timeout to boot (if commented out, boot the
# first entry immediately):
prompt
# Timeout before the first entry boots.
# This is given in tenths of a second, so 600 for every minute:
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
  reset
# Normal VGA console
vga = normal
# Ask for video mode at boot (time out to normal in 30s)
#vga = ask
# VESA framebuffer console @ 1024x768x64k
#vga=791
# VESA framebuffer console @ 1024x768x32k
#vga=790
# VESA framebuffer console @ 1024x768x256
#vga=773
# VESA framebuffer console @ 800x600x64k
#vga=788
# VESA framebuffer console @ 800x600x32k
#vga=787
# VESA framebuffer console @ 800x600x256
#vga=771
# VESA framebuffer console @ 640x480x64k
#vga=785
# VESA framebuffer console @ 640x480x32k
#vga=784
# VESA framebuffer console @ 640x480x256
#vga=769
# End LILO global section
# Windows bootable partition config begins
other = /dev/sda1
  label = Windows
  table = /dev/sda
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/root
  label = Slackware
  read-only
# Linux bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/sda5
  initrd = /boot/initrd.img
  label = Cinnamon
  read-only
# Linux bootable partition config ends



Prijatelj foruma
Prijatelj foruma
offline

Posts: 441
Joined: 11 Jan 2012, 23:04
Location: Ratkovo, Srbija
Contact:

Post Napisano: 09 Apr 2012, 15:30





Prijatelj foruma
Prijatelj foruma
offline
User avatar

Posts: 1053
Joined: 18 Feb 2012, 15:14
Location: Despotovac
Contact:

Post Napisano: 09 Apr 2012, 15:59


Neka stoji ovo kao poslednje rešenje ako ni jedno ne može da se nađe. Ne instalira mi se baš bootloader na svaku particiju. Ja, osim Mint-a, bih ubacio i Kubuntu i Crunchbang...



Administrator
Administrator
offline
User avatar

Posts: 4591
Joined: 04 Feb 2011, 20:32
Location: Beograd
Contact:

Post Napisano: 09 Apr 2012, 16:40


Code: Select all

# LILO configuration file
append=" vt.default_utf8=0"
boot = /dev/sda

bitmap = /boot/slack.bmp
bmp-colors = 255,0,255,0,255,0
bmp-table = 60,6,1,16
bmp-timer = 65,27,0,255

prompt
# Timeout before the first entry boots. This is given in tenths of a second, so 600 for every minute:
timeout = 1200
change-rules
  reset
vga = normal

# Windows bootable partition config begins
other = /dev/sda1
  label = Windows
  table = /dev/sda
# Windows bootable partition config ends

# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/root
  label = Slackware
  read-only
# Linux bootable partition config ends

# Linux bootable partition config begins
image = /boot/vmlinuz-3.0.0-12-generic
  root = /dev/sda5
  initrd = /boot/initrd.img-3.0.0-12-generic
  label = Cinnamon
  read-only
# Linux bootable partition config ends
No, pre nego što probaš ovo, da li si siguran da je Mint root na /dev/sda5? Daj da vidimo i grub.conf iz Minta. Mislim da je u pitanju GRUB 1. Da li sam u pravu?
Last edited by bocke on 09 Apr 2012, 16:41, edited 1 time in total.
Reason: ispavljen typo



Prijatelj foruma
Prijatelj foruma
offline
User avatar

Posts: 1053
Joined: 18 Feb 2012, 15:14
Location: Despotovac
Contact:

Post Napisano: 09 Apr 2012, 16:46


Pazi, meni je Grub2 instaliran na particiju na kojoj se nalazi Kubuntu (sda9). Evo ga grub.cfg iz Kubuntu-a:

Code: Select all

bash-4.1$ cat grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}

function load_video {
  insmod vbe
  insmod vga
  insmod video_bochs
  insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(hd0,msdos9)'
search --no-floppy --fs-uuid --set=root 13c9eb93-e2c6-44ea-b57a-864160e6c43c
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  insmod part_msdos
  insmod ext2
  set root='(hd0,msdos9)'
  search --no-floppy --fs-uuid --set=root 13c9eb93-e2c6-44ea-b57a-864160e6c43c
  set locale_dir=($root)/boot/grub/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos9)'
search --no-floppy --fs-uuid --set=root 13c9eb93-e2c6-44ea-b57a-864160e6c43c
insmod jpeg
background_image -m stretch /home/petar/Pictures/Persian_cat_hd_wallpaper.jpg
if [ "${recordfail}" = 1 ]; then
  set timeout=-1
else
  set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='(hd0,msdos9)'
search --no-floppy --fs-uuid --set=root 13c9eb93-e2c6-44ea-b57a-864160e6c43c
insmod jpeg
if background_image /home/petar/Pictures/Persian_cat_hd_wallpaper.jpg; then
  true
else
  set menu_color_normal=white/black
  set menu_color_highlight=black/light-gray
  if background_color 0,71,115; then
    clear
  fi
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
        set gfxpayload="$1"
        if [ "$1" = "keep" ]; then
                set vt_handoff=vt.handoff=7
        else
                set vt_handoff=
        fi
}
if [ ${recordfail} != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'Ubuntu, with Linux 3.3.1-petar' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        gfxmode $linux_gfx_mode
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos9)'
        search --no-floppy --fs-uuid --set=root 13c9eb93-e2c6-44ea-b57a-864160e6c43c
        linux   /boot/vmlinuz-3.3.1-petar root=UUID=13c9eb93-e2c6-44ea-b57a-864160e6c43c ro   quiet splash $vt_handoff
        initrd  /boot/initrd.img-3.3.1-petar
}
menuentry 'Ubuntu, with Linux 3.3.1-petar (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos9)'
        search --no-floppy --fs-uuid --set=root 13c9eb93-e2c6-44ea-b57a-864160e6c43c
        echo    'Loading Linux 3.3.1-petar ...'
        linux   /boot/vmlinuz-3.3.1-petar root=UUID=13c9eb93-e2c6-44ea-b57a-864160e6c43c ro recovery nomodeset 
        echo    'Loading initial ramdisk ...'
        initrd  /boot/initrd.img-3.3.1-petar
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos9)'
        search --no-floppy --fs-uuid --set=root 13c9eb93-e2c6-44ea-b57a-864160e6c43c
        linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos9)'
        search --no-floppy --fs-uuid --set=root 13c9eb93-e2c6-44ea-b57a-864160e6c43c
        linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sda1)" --class windows --class os {
        insmod part_msdos
        insmod ntfs
        set root='(hd0,msdos1)'
        search --no-floppy --fs-uuid --set=root 667C68AE7C687B27
        chainloader +1
}
menuentry "Slackware Linux (Slackware 13.37.0) (on /dev/sda10)" --class gnu-linux --class gnu --class os {
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos10)'
        search --no-floppy --fs-uuid --set=root a9859b3a-1e55-4ea6-91a1-8fe671db8d1c
        linux /boot/vmlinuz root=/dev/sda10
}
menuentry "Slackware Linux (Slackware 13.37.0) (on /dev/sda10)" --class gnu-linux --class gnu --class os {
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos10)'
        search --no-floppy --fs-uuid --set=root a9859b3a-1e55-4ea6-91a1-8fe671db8d1c
        linux /boot/vmlinuz root=/dev/sda10
}
menuentry "Slackware Linux (Slackware 13.37.0) (on /dev/sda10)" --class gnu-linux --class gnu --class os {
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos10)'
        search --no-floppy --fs-uuid --set=root a9859b3a-1e55-4ea6-91a1-8fe671db8d1c
        linux /boot/vmlinuz-generic-2.6.37.6 root=/dev/sda10
}
menuentry "Slackware Linux (Slackware 13.37.0) (on /dev/sda10)" --class gnu-linux --class gnu --class os {
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos10)'
        search --no-floppy --fs-uuid --set=root a9859b3a-1e55-4ea6-91a1-8fe671db8d1c
        linux /boot/vmlinuz-huge-2.6.37.6 root=/dev/sda10
}
menuentry "Sabayon GNU/Linux, with Linux x86_64-3.2.0-sabayon (on /dev/sda11)" --class gnu-linux --class gnu --class os {
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos11)'
        search --no-floppy --fs-uuid --set=root af81e662-81ab-4cdc-9670-a460335d7f63
        linux /boot/kernel-genkernel-x86_64-3.2.0-sabayon ro init=/linuxrc splash=silent,theme:sabayon video=vesafb:ywrap,mtrr:3 vga=791 console=tty1 quiet dokeymap keymap=us domdadm root=UUID=af81e662-81ab-4cdc-9670-a460335d7f63 docrypt
        initrd /boot/initramfs-genkernel-x86_64-3.2.0-sabayon
}
menuentry "Sabayon GNU/Linux, with Linux x86_64-3.2.0-sabayon (recovery mode) (on /dev/sda11)" --class gnu-linux --class gnu --class os {
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos11)'
        search --no-floppy --fs-uuid --set=root af81e662-81ab-4cdc-9670-a460335d7f63
        linux /boot/kernel-genkernel-x86_64-3.2.0-sabayon ro single init_opts=single init=/linuxrc splash=verbose,theme:sabayon video=vesafb:ywrap,mtrr:3 vga=791 console=tty1 quiet dokeymap keymap=us domdadm root=UUID=af81e662-81ab-4cdc-9670-a460335d7f63 docrypt
        initrd /boot/initramfs-genkernel-x86_64-3.2.0-sabayon
}
menuentry "Linux Mint 12 64-bit, 3.0.0-12-generic (/dev/sda5) (on /dev/sda5)" --class gnu-linux --class gnu --class os {
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos5)'
        search --no-floppy --fs-uuid --set=root 7eedd72f-13f0-40f0-82d3-e454be3bb897
        linux /boot/vmlinuz-3.0.0-12-generic root=UUID=7eedd72f-13f0-40f0-82d3-e454be3bb897 ro quiet splash vt.handoff=7
        initrd /boot/initrd.img-3.0.0-12-generic
}
menuentry "Linux Mint 12 64-bit, 3.0.0-12-generic (/dev/sda5) -- recovery mode (on /dev/sda5)" --class gnu-linux --class gnu --class os {
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos5)'
        search --no-floppy --fs-uuid --set=root 7eedd72f-13f0-40f0-82d3-e454be3bb897
        linux /boot/vmlinuz-3.0.0-12-generic root=UUID=7eedd72f-13f0-40f0-82d3-e454be3bb897 ro recovery nomodeset
        initrd /boot/initrd.img-3.0.0-12-generic
}
menuentry "CrunchBang Linux, with Linux 3.2.0-0.bpo.1-amd64 (on /dev/sda8)" --class gnu-linux --class gnu --class os {
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos8)'
        search --no-floppy --fs-uuid --set=root ee4aff19-db71-4fbf-90b9-496c0daba243
        linux /boot/vmlinuz-3.2.0-0.bpo.1-amd64 root=UUID=ee4aff19-db71-4fbf-90b9-496c0daba243 ro quiet splash
        initrd /boot/initrd.img-3.2.0-0.bpo.1-amd64
}
menuentry "CrunchBang Linux, with Linux 3.2.0-0.bpo.1-amd64 (recovery mode) (on /dev/sda8)" --class gnu-linux --class gnu --class os {
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos8)'
        search --no-floppy --fs-uuid --set=root ee4aff19-db71-4fbf-90b9-496c0daba243
        linux /boot/vmlinuz-3.2.0-0.bpo.1-amd64 root=UUID=ee4aff19-db71-4fbf-90b9-496c0daba243 ro single
        initrd /boot/initrd.img-3.2.0-0.bpo.1-amd64
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###



Administrator
Administrator
offline
User avatar

Posts: 4591
Joined: 04 Feb 2011, 20:32
Location: Beograd
Contact:

Post Napisano: 09 Apr 2012, 17:55


Ako je instaliran na tu particiju onda za njega nije ni potreban. Njega ćemo pozvati direkt. Nego ovaj Cinammon, to je Mint? Šta on koristi?



Prijatelj foruma
Prijatelj foruma
offline
User avatar

Posts: 1053
Joined: 18 Feb 2012, 15:14
Location: Despotovac
Contact:

Post Napisano: 09 Apr 2012, 20:40


Isto grub2... Da, mint je, okruženje u mint-u.
Evo sadržaja grub.cfg:

Code: Select all

bash-4.1$ cat grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}

function load_video {
  insmod vbe
  insmod vga
  insmod video_bochs
  insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set=root 7eedd72f-13f0-40f0-82d3-e454be3bb897
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  insmod part_msdos
  insmod ext2
  set root='(hd0,msdos5)'
  search --no-floppy --fs-uuid --set=root 7eedd72f-13f0-40f0-82d3-e454be3bb897
  set locale_dir=($root)/boot/grub/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ]; then
  set timeout=-1
else
  set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 0,0,0; then
  clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/06_mint_theme ###
set menu_color_normal=white/black
set menu_color_highlight=white/light-gray
### END /etc/grub.d/06_mint_theme ###

### BEGIN /etc/grub.d/10_linux ###
if [ ${recordfail} != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'Linux Mint 12 64-bit, 3.0.0-12-generic (/dev/sda5)' --class linuxmint --class gnu-linux --class gnu --class os {
        recordfail
        set gfxpayload=$linux_gfx_mode
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos5)'
        search --no-floppy --fs-uuid --set=root 7eedd72f-13f0-40f0-82d3-e454be3bb897
        linux   /boot/vmlinuz-3.0.0-12-generic root=UUID=7eedd72f-13f0-40f0-82d3-e454be3bb897 ro   quiet splash vt.handoff=7
        initrd  /boot/initrd.img-3.0.0-12-generic
}
menuentry 'Linux Mint 12 64-bit, 3.0.0-12-generic (/dev/sda5) -- recovery mode' --class linuxmint --class gnu-linux --class gnu --class os {
        recordfail
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos5)'
        search --no-floppy --fs-uuid --set=root 7eedd72f-13f0-40f0-82d3-e454be3bb897
        echo    'Loading Linux 3.0.0-12-generic ...'
        linux   /boot/vmlinuz-3.0.0-12-generic root=UUID=7eedd72f-13f0-40f0-82d3-e454be3bb897 ro recovery nomodeset 
        echo    'Loading initial ramdisk ...'
        initrd  /boot/initrd.img-3.0.0-12-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/10_lupin ###
### END /etc/grub.d/10_lupin ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos5)'
        search --no-floppy --fs-uuid --set=root 7eedd72f-13f0-40f0-82d3-e454be3bb897
        linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos5)'
        search --no-floppy --fs-uuid --set=root 7eedd72f-13f0-40f0-82d3-e454be3bb897
        linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sda1)" --class windows --class os {
        insmod part_msdos
        insmod ntfs
        set root='(hd0,msdos1)'
        search --no-floppy --fs-uuid --set=root 667C68AE7C687B27
        chainloader +1
}
menuentry "CrunchBang Linux, with Linux 3.2.0-0.bpo.1-amd64 (on /dev/sda8)" --class gnu-linux --class gnu --class os {
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos8)'
        search --no-floppy --fs-uuid --set=root ee4aff19-db71-4fbf-90b9-496c0daba243
        linux /boot/vmlinuz-3.2.0-0.bpo.1-amd64 root=UUID=ee4aff19-db71-4fbf-90b9-496c0daba243 ro quiet splash
        initrd /boot/initrd.img-3.2.0-0.bpo.1-amd64
}
menuentry "CrunchBang Linux, with Linux 3.2.0-0.bpo.1-amd64 (recovery mode) (on /dev/sda8)" --class gnu-linux --class gnu --class os {
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos8)'
        search --no-floppy --fs-uuid --set=root ee4aff19-db71-4fbf-90b9-496c0daba243
        linux /boot/vmlinuz-3.2.0-0.bpo.1-amd64 root=UUID=ee4aff19-db71-4fbf-90b9-496c0daba243 ro single
        initrd /boot/initrd.img-3.2.0-0.bpo.1-amd64
}
menuentry "Slackware (on /dev/sda9)" --class gnu-linux --class gnu --class os {
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos9)'
        search --no-floppy --fs-uuid --set=root 016a06a3-7732-4c69-9478-676ae5ed6107
        linux /boot/vmlinuz root=/dev/sda9 ro  vt.default_utf8=0 vga = normal
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
To je on napravio kad sam ga instalirao, davno beše :) Onda sam ja ponovo vratio grub2 na Kubuntu (dev/sda9).



Prijatelj foruma
Prijatelj foruma
offline
User avatar

Posts: 1053
Joined: 18 Feb 2012, 15:14
Location: Despotovac
Contact:

Post Napisano: 12 Apr 2012, 18:07


E, ovako:
Napravljen je mali pomak. Nakon izmene lilo-ovog konfiguracionog fajla (/etc/lilo.conf) da izgleda ovako:

Code: Select all

boot = /dev/sda
     
  bitmap = /boot/slack.bmp
  bmp-colors = 255,0,255,0,255,0
  bmp-table = 60,6,1,16
  bmp-timer = 65,27,0,255
     
prompt
timeout = 10
change-rules
  reset
vga = normal

# Windows bootable partition config begins
other = /dev/sda1
  label = Windows
  table = /dev/sda
# Windows bootable partition config ends

# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/sda6
  label = Slackware
  read-only
# Linux bootable partition config ends
Windows i Linux (Slackware) se uredno učitavaju pri odabiru u LILO-u. Probao sam sa ubacivanjem novih sistema (ulaza) i situacija je sledeća:

Kad stavim parametar initd izbaci grešku pri komandi:

Code: Select all

su -c lilo
Fatal error i pominje initrd i kaže da ne može da ga nađe. Kad izbacim taj parametar, onda uredno, nakon prethodne komande, izlista sve sisteme. ali kad startujem neki sistem (osim Windows-a i Slackware-a) iz LILO-a krene učitavanje i dođe do prijavnog ekrana.

Tu sve stane, blinka kursor u polju Password, ali miš i tastatura ne reaguju. Pa mora fizički restart. Tako da sam opet morao da vratim grub2 :)



Administrator
Administrator
offline
User avatar

Posts: 4591
Joined: 04 Feb 2011, 20:32
Location: Beograd
Contact:

Post Napisano: 12 Apr 2012, 18:14


Hajde da probamo ovako. Daj prvo izlaz

Code: Select all

blkid
Zatim napiši na kojoj je particiji koji operativni sistem.


Post Reply

Who is online

Users browsing this forum: No registered users and 22 guests