[SOLVED] Brak ekranu logowania podczas startu systemu Ubuntu 10.04

Wyłącznie system! Wątpliwości dotyczące aplikacji proszę umieszczać niżej, w odpowiednich forach.
Excelmario
Piegowaty Guziec
Piegowaty Guziec
Posty: 4
Rejestracja: 01 mar 2013, 15:10
Płeć: Mężczyzna
Wersja Ubuntu: 10.04
Środowisko graficzne: GNOME

[SOLVED] Brak ekranu logowania podczas startu systemu Ubuntu 10.04

Post autor: Excelmario »

Witam wszystkich,

mam prośbę o pomoc w rozwiązaniu mojego problemu. Zainstalowałem sobie Ubuntu 10.04 na moim PC, razem z Win XP. Zaraz po instalacji ekran pracował w bardzo niskiej rozdzielczości 800x600 i nie mogłem tego zmienić. Zacząłem szukać w internecie, jak to poprawić, znalazłem kilka porad, m.in. instalacja sterownika nvidia-current, w tej chwili nie pamiętam dokładnie co jeszcze. W Linuksie jestem świeży cała ta konsola to trochę jak czarna magia.

Efekt jest taki, że obecnie podczas startu systemu, kiedy ma nastąpić pojawienie się okna logowania, na ułamek sekundy pojawia się jakiś tekst na górze ekranu, i tak kilka razy (prawdopodobnie prośba o hasło w trybie tekstowym) - i nic.
Mogę uruchomić system w awaryjnym trybie graficznym, ekran logowania się pokazuje, system startuje - w niskiej rozdzielczości....

Co mogę z tym zrobić?

Próbowałem wywołać z konsoli (będąc w trybie awaryjnym) "nvidia-settings", dostaję taki komunikat:

You do not appear to be using the NVIDIA X driver. Please edit your X configuration file (just run `nvidia-xconfig` as root), and restart the X server.

Następnie wpisuję "sudo nvidia-xconfig" i mam:

Kod: Zaznacz cały

Using X configuration file: "/etc/X11/xorg.conf".
Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
New X configuration file written to '/etc/X11/xorg.conf'
wpisuję w terminal "gedit /etc/X11/xorg.conf" i dostaję treść pliku:

Kod: Zaznacz cały

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder75)  Thu Apr 22 11:44:23 PDT 2010


Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 81.0
    VertRefresh     43.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
Moja karta graficzna to GeForce GT430 a monitor Samsung Syncmaster 940N (19 cali).

Wartości odświeżania
HorizSync 28.0 - 81.0
VertRefresh 43.0 - 75.0
zmieniłem sam (w nadziei, że to coś zmieni), na podstawie poradnika w sieci, ale to też nic nie dało. Oryginalnie były inne, ale nie pamiętam jakie.

Z góry dziękuję za pomoc.

//bear7: Polecenia, wyniki poleceń, zawartość plików konfiguracyjnych i systemowych umieszczaj pomiędzy znacznikami CODE.
Ostatnio zmieniony 22 maja 2013, 19:49 przez Excelmario, łącznie zmieniany 1 raz.
namok
Przebojowy Jelonek
Przebojowy Jelonek
Posty: 1703
Rejestracja: 01 mar 2008, 12:21
Płeć: Mężczyzna
Wersja Ubuntu: 16.04
Środowisko graficzne: Unity
Architektura: x86_64
Kontakt:

Re: Brak ekranu logowania podczas startu systemu Ubuntu 10.04

Post autor: namok »

Ubuntu 10.04 nie jest już wspierane. Zainstaluj 12.04(wersja o długim wsparciu) albo najnowsze 13.04.
Excelmario
Piegowaty Guziec
Piegowaty Guziec
Posty: 4
Rejestracja: 01 mar 2013, 15:10
Płeć: Mężczyzna
Wersja Ubuntu: 10.04
Środowisko graficzne: GNOME

Re: Brak ekranu logowania podczas startu systemu Ubuntu 10.04

Post autor: Excelmario »

Przez dwa dni walczyłem z usterką na wersji 10.04, bez skutku (10.04 przestał być wspierany raptem kilka dni temu, więc mimo wszystko moje karta powinna być obsługiwana, ale trudno).

