Sada je: 14 svi 2021, 23:27.
Linux, poslužitelj, mreže i sigurnost

Moderator/ica: Moderatori/ce

Ako se ne uradi reinstalacija bootloadera nakon nadogradnje kernela, sistem nece bootati.

Gesendet von meinem MT11i mit Tapatalk 2
Slamd64
Slamd64
Ne mora biti reinstalacija, dovoljno je samo napraviti update-grub
I don't want to be a human. I want to see gamma rays, I want to hear x-rays and I want to smell dark matter. I want to reach out with something other than this prehensile paws and feel the solar wind of a super nova flowing over me.
Avatar
Postovi: 1975
Postovi: 1975
Pridružen/a: 19 srp 2011, 22:39
Lokacija: wonderland
Podijelio/la zahvalu: 8 puta
Primio/la zahvalu: 38 puta
Spol: M
OS: Debian 7 Wheezy
Shrike, napravio sam
Kod: Označi sve
vlado@debian:~$ su
Password:
root@debian:/home/vlado# update-grub2
Generating grub.cfg ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-3.8.3
Found initrd image: /boot/initrd.img-3.8.3
Found linux image: /boot/vmlinuz-3.2.0-4-686-pae
Found initrd image: /boot/initrd.img-3.2.0-4-686-pae
Found Ubuntu 12.04.2 LTS (12.04) on /dev/sda6
done

Nakon toga, grub opet izgleda ovako:
Ubuntu, with Linux 3.8.5.....generic
Ubuntu, with Linux 3.8.5..... (recovery mode)
Previous Linux versions
Memory test....
Memory test....serial console....
Debian GNU/Linux, with Linux 3.2......
Debian GNU/Linux, with Linux 3.2.0.....(Recovery mode) (on /dev/...)
Moj pogled na sve to.
Glavna snaga GNU/Linuxa nije besplatnost, nego SLOBODA.
http://wiki.open.hr/wiki/Linux_CLI_naredbe
Avatar
Moderator
Postovi: 5976
Moderator
Postovi: 5976
Pridružen/a: 28 lis 2011, 23:31
Lokacija: Zagreb
Podijelio/la zahvalu: 212 puta
Primio/la zahvalu: 279 puta
Spol: M
OS: Arch KDE Plazma
Odaberes 3.8
I don't want to be a human. I want to see gamma rays, I want to hear x-rays and I want to smell dark matter. I want to reach out with something other than this prehensile paws and feel the solar wind of a super nova flowing over me.
Avatar
Postovi: 1975
Postovi: 1975
Pridružen/a: 19 srp 2011, 22:39
Lokacija: wonderland
Podijelio/la zahvalu: 8 puta
Primio/la zahvalu: 38 puta
Spol: M
OS: Debian 7 Wheezy
Bravo, odaberem 3.8... i podiže se moj stari dobri XUbuntu 12.04. :D A ja baš mislio prijeći na Debian. :mrgreen:
Moj pogled na sve to.
Glavna snaga GNU/Linuxa nije besplatnost, nego SLOBODA.
http://wiki.open.hr/wiki/Linux_CLI_naredbe
Avatar
Moderator
Postovi: 5976
Moderator
Postovi: 5976
Pridružen/a: 28 lis 2011, 23:31
Lokacija: Zagreb
Podijelio/la zahvalu: 212 puta
Primio/la zahvalu: 279 puta
Spol: M
OS: Arch KDE Plazma
tu nešto gadno ne štima. Kako si ti to instalirao? Jel tebi debian na odvojenoj particiji? I dodatno, daj molim te output od

Kod: Označi sve
cat /boot/grub/grub.cfg
Es gibt keinen Gott, kein Universum, keine menschliche Rasse, kein irdisches Leben, keinen Himmel, keine Hölle. Es ist alles ein Traum - ein grotesker und dummer Traum. Nichts existiert außer dir. Und du bist nur ein Gedanke - ein vagabundierender Gedanke, ein nutzloser Gedanke, ein heimatloser Gedanke, der verloren in der leeren Ewigkeit wandelt!
Avatar
Moderator
Postovi: 10206
Moderator
Postovi: 10206
Pridružen/a: 07 pro 2007, 18:07
Podijelio/la zahvalu: 175 puta
Primio/la zahvalu: 293 puta
Spol: Y
OS: utuntu 19.10
Vl@do je napisao/la:Bravo, odaberem 3.8... i podiže se moj stari dobri XUbuntu 12.04. :D A ja baš mislio prijeći na Debian. :mrgreen:

Ispricavam se, nisam citao da je na 3.8 XUbuntu, naviknut sam kod sebe imam 2 ili 3 kernela na grub-u za jednu distru
I don't want to be a human. I want to see gamma rays, I want to hear x-rays and I want to smell dark matter. I want to reach out with something other than this prehensile paws and feel the solar wind of a super nova flowing over me.
Avatar
Postovi: 1975
Postovi: 1975
Pridružen/a: 19 srp 2011, 22:39
Lokacija: wonderland
Podijelio/la zahvalu: 8 puta
Primio/la zahvalu: 38 puta
Spol: M
OS: Debian 7 Wheezy
Instalirao sam prvo Debian, a onda XUbuntu uz njega.
Evo onaj ispis:
Kod: Označi sve
vlado@debian:~$ su
Password:
root@debian:/home/vlado# cat /boot/grub/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
  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 load_video {
  insmod vbe
  insmod vga
  insmod video_bochs
  insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 48b37637-9f64-4f0d-80b3-382814d4b326
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  load_video
  insmod gfxterm
  insmod part_msdos
  insmod ext2
  set root='(hd0,msdos1)'
  search --no-floppy --fs-uuid --set=root 48b37637-9f64-4f0d-80b3-382814d4b326
  set locale_dir=($root)/boot/grub/locale
  set lang=hr_HR
  insmod gettext
fi
terminal_output gfxterm
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 48b37637-9f64-4f0d-80b3-382814d4b326
insmod png
if background_image /usr/share/images/desktop-base/joy-grub.png; then
  set color_normal=white/black
  set color_highlight=black/white
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Debian GNU/Linux, with Linux 3.8.3' --class debian --class gnu-linux --class gnu --class os {
   load_video
   insmod gzio
   insmod part_msdos
   insmod ext2
   set root='(hd0,msdos1)'
   search --no-floppy --fs-uuid --set=root 48b37637-9f64-4f0d-80b3-382814d4b326
   echo   'Loading Linux 3.8.3 ...'
   linux   /boot/vmlinuz-3.8.3 root=UUID=48b37637-9f64-4f0d-80b3-382814d4b326 ro  quiet
   echo   'Loading initial ramdisk ...'
   initrd   /boot/initrd.img-3.8.3
}
menuentry 'Debian GNU/Linux, with Linux 3.8.3 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
   load_video
   insmod gzio
   insmod part_msdos
   insmod ext2
   set root='(hd0,msdos1)'
   search --no-floppy --fs-uuid --set=root 48b37637-9f64-4f0d-80b3-382814d4b326
   echo   'Loading Linux 3.8.3 ...'
   linux   /boot/vmlinuz-3.8.3 root=UUID=48b37637-9f64-4f0d-80b3-382814d4b326 ro single
   echo   'Loading initial ramdisk ...'
   initrd   /boot/initrd.img-3.8.3
}
menuentry 'Debian GNU/Linux, with Linux 3.2.0-4-686-pae' --class debian --class gnu-linux --class gnu --class os {
   load_video
   insmod gzio
   insmod part_msdos
   insmod ext2
   set root='(hd0,msdos1)'
   search --no-floppy --fs-uuid --set=root 48b37637-9f64-4f0d-80b3-382814d4b326
   echo   'Loading Linux 3.2.0-4-686-pae ...'
   linux   /boot/vmlinuz-3.2.0-4-686-pae root=UUID=48b37637-9f64-4f0d-80b3-382814d4b326 ro  quiet
   echo   'Loading initial ramdisk ...'
   initrd   /boot/initrd.img-3.2.0-4-686-pae
}
menuentry 'Debian GNU/Linux, with Linux 3.2.0-4-686-pae (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
   load_video
   insmod gzio
   insmod part_msdos
   insmod ext2
   set root='(hd0,msdos1)'
   search --no-floppy --fs-uuid --set=root 48b37637-9f64-4f0d-80b3-382814d4b326
   echo   'Loading Linux 3.2.0-4-686-pae ...'
   linux   /boot/vmlinuz-3.2.0-4-686-pae root=UUID=48b37637-9f64-4f0d-80b3-382814d4b326 ro single
   echo   'Loading initial ramdisk ...'
   initrd   /boot/initrd.img-3.2.0-4-686-pae
}
### END /etc/grub.d/10_linux ###

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

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Ubuntu, with Linux 3.8.5-030805-generic (on /dev/sda6)" --class gnu-linux --class gnu --class os {
   insmod part_msdos
   insmod ext2
   set root='(hd0,msdos6)'
   search --no-floppy --fs-uuid --set=root de3203b1-c7bf-41f6-acc8-31b8fd801ff1
   linux /boot/vmlinuz-3.8.5-030805-generic root=UUID=de3203b1-c7bf-41f6-acc8-31b8fd801ff1 ro quiet splash $vt_handoff
   initrd /boot/initrd.img-3.8.5-030805-generic
}
menuentry "Ubuntu, with Linux 3.8.5-030805-generic (recovery mode) (on /dev/sda6)" --class gnu-linux --class gnu --class os {
   insmod part_msdos
   insmod ext2
   set root='(hd0,msdos6)'
   search --no-floppy --fs-uuid --set=root de3203b1-c7bf-41f6-acc8-31b8fd801ff1
   linux /boot/vmlinuz-3.8.5-030805-generic root=UUID=de3203b1-c7bf-41f6-acc8-31b8fd801ff1 ro recovery nomodeset
   initrd /boot/initrd.img-3.8.5-030805-generic
}
menuentry "Ubuntu, with Linux 3.2.0-40-generic (on /dev/sda6)" --class gnu-linux --class gnu --class os {
   insmod part_msdos
   insmod ext2
   set root='(hd0,msdos6)'
   search --no-floppy --fs-uuid --set=root de3203b1-c7bf-41f6-acc8-31b8fd801ff1
   linux /boot/vmlinuz-3.2.0-40-generic root=UUID=de3203b1-c7bf-41f6-acc8-31b8fd801ff1 ro quiet splash $vt_handoff
   initrd /boot/initrd.img-3.2.0-40-generic
}
menuentry "Ubuntu, with Linux 3.2.0-40-generic (recovery mode) (on /dev/sda6)" --class gnu-linux --class gnu --class os {
   insmod part_msdos
   insmod ext2
   set root='(hd0,msdos6)'
   search --no-floppy --fs-uuid --set=root de3203b1-c7bf-41f6-acc8-31b8fd801ff1
   linux /boot/vmlinuz-3.2.0-40-generic root=UUID=de3203b1-c7bf-41f6-acc8-31b8fd801ff1 ro recovery nomodeset
   initrd /boot/initrd.img-3.2.0-40-generic
}
menuentry "Ubuntu, with Linux 3.2.0-37-generic (on /dev/sda6)" --class gnu-linux --class gnu --class os {
   insmod part_msdos
   insmod ext2
   set root='(hd0,msdos6)'
   search --no-floppy --fs-uuid --set=root de3203b1-c7bf-41f6-acc8-31b8fd801ff1
   linux /boot/vmlinuz-3.2.0-37-generic root=UUID=de3203b1-c7bf-41f6-acc8-31b8fd801ff1 ro quiet splash $vt_handoff
   initrd /boot/initrd.img-3.2.0-37-generic
}
menuentry "Ubuntu, with Linux 3.2.0-37-generic (recovery mode) (on /dev/sda6)" --class gnu-linux --class gnu --class os {
   insmod part_msdos
   insmod ext2
   set root='(hd0,msdos6)'
   search --no-floppy --fs-uuid --set=root de3203b1-c7bf-41f6-acc8-31b8fd801ff1
   linux /boot/vmlinuz-3.2.0-37-generic root=UUID=de3203b1-c7bf-41f6-acc8-31b8fd801ff1 ro recovery nomodeset
   initrd /boot/initrd.img-3.2.0-37-generic
}
### 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 ###
root@debian:/home/vlado#

