[REŠENO]Posle instalacije slackware14.1...

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

Moderator: Urednik

Post Reply

Elitni član
Elitni član
offline
User avatar

Posts: 362
Joined: 15 Jul 2007, 03:58
Location: Beograd

Post Napisano: 25 Dec 2013, 14:03


Pozdrav svima!

Juce sam instalirao slack 14.1, bez ikakvih problema je prosla sama instalacija, instalirao sam lilo novog sistema uu MBR, dodao stari slack14 u lilo.conf i to je proslo OK.

Problem nastaje kad hocu da pokrenem stari slack14, na njemu koristim LXDE i slim za njegovo pokretanje

Image

Ovo je greska koju dobijem pri pokretanju u run level 4, reko ajde da promenim u run level 3 i dobijem sledecu gresku

Image

Na ovom mestu mi je tastatura mrtva, ne daje znake zivota.

Mislio sam da nije nesto strasno i komplikovano, ali sam izgleda pogresno procenio. Citajuci postove na raznim forumima vidim da se trazi sadrzaj inittab-a i predlaze se reinstalacija driver-a za grafiku i instalacija desktop menadzera. Inace, sve je lepo radilo do instalacije novog slacka, nisam cak pravio ni tacke montiranja za / i /home starog slacka.

inittab

Code: Select all

#
# inittab	This file describes how the INIT process should set up
#		the system in a certain run-level.
#
# Version:	@(#)inittab		2.04	17/05/93	MvS
#                                       2.10    02/10/95        PV
#                                       3.00    02/06/1999      PV
#                                       4.00    04/10/2002      PV
#                                      13.37    2011-03-25      PJV
#
# Author:	Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
# Modified by:	Patrick J. Volkerding, <volkerdi@slackware.com>
#

# These are the default runlevels in Slackware:
#   0 = halt
#   1 = single user mode
#   2 = unused (but configured the same as runlevel 3)
#   3 = multiuser mode (default Slackware runlevel)
#   4 = X11 with KDM/GDM/XDM (session managers)
#   5 = unused (but configured the same as runlevel 3)
#   6 = reboot

# Default runlevel. (Do not set to 0 or 6)
id:4:initdefault:

# System initialization (runs when system boots).
si:S:sysinit:/etc/rc.d/rc.S

# Script to run when going single user (runlevel 1).
su:1S:wait:/etc/rc.d/rc.K

# Script to run when going multi user.
rc:2345:wait:/etc/rc.d/rc.M

# What to do at the "Three Finger Salute".
ca::ctrlaltdel:/sbin/shutdown -t5 -r now

# Runlevel 0 halts the system.
l0:0:wait:/etc/rc.d/rc.0

# Runlevel 6 reboots the system.
l6:6:wait:/etc/rc.d/rc.6

# What to do when power fails.
pf::powerfail:/sbin/genpowerfail start

# If power is back, cancel the running shutdown.
pg::powerokwait:/sbin/genpowerfail stop

# These are the standard console login getties in multiuser mode:
c1:12345:respawn:/sbin/agetty --noclear 38400 tty1 linux
c2:12345:respawn:/sbin/agetty 38400 tty2 linux
c3:12345:respawn:/sbin/agetty 38400 tty3 linux
c4:12345:respawn:/sbin/agetty 38400 tty4 linux
c5:12345:respawn:/sbin/agetty 38400 tty5 linux
c6:12345:respawn:/sbin/agetty 38400 tty6 linux

# Local serial lines:
#s1:12345:respawn:/sbin/agetty -L ttyS0 9600 vt100
#s2:12345:respawn:/sbin/agetty -L ttyS1 9600 vt100

# Dialup lines:
#d1:12345:respawn:/sbin/agetty -mt60 38400,19200,9600,2400,1200 ttyS0 vt100
#d2:12345:respawn:/sbin/agetty -mt60 38400,19200,9600,2400,1200 ttyS1 vt100

# Runlevel 4 also starts /etc/rc.d/rc.4 to run a display manager for X.
# Display managers are preferred in this order:  gdm, kdm, xdm
x1:4:respawn:/etc/rc.d/rc.4

# End of /etc/inittab
Ako se nekome slicno desavalo neka javi kako je resio problem.

Hvala!
Ako mislis pobjediti, ne smijes izgubiti!



Administrator
Administrator
offline
User avatar

Posts: 877
Joined: 25 May 2008, 10:44
Location: Valjevo, Srbija