Zrobiłem update systemu do wersji 12.04. Niestety, podczas reinstalacji/aktualizacji GRUB'a wyskoczył błąd. Pomimo kilku prób, GRUB się nie zainstalował.

Znalazłem w sieci sposób na przywrócenie programu rozruchowego. Dysponuję pendrivem "liveCD" z wersją 10.04. Uruchomiłem więc system z pendrive'a.

Wpisałem takie polecenia:

Kod: Zaznacz cały

sudo mount /dev/sdb5 /mnt
sudo mount --bind /dev /mnt/dev
sudo mount --bind /proc /mnt/proc
sudo chroot /mnt
a następnie

Kod: Zaznacz cały

grub-install /dev/sdb
linuxa mam na dysku sdb, / jest na partycji sdb5, GRUB na sdb1 (/boot).

Żadnych błędów nie było.
Potem wpisałem:

Kod: Zaznacz cały

update-grub
Jak rozumiem, ta ostania komenda ma na celu znalezienie wszystkich OS-ów w moim systemie.

Niestety dostałem komunikat o niemożliwości znalezienia listy partycji i sugestię, że /sys. nie jest zamontowany.

Czy ktoś wie, gdzie mam zamontować ten /sys. i czy to coś da? Ewentualnie jak zalogować się do systemu ręcznie?

Po włączeniu programu zgłasza się GRUB (fioletowy albo różowy ekran i znak zachęty). Sprawdziłem, że chyba polecenie "linux /vmlinuz....." mogłoby uruchomić system, ale nie znam dokładnie oznaczenia swojego obecnego kernela, poza tym to pewnie dopiero pierwsze z kilku poleceń, które umożliwiłoby uruchomienie systemu.

Proszę o pomoc kogoś obeznanego z tematem, bo chyba jeszcze nie widzę światełka w tunelu ;-)

P.S. bear7, dzięki za uwagę :-)
namok
Przebojowy Jelonek
Przebojowy Jelonek
Posty: 1703
Rejestracja: 01 mar 2008, 12:21
Płeć: Mężczyzna
Wersja Ubuntu: 16.04
Środowisko graficzne: Unity
Architektura: x86_64
Kontakt:

Re: Brak ekranu logowania podczas startu systemu Ubuntu 10.04

Post autor: namok »

Do instalacji gruba w mbr nie potrzeba chroot!!! Wystarczą 2, a w przypadku osobnej partycji /boot 3 polecenia.
Tymczasem podaj wynik bootinfoscript.
Excelmario
Piegowaty Guziec
Piegowaty Guziec
Posty: 4
Rejestracja: 01 mar 2013, 15:10
Płeć: Mężczyzna
Wersja Ubuntu: 10.04
Środowisko graficzne: GNOME

Re: Brak ekranu logowania podczas startu systemu Ubuntu 10.04

Post autor: Excelmario »

Nie kwestionuję, ale czemu chroot nie jest do tego celu właściwe?
http://jakilinux.org/linux/ubuntu/przyw ... i-windows/
http://www.ubuntu-pomoc.org/przywracani ... -z-livecd/
Pod tymi dwoma linkami znalazłem podobną procedurę.

A tutaj zapodaję wyniki z booinfoscript:

Kod: Zaznacz cały

                  Boot Info Script 0.61      [1 April 2012]


============================= Boot Info Summary: ===============================

 => Windows is installed in the MBR of /dev/sda.
 => Grub2 (v1.99) is installed in the MBR of /dev/sdb and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for (,msdos5)/boot/grub on this drive.
 => Syslinux MBR (3.61-4.03) is installed in the MBR of /dev/sdc.

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows XP: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows XP
    Boot files:        /boot.ini /ntldr /NTDETECT.COM

sda2: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  -
    Boot sector info: 

sda5: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows XP: NTFS
    Boot sector info:  According to the info in the boot sector, sda5 starts 
                       at sector 63.
    Operating System:  
    Boot files:        

sdb1: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  Grub2 (v1.97-1.98)
    Boot sector info:  Grub2 (v1.97-1.98) is installed in the boot sector of 
                       sdb1 and looks at sector 22478 of the same hard drive 
                       for core.img, but core.img can not be found at this 
                       location.
    Operating System:  
    Boot files:        /grub/grub.cfg /grub/core.img

