[REŠENO] Instalacija Slackware na externi hdd pomoc

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

Moderator: Urednik

Post Reply

Poznata ličnost
Poznata ličnost
offline

Posts: 104
Joined: 09 May 2014, 10:59

Post Napisano: 09 Aug 2014, 18:33


Resen problem,pratio sam korake koje je napisao @stereo,malko sam nesto modifikovao ali radi.
Pokrenuo sam #mkinitrd

Code: Select all

# mkinitrd -c -k 3.10.17 -m ehci-hcd:ohci-hcd:uhci-hcd:usb-storage:ehci-pci -f ext4 -o /boot/initrd.gz -r /dev/sdb

Code: Select all

# lilo
Umesto id diska isam sam standardno /dev/sdb

A ovako izgleda moj fstab i lilo.conf

Lilo

Code: Select all

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/sdb



#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

# Append any additional kernel parameters:
append=" vt.default_utf8=0"
prompt
timeout = 300
# 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
# ramdisk = 0     # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = "UUID=7fb7238d-f6dc-4ac9-8565-a4c7f688f019"
  initrd = /boot/initrd.gz
  append = "rootdelay=30"
  label = WD
  read-only  # Partitions should be mounted read-only for checking
# Linux bootable partition config ends
Fstab

Code: Select all

UUID=1a1e56bd-683c-4bd0-a069-b8b82d219f0a        swap             swap        defaults         0   0
UUID=7fb7238d-f6dc-4ac9-8565-a4c7f688f019        /                ext4        defaults         1   1
UUID=39f63b4c-0661-436c-91b2-a7a6a75e861a        /home            ext4        defaults         1   2
#/dev/cdrom      /mnt/cdrom       auto        noauto,owner,ro,comment=x-gvfs-show 0   0
/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
tmpfs            /dev/shm         tmpfs       defaults         0   0
Nakon reboot-a eto meni radosti.

HVALA SVIMA KOJI SU UCESTVOVALI U RESAVANJU MOG PROBLEMA A POSEBNE ZASLUGE IMA @STEREO

JOS JEDNOM HVALA I IDEMO DALJE

POZDRAV
Last edited by ceki77 on 09 Aug 2014, 18:53, edited 2 times in total.



Administrator
Administrator
offline
User avatar

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

Post Napisano: 09 Aug 2014, 18:46


Nešto mi se čini da će tu biti još nekih podešavanja :D

u svakom slučaju kad skockaš sistem javi kako radi.
Use the source, Luke
SSZ irc kanal
Spread the Word, “CHOOSE SLACK! and Don’t look back.”



Poznata ličnost
Poznata ličnost
offline

Posts: 104
Joined: 09 May 2014, 10:59

Post Napisano: 09 Aug 2014, 18:55


Sad mi ostaje jos jedna stavka da ubacim u sektor boot u lilo.conf, id diska i ....



Administrator
Administrator
offline
User avatar

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

Post Napisano: 10 Aug 2014, 15:18


@Stereo: još samo jedan info i možeš lagano da skupiš tih nekoliko postova u kraći tutorijal. :) Da li je initrd potreban i za "huge" kernel?



Poznata ličnost
Poznata ličnost
offline

Posts: 104
Joined: 09 May 2014, 10:59

Post Napisano: 10 Aug 2014, 17:13


Da dodam,izmenio sam sledece stavke kao sto je @stereo postovao u ovom delu lilo.conf i dodao id usb diska

Code: Select all

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
#boot = /dev/sdb
boot = /dev/disk/by-id/usb-WD_My_Passport_0824_575835314132345537373037

Sve radi perfektno.
Pozdrav.Hvala svima u podrsci...

EDIT by stereo: ubačeni code tagovi.



Administrator
Administrator
offline
User avatar

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

Post Napisano: 10 Aug 2014, 18:58


@bocke

da i u slučaju huge kernela potreban je initrd. Evo izlaza iz ls -l /boot i uname -a sa externog na kome sam radio.

Uname -a:

Code: Select all

Linux darkstar 3.10.17-smp #2 SMP Wed Oct 23 17:13:14 CDT 2013 i686 Intel(R) Core(TM) i3-2328M CPU @ 2.20GHz GenuineIntel GNU/Linux
ls -l /boot

Code: Select all

total 31612
lrwxrwxrwx  1 root root      37 Aug  7 23:14 README.initrd -> /usr/doc/mkinitrd-1.4.8/README.initrd
lrwxrwxrwx  1 root root      31 Aug  7 23:14 System.map -> System.map-huge-smp-3.10.17-smp
-rw-r--r--  1 root root 1706325 Oct 24  2013 System.map-generic-3.10.17
-rw-r--r--  1 root root 1760315 Oct 24  2013 System.map-generic-smp-3.10.17-smp
-rw-r--r--  1 root root 2667078 Oct 24  2013 System.map-huge-3.10.17
-rw-r--r--  1 root root 2724121 Oct 24  2013 System.map-huge-smp-3.10.17-smp
-rw-r--r--  1 root root     512 Aug  8 22:25 boot.0810
-rw-r--r--  1 root root     512 Aug  7 23:27 boot.0820
-rw-r--r--  1 root root     137 Aug  7 23:23 boot_message.txt
lrwxrwxrwx  1 root root      27 Aug  7 23:14 config -> config-huge-smp-3.10.17-smp
-rw-r--r--  1 root root  140912 Oct 24  2013 config-generic-3.10.17
-rw-r--r--  1 root root  141822 Oct 24  2013 config-generic-smp-3.10.17-smp
-rw-r--r--  1 root root  140912 Oct 24  2013 config-huge-3.10.17
-rw-r--r--  1 root root  141822 Oct 24  2013 config-huge-smp-3.10.17-smp
-rwxr-xr-x  1 root root  217646 Jan 10  2011 elilo-ia32.efi
-rwxr-xr-x  1 root root  250510 Jan 10  2011 elilo-x86_64.efi
drwxr-xr-x 13 root root    4096 Aug  9 01:45 initrd-tree
-rw-r--r--  1 root root 3606193 Aug  9 01:45 initrd.gz
-rw-r--r--  1 root root   22578 Oct 28  2013 inside.bmp
-rw-------  1 root root  126976 Aug  9 01:46 map
-rw-r--r--  1 root root    6878 Oct 28  2013 onlyblue.bmp
-rw-r--r--  1 root root   14174 Feb 15  2010 slack.bmp
-rw-r--r--  1 root root   33192 Oct 28  2013 tuxlogo.bmp
lrwxrwxrwx  1 root root      28 Aug  7 23:14 vmlinuz -> vmlinuz-huge-smp-3.10.17-smp
-rw-r--r--  1 root root 3088656 Oct 24  2013 vmlinuz-generic-3.10.17
-rw-r--r--  1 root root 3272208 Oct 24  2013 vmlinuz-generic-smp-3.10.17-smp
-rw-r--r--  1 root root 5995104 Oct 24  2013 vmlinuz-huge-3.10.17
-rw-r--r--  1 root root 6251392 Oct 24  2013 vmlinuz-huge-smp-3.10.17-smp
Vidi se gde upućuju config i vmlinuz.

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


Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests