Jump to content

znavko

Members
  • Content Count

    123
  • Joined

  • Last visited

Everything posted by znavko

  1. Good attempt! I think OpenRC services should be configured and redundant disabled. But I do not use NetworkManager after that. Wpa_supplicant + dhclient was working perfectly in OpenRC.
  2. Thank you, @jhan ! According to specification of Lenovo G50-30 it used 2GB DDR3L RAM, but I mounted 4GB DDR3. It stopped due to RAM crashes. ☺️
  3. ok. thank you. think I'll try to do it without genkernel just running one by one lines from here https://wiki.gentoo.org/wiki/Kernel/Configuration#Configuration_tools But I think it will be much longer than first funtoo installation. i have no sense about devices and their kernel configurations.
  4. Hello! I am trying to install gentoo-sources again, cause the problem of my Laptop Lenovo G 50-30 rests, it suddenly freezes sometimes. I emerged and compiled gentoo-sources and it successfully booted but I am watching 3 problems: 1. Sound does not work 2. Debian sources was deleted from boot, so I have only one kernel that works not fine. I did only that: # cd /usr/src # rm linux # ln -s linux-4.15.12-gentoo linux # genkernel --menuconfig all ''' then I loaded .config from debian-sources folder ''' and switched on some Atheros Wireless drivers, ''' switched off all oth
  5. I think the problem was I untar without 'p' flag.. Also can share this: When I boot intoo gentoo-sources it booted into console without xdm, wlan drivers. But booted. After I recompiled gentoo-sources it did not booted - just first screen of boot log and then black screen (when usually log becomes in a smaller font). The same with debian-sources - before recompile it booted in console, but after recompile it gives black screen.
  6. but `emerge -e @system` caused error installing lzo ... checking for suffix of executables... checking whether we are cross compiling... configure: error: in `/var/tmp/portage/dev-libs/lzo-2.10/work/lzo-2.10-abi_x86_32.x86': configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details !!! Please attach the following file when seeking support: !!! /var/tmp/portage/dev-libs/lzo-2.10/work/lzo-2.10-abi_x86_32.x86/config.log * ERROR: dev-libs/lzo-2.10::dev-kit failed (configure phase): * econf failed * * Call stack: *
  7. Hi! While install or recover system I see fonts are not readable in Russian sites. some letters are showing, some are squares with utf numbers. even linux .org.ru/forum has this problem 1. how install russian fonts temporary when boted from systemrescuecd? 2. is tere any bash script for capture screen if systemrescuecd has nothing root@sysresccd /root % whereis imagemagick imagemagick: % eix fonts cannot open database file /var/cache/eix/portage.eix for reading Did you forget to create it with "eix-update"? root@sysresccd /root % eix-update Reading Portage settings... Building d
  8. do I need this or maybe slightly thiner other? # emerge -e @system # emerge -e @world
  9. yes. I installed grub and my system booted again. But trouble is that it does not start services: xdm, wpa_supplicant. lsmod is showing too few modules, without wifi. I even cannot mount usb, cause `fdisk -l` doesnot see flash and `mount /dev/sdb1 /mnt/usb` not gives effect So I recompiled my kernel twice but no effect. what can I do ? root@sysresccd /root % mkdir /mnt/funtoo root@sysresccd /root % mount /dev/sda3 /mnt/funtoo root@sysresccd /root % ls /mnt/funtoo bin boot.tar etc lib lib64 mnt proc run srv tmp var boot dev fun.tar lib32
  10. No result achieved. Laptop does not boot from ssd after all. What I did? I booted with systemrescuecd, deleted partitions, created partitions as it was, created filesystems as they were, mounted and untar with ownership and permissions my funtoo files and /boot files. unmount and reboot. Laptop says: PXE: no bootable device. So i booted iin systemrescuecd again and can paste what I have: root@sysresccd /root % fdisk -l /dev/sda Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes /
  11. while I have my history and by the way workable system I paste what I did ''' delete all tmp data, like this large /var/tmp/portage/distfiles # rm -rf /var/tmp ''' tar all my folder # tar -cvpf funtoo-10-03-2018.tar.gz bin etc lib32 lib64 opt root run sbin srv usr var ''' archive is without compression, so gz is just automatic input by my hands ''' archive was 11 GB and did could not be copied with error by usb flsh Adata ch94) ''' i splitted (process was very long about 25 minutes) # split -n 11 funtoo-10-03-2018.tar.gz funtoo-splitted-tar.gz. ''' i got splitted files and copied to usb fl
  12. # LC_ALL="en" fdisk /dev/sda Welcome to fdisk (util-linux 2.29.2). Changes will remain in memory only, until you decide to write them. Be careful before using the write command. Command (m for help): p Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 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 Disklabel type: dos Disk identifier: 0x462af8c6 Device Boot Start End Sectors Size Id Type /dev/sda1 * 2048 264191 262144 128M 83 Linux /dev/sda2 2641
  13. the joke is that I got idea my laptop freezes suddenly exactly because of this partition error.
  14. # LC_ALL="en" fdisk /dev/sda1 Welcome to fdisk (util-linux 2.29.2). Changes will remain in memory only, until you decide to write them. Be careful before using the write command. Device /dev/sda1 already contains a ext2 signature. The signature will be removed by a write command. Device does not contain a recognized partition table. Created a new DOS disklabel with disk identifier 0xba86f0bc. Command (m for help): p Disk /dev/sda1: 128 MiB, 134217728 bytes, 262144 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal):
  15. in a qna site i read about raid and dolvm in grub.cfg. I rebooted to debian-sources to get access to /dev/sda1. if it is useful here my grub.cfg that I did not touch: # cat /boot/grub/grub.cfg set timeout=3 insmod part_msdos insmod ext2 set root=(hostdisk//dev/sda,msdos1) search --no-floppy --fs-uuid --set 47173c48-55db-4ef0-9803-91bf2303baf6 if loadfont /grub/unifont.pf2; then set gfxmode=text insmod all_video terminal_output gfxterm fi set menu_color_normal=cyan/blue set menu_color_highlight=blue/cyan menuentry "Funtoo Linux genkernel - kernel-genkernel-x86_64-4.15.7-
  16. no, i am not creating partition. but I used tool from systemrescuecd to restore partitions cause in last installation I needed to save data on disk and clicked accidentally to mkfs... cannot remember details, but that tool helped to restore partitions and now I am using that partition I had before reinstall. so may be this is causing the problem? # dmesg ''' all the white and read lines (and near sda): [ 1.494327] ACPI Warning: GPE type mismatch (level/edge) (20170831/evxface-826) [ 4.530030] pci 0000:00:1d.0: EHCI: BIOS handoff failed (BIOS bug?) 01010001 [ 5.165215] OCFS2 User
  17. # fdisk -l /dev/sda Диск /dev/sda: 111,8 GiB, 120034123776 байт, 234441648 секторов Единицы: секторов по 1 * 512 = 512 байт Размер сектора (логический/физический): 512 байт / 512 байт Размер I/O (минимальный/оптимальный): 512 байт / 512 байт Тип метки диска: dos Идентификатор диска: 0x462af8c6 Устр-во Загрузочный начало Конец Секторы Размер Идентификатор Тип /dev/sda1 * 2048 264191 262144 128M 83 Linux /dev/sda2 264192 4458495 4194304 2G 82 Linux св /dev/sda3 4458496 234442751 229984256 109,7G
  18. $ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 111,8G 0 disk ├─sda1 8:1 0 128M 0 part ├─sda2 8:2 0 2G 0 part └─sda3 8:3 0 109,7G 0 part / # blkid /dev/sda3: UUID="bf52e7c6-fe5a-49ad-9c63-006a4636caf9" TYPE="ext4"
  19. yes # cat /usr/src/linux/.config ... # # File systems # CONFIG_DCACHE_WORD_ACCESS=y CONFIG_FS_IOMAP=y CONFIG_EXT2_FS=y CONFIG_EXT2_FS_XATTR=y CONFIG_EXT2_FS_POSIX_ACL=y CONFIG_EXT2_FS_SECURITY=y CONFIG_EXT3_FS=y CONFIG_EXT3_FS_POSIX_ACL=y CONFIG_EXT3_FS_SECURITY=y CONFIG_EXT4_FS=y CONFIG_EXT4_FS_POSIX_ACL=y CONFIG_EXT4_FS_SECURITY=y
  20. # mount /dev/sda1 /boot mount: special device /dev/sda1 does not exist I get this error when run new kernel (gentoo-sources) . I have no such problem in old kernel (debian-sources) .
  21. Using Gentoo Handbook https://wiki.gentoo.org/wiki/Handbook:Alpha/Installation/Kernel I made step "Activating required options": Enabling devtmpfs support, Enabling SCSI disk support, Selecting necessary file systems. But no effect. I cannot discover which kernel configuration influences on /dev/sda1 could be mounted.
  22. I found my new kernel config lacks lot of options in 'Pseudo filesystems' and all other sections. Completely empty config. How to determine which option I need to mount /dev/sda1 ? # cat /etc/fstab ... # <fs> <mountpoint> <type> <opts> <dump/pass> /dev/sda1 /boot ext2 noauto,noatime 1 2 /dev/sda2 none swap sw 0 0 /dev/sda3 / ext4 noatime 0 1 #/dev/cdrom /mnt/cdrom auto noauto,ro 0 0
  23. kernel config is this: `# cat /usr/src/linux/.config | nc termbin.com -t 9999` http://termbin.com/fwxy was this `# cat /usr/src/linux-debian-sources-4.14.12/.config | nc termbin.com -t 9999` http://termbin.com/amr1
  24. Thank you @cardinal! Your advise was simple for reproducing. But one question rested. I run this ''' my /dev/sda1 does not mount itself # mount /dev/sda1 /boot # cd /usr/src # rm linux # ln -sf /usr/src/linux-4.15.7-gentoo-r1 /usr/src/linux # cd /usr/src/linux # eselect kernel list Available kernel symlink targets: [1] linux-4.15.7-gentoo-r1 [2] linux-debian-sources-4.14.12 * # eselect kernel set 1 # genkernel --menuconfig all ''' then I load last config from linux-debian-sources-4.14.12 and exit menu ''' it compiled kernel and modules ''' and put into /boot dir newkernel # b
×
×
  • Create New...