sdb2: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  -
    Boot sector info: 

sdb5: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 12.04.2 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sdb6: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

sdb7: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info: 

sdb3: __________________________________________________________________________

    File system:       
    Boot sector type:  -
    Boot sector info: 
    Mounting failed:   mount: unknown filesystem type ''

sdc1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 3.63 Debian-2008-07-15
    Boot sector info:  Syslinux looks at sector 23392 of /dev/sdc1 for its 
                       second stage. The integrity check of Syslinux failed. 
                       No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /syslinux/syslinux.cfg /ldlinux.sys

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________

Dysk /dev/sda: 160.0 GB, bajtów: 160041885696
głowic: 255, sektorów/ścieżkę: 63, cylindrów: 19457, w sumie sektorów: 312581808
Jednostka = sektorów, czyli 1 * 512 = 512 bajtów
Rozmiar sektora (logiczny/fizyczny) w bajtach: 512 / 512

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *             63    81,915,434    81,915,372   7 NTFS / exFAT / HPFS
/dev/sda2          81,915,435   312,560,639   230,645,205   f W95 Extended (LBA)
/dev/sda5          81,915,498   312,560,639   230,645,142   7 NTFS / exFAT / HPFS


Drive: sdb _____________________________________________________________________

Dysk /dev/sdb: 320.1 GB, bajtów: 320072933376
głowic: 255, sektorów/ścieżkę: 63, cylindrów: 38913, w sumie sektorów: 625142448
Jednostka = sektorów, czyli 1 * 512 = 512 bajtów
Rozmiar sektora (logiczny/fizyczny) w bajtach: 512 / 512

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1    *          2,048       194,559       192,512  83 Linux
/dev/sdb2             196,606    44,140,543    43,943,938   5 Extended
/dev/sdb5             196,608    19,726,335    19,529,728  83 Linux
/dev/sdb6          19,728,384    39,258,111    19,529,728  83 Linux
/dev/sdb7          39,260,160    44,140,543     4,880,384  82 Linux swap / Solaris
/dev/sdb3          44,140,544   625,139,711   580,999,168   b W95 FAT32


Drive: sdc _____________________________________________________________________

Dysk /dev/sdc: 16.0 GB, bajtów: 15999172608
głowic: 7, sektorów/ścieżkę: 7, cylindrów: 637722, w sumie sektorów: 31248384
Jednostka = sektorów, czyli 1 * 512 = 512 bajtów
Rozmiar sektora (logiczny/fizyczny) w bajtach: 512 / 512

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdc1    *          8,064    31,248,383    31,240,320   c W95 FAT32 (LBA)


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/loop1       cc3ace00-05a5-41bc-9ef1-7a8281de0cbf   ext3       
/dev/sda1        68203BBC203B9054                       ntfs       
/dev/sda5        12B82638B8261AAD                       ntfs       
/dev/sdb1        30cb5ee9-44bd-4b90-86b0-ebd1445632df   ext4       
/dev/sdb5        2283cf3e-4243-4e07-8e00-8a962a0f738e   ext4       
/dev/sdb6        688f8695-30e1-4b57-8903-6edc5add1cc0   ext4       
/dev/sdb7        8dd3b83c-d5ef-4fd3-8565-45aabf3f7b71   swap       
/dev/sdc1        413E-2BA6                              vfat       USB DISK

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/loop0       /rofs                    squashfs   (ro,noatime)
/dev/sdc1        /cdrom                   vfat       (rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)


================================ sda1/boot.ini: ================================

--------------------------------------------------------------------------------
[boot loader]

timeout=30

default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS

[operating systems]

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Home Edition" /noexecute=optin /fastdetect

--------------------------------------------------------------------------------

============================= sdb1/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
  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='(hd1,msdos5)'
search --no-floppy --fs-uuid --set=root 2283cf3e-4243-4e07-8e00-8a962a0f738e
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  insmod part_msdos
  insmod ext2
  set root='(hd1,msdos1)'
  search --no-floppy --fs-uuid --set=root 30cb5ee9-44bd-4b90-86b0-ebd1445632df
  set locale_dir=($root)/grub/locale
  set lang=pl_PL
  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 44,0,30; then
  clear
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, za pomocą systemu Linux 3.2.0-41-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd1,msdos1)'
	search --no-floppy --fs-uuid --set=root 30cb5ee9-44bd-4b90-86b0-ebd1445632df
	linux	/vmlinuz-3.2.0-41-generic-pae root=UUID=2283cf3e-4243-4e07-8e00-8a962a0f738e ro   quiet splash $vt_handoff
	initrd	/initrd.img-3.2.0-41-generic-pae
}
menuentry 'Ubuntu, za pomocą systemu Linux 3.2.0-41-generic-pae (tryb ratunkowy)' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd1,msdos1)'
	search --no-floppy --fs-uuid --set=root 30cb5ee9-44bd-4b90-86b0-ebd1445632df
	echo	'Wczytywanie systemu Linux 3.2.0-41-generic-pae...'
	linux	/vmlinuz-3.2.0-41-generic-pae root=UUID=2283cf3e-4243-4e07-8e00-8a962a0f738e ro recovery nomodeset 
	echo	'Wczytywanie początkowego dysku RAM...'
	initrd	/initrd.img-3.2.0-41-generic-pae
}
submenu "Previous Linux versions" {
menuentry 'Ubuntu, za pomocą systemu Linux 2.6.32-46-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd1,msdos1)'
	search --no-floppy --fs-uuid --set=root 30cb5ee9-44bd-4b90-86b0-ebd1445632df
	linux	/vmlinuz-2.6.32-46-generic-pae root=UUID=2283cf3e-4243-4e07-8e00-8a962a0f738e ro   quiet splash $vt_handoff
	initrd	/initrd.img-2.6.32-46-generic-pae
}
menuentry 'Ubuntu, za pomocą systemu Linux 2.6.32-46-generic-pae (tryb ratunkowy)' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd1,msdos1)'
	search --no-floppy --fs-uuid --set=root 30cb5ee9-44bd-4b90-86b0-ebd1445632df
	echo	'Wczytywanie systemu Linux 2.6.32-46-generic-pae...'
	linux	/vmlinuz-2.6.32-46-generic-pae root=UUID=2283cf3e-4243-4e07-8e00-8a962a0f738e ro recovery nomodeset 
	echo	'Wczytywanie początkowego dysku RAM...'
	initrd	/initrd.img-2.6.32-46-generic-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/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
	insmod part_msdos
	insmod ext2
	set root='(hd1,msdos1)'
	search --no-floppy --fs-uuid --set=root 30cb5ee9-44bd-4b90-86b0-ebd1445632df
	linux16	/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod part_msdos
	insmod ext2
	set root='(hd1,msdos1)'
	search --no-floppy --fs-uuid --set=root 30cb5ee9-44bd-4b90-86b0-ebd1445632df
	linux16	/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Home Edition (on /dev/sda1)" --class windows --class os {
	insmod part_msdos
	insmod ntfs
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set=root 68203BBC203B9054
	drivemap -s (hd0) ${root}
	chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### 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 ###
--------------------------------------------------------------------------------

=================== sdb1: Location of files loaded by Grub: ====================

           GiB - GB             File                                 Fragment(s)

   0.092738152 = 0.099576832    grub/core.img                                  1
   0.015157700 = 0.016275456    grub/grub.cfg                                  1
   0.061084747 = 0.065589248    initrd.img-2.6.32-46-generic-pae               5
   0.071290016 = 0.076547072    initrd.img-3.2.0-41-generic-pae                3
   0.043939590 = 0.047179776    vmlinuz-2.6.32-46-generic-pae                  2
   0.087687492 = 0.094153728    vmlinuz-3.2.0-41-generic-pae                   1

=========================== sdb5/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
  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='(hd1,msdos5)'
search --no-floppy --fs-uuid --set=root 2283cf3e-4243-4e07-8e00-8a962a0f738e
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  insmod part_msdos
  insmod ext2
  set root='(hd1,msdos5)'
  search --no-floppy --fs-uuid --set=root 2283cf3e-4243-4e07-8e00-8a962a0f738e
  set locale_dir=($root)/boot/grub/locale
  set lang=pl_PL
  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 44,0,30; then
  clear
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
### 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+ ###
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### 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 ###
--------------------------------------------------------------------------------

=============================== sdb5/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sdb5 during installation
UUID=2283cf3e-4243-4e07-8e00-8a962a0f738e /               ext4    errors=remount-ro 0       1
/dev/sdb1       /boot           ext4    defaults        0       2
# /home was on /dev/sdb6 during installation
UUID=688f8695-30e1-4b57-8903-6edc5add1cc0 /home           ext4    defaults        0       2
# swap was on /dev/sdb7 during installation
UUID=8dd3b83c-d5ef-4fd3-8565-45aabf3f7b71 none            swap    sw              0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0
--------------------------------------------------------------------------------

=================== sdb5: Location of files loaded by Grub: ====================

           GiB - GB             File                                 Fragment(s)

   4.380935669 = 4.703993856    boot/grub/core.img                             1
   4.363285065 = 4.685041664    boot/grub/grub.cfg                             1

========================= sdc1/syslinux/syslinux.cfg: ==========================

--------------------------------------------------------------------------------
include menu.cfg
default vesamenu.c32
prompt 0
timeout 50
gfxboot bootlogo
--------------------------------------------------------------------------------

================= sdc1: Location of files loaded by Syslinux: ==================

           GiB - GB             File                                 Fragment(s)

            ?? = ??             ldlinux.sys                                    1
            ?? = ??             syslinux/syslinux.cfg                          1
            ?? = ??             syslinux/vesamenu.c32                          1

============== sdc1: Version of COM32(R) files used by Syslinux: ===============

 syslinux/vesamenu.c32              :  COM32R module (v3.xx)

=============================== StdErr Messages: ===============================

lzma: Decoder error
namok
Przebojowy Jelonek
Przebojowy Jelonek
Posty: 1703
Rejestracja: 01 mar 2008, 12:21
Płeć: Mężczyzna
Wersja Ubuntu: 16.04
Środowisko graficzne: Unity
Architektura: x86_64
Kontakt:

Re: Brak ekranu logowania podczas startu systemu Ubuntu 10.04

Post autor: namok »

Nie napisałem że chroot jest niewłaściwy do tego celu tylko że nie ma takiej potrzeby. Na linki też nie zamierzam się licytować, wystarczy że poświęcisz chwilę i przejrzysz forum.
Wyjaśnij dokłądnie co znaczy
Po włączeniu programu zgłasza się GRUB (fioletowy albo różowy ekran i znak zachęty)
Być może jest to problem z grafiką. Naciśnij 'Shift' podczas startu komputera i sprawdź czy pojawi się menu gruba.

Skrypt stwierdził że w MBR dysku sdb jest zainstalowany grub i wskazuje na partycję sdb5, gdzie jest katalog gruba.
Jednocześnie fstab twierdzi że masz oddzielną partycję /boot na sdb1. Partycja rzeczywiście istnieje i są tam pliki gruba.
Na dzisiaj tyle, reszta być może jutro.
Powodzenia
Excelmario
Piegowaty Guziec
Piegowaty Guziec
Posty: 4
Rejestracja: 01 mar 2013, 15:10
Płeć: Mężczyzna
Wersja Ubuntu: 10.04
Środowisko graficzne: GNOME

Re: Brak ekranu logowania podczas startu systemu Ubuntu 10.04

Post autor: Excelmario »

Czyli wygląda na to, że mam zainstalowane dwa gruby?

Pierwotny zamysł był taki, żeby dysk sda ma być tylko dla windowsa (i chyba nadal tak jest). Drugi dysk miał być dedykowany pod Ubuntu i magazyn danych. Grub miał oddzielną partycję, sdb1, i przy instalacji wersji 10.04 tam właśnie był (wybierałem partycję podczas instalacji). Widocznie namieszałem podczas późniejszej pracy z konsolą, kiedy przy updacie do 12.04 wyskoczył mi błąd podczas aktualizacji gruba.

Nie umiem lepiej tego wytłumaczyć, po prostu włączam komputer i zamiast tabeli z listą systemów do wyboru pokazuje mi się fioletowy ekran i napis "GRUB>" - i kursor. Mogę sobie wpisywać komendy, tak jak w konsoli. Kiedy wciskam tab, wyskakuje lista możliwych poleceń do wydania.

Mam nadzieję, że opisałem to trochę lepiej.

EDIT:
Ponieważ kilkakrotna zabawa z konsolą nie przyniosła pożądanego rezultatu, zainstalowałem Przyjaznego Puchacza od początku. Niestety, podczas uruchamiania systemu tym razem wyskakuje czarny ekran z napisem "file not found" i pod spodem "Grub rescue>"

Przeprowadziłem procedurę, jak w podanym linku
viewtopic.php?f=146&t=123055&p=719887
Ponizej plik, ktory mi sie wygenerowal (pisze to z wersji live, bez polskich znakow)

Kod: Zaznacz cały

#
# 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='(hd1,msdos5)'
search --no-floppy --fs-uuid --set=root d978df49-c605-4020-87d3-6c77c98a2655
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  insmod part_msdos
  insmod ext2
  set root='(hd1,msdos1)'
  search --no-floppy --fs-uuid --set=root ff8ed25f-4642-4078-97f6-2da663afc6c4
  set locale_dir=($root)/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 44,0,30; then
  clear
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.2.0-43-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd1,msdos1)'
	search --no-floppy --fs-uuid --set=root ff8ed25f-4642-4078-97f6-2da663afc6c4
	linux	/vmlinuz-3.2.0-43-generic-pae root=UUID=d978df49-c605-4020-87d3-6c77c98a2655 ro   quiet splash $vt_handoff
	initrd	/initrd.img-3.2.0-43-generic-pae
}
menuentry 'Ubuntu, with Linux 3.2.0-43-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd1,msdos1)'
	search --no-floppy --fs-uuid --set=root ff8ed25f-4642-4078-97f6-2da663afc6c4
	echo	'Loading Linux 3.2.0-43-generic-pae ...'
	linux	/vmlinuz-3.2.0-43-generic-pae root=UUID=d978df49-c605-4020-87d3-6c77c98a2655 ro recovery nomodeset 
	echo	'Loading initial ramdisk ...'
	initrd	/initrd.img-3.2.0-43-generic-pae
}
submenu "Previous Linux versions" {
menuentry 'Ubuntu, with Linux 3.2.0-31-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd1,msdos1)'
	search --no-floppy --fs-uuid --set=root ff8ed25f-4642-4078-97f6-2da663afc6c4
	linux	/vmlinuz-3.2.0-31-generic-pae root=UUID=d978df49-c605-4020-87d3-6c77c98a2655 ro   quiet splash $vt_handoff
	initrd	/initrd.img-3.2.0-31-generic-pae
}
menuentry 'Ubuntu, with Linux 3.2.0-31-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd1,msdos1)'
	search --no-floppy --fs-uuid --set=root ff8ed25f-4642-4078-97f6-2da663afc6c4
	echo	'Loading Linux 3.2.0-31-generic-pae ...'
	linux	/vmlinuz-3.2.0-31-generic-pae root=UUID=d978df49-c605-4020-87d3-6c77c98a2655 ro recovery nomodeset 
	echo	'Loading initial ramdisk ...'
	initrd	/initrd.img-3.2.0-31-generic-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/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
	insmod part_msdos
	insmod ext2
	set root='(hd1,msdos1)'
	search --no-floppy --fs-uuid --set=root ff8ed25f-4642-4078-97f6-2da663afc6c4
	linux16	/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod part_msdos
	insmod ext2
	set root='(hd1,msdos1)'
	search --no-floppy --fs-uuid --set=root ff8ed25f-4642-4078-97f6-2da663afc6c4
	linux16	/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### 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 ###
jednak efekt jest taki sam.

Będę wdzięczny za pomoc.

-- 20 maja 2013, o 18:28 --

Odświeżam, może ktoś ma jakiś pomysł na "grub rescue"?

-- 22 maja 2013, o 18:48 --

Po kilku dniach poszukiwań jeszcze raz przeprowadziłem procedurę z tego linku: viewtopic.php?f=146&t=123055&p=719887
Tym razem pomogło - grub działa - obydwa systemy startują :-)

Tyle, że ta dystrybucja jest jakaś inna - gdzie choćby narzędzie do obsługi dysków??? Chyba czeka mnie lektura przewodnika.

Pozdrawiam wszystkich.
ODPOWIEDZ

Wróć do „Instalacja, aktualizacja i konfiguracja Ubuntu”

Kto jest online

Użytkownicy przeglądający to forum: Amazon [Bot] i 10 gości