Pa sad vidim da je ipak pronašao Debian 3.8.3...... szbunjen
I još nešto. Kad se pokušavam spojiti bežično, on mi prekine i žičnu mrežu.
Moj pogled na sve to.
Glavna snaga GNU/Linuxa nije besplatnost, nego SLOBODA.
http://wiki.open.hr/wiki/Linux_CLI_naredbe
Avatar
Moderator
Postovi: 5976
Moderator
Postovi: 5976
Pridružen/a: 28 lis 2011, 23:31
Lokacija: Zagreb
Podijelio/la zahvalu: 212 puta
Primio/la zahvalu: 279 puta
Spol: M
OS: Arch KDE Plazma
E, odi na ovo "previous linux versions" i onda će ti biti i debian sa 3.8
Es gibt keinen Gott, kein Universum, keine menschliche Rasse, kein irdisches Leben, keinen Himmel, keine Hölle. Es ist alles ein Traum - ein grotesker und dummer Traum. Nichts existiert außer dir. Und du bist nur ein Gedanke - ein vagabundierender Gedanke, ein nutzloser Gedanke, ein heimatloser Gedanke, der verloren in der leeren Ewigkeit wandelt!
Avatar
Moderator
Postovi: 10206
Moderator
Postovi: 10206
Pridružen/a: 07 pro 2007, 18:07
Podijelio/la zahvalu: 175 puta
Primio/la zahvalu: 293 puta
Spol: Y
OS: utuntu 19.10
"previous linux versions" sama riječ govori, ranije verzije. Otvara se Ubuntu 3.2.0.37 i Ubuntu 3.2.0.40 :mrgreen:
Moj pogled na sve to.
Glavna snaga GNU/Linuxa nije besplatnost, nego SLOBODA.
http://wiki.open.hr/wiki/Linux_CLI_naredbe
Avatar
Moderator
Postovi: 5976
Moderator
Postovi: 5976
Pridružen/a: 28 lis 2011, 23:31
Lokacija: Zagreb
Podijelio/la zahvalu: 212 puta
Primio/la zahvalu: 279 puta
Spol: M
OS: Arch KDE Plazma

Na mreži
Trenutno korisnika/ca: / i 2 gostiju.