View previous topic :: View next topic |
Author |
Message |
HerrSchafer Tux's lil' helper
Joined: 18 May 2011 Posts: 139
|
Posted: Thu Oct 03, 2013 7:13 pm Post subject: |
|
|
No, @DONAHUE, the same stage3; I saw the tar output and it was the same 4.6.3 used before. I didn't ran gcc-config -l.
By the way, the kernel compilation was very quick! I have done it before (in other distros) in this machine and it took a long time! _________________ “Long is the way, and hard, that out of hell leads up to light.”
― John Milton
Last edited by HerrSchafer on Mon Oct 07, 2013 1:49 pm; edited 1 time in total |
|
Back to top |
|
|
HerrSchafer Tux's lil' helper
Joined: 18 May 2011 Posts: 139
|
Posted: Sun Oct 06, 2013 12:15 am Post subject: |
|
|
Code: | find /boot/grub/stage1
Error 15: file not found |
Code: | root (hd0,2)
Filesystem type is ext2fs, partition type 0x83 |
(I have made a ext4 partition; or is ext4 an enhaced ext2?)
Code: | setup (hd0)
Checking if "/boot/grub/stage1" exists... no
Checking if "/grub/stage1" exists... yes
Checking if "/grub/stage2" exists... yes |
May I copy the missing file? Only now I see that another file exists...
Code: | cp /grub/stage1 /boot/grub/stage1 |
The system reboots to the grub prompt; I have mounted and chrooted to instalation and made again the steps about grub, but reboot fails again. _________________ “Long is the way, and hard, that out of hell leads up to light.”
― John Milton |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sun Oct 06, 2013 12:29 am Post subject: |
|
|
from the chroot, get rid of the mislocated grub, emerge grub again, check location, setup, reboot:
Code: | emerge --unmerge grub
rm -rf /grub
emerge sys-boot/grub:0
grub
find /boot/grub/stage1
root (hd0,2)
setup (hd0)
quit
exit
reboot |
_________________ Defund the FCC. |
|
Back to top |
|
|
HerrSchafer Tux's lil' helper
Joined: 18 May 2011 Posts: 139
|
Posted: Sun Oct 06, 2013 1:07 am Post subject: |
|
|
Same error: stage1 does not exists...
I ran grub-install again but nothing. _________________ “Long is the way, and hard, that out of hell leads up to light.”
― John Milton |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sun Oct 06, 2013 1:31 am Post subject: |
|
|
did the /grub directory reappear?
ls /boot returns?? _________________ Defund the FCC. |
|
Back to top |
|
|
HerrSchafer Tux's lil' helper
Joined: 18 May 2011 Posts: 139
|
Posted: Sun Oct 06, 2013 1:47 am Post subject: |
|
|
DONAHUE wrote: | did the /grub directory reappear?
ls /boot returns?? |
Both was there! _________________ “Long is the way, and hard, that out of hell leads up to light.”
― John Milton |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sun Oct 06, 2013 1:56 am Post subject: |
|
|
mv -f /grub /boot/grub
grub
find /boot/grub/stage1
root (hd0,2)
setup (hd0)
quit
exit
reboot _________________ Defund the FCC. |
|
Back to top |
|
|
HerrSchafer Tux's lil' helper
Joined: 18 May 2011 Posts: 139
|
Posted: Sun Oct 06, 2013 4:22 pm Post subject: |
|
|
Same thing!
I follow the steps you say, but I always get the grub prompt after reboot. Damn!
I have made a whole new install; from scratch and nothing.
I have erased it all and tryed with lilo... damn GRUB prompt again.
I'm not that noob! Why the hell things are so wrong?
I've tryed even initramfs and guess what? grub prompt!
I lost one week trying to install a linux distro! This is insane!
Excuse me for this, but I'm really mad about this fails. _________________ “Long is the way, and hard, that out of hell leads up to light.”
― John Milton |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sun Oct 06, 2013 4:49 pm Post subject: |
|
|
reboot, at the grub prompt, Code: | find /boot/grub/stage1 | what result?
boot cd, enter the chroot
Code: | mount /dev/sda3 /mnt/gentoo
cp -L /etc/resolv.conf /mnt/gentoo/etc/
mount -t proc none /mnt/gentoo/proc
mount --rbind /sys /mnt/gentoo/sys
mount --rbind /dev /mnt/gentoo/dev
chroot /mnt/gentoo /bin/bash
source /etc/profile
export PS1="(chroot) $PS1"
ls -al /boot | wgetpaste
ls -al /boot/grub | wgetpaste
wgepaste /boot/grub/grub.conf | post the url's returned _________________ Defund the FCC. |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
HerrSchafer Tux's lil' helper
Joined: 18 May 2011 Posts: 139
|
Posted: Sun Oct 06, 2013 6:24 pm Post subject: |
|
|
@DONAHUE: I'll make all again and then I post what you asked. Thanks for your patience.
Jaglover wrote: | Quote: | I have erased it all and tryed with lilo... damn GRUB prompt again. |
I do not see how this is possible, unless you are installing bootloaders in one drive and booting another one with broken GRUB on it. |
I think somehow lilo didn't finished its intall. _________________ “Long is the way, and hard, that out of hell leads up to light.”
― John Milton |
|
Back to top |
|
|
HerrSchafer Tux's lil' helper
Joined: 18 May 2011 Posts: 139
|
Posted: Sun Oct 06, 2013 7:33 pm Post subject: |
|
|
Finally, my gentoo has booted properly.
I don't know what or where, but I was doing something wrong. Now the new problem is: gentoo do not see the network. I'll try to reconfig the files and then I'll cry for help if needed. I'll do something fun now because there are echoes of "emerges" and "nanos" into my head...
___ EDITED___
I tried to fix network config files without success; the next logical step would be a whole new install. But, as I said above, this new install does not boot anymore and I have no idea why. May I install gentoo in a SD card (for learning purposes)? My notebook is able to boot from a USB device. I worry about my HDD health. _________________ “Long is the way, and hard, that out of hell leads up to light.”
― John Milton |
|
Back to top |
|
|
HerrSchafer Tux's lil' helper
Joined: 18 May 2011 Posts: 139
|
Posted: Mon Oct 07, 2013 6:44 pm Post subject: |
|
|
By the way, my wireless network is invisible to gentoo and all I have done, I made through wired connection.
My hardware is BRADCOM 4313; and even putting it into kernel compilation, it stills not working.
I have an old Gentoo Live DVD (11 I think) and my wireless also isn't recognized; I'm downloading a new one (the latest I found is 20121221) and watch the wireless behavior. Is there any difference if I install Gentoo from its live DVD or from minimal CD? I ask because from live DVD I would be able to see handbook at the same time the terminal does its tasks... I have done it reading the handbook from my cellphone. But the major point of live DVD is about wireless. _________________ “Long is the way, and hard, that out of hell leads up to light.”
― John Milton |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Mon Oct 07, 2013 7:17 pm Post subject: |
|
|
no but no gentoo cd/dvd has good wireless support.
recommend you stop reinstalling, reinstall invalidates all previous troubleshooting and frequently adds new problems without solving old ones
boot the ubuntu livecd, run, post result, this will more exactly define your NIC and what driver the presumably successful ubuntu uses
boot gentoo, Code: | emerge pciutils
lspci -nk
dmesg | grep -i b43
ifconfig -a
ifconfig | post results of last four commands _________________ Defund the FCC. |
|
Back to top |
|
|
eyoung100 Veteran
Joined: 23 Jan 2004 Posts: 1428
|
|
Back to top |
|
|
HerrSchafer Tux's lil' helper
Joined: 18 May 2011 Posts: 139
|
Posted: Mon Oct 07, 2013 7:30 pm Post subject: |
|
|
DONAHUE wrote: | no but no gentoo cd/dvd has good wireless support. |
Debian also hasn't...
Quote: | boot the ubuntu livecd, run
|
Sabayon also recognizes my wireless, that's why I thought a newer one would be better _________________ “Long is the way, and hard, that out of hell leads up to light.”
― John Milton |
|
Back to top |
|
|
HerrSchafer Tux's lil' helper
Joined: 18 May 2011 Posts: 139
|
Posted: Mon Oct 07, 2013 7:50 pm Post subject: |
|
|
Code: | chaosdevice anselmo # lspci -nk
00:00.0 0600: 8086:0044 (rev 02)
Subsystem: 103c:1666
Kernel driver in use: agpgart-intel
00:02.0 0300: 8086:0046 (rev 02)
Subsystem: 103c:1666
Kernel driver in use: i915
00:16.0 0780: 8086:3b64 (rev 06)
Subsystem: 103c:1666
Kernel driver in use: mei
Kernel modules: mei
00:1a.0 0c03: 8086:3b3c (rev 05)
Subsystem: 103c:1666
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci
00:1b.0 0403: 8086:3b56 (rev 05)
Subsystem: 103c:1666
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:1c.0 0604: 8086:3b42 (rev 05)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.1 0604: 8086:3b44 (rev 05)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.2 0604: 8086:3b46 (rev 05)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1d.0 0c03: 8086:3b34 (rev 05)
Subsystem: 103c:1666
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci
00:1e.0 0604: 8086:2448 (rev a5)
00:1f.0 0601: 8086:3b09 (rev 05)
Subsystem: 103c:1666
Kernel driver in use: lpc_ich
Kernel modules: lpc_ich
00:1f.2 0106: 8086:3b29 (rev 05)
Subsystem: 103c:1666
Kernel driver in use: ahci
00:1f.3 0c05: 8086:3b30 (rev 05)
Subsystem: 103c:1666
Kernel modules: i2c_i801
00:1f.6 1180: 8086:3b32 (rev 05)
Subsystem: 103c:1666
Kernel driver in use: intel ips
Kernel modules: intel_ips
02:00.0 0280: 14e4:4727 (rev 01)
Subsystem: 103c:1483
Kernel driver in use: bcma-pci-bridge
Kernel modules: bcma, wl
03:00.0 0200: 10ec:8136 (rev 05)
Subsystem: 103c:1666
Kernel driver in use: r8169
Kernel modules: r8169
04:00.0 ff00: 10ec:5209 (rev 01)
Subsystem: 10ec:5209
Kernel driver in use: rtsx_pci
Kernel modules: rtsx_pci
04:00.1 0805: 10ec:5209 (rev 01)
Subsystem: 10ec:5209
Kernel driver in use: sdhci-pci
Kernel modules: sdhci_pci
7f:00.0 0600: 8086:2c62 (rev 02)
Subsystem: 103c:1666
7f:00.1 0600: 8086:2d01 (rev 02)
Subsystem: 103c:1666
7f:02.0 0600: 8086:2d10 (rev 02)
Subsystem: 103c:1666
7f:02.1 0600: 8086:2d11 (rev 02)
Subsystem: 103c:1666
7f:02.2 0600: 8086:2d12 (rev 02)
Subsystem: 103c:1666
7f:02.3 0600: 8086:2d13 (rev 02)
Subsystem: 103c:1666
|
From sabayon, not ubuntu... _________________ “Long is the way, and hard, that out of hell leads up to light.”
― John Milton |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Mon Oct 07, 2013 9:28 pm Post subject: |
|
|
browsing to http://kmuto.jp/debian/hcl/index.rhtmlx and checking 14e4:4727 says the driver is brcmsmac
browsing to http://wireless.kernel.org/en/users/Drivers/b43 and finding 14e4:4727 yields: Quote: | 14e4:4727 no (WIP)BCM4313 b/g/n LCN (r1) wl/brcm80211
not b43 driver, alternatives wl or brcm80211 | following the brcm80211 link yields: Quote: | Supported Chips: brcmsmac (PCIe/AXI) driver: PCI Device ID BCM4313: 0x4727
Both brcmsmac and brcmfmac drivers require firmware files that need to be separately downloaded. | If not done previously: Code: | emerge linux-firmware
ls /lib64/firmware/brcm/bcm43xx-0.fw
ls /lib64/firmware/brcm/bcm43xx_hdr-0.fw | to download and verify presence of the firmware. Kernel will probably require recompilation with following in menuconfig: Quote: | [*] Networking support --->
--- Wireless
<M> cfg80211 - wireless configuration API
[*] nl80211 testmode command
[ ] enable developer warnings
[ ] cfg80211 regulatory debugging
[ ] enable powersave by default
[ ] cfg80211 DebugFS entries
[*] cfg80211 wireless extensions compatibility
<M> Generic IEEE 802.11 Networking Stack (mac80211)
Default rate control algorithm (Minstrel) --->
[ ] Enable mac80211 mesh networking (pre-802.11s) support
[ ] Export mac80211 internals in DebugFS
[ ] Trace all mac80211 debug messages
[ ] Select mac80211 debugging features ----
Device Drivers --->
Broadcom specific AMBA --->
<*> BCMA support
[*] Support for BCMA on PCI-host bus (NEW)
[*] BCMA Broadcom GBIT MAC COMMON core driver
[ ] BCMA debugging (NEW)
[*] Network device support --->
[*] Wireless LAN --->
--- Wireless LAN
< > Marvell 8xxx Libertas WLAN driver support with thin firmware
< > Cisco/Aironet 34X/35X/4500/4800 ISA and PCI cards
< > Atmel at76c50x chipset 802.11b support
< > Atmel at76c503/at76c505/at76c505a USB cards
< > Intersil Prism GT/Duette/Indigo PCI/Cardbus (DEPRECATED)
< > USB ZD1201 based Wireless device support
< > Wireless RNDIS USB support
< > Realtek 8180/8185 PCI support
< > Realtek 8187 and 8187B USB support
< > ADMtek ADM8211 support
< > Simulated radio testing tool for mac80211
< > Marvell 88W8xxx PCI/PCIe Wireless support
< > Atheros Wireless Cards ----
< > Broadcom 43xx wireless support (mac80211 stack)
< > Broadcom 43xx-legacy wireless support (mac80211 stack)
<M> Broadcom IEEE802.11n PCIe SoftMAC WLAN driver
< > Broadcom IEEE802.11n embedded FullMAC WLAN driver
[ ] Broadcom device tracing (NEW)
[ ] Broadcom driver debug functions (NEW)
< > IEEE 802.11 for Host AP (Prism2/2.5/3 and WEP/TKIP/CCMP)
< > Intel PRO/Wireless 2100 Network Connection
< > Intel PRO/Wireless 2200BG and 2915ABG Network Connection
< > Intel Wireless WiFi Next Gen AGN - Wireless-N/Advanced-N/Ulti
< > Intel Wireless WiFi 4965AGN (iwl4965)
< > Intel PRO/Wireless 3945ABG/BG Network Connection (iwl3945)
< > Marvell 8xxx Libertas WLAN driver support
< > Hermes chipset 802.11b support (Orinoco/Prism2/Symbol)
< > Softmac Prism54 support
< > Ralink driver support ----
< > Realtek rtlwifi family of devices ----
[ ] TI Wireless LAN support ----
< > ZyDAS ZD1211/ZD1211B USB-wireless support
< > Marvell WiFi-Ex Driver
< > CW1200 WLAN support |
lspci -k in sabayon showed the other alternate driver in use: bcma-pci-bridge driver, modules bcma, wl _________________ Defund the FCC. |
|
Back to top |
|
|
HerrSchafer Tux's lil' helper
Joined: 18 May 2011 Posts: 139
|
Posted: Mon Oct 07, 2013 9:49 pm Post subject: |
|
|
Tonight I'll play Hercules and his 12 tasks... _________________ “Long is the way, and hard, that out of hell leads up to light.”
― John Milton |
|
Back to top |
|
|
eyoung100 Veteran
Joined: 23 Jan 2004 Posts: 1428
|
|
Back to top |
|
|
HerrSchafer Tux's lil' helper
Joined: 18 May 2011 Posts: 139
|
Posted: Mon Oct 07, 2013 11:09 pm Post subject: |
|
|
eyoung100 wrote: | Welcome to Gentoo without sabayon |
Friedrich Nietzsche wrote: | That which does not kill us makes us stronger. |
_________________ “Long is the way, and hard, that out of hell leads up to light.”
― John Milton |
|
Back to top |
|
|
HerrSchafer Tux's lil' helper
Joined: 18 May 2011 Posts: 139
|
Posted: Wed Oct 09, 2013 2:22 pm Post subject: |
|
|
I couldn't make it boot again. When I make it, I reply. _________________ “Long is the way, and hard, that out of hell leads up to light.”
― John Milton |
|
Back to top |
|
|
HerrSchafer Tux's lil' helper
Joined: 18 May 2011 Posts: 139
|
Posted: Thu Oct 10, 2013 9:31 pm Post subject: |
|
|
I've tried to install gentoo into my pendrive.
I swaped every sdax in the handbook with sdbx and included a different boot partition.
Grub worked, but showed me an error: it couldn't find the system.
I used hd(1,0) in the /boo/grub/grub.conf file.
Is that correct? To use sdbx instead sdax? The fdisk shows my HDD as sda and the USB Mass as sdb. _________________ “Long is the way, and hard, that out of hell leads up to light.”
― John Milton |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Thu Oct 10, 2013 10:41 pm Post subject: |
|
|
if you selected the pendrive as first to boot in bios, BIOS probably designated the pen drive as (hd0). If grub is installed on the pendrive and grub is setup on the mbr of the pendrive and the pendrive is selected as first to boot and the pen drive is /dev/sdb and the / partition is /dev/sdb3:
Quote: | title Gentoo Linux
root (hd0,0)
kernel /boot/your-kernel-name root=/dev/sdb3 | should work _________________ Defund the FCC. |
|
Back to top |
|
|
HerrSchafer Tux's lil' helper
Joined: 18 May 2011 Posts: 139
|
Posted: Fri Oct 11, 2013 1:42 pm Post subject: |
|
|
Yes, it worked; it boots (with the slpash screen) well, but when I hit enter on Gentoo option, it crashes... kernel panic. It says that couldn't mount the root filesystem.
I used exactly the same partition layout of handbook. It starts with a text screen, and then goes to "graphic text" (the 4 or 5 Tux at the top of screen) and then shows the error above.
I was thinking: I have complied the kernel with both ext2 and ext4 (plus ntfs) not as modules; I have said in /boot/grub/grub.conf that my root=/dev/sdb3; if it boots properly, why the hell can't it goes ahead? All the needed data until the crash point is in the boot partition? If I have made only the swap and an ext4 root partition would it crashes same way?
For me, gentoo has been an epic journey through linux knowledge... LOL. _________________ “Long is the way, and hard, that out of hell leads up to light.”
― John Milton |
|
Back to top |
|
|
|