View previous topic :: View next topic |
Author |
Message |
sixpiece n00b
Joined: 29 Jul 2022 Posts: 9 Location: France
|
Posted: Fri Jul 29, 2022 2:40 pm Post subject: gentoo stalls at the beginning - Loading initial ramdisk... |
|
|
Just going to story board it and provide information. Thank you to members of irc for the support and help username234, kurly, and others. |
|
Back to top |
|
|
sixpiece n00b
Joined: 29 Jul 2022 Posts: 9 Location: France
|
|
Back to top |
|
|
sixpiece n00b
Joined: 29 Jul 2022 Posts: 9 Location: France
|
Posted: Fri Jul 29, 2022 3:01 pm Post subject: |
|
|
once live cd is up :
livecd ~ # lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop0 7:0 0 338.5M 1 loop /mnt/livecd
sda 8:0 0 126G 0 disk
├─sda1 8:1 0 256M 0 part
├─sda2 8:2 0 4G 0 part
└─sda3 8:3 0 121.7G 0 part
sr0 11:0 1 388M 0 rom /mnt/cdrom
livecd ~ # mount /dev/sda1 /boot
livecd ~ # mount /dev/sda3 /mnt/gentoo
livecd ~ # swapon /dev/sda2
livecd ~ # mount --types proc /proc /mnt/gentoo/proc
livecd ~ # mount --rbind /sys /mnt/gentoo/sys
livecd ~ # mount --make-rslave /mnt/gentoo/sys
livecd ~ # mount --rbind /dev /mnt/gentoo/dev
livecd ~ # mount --make-rslave /mnt/gentoo/dev
livecd ~ # mount --bind /run /mnt/gentoo/run
livecd ~ # mount --make-slave /mnt/gentoo/run
livecd ~ # chroot /mnt/gentoo /bin/bash
livecd / # source /etc/profile
livecd / # export PS1="(chroot) ${PS1}"
(chroot) livecd / #
do I need to after changing root type mount /boot? |
|
Back to top |
|
|
sixpiece n00b
Joined: 29 Jul 2022 Posts: 9 Location: France
|
Posted: Fri Jul 29, 2022 3:03 pm Post subject: |
|
|
# rc-status -a
Runlevel: nonetwork
local [ started ]
Runlevel: shutdown
savecache [ stopped ]
killprocs [ stopped ]
mount-ro [ stopped ]
Runlevel: default
netmount [ stopped ]
sshd [ started ]
local [ started ]
Runlevel: boot
hwclock [ started ]
modules [ started ]
fsck [ started ]
root [ started ]
mtab [ started ]
swap [ started ]
localmount [ started ]
sysctl [ started ]
bootmisc [ started ]
termencoding [ started ]
save-termencoding [ started ]
keymaps [ stopped ]
save-keymaps [ started ]
procfs [ started ]
urandom [ started ]
binfmt [ started ]
loopback [ started ]
hostname [ started ]
Runlevel: sysinit
sysfs [ started ]
devfs [ started ]
udev [ started ]
dmesg [ started ]
kmod-static-nodes [ started ]
udev-trigger [ started ]
cgroups [ started ]
Dynamic Runlevel: hotplugged
Dynamic Runlevel: needed/wanted
gpm [ started ]
Dynamic Runlevel: manual |
|
Back to top |
|
|
sixpiece n00b
Joined: 29 Jul 2022 Posts: 9 Location: France
|
Posted: Fri Jul 29, 2022 3:17 pm Post subject: |
|
|
http://videotron.eu/gentoo/config.gz.txt it won't let me post so much so I will try to fill up the directory with all these types of files and as the progress is made..
# lspci -nnk
lspci: Unable to load libkmod resources: error -2
00:00.0 Host bridge [0600]: Intel Corporation 440FX - 82441FX PMC [Natoma] [8086:1237] (rev 02)
00:01.0 ISA bridge [0601]: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II] [8086:7000]
00:01.1 IDE interface [0101]: Intel Corporation 82371AB/EB/MB PIIX4 IDE [8086:7111] (rev 01)
Kernel driver in use: ata_piix
00:02.0 VGA compatible controller [0300]: VMware SVGA II Adapter [15ad:0405]
Subsystem: VMware SVGA II Adapter [15ad:0405]
00:03.0 Ethernet controller [0200]: Intel Corporation 82540EM Gigabit Ethernet Controller [8086:100e] (rev 02)
Subsystem: Intel Corporation PRO/1000 MT Desktop Adapter [8086:001e]
Kernel driver in use: e1000
00:04.0 System peripheral [0880]: InnoTek Systemberatung GmbH VirtualBox Guest Service [80ee:cafe]
Kernel driver in use: vboxguest
00:05.0 Multimedia audio controller [0401]: Intel Corporation 82801AA AC'97 Audio Controller [8086:2415] (rev 01)
Subsystem: Dell 82801AA AC'97 Audio Controller [1028:0177]
Kernel driver in use: snd_intel8x0
00:07.0 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ACPI [8086:7113] (rev 0
Kernel driver in use: piix4_smbus
00:0c.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller [8086:1e31]
Kernel driver in use: xhci_hcd
00:0d.0 SATA controller [0106]: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [AHCI mode] [8086:2829] (rev 02)
Kernel driver in use: ahci
rc-update add syslog-ng boot |
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1660
|
Posted: Fri Jul 29, 2022 5:17 pm Post subject: |
|
|
sixpiece wrote: | http://videotron.eu/gentoo/config.gz.txt it won't let me post so much so I will try to fill up the directory with all these types of files and as the progress is made..
# lspci -nnk
00:02.0 VGA compatible controller [0300]: VMware SVGA II Adapter [15ad:0405]
Subsystem: VMware SVGA II Adapter [15ad:0405]
|
Needs the following set in the kernel and their dependencies:
CONFIG_DRM_VMWGFX=m (or =y is OK too)
CONFIG_DRM_VMWGFX_FBCON=y |
|
Back to top |
|
|
sixpiece n00b
Joined: 29 Jul 2022 Posts: 9 Location: France
|
Posted: Fri Jul 29, 2022 7:29 pm Post subject: |
|
|
it was done earlier actually now it's freezing after no memory disk .. I did a lot of guess work out of frustration I think I removed wireless lan without considering if it needed one for the virtual box... but nothing is making it load and it's sort of frustrating and hopeless this thing... |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54244 Location: 56N 3W
|
Posted: Fri Jul 29, 2022 7:49 pm Post subject: |
|
|
sixpiece,
As grknight, says, you are missing support for the emulated GPU.
To post lots of text, wgetpaste is your friend. You will need to emerge it. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
sixpiece n00b
Joined: 29 Jul 2022 Posts: 9 Location: France
|
Posted: Fri Jul 29, 2022 7:58 pm Post subject: |
|
|
it was done I made the changes before he said that... |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54244 Location: 56N 3W
|
Posted: Fri Jul 29, 2022 8:08 pm Post subject: |
|
|
sixpiece,
It it working now? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
sixpiece n00b
Joined: 29 Jul 2022 Posts: 9 Location: France
|
Posted: Sun Jul 31, 2022 5:07 am Post subject: |
|
|
no it's not working now... I'll try to understand it a little bit better...
# zcat /proc/config.gz
ok with this file how do I for example know what each value corresponds to? both is there somewhere a description? #1 , #2 how do I correlate it to source code? # 3 how do I set the value to be what it should be?
I mean I presume I have to do this to get this operating system installed... I thought it would be possible with minimum knowledge on the os to just make a sucessful build have it work and fine tune it from there. Do I have to open new threads so that this post continues to get attention?
it does not appear to just be the graphics card not working and the rest because ssh does not work. this was something brought up in irc.. |
|
Back to top |
|
|
sixpiece n00b
Joined: 29 Jul 2022 Posts: 9 Location: France
|
Posted: Sun Jul 31, 2022 7:44 am Post subject: |
|
|
<ormaaj> it's kind of hard to mess up your kernel build with your option selection. If you forget to build a module or something you'll just be missing whatever function it was, but usually it'll boot. The livecd kernels are known-good ones that you can use as backup.
<ormaaj> just get it booting and refine the details over time. genkernel isn't needed.
<sixpiece> so what do I do?
<sixpiece> to get it to boot?
<ormaaj> install stages, configure kernel, install grub, done. those are the steps. If you're going through the kernel config for the first time it'll take you a while but it's not important to understand everything and get it perfect.
<sixpiece> well that's what I thought and I did all this
<sixpiece> but it does not work
<kurly> i still don't understand why we aren't using a known good kernel (aka gentoo-kernel-bin) -- is there something non-suitable in it?
<kurly> emerge -av gentoo-kernel-bin
<sheep> I sometimes ssh from windows terminal but I hadn't seen that issue before
<sixpiece> it's not clear to me that it's the issue since the command you gave me didn't have --ask in it it -av
<sixpiece> it was -av I mean
<kurly> yes because i got tired of your keyboard not working
<sixpiece> but I just copied and pasted
<kurly> you can use --ask --verbose if you really want
<sixpiece> ic
<sixpiece> ok that finished
<kurly> what is the output of: grep -rsin installkernel /etc/portage
<kurly> hoping for a single line
<kurly> ...assuming you were trying the things i suggested the other day; it was really hard to tell
<sixpiece> out put is/etc/portage/package.use/00kurly:1:sys-kernel/installkernel-gentoo grub
<kurly> and the output of: wgetpaste -ic 'emerge -pvuDU @world'
<sixpiece> http://dpaste.com/2Y4H7RFDM
<kurly> does 'mount |grep /boot' show one line or no lines?
<sixpiece> one line because you told me to mount it
<kurly> wgetpaste -c 'ls -l /boot'
<sixpiece> http://dpaste.com/8VQKN38MJ
<kurly> wgetpaste /boot/grub/grub.cfg
<sixpiece> http://dpaste.com/EMMW3EPG4
<kurly> okay when you reboot to grub, you may need to go to advanced, and you want to boot from: Gentoo GNU/Linux, with Linux 5.15.52-gentoo-dist
<sixpiece> there aren't that many options normally but I will try
<sixpiece> it worked
<sixpiece> lol
<sixpiece> thank you kurly
<kurly> you can get rid of the other entries by removing them from /boot and rerunning grub-mkconfig
<kurly> you can install whatever you'd like; remember what i said earlier: make it work, then make it yours
<sixpiece> what was the issue?
<kurly> what issue? the not booting issue?
<kurly> your kernel config was missing ... something.
<sixpiece> interesting what was it missing?
<kurly> compare the working one to the non-working one; it's something in that diff
<sixpiece> ok lol
<sixpiece> I'm scared of deleting the working one now lol
<kurly> why would you delete the working one?
<kurly> you can delete System.map-5.15.52-gentoo yes
<sixpiece> config-5.15.52-gentoo System.map-5.15.52-gentoo-x86_64
<sixpiece> like those also just keep the gentoo-dist
<kurly> yes
<kurly> did you regenerate grub.cfg?
<sixpiece> and it's working
<sixpiece> thank you
here is a link to the wgetpastes on my website:
https://videotron.eu/gentoo/working/ there's 3 files...
Thank you to everyone in the forum and in irc for helping me get a working installation so I can start my journey on gentoo... |
|
Back to top |
|
|
|