View previous topic :: View next topic |
Author |
Message |
corellon n00b
Joined: 09 Aug 2012 Posts: 66
|
Posted: Sun May 26, 2013 5:31 pm Post subject: Boot stops suddenly and hangs, new install [SOLVED] |
|
|
Hey guys, im very new to gentoo, much less linux installs so bear with me.
So I just installed gentoo and it hangs during boot at this:
http://imgur.com/pcWtx7Z
Sorry for the crappy picture.
-Install medium was the Gentoo 20121221 LiveDVD, but I swear I followed the handbook to the tee (for the most part; opened terminal, sudo su, etc).
-Partitions ive written for gentoo are all logical; i am dual booting with win8. Im not too familiar with uefi, but im pretty sure the mobo isnt uefi by default.
-I have not done fancy to the kernel (genkernel), if you guys want I can post fstab or lilo (I felt it was more user friendly), which I currently feel are the main sources ...of error, or I can post anything else you guys request.
-PC is a laptop, Dell Inspiron 1440.
-I think lilo works fine, when I reboot it posts and reaches the lilo bootloader, I have the option of windows or gentoo, then after choosing it shows some text and thats where it hangs.
So, in summary, I have no idea whats wrong, I can show you guys anything that will help.
Last edited by corellon on Tue May 28, 2013 4:17 am; edited 1 time in total |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sun May 26, 2013 7:15 pm Post subject: |
|
|
the screenshot suggests that lilo did its job and loaded and passed control to the kernel. The kernel appears to be misconfigured and lack support for the hard drive controller and/or adapter.
Is this a straight install to the internal hard drive with no virtual machines, raids, usb, or lvms involved?
boot the dvd.
mount the gentoo partitions.
run to find out if the dvd has the wgetpaste program.
if the dvd has wgetpaste: Code: | fdisk -l | wgetpaste
lspci -k | wgetpaste
wgetpaste /mnt/gentoo/usr/src/linux/.config
wgetpaste /mnt/gentoo/usr/src/linux/etc/lilo.conf
wgetpaste /mnt/gentoo/usr/src/linux/etc/fstab | if the dvd does not have wgetpaste:
enter the chroot, Code: | 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" | then
Code: | emerge wgetpaste pciutils usbutils
fdisk -l | wgetpaste
lspci -k | wgetpaste
wgetpaste /usr/src/linux/.config
wgetpaste /usr/src/linux/etc/lilo.conf
wgetpaste /usr/src/linux/etc/fstab | for either case, 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 |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sun May 26, 2013 7:48 pm Post subject: |
|
|
Actually the picture says there are no available partitions. one likely problem is a gpt partitioned disk and a kernel lacking gpt support. the requested information should allow analysis of that as well as other likely problems. _________________ Defund the FCC. |
|
Back to top |
|
|
corellon n00b
Joined: 09 Aug 2012 Posts: 66
|
|
Back to top |
|
|
corellon n00b
Joined: 09 Aug 2012 Posts: 66
|
Posted: Sun May 26, 2013 10:18 pm Post subject: |
|
|
If theres something wrong, please tell me and I'll change it; even if its just a test, I'll consider it.
Also, if theres something wrong with the partitions, I dont mind going through the installation again to fix it. |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
Posted: Sun May 26, 2013 10:29 pm Post subject: |
|
|
Reinstall is hardly a solution with Gentoo. Right now, after reviewing your links posted, I'd say either initrd you built with your genkernel is incomplete or the drive order is changed and your root is not on sda after booting. _________________ My Gentoo installation notes.
Please learn how to denote units correctly! |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sun May 26, 2013 10:37 pm Post subject: |
|
|
workin' on a reply.
tweaks, nothing obviously wrong.
gpt partitioning not involved
boot dvd, mount gentoo partitions, run:
Code: | ls -l /mnt/gentoo/boot | wgetpaste | (or equivalent from chroot) post url _________________ Defund the FCC. |
|
Back to top |
|
|
corellon n00b
Joined: 09 Aug 2012 Posts: 66
|
Posted: Sun May 26, 2013 10:51 pm Post subject: |
|
|
Code: |
Gentoo-20121221 ~ # mount /dev/sda7 /mnt/gentoo
Gentoo-20121221 ~ # mount /dev/sda5 /mnt/gentoo/boot
Gentoo-20121221 ~ # mount -t proc none /mnt/gentoo/proc
Gentoo-20121221 ~ # mount --rbind /sys /mnt/gentoo/sys
Gentoo-20121221 ~ # mount --rbind /dev /mnt/gentoo/dev
Gentoo-20121221 ~ # chroot /mnt/gentoo /bin/bash
Gentoo-20121221 / # source /etc/profile
Gentoo-20121221 / # export PS1="(chroot) $PS1"
(chroot) Gentoo-20121221 / # ls -l /mnt/gentoo/boot | wgetpaste
ls: cannot access /mnt/gentoo/boot: No such file or directory
No input read. Nothing to paste. Aborting.
|
|
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
corellon n00b
Joined: 09 Aug 2012 Posts: 66
|
Posted: Sun May 26, 2013 11:02 pm Post subject: |
|
|
Code: |
(chroot) Gentoo-20121221 / # ls -l /boot | wgetpaste
Your paste can be seen here: http://bpaste.net/show/102138/
|
http://bpaste.net/show/102138/ |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sun May 26, 2013 11:32 pm Post subject: |
|
|
suggest disconnect the sdb and sdc drives if feasible, boot dvd, mount gentoo partitions, enter chroot, run Code: | genkernel --menuconfig all | when in menuconfig edit sections to: Quote: | Device Drivers --->
Generic Driver Options --->
(/sbin/udevadm) path to uevent helper
[*] Maintain a devtmpfs filesystem to mount at /dev
[*] Automount devtmpfs at /dev, after the kernel mounted the rootfs
[*] Select only drivers that don't need compile-time external firmware
[*] Prevent firmware from being built
-*- Userspace firmware loading support
[*] Include in-kernel firmware blobs in kernel binary
() External firmware blobs to build into the kernel binary
[ ] Driver Core verbose debug messages
[ ] Managed device resources verbose debug messages
<*> Serial ATA and Parallel ATA drivers --->
--- Serial ATA and Parallel ATA drivers
[ ] Verbose ATA error reporting
[*] ATA ACPI Support
[ ] SATA Port Multiplier support
*** Controllers with non-SFF native interface ***
<*> AHCI SATA support
< > Platform AHCI SATA support
< > Initio 162x SATA support
< > ACard AHCI variant (ATP 8620)
< > Silicon Image 3124/3132 SATA support
[*] ATA SFF support (for legacy IDE and PATA)
*** SFF controllers with custom DMA interface ***Generic Driver Options --->
< > Pacific Digital ADMA support
< > Pacific Digital SATA QStor support
< > Promise SATA SX4 support (Experimental)
[*] ATA BMDMA support
*** SATA SFF controllers with BMDMA ***
<*> Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support
< > Calxeda Highbank SATA support
< > Marvell SATA support
< > NVIDIA SATA support
< > Promise SATA TX2/TX4 support
< > Silicon Image SATA support
< > SiS 964/965/966/180 SATA support
< > ServerWorks Frodo / Apple K2 SATA support
< > ULi Electronics SATA support
< > VIA SATA support
< > VITESSE VSC-7174 / INTEL 31244 SATA support
*** PATA SFF controllers with BMDMA ***
< > ALi PATA support
< > AMD/NVidia PATA support
< > ARASAN CompactFlash PATA Controller Support
< > ARTOP 6210/6260 PATA support
< > ATI PATA support
< > ARTOP/Acard ATP867X PATA support
< > CMD64x PATA support
< > CS5510/5520 PATA support
< > CS5530 PATA support
< > CS5536 PATA support
< > Cypress CY82C693 PATA support (Very Experimenta
< > EFAR SLC90E66 support
< > HPT 366/368 PATA support
< > HPT 370/370A/371/372/374/302 PATA support
< > HPT 371N/372N/302N PATA support
< > HPT 343/363 PATA support
< > IT8213 PATA support (Experimental)
< > IT8211/2 PATA support
< > JMicron PATA support
< > Marvell PATA support via legacy mode
< > NETCELL Revolution RAID support
< > Ninja32/Delkin Cardbus ATA support
< > Nat Semi NS87415 PATA support
< > Intel PATA old PIIX support
< > OPTI FireStar PATA support (Very Experimental)
< > Promise PATA 2027x support
< > Older Promise PATA controller support
< > RADISYS 82600 PATA support (Experimental)
< > RDC PATA support
< > SC1200 PATA support
< > Intel SCH PATA support
< > SERVERWORKS OSB4/CSB5/CSB6/HT1000 PATA support
< > CMD / Silicon Image 680 PATA support
< > SiS PATA support
< > Toshiba Piccolo support (Experimental)
< > Compaq Triflex PATA support
< > VIA PATA support
< > Winbond SL82C105 PATA support
*** PIO-only SFF controllers ***
< > CMD640 PCI PATA support (Experimental)
< > Intel PATA MPIIX support
< > Nat Semi NS87410 PATA support
< > OPTI621/6215 PATA support (Very Experimental)
< > PCMCIA PATA support
< > PC Tech RZ1000 PATA support
*** Generic fallback / legacy drivers ***
< > ACPI firmware driver for PATA
< > Generic ATA support
< > Legacy ISA PATA support (Experimental)
[*] X86 Platform Specific Device Drivers --->
--- X86 Platform Specific Device Drivers
< > Acer Aspire One temperature and fan driver
< > Asus Laptop Extras
<M> Dell Laptop Extras (EXPERIMENTAL)
< > Fujitsu Laptop Extras
< > Fujitsu Tablet Extras
< > Fujitsu-Siemens Amilo rfkill support
< > HP laptop accelerometer
< > MSI Laptop Extras
< > Panasonic Laptop Extras
< > Compal Laptop Extras
< > Sony Laptop Extras
< > Lenovo IdeaPad Laptop Extras
< > ThinkPad ACPI Laptop Extras
<*> Thinkpad Hard Drive Active Protection System (hdaps)
< > Thermal Management driver for Intel menlow platform
< > WMI
< > Topstar Laptop Extras
< > Toshiba Bluetooth RFKill switch support
< > CMPC Laptop Extras
< > Intel Intelligent Power Sharing
< > Device driver to enable PRTL support
< > OLPC XO-1.5 ebook switch
< > Samsung Laptop driver
< > Intel Oaktrail Platform Extras
< > Samsung Q10 Extras
< > Apple Gmux Driver
File systems --->
< > Second extended fs support
< > Ext3 journalling file system support
<*> The Extended 4 (ext4) filesystem
[*] Use ext4 for ext2/ext3 file systems (NEW)
[*] Ext4 POSIX Access Control Lists
[*] Ext4 Security Labels
[ ] EXT4 debugging support
< > Reiserfs support
< > JFS filesystem support
< > XFS filesystem support
< > GFS2 file system support
< > OCFS2 file system support
< > Btrfs filesystem (EXPERIMENTAL) Unstable disk format
< > NILFS2 file system support (EXPERIMENTAL)
[*] Dnotify support
[*] Inotify support for userspace
[ ] Filesystem wide access notification
[ ] Quota support
<*> Kernel automounter version 4 support (also supports v
<M> FUSE (Filesystem in Userspace) support
< > Character device in Userspace support
Caches --->
CD-ROM/DVD Filesystems --->
DOS/FAT/NT Filesystems --->
Pseudo filesystems --->
[*] Miscellaneous filesystems --->
[*] Network File Systems --->
-*- Native language support --->
<M> Distributed Lock Manager (DLM) ---> | none of this corrects nothing obviously wrong, just eliminates possible driver fratricide, adds some items that have been reported to help with similar problems. After the edit, exit menucnfig saving the configuration and allow genkernel to run to completion.
edit lilo.cnf: Quote: | boot=/dev/sda
prompt
timeout=50
default=gentoo
image=/boot/kernel-genkernel-x86_64-3.8.13-gentoo
label=gentoo
read-only
append="real_root=/dev/sda7 rootfstype=ext4"
initrd=/boot/initramfs-genkernel-x86_64-3.8.13-gentoo
image=/boot/kernel-genkernel-x86_64-3.8.13-gentoo
label=gentoo
read-only
append="real_root=/dev/sda7 rootfstype=ext4"
append="init=/bin/bb"
other=/dev/sda1
label=windows | or, if sdb and or sdc still connected, quote]boot=/dev/sda
prompt
timeout=50
default=gentoo
image=/boot/kernel-genkernel-x86_64-3.8.13-gentoo
label=gentoo
read-only
append="real_root=/dev/sda7 rootfstype=ext4"
initrd=/boot/initramfs-genkernel-x86_64-3.8.13-gentoo
image=/boot/kernel-genkernel-x86_64-3.8.13-gentoo
label=gentoo b
read-only
append="real_root=/dev/sdb7 rootfstype=ext4"
initrd=/boot/initramfs-genkernel-x86_64-3.8.13-gentoo
image=/boot/kernel-genkernel-x86_64-3.8.13-gentoo
label=gentoo
read-only
append="real_root=/dev/sda7 rootfstype=ext4"
initrd=/boot/initramfs-genkernel-x86_64-3.8.13-gentoo
image=/boot/kernel-genkernel-x86_64-3.8.13-gentoo
label=gentoo c
read-only
append="real_root=/dev/sdc7 rootfstype=ext4"
append="init=/bin/bb"
other=/dev/sda1
label=windows[/quote] rerun lilo, exit the chroot, reboot
the multiple choice reboot is to allow checking the possibility that sdb and sdc being connected has changed sda drive name
during the reboot enter bios and check that the hard drive controller is in ahci mode _________________ Defund the FCC. |
|
Back to top |
|
|
corellon n00b
Joined: 09 Aug 2012 Posts: 66
|
Posted: Mon May 27, 2013 12:15 am Post subject: |
|
|
Waiting..
Am I still in the blue? After this I will edit lilo.
Code: |
(chroot) Gentoo-20121221 / # genkernel --menuconfig all
* Gentoo Linux Genkernel; Version 3.4.45
* Running with options: --menuconfig all
* Using genkernel.conf from /etc/genkernel.conf
* Sourcing arch-specific config.sh from /usr/share/genkernel/arch/x86_64/config.sh ..
* Sourcing arch-specific modules_load from /usr/share/genkernel/arch/x86_64/modules_load ..
* Linux Kernel 3.8.13-gentoo for x86_64...
* .. with config file /etc/kernels/kernel-config-x86_64-3.8.13-gentoo
* kernel: Using config from /etc/kernels/kernel-config-x86_64-3.8.13-gentoo
* Previous config backed up to .config--2013-05-26--15-58-05.bak
* kernel: >> Running mrproper...
* >> Running oldconfig...
* kernel: >> Cleaning...
* kernel: >> Invoking menuconfig...
#
# configuration written to .config
#
*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.
* >> Compiling 3.8.13-gentoo bzImage...
make
|
edit:
should i be inputting something along with make?
edit2:
nevermind i think. its doing things
Code: |
(chroot) Gentoo-20121221 / # genkernel --menuconfig all
* Gentoo Linux Genkernel; Version 3.4.45
* Running with options: --menuconfig all
* Using genkernel.conf from /etc/genkernel.conf
* Sourcing arch-specific config.sh from /usr/share/genkernel/arch/x86_64/config.sh ..
* Sourcing arch-specific modules_load from /usr/share/genkernel/arch/x86_64/modules_load ..
* Linux Kernel 3.8.13-gentoo for x86_64...
* .. with config file /etc/kernels/kernel-config-x86_64-3.8.13-gentoo
* kernel: Using config from /etc/kernels/kernel-config-x86_64-3.8.13-gentoo
* Previous config backed up to .config--2013-05-26--15-58-05.bak
* kernel: >> Running mrproper...
* >> Running oldconfig...
* kernel: >> Cleaning...
* kernel: >> Invoking menuconfig...
#
# configuration written to .config
#
*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.
* >> Compiling 3.8.13-gentoo bzImage...
make
* >> Not installing firmware as it's included in the kernel already (CONFIG_FIRMWARE_IN_KERNEL=y)...
* >> Compiling 3.8.13-gentoo modules...
| [/quote]
Last edited by corellon on Mon May 27, 2013 12:19 am; edited 1 time in total |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Mon May 27, 2013 12:18 am Post subject: |
|
|
should run for a few minutes, ls -l /boot when done and check: map, initramfs, and system.map have new recent date times _________________ Defund the FCC. |
|
Back to top |
|
|
corellon n00b
Joined: 09 Aug 2012 Posts: 66
|
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Mon May 27, 2013 4:01 am Post subject: |
|
|
from the chroot, Code: | genkernel --menuconfig all | edit menuconfig to match items below
4 items need to be enabled as built-in
new set of removals of potential interference
Quote: | Device Drivers --->
Generic Driver Options --->
(/sbin/udevadm) path to uevent helper
[*] Maintain a devtmpfs filesystem to mount at /dev
[*] Automount devtmpfs at /dev, after the kernel mounted the rootfs
[*] Select only drivers that don't need compile-time external firmware
[*] Prevent firmware from being built
-*- Userspace firmware loading support
[*] Include in-kernel firmware blobs in kernel binary
() External firmware blobs to build into the kernel binary
[ ] Driver Core verbose debug messages
[ ] Managed device resources verbose debug messages
SCSI device support --->
< > RAID Transport Class
-*- SCSI device support
< > SCSI target support
[*] legacy /proc/scsi/ support
*** SCSI support type (disk, tape, CD-ROM) ***
<*> SCSI disk support
< > SCSI tape support
< > SCSI OnStream SC-x0 tape support
<*> SCSI CDROM support
[ ] Enable vendor-specific extensions (for SCSI CDROM)
<*> SCSI generic support
< > SCSI media changer support
[*] Probe all LUNs on each SCSI device
[ ] Verbose SCSI error reporting (kernel size +=12K)
[ ] SCSI logging facility
[*] Asynchronous SCSI scanning
SCSI Transports --->
< > Parallel SCSI (SPI) Transport Attributes
< > FiberChannel Transport Attributes
< > iSCSI Transport Attributes
< > SAS Transport Attributes
< > SAS Domain Transport Attributes
< > SRP Transport Attributes
[ ] SCSI low-level drivers --->
< > SCSI Device Handlers --->
< > OSD-Initiator library
<*> Serial ATA and Parallel ATA drivers --->
--- Serial ATA and Parallel ATA drivers
[ ] Verbose ATA error reporting
[*] ATA ACPI Support
[ ] SATA Port Multiplier support
*** Controllers with non-SFF native interface ***
<*> AHCI SATA support
< > Platform AHCI SATA support
< > Initio 162x SATA support
< > ACard AHCI variant (ATP 8620)
< > Silicon Image 3124/3132 SATA support
[*] ATA SFF support (for legacy IDE and PATA)
*** SFF controllers with custom DMA interface ***Generic Driver Options --->
< > Pacific Digital ADMA support
< > Pacific Digital SATA QStor support
< > Promise SATA SX4 support (Experimental)
[*] ATA BMDMA support
*** SATA SFF controllers with BMDMA ***
<*> Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support
< > Calxeda Highbank SATA support
< > Marvell SATA support
< > NVIDIA SATA support
< > Promise SATA TX2/TX4 support
< > Silicon Image SATA support
< > SiS 964/965/966/180 SATA support
< > ServerWorks Frodo / Apple K2 SATA support
< > ULi Electronics SATA support
< > VIA SATA support
< > VITESSE VSC-7174 / INTEL 31244 SATA support
*** PATA SFF controllers with BMDMA ***
< > ALi PATA support
< > AMD/NVidia PATA support
< > ARASAN CompactFlash PATA Controller Support
< > ARTOP 6210/6260 PATA support
< > ATI PATA support
< > ARTOP/Acard ATP867X PATA support
< > CMD64x PATA support
< > CS5510/5520 PATA support
< > CS5530 PATA support
< > CS5536 PATA support
< > Cypress CY82C693 PATA support (Very Experimenta
< > EFAR SLC90E66 support
< > HPT 366/368 PATA support
< > HPT 370/370A/371/372/374/302 PATA support
< > HPT 371N/372N/302N PATA support
< > HPT 343/363 PATA support
< > IT8213 PATA support (Experimental)
< > IT8211/2 PATA support
< > JMicron PATA support
< > Marvell PATA support via legacy mode
< > NETCELL Revolution RAID support
< > Ninja32/Delkin Cardbus ATA support
< > Nat Semi NS87415 PATA support
< > Intel PATA old PIIX support
< > OPTI FireStar PATA support (Very Experimental)
< > Promise PATA 2027x support
< > Older Promise PATA controller support
< > RADISYS 82600 PATA support (Experimental)
< > RDC PATA support
< > SC1200 PATA support
< > Intel SCH PATA support
< > SERVERWORKS OSB4/CSB5/CSB6/HT1000 PATA support
< > CMD / Silicon Image 680 PATA support
< > SiS PATA support
< > Toshiba Piccolo support (Experimental)
< > Compaq Triflex PATA support
< > VIA PATA support
< > Winbond SL82C105 PATA support
*** PIO-only SFF controllers ***
< > CMD640 PCI PATA support (Experimental)
< > Intel PATA MPIIX support
< > Nat Semi NS87410 PATA support
< > OPTI621/6215 PATA support (Very Experimental)
< > PCMCIA PATA support
< > PC Tech RZ1000 PATA support
*** Generic fallback / legacy drivers ***
< > ACPI firmware driver for PATA
< > Generic ATA support
< > Legacy ISA PATA support (Experimental)
[*] X86 Platform Specific Device Drivers --->
--- X86 Platform Specific Device Drivers
< > Acer Aspire One temperature and fan driver
< > Asus Laptop Extras
<M> Dell Laptop Extras (EXPERIMENTAL)
< > Fujitsu Laptop Extras
< > Fujitsu Tablet Extras
< > Fujitsu-Siemens Amilo rfkill support
< > HP laptop accelerometer
< > MSI Laptop Extras
< > Panasonic Laptop Extras
< > Compal Laptop Extras
< > Sony Laptop Extras
< > Lenovo IdeaPad Laptop Extras
< > ThinkPad ACPI Laptop Extras
<*> Thinkpad Hard Drive Active Protection System (hdaps)
< > Thermal Management driver for Intel menlow platform
< > WMI
< > Topstar Laptop Extras
< > Toshiba Bluetooth RFKill switch support
< > CMPC Laptop Extras
< > Intel Intelligent Power Sharing
< > Device driver to enable PRTL support
< > OLPC XO-1.5 ebook switch
< > Samsung Laptop driver
< > Intel Oaktrail Platform Extras
< > Samsung Q10 Extras
< > Apple Gmux Driver
File systems --->
< > Second extended fs support
< > Ext3 journalling file system support
<*> The Extended 4 (ext4) filesystem
[*] Use ext4 for ext2/ext3 file systems (NEW)
[*] Ext4 POSIX Access Control Lists
[*] Ext4 Security Labels
[ ] EXT4 debugging support
< > Reiserfs support
< > JFS filesystem support
< > XFS filesystem support
< > GFS2 file system support
< > OCFS2 file system support
< > Btrfs filesystem (EXPERIMENTAL) Unstable disk format
< > NILFS2 file system support (EXPERIMENTAL)
[*] Dnotify support
[*] Inotify support for userspace
[ ] Filesystem wide access notification
[ ] Quota support
<*> Kernel automounter version 4 support (also supports v
<M> FUSE (Filesystem in Userspace) support
< > Character device in Userspace support
Caches --->
CD-ROM/DVD Filesystems --->
DOS/FAT/NT Filesystems --->
Pseudo filesystems --->
[*] Miscellaneous filesystems --->
[*] Network File Systems --->
-*- Native language support --->
<M> Distributed Lock Manager (DLM) ---> |
If the kernel is compiled this way, use of an initramfs should not be required to boot. The fdisk paste still lists /dev/sdb; the possibility of gentoo being on /dev/sdb as a result of kernel name choices being different between the dvd and the hard drive kernels still exists. Propose lilo.conf provide two choices, root=/dev/sda no initrd, root=/dev/sdb no initrd, Try each in turn hoping 1 works and identifies the problem.
proposed lilo.conf: Quote: | boot=/dev/sda
prompt
timeout=50
default=gentoo-a
image=/boot/kernel-genkernel-x86_64-3.8.13-gentoo
label=gentoo-a
read-only
append="root=/dev/sda7 rootfstype=ext4"
image=/boot/kernel-genkernel-x86_64-3.8.13-gentoo
label=gentoo-b
read-only
append="root=/dev/sdb7 rootfstype=ext4"
image=/boot/kernel-genkernel-x86_64-3.8.13-gentoo
label=gentoo
read-only
append="real_root=/dev/sda7 rootfstype=ext4"
append="init=/bin/bb"
other=/dev/sda1
label=windows |
rerun lilo _________________ Defund the FCC.
Last edited by DONAHUE on Mon May 27, 2013 3:33 pm; edited 1 time in total |
|
Back to top |
|
|
corellon n00b
Joined: 09 Aug 2012 Posts: 66
|
Posted: Mon May 27, 2013 1:51 pm Post subject: |
|
|
Some things could not be excluded, such as SCSI target support, Parallel SCSI (SPI) Transport Attributes, etc. They were modular in curly brackets and could not be excluded.
Also, did you accidentally paste bootloader instructions into the kernel config, or is there some way I can add them to the kernel config?
edit:
Code: |
(chroot) Gentoo-20121221 / # /sbin/lilo
Warning: LBA32 addressing assumed
Added gentoo-a *
Added gentoo-b
Fatal: Image name, label, or alias is too long: 'gentoo-a-initram'
(chroot) Gentoo-20121221 / #
|
edit2:
Rebooted without editing any of the greentext and this was the result:
Code: |
boot:
Loading gentooEBDA is big; kernel setup stack overlaps LILO second stage.
|
|
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Mon May 27, 2013 3:34 pm Post subject: |
|
|
Quote: | Some things could not be excluded, such as SCSI target support, Parallel SCSI (SPI) Transport Attributes, etc. |
let me work up and paste a complete manual kernel config for you based on pappy's kernel seeds
boot cd, mount gentoo partitions, Code: | wgetpaste /mnt/gentoo/proc/cpuinfo
wgetpaste /mnt/gentoo/etc/portage/make.conf
ls /mnt/gentoo/stage3* | wgetpaste | post url's
edited my earlier post to remove midnight madness _________________ Defund the FCC. |
|
Back to top |
|
|
corellon n00b
Joined: 09 Aug 2012 Posts: 66
|
Posted: Mon May 27, 2013 3:57 pm Post subject: |
|
|
Heres where Im at now:
Strange those directories couldnt be found. I will go ahead though and try to apply your new kernel settings.
Code: |
gentoo@Gentoo-20121221 ~ $ sudo su
Gentoo-20121221 gentoo # mount
rootfs on / type rootfs (rw)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=10240k,nr_inodes=500730,mode=755)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /newroot type tmpfs (rw,relatime)
/dev/sr0 on /mnt/cdrom type iso9660 (ro,relatime)
/dev/loop0 on /mnt/livecd type squashfs (ro,relatime)
none on /mnt/overlay type tmpfs (rw,relatime)
aufs on / type aufs (rw,relatime,si=e2175cc9807194a4)
/dev/sr0 on /mnt/cdrom type iso9660 (ro,relatime)
tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
cgroup_root on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,relatime,size=10240k,mode=755)
openrc on /sys/fs/cgroup/openrc type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/lib64/rc/sh/cgroup-release-agent.sh,name=openrc)
cpuset on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cpu on /sys/fs/cgroup/cpu type cgroup (rw,nosuid,nodev,noexec,relatime,cpu)
cpuacct on /sys/fs/cgroup/cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct)
Gentoo-20121221 gentoo # mount /dev/sda7 /mnt/gentoo
Gentoo-20121221 gentoo # mount /dev/sda5 /mnt/gentoo/boot
Gentoo-20121221 gentoo # mount -t proc none /mnt/gentoo/proc
Gentoo-20121221 gentoo # mount --rbind /sys /mnt/gentoo/sys
Gentoo-20121221 gentoo # mount --rbind /dev /mnt/gentoo/dev
Gentoo-20121221 gentoo # chroot /mnt/gentoo /bin/bash
Gentoo-20121221 / # source /etc/profile
Gentoo-20121221 / # export PS1="(chroot) $PS1"
(chroot) Gentoo-20121221 / # wgetpaste /mnt/gentoo/proc/cpuinfo
/usr/bin/wgetpaste: /mnt/gentoo/proc/cpuinfo No such file found.
(chroot) Gentoo-20121221 / # wgetpaste /mnt/gentoo/etc/portage/make.conf
/usr/bin/wgetpaste: /mnt/gentoo/etc/portage/make.conf No such file found.
(chroot) Gentoo-20121221 / # ls /mnt/gentoo/stage3* | wgetpaste
ls: cannot access /mnt/gentoo/stage3*: No such file or directory
No input read. Nothing to paste. Aborting.
(chroot) Gentoo-20121221 / #
|
edit:
was able to fix everything within kernel minus SCSI Transports. They look like this:
Code: |
{M} Parallel SCSI (SPI) Transport Attributes │ │
│ │ {M} FiberChannel Transport Attributes │ │
│ │ {M} iSCSI Transport Attributes │ │
│ │ {M} SAS Transport Attributes │ │
│ │ < > SAS Domain Transport Attributes │ │
│ │ {M} SRP Transport Attributes
|
SCSI device support
Code: |
< > RAID Transport Class │ │
│ │ -*- SCSI device support │ │
│ │ < > SCSI target support │ │
│ │ [*] legacy /proc/scsi/ support │ │
│ │ *** SCSI support type (disk, tape, CD-ROM) *** │ │
│ │ <*> SCSI disk support │ │
│ │ < > SCSI tape support │ │
│ │ < > SCSI OnStream SC-x0 tape support │ │
│ │ <*> SCSI CDROM support │ │
│ │ [ ] Enable vendor-specific extensions (for SCSI CDROM) │ │
│ │ <*> SCSI generic support │ │
│ │ < > SCSI media changer support │ │
│ │ [*] Probe all LUNs on each SCSI device │ │
│ │ [ ] Verbose SCSI error reporting (kernel size +=12K) │ │
│ │ [ ] SCSI logging facility │ │
│ │ [*] Asynchronous SCSI scanning │ │
│ │ SCSI Transports ---> │ │
│ │ [ ] SCSI low-level drivers ---> │ │
│ │ [ ] PCMCIA SCSI adapter support ---> │ │
│ │ < > SCSI Device Handlers ---> │ │
│ │ < > OSD-Initiator library
|
|
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Mon May 27, 2013 4:35 pm Post subject: |
|
|
you were in the chroot where /mnt/gentoo is empty
if in the chroot:
Code: | wgetpaste /proc/cpuinfo
wgetpaste /etc/portage/make.conf
ls /stage3* | wgetpaste |
These additional changes to menuconfig should allow further deletions in SCSI Transports --->
Quote: | Device Drivers --->
[ ] Fusion MPT device support --->
< > InfiniBand support ---> |
_________________ Defund the FCC. |
|
Back to top |
|
|
corellon n00b
Joined: 09 Aug 2012 Posts: 66
|
Posted: Mon May 27, 2013 5:41 pm Post subject: |
|
|
genkernel took a long time, are you sure i cant edit the same settings using make menuconfig? never the less, its done. i also updated and reran lilo. here are the outputs you requested:
(chroot) Gentoo-20121221 / # wgetpaste /proc/cpuinfo
Your paste can be seen here: http://bpaste.net/show/102328/
(chroot) Gentoo-20121221 / # wgetpaste /etc/portage/make.conf
Your paste can be seen here: http://bpaste.net/show/102329/
(chroot) Gentoo-20121221 / # ls /stage3* | wgetpaste
Your paste can be seen here: http://bpaste.net/show/102330/
(chroot) Gentoo-20121221 / #
edit:
LILO still gives me this right after boot:
"Loading gentooEBDA is big; kernel setup stack overlaps LILO second stage."
It is the only line it prints and just hangs there.
edit2:
I read somewhere that LILO is only able to handle up to a certain file size for the kernel. If this is my case, and it is whats hindering this boot, I am willing to switch to grub or something else that will work. |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Mon May 27, 2013 10:14 pm Post subject: |
|
|
http://kernel-seeds.org/ is the reference for this
boot dvd, mount gentoo partitions, enter chroot.
Code: | nano /etc/portage/make.conf |
edit to: Quote: | # These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="bindist mmx sse sse2"
MAKEOPTS="-j3"
VIDEO_CARDS="intel"
INPUT_DEVICES="evdev synaptics" |
Code: | cd /usr/src/linux
make clean
make mrproper
wget http://bpaste.net/raw/102392/ -O /usr/src/linux/.config
make menuconfig
look around in menuconfig
change something, change it back, exit saving the configuration
make && make modules_install && make install
emerge linux-firmware
emerge b43-fwcutter
|
Code: | nano /etc/lilo.conf | edit to Quote: | boot=/dev/sda
prompt
timeout=50
default=gentoo
image=/boot/vmlinuz-3.8.13-gentoo
label=gentoo
read-only
append="root=/dev/sda7 rootfstype=ext4"
image=/boot/vmlinuz-3.8.13-gentoo
label=gentoo
read-only
append="root=/dev/sda7 rootfstype=ext4"
append="init=/bin/bb"
other=/dev/sda1
label=windows | then Code: | lilo
exit
cd
umount -l /mnt/gentoo/dev{/shm,/pts,}
umount -l /mnt/gentoo{/boot,/proc,}
reboot |
if the reboot fails: boot dvd, mount gentoo partitions, enter chroot: Code: | nano /etc/lilo.conf | edit to Quote: | boot=/dev/sda
prompt
timeout=50
default=gentoo
image=/boot/vmlinuz-3.8.13-gentoo
label=gentoo
read-only
append="root=/dev/sdb7 rootfstype=ext4"
image=/boot/vmlinuz-3.8.13-gentoo
label=gentoo
read-only
append="root=/dev/sdb7 rootfstype=ext4"
append="init=/bin/bb"
other=/dev/sda1
label=windows | then Code: | lilo
exit
cd
umount -l /mnt/gentoo/dev{/shm,/pts,}
umount -l /mnt/gentoo{/boot,/proc,}
reboot |
pictures of failure screens welcome but hopefully not happening
several edits of lilo.conf _________________ Defund the FCC. |
|
Back to top |
|
|
corellon n00b
Joined: 09 Aug 2012 Posts: 66
|
Posted: Mon May 27, 2013 11:25 pm Post subject: |
|
|
Quote: | look around in menuconfig
change something, change it back, exit saving the configuration |
So just change around one thing, doesnt matter what, change it back to how it was, save and exit? |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Mon May 27, 2013 11:35 pm Post subject: |
|
|
correct, just making sure you own it, allows the auto part to work in situ _________________ Defund the FCC. |
|
Back to top |
|
|
corellon n00b
Joined: 09 Aug 2012 Posts: 66
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|