Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Wygrzebalem w sieci nowe PLD Rescue CD:
https://github.com/Jajcus/pld-new-rescue/releases
O dziwo jestem milo zaskoczony w miarę bezproblemowo udało mi się to zainstalować na qemu łącznie z podniesieniem X
szybki jak slackware, multum pakietów do wyboru no i poldek jest rewelacyjnym narzędziem,
jako ze podczas procesu instalacji korzystałem z kilku howto-w w jezyku polskim i angielskim i powiem szczerze ze żaden do końca nie opisuje nie tyle poprawnego co kompletnego procesu instalacji (tak aby uniknąć niespodzianek)
pozwoliłem sobie sklecić coś do kupy sam - na bazie własnych doświadczeń.
A wiec: ( po angielsku )
Requirements:
Download RescueCD from : https://github.com/Jajcus/pld-new-rescue/releases
Boot it and login as root with password pld
Check avilable drives
# fdisk -l
Partition and create: /, /home, swap or as you demand
# cfdisk
Initiate swap:
# mkswap /dev/sda3
Make filesystem (ex. reiserfs):
# mkfs.reiserfs /dev/sda1 # mkfs.reiserfs /dev/sda2
Create mountpoint, and mount partition into it:
# mkdir /pld # mount /dev/sda1 /pld
Network should be up and running if not, go to:
https://www.pld-linux.org/docs/man/installing_pld_linux_based_on_rescue_cd
Just in case check it with:
# ping -c 5 google.com
Poldek configuration:
In file /etc/poldek/repos.d/pld-2014.conf We need to check architecture eg:
_arch = x86_64
and change value _snap to most recent eg:
_snap = 2015
#vim /etc/poldek/repos.d/pld-2014.conf
Packages installation:
# rpm --root /pld --initdb # poldek --root /pld poldek> install setup FHS udev pwdutils chkconfig dhcpcd poldek vim geninitrd kmod cpio lilo
During installation poldek is asking a few important!!! questions eg: what init system you want to use???
usually answer is: y or: s to select one you like.
After all finished quit poldek with:
poldek>quit
Prepare to install kernel:
# mount -o bind /proc /pld/proc # mount -o bind /sys /pld/sys # mount -o bind /dev /pld/dev
Configure fstab:
#vim /pld/etc/fstab /dev/sda1 / reiserfs defaults 1 1 /dev/sda2 /home reiserfs defaults 1 2 /dev/sda2 swap swap defaults 0 0
Kernel installation:
# poldek --root /pld -i kernel
It takes a while and poldek again is asking questions.
Bootloader lilo:
Edit /etc/lilo.conf
# vim /pld/etc/lilo.conf boot=/dev/sda read-only lba32 prompt timeout=100 image=/boot/vmlinuz label=pld root=/dev/sda1 initrd=/boot/initrd
And execute:
# chroot /pld /sbin/lilo
Here we almost done except one very important thing,
to change root password execute:
# chroot /pld /usr/bin/passwd
And create user:
# chroot /pld /usr/sbin/useradd -m jdoe # chroot /pld /usr/bin/passwd jdoe
Reboot:
#exit #umount /pld #reboot
& boot to new pld-base system
whole process takes around 20min
installing X is another long story.
materiały źródłowe:
http://pl.docs.pld-linux.org/index.html
https://www.pld-linux.org/docs/man/installing_pld_linux_based_on_rescue_cd
Ostatnio edytowany przez pink (2016-02-22 18:54:47)
Offline
Time (s) | Query |
---|---|
0.00013 | SET CHARSET latin2 |
0.00007 | SET NAMES latin2 |
0.00123 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='18.217.141.236' WHERE u.id=1 |
0.00073 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '18.217.141.236', 1738269694) |
0.00047 | SELECT * FROM punbb_online WHERE logged<1738269394 |
0.00093 | DELETE FROM punbb_online WHERE ident='148.251.154.226' |
0.00098 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=28285 AND t.moved_to IS NULL |
0.00005 | SELECT search_for, replace_with FROM punbb_censoring |
0.00139 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=28285 ORDER BY p.id LIMIT 0,25 |
0.00116 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=28285 |
Total query time: 0.00714 s |