Post Napisano: 25 Dec 2013, 15:10


Ako možeš okači i sadržaj /etc/lilo.conf fajla. Ovde mi nije jasno da stari slack pokreće novi kernel koji je default na slacku 14.1 (3.10.17).
nije važno samo raditi ono što voliš...važnije je voleti ono što radiš



Elitni član
Elitni član
offline
User avatar

Posts: 362
Joined: 15 Jul 2007, 03:58
Location: Beograd

Post Napisano: 25 Dec 2013, 15:26


Da, da, vidis, na to nisam ni obratioo paznju, hvlala @drummer.

lilo.conf slack14

Code: Select all

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
# Append any additional kernel parameters:
append=" vt.default_utf8=0"
boot = /dev/sda
compact

# 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 = 30
# 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
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/sda7
  label = Slaxkware14
  read-only
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/sda1
  label = Windows7
  table = /dev/sda
# Windows bootable partition config ends
lilo.conf slack14.1

Code: Select all

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
# Append any additional kernel parameters:
append=" vt.default_utf8=0"
boot = /dev/sda

#compact        # faster, but won't work on all systems.

# 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 = 30
# 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
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/sda7
  label = Slackware14
  read-only
# Linux bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/sda10
  label = Slackware14.1
  read-only
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/sda1
  label = Windows7
  table = /dev/sda
# Windows bootable partition config ends
Sve sto sam menjao u novom lilo.conf je da sam dodao stari slack14 i vreme cekanja za pocetak ucitavanja sistema, e da, i imena svakog sistema, posto slack pri instalaciji samo upise Linux, pa da bi ih mogao razlikovati.
Ako mislis pobjediti, ne smijes izgubiti!



Administrator
Administrator
offline
User avatar

Posts: 877
Joined: 25 May 2008, 10:44
Location: Valjevo, Srbija

Post Napisano: 25 Dec 2013, 15:44


Dovoljno je da menjaš samo jedan lilo.conf jer je dovoljno imati samo jedan boot loader koji poziva sve instalirane sisteme. Pošto si izmene uneo u novi lilo.conf (slack14.1 sistem), pokreni Slack14.1, pregledaj ponovo sadržaj /etc/lilo.conf fajla i nakon izmene (ako je potrebno, mada ako je stanje kako si naveo u drugom ispisu onda je ok) u njemu i snimanja stanja unesi sledeću komandu:

Code: Select all

# lilo -v /dev/sda
Ovom komandom se sadržaj upisuje u MBR (tek nakon restarta promene su vidljive). Dve napomene - parametar -v unosiš da bi imao detaljniji prikaz izvršavanja komande i on nije neophodan. Takođe, u primeru koj sam ja naveo lilo se zapisuje u MBR diska a ne particije.
Nakon unosa ove komande i njenog uspešnog završetka restartuj sistem i ako je sve ok dočekaće te ispravan boot meni.
nije važno samo raditi ono što voliš...važnije je voleti ono što radiš



Elitni član
Elitni član
offline
User avatar

Posts: 362
Joined: 15 Jul 2007, 03:58
Location: Beograd

Post Napisano: 25 Dec 2013, 15:51


Opet hvala @drummer.

Menjao sam samo novi lilo.conf, jer sam dozvolio u jucerasnjoj instalaciji da se taj novi instalira u MBR i naravno u njega sam dodao linije da se moze pokrenuti slack14 koji je vec bio na HDD i posle svih promena sam pokrenuo komandu #lilo da bi sacuvao napravljene promene, pri tom nikakvu gresku mi nije izbacio.

Sad cu odraditi ovo sto si napisao, pa javljam kakvo je stanje.
Ako mislis pobjediti, ne smijes izgubiti!



Elitni član
Elitni član
offline
User avatar

Posts: 362
Joined: 15 Jul 2007, 03:58
Location: Beograd

Post Napisano: 25 Dec 2013, 16:09


Probao sam komandu koju je predlozio @drummer i dobio

Code: Select all

# lilo -v /dev/sda
usage: lilo [ -C config_file ] -q [ -m map_file ] [ -v N | -v ... ]
       lilo [ -C config_file ] [ -b boot_device ] [ -c ] [ -g | -l | -L ]
            [ -F ] [ -i boot_loader ] [ -m map_file ] [ -d delay ]
            [ -v N | -v ... ] [ -t ] [ -s save_file | -S save_file ]
            [ -p ][ -P fix | -P ignore ] [ -r root_dir ] [ -w | -w+ ]
       lilo [ -C config_file ] [ -m map_file ] -R [ word ... ]
       lilo [ -C config_file ] -I name [ options ]
       lilo [ -C config_file ] [ -s save_file ] -u | -U [ boot_device ]
       lilo -H                          install only to active discs (RAID-1)
       lilo -A /dev/XXX [ N ]           inquire/activate a partition
       lilo -M /dev/XXX [ mbr | ext ]   install master boot record
       lilo -T help                     list additional options
       lilo -X                          internal compile-time options
       lilo -V [ -v ]                   version information
U samom lilo.conf nisam imao sta da menjam, na kraju je dozvolio samo #lilo komandu da izvrsim i dalje nema promene, sistem se ponasa isto, nece da podigne slack14.
Ako mislis pobjediti, ne smijes izgubiti!



Administrator
Administrator
offline
User avatar

Posts: 877
Joined: 25 May 2008, 10:44
Location: Valjevo, Srbija

Post Napisano: 25 Dec 2013, 16:21


Probaj samo komandu bez -v. I iznesi ovde izlaz komande. Takođe, ako možeš, izbaci i izlaz komandi:

Code: Select all

# fdisk -l
# blikd
nije važno samo raditi ono što voliš...važnije je voleti ono što radiš



Elitni član
Elitni član
offline
User avatar

Posts: 362
Joined: 15 Jul 2007, 03:58
Location: Beograd

Post Napisano: 25 Dec 2013, 16:43


Code: Select all

# fdisk -l

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x1da9efb0

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048   209717247   104857600    7  HPFS/NTFS/exFAT
/dev/sda2       209717304   695196809   242739753    7  HPFS/NTFS/exFAT
/dev/sda3       695196810   966579389   135691290    5  Extended
/dev/sda5       695196873   699405839     2104483+  82  Linux swap
/dev/sda6       699405903   699919919      257008+  83  Linux
/dev/sda7       699919983   741865634    20972826   83  Linux
/dev/sda8       741865698   825753599    41943951   83  Linux
/dev/sda9       825753663   826331939      289138+  83  Linux
/dev/sda10      826332003   886495364    30081681   83  Linux
/dev/sda11      886495428   966579389    40041981   83  Linux

Code: Select all

# blikd
-su: blikd: command not found

Code: Select all

# lilo /dev/sda
usage: lilo [ -C config_file ] -q [ -m map_file ] [ -v N | -v ... ]
       lilo [ -C config_file ] [ -b boot_device ] [ -c ] [ -g | -l | -L ]
            [ -F ] [ -i boot_loader ] [ -m map_file ] [ -d delay ]
            [ -v N | -v ... ] [ -t ] [ -s save_file | -S save_file ]
            [ -p ][ -P fix | -P ignore ] [ -r root_dir ] [ -w | -w+ ]
       lilo [ -C config_file ] [ -m map_file ] -R [ word ... ]
       lilo [ -C config_file ] -I name [ options ]
       lilo [ -C config_file ] [ -s save_file ] -u | -U [ boot_device ]
       lilo -H                          install only to active discs (RAID-1)
       lilo -A /dev/XXX [ N ]           inquire/activate a partition
       lilo -M /dev/XXX [ mbr | ext ]   install master boot record
       lilo -T help                     list additional options
       lilo -X                          internal compile-time options
       lilo -V [ -v ]                   version information
Ako mislis pobjediti, ne smijes izgubiti!



Administrator
Administrator
offline
User avatar

Posts: 3451
Joined: 01 Apr 2012, 13:50
Location: Mlečni put

Post Napisano: 25 Dec 2013, 16:46


Greška u kucanju se provukla, komanda je:

Code: Select all

# blkid
Use the source, Luke
SSZ irc kanal
Spread the Word, “CHOOSE SLACK! and Don’t look back.”



Administrator
Administrator
offline
User avatar

Posts: 877
Joined: 25 May 2008, 10:44
Location: Valjevo, Srbija

Post Napisano: 25 Dec 2013, 16:51


Izvini, moja greška (u brzini). Dakle, komanda je:

Code: Select all

#blkid
Ukucaj samo

Code: Select all

# lilo
I prekopiraj sadržaj ovde. Takođe, vrlo bitno je da ovo uradiš iz novog (14.1) sistema.
nije važno samo raditi ono što voliš...važnije je voleti ono što radiš


Post Reply

Who is online

Users browsing this forum: No registered users and 15 guests