Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Fresh install, but no can boot
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
needlern
n00b
n00b


Joined: 12 Aug 2012
Posts: 46
Location: Marietta, Ga

PostPosted: Mon Jun 09, 2014 7:55 pm    Post subject: Fresh install, but no can boot Reply with quote

Prior to leaving chroot, Grub2 went through its song and dance routine and gave no error messages. So I cleaned everything up and rebooted.

I use that term rather loosely, as it tried to reboot but stops with this message

Booting 'Gentoo GNU/Linux'
Loading Linux 3.12.21-gentoo-r1 ...

and the cursor "ain't not blinking". I guess it's like the screen has frozen.

I'm guessing I should chroot back in and re look at Grub, though I don't know what I'm expecting to find.

Any thoughts?

TIA,
Bill
_________________
amd64, 1 gig memory. I'm a hobbyist scuba diver. I've dived down to 132 feet in the Caribbean's Great Blue Hole. I'm also a God loving Christian.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Mon Jun 09, 2014 8:03 pm    Post subject: Reply with quote

Does disk activity continue even though the screen freezes?
How did you create the kernel?
boot the install cd/usb, mount the gentoo partitions, run:
Code:
lspci -k | wgetpaste
wgetpaste /mnt/gentoo/usr/src/linux/.config
wgetpaste /proc/cpuinfo
post the url's returned
_________________
Defund the FCC.
Back to top
View user's profile Send private message
needlern
n00b
n00b


Joined: 12 Aug 2012
Posts: 46
Location: Marietta, Ga

PostPosted: Tue Jun 10, 2014 5:50 pm    Post subject: Reply with quote

Does disk activity continue even though the screen freezes?
No

How did you create the kernel?
Waded through and built the kernel myself

boot the install cd/usb, mount the gentoo partitions, run
# lspci -k | wgetpaste
Your paste can be seen here: http://bpaste.net/show/358884/

wgetpaste /mnt/gentoo/usr/src/linux/.config
Your paste can be seen here: http://bpaste.net/show/361011/


lspci -k | wgetpaste /proc/cpuinfo
Your paste can be seen here: http://bpaste.net/show/358886/
_________________
amd64, 1 gig memory. I'm a hobbyist scuba diver. I've dived down to 132 feet in the Caribbean's Great Blue Hole. I'm also a God loving Christian.


Last edited by needlern on Tue Jun 10, 2014 5:56 pm; edited 1 time in total
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Tue Jun 10, 2014 5:53 pm    Post subject: Reply with quote

wgetpaste /mnt/gentoo/usr/src/linux/.config :
the url of the paste is missing

while you're at it:
Code:
wgetpaste /mnt/gentoo/var/log/dmesg

_________________
Defund the FCC.


Last edited by DONAHUE on Tue Jun 10, 2014 6:01 pm; edited 1 time in total
Back to top
View user's profile Send private message
needlern
n00b
n00b


Joined: 12 Aug 2012
Posts: 46
Location: Marietta, Ga

PostPosted: Tue Jun 10, 2014 5:58 pm    Post subject: Reply with quote

Thanks, I just edited it in (.config)

Bill
_________________
amd64, 1 gig memory. I'm a hobbyist scuba diver. I've dived down to 132 feet in the Caribbean's Great Blue Hole. I'm also a God loving Christian.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Tue Jun 10, 2014 6:08 pm    Post subject: Reply with quote

Do you have an initrd/initramfs? Are you using raid, lvm, luks, or the like?

Linux/x86 3.6.8-gentoo-r1 Kernel Configuration is quite old; is that what you're expecting?

Code:
lsusb | wgetpaste
and post url please
_________________
Defund the FCC.
Back to top
View user's profile Send private message
brummbaer
n00b
n00b


Joined: 08 Jun 2014
Posts: 14

PostPosted: Tue Jun 10, 2014 7:57 pm    Post subject: Reply with quote

I've been facing a similar problem. I half way solved it by using bootoptions.

So you may try to add the common options for grafik-problems nomodeset and xforcevesa nomodeset did the trick for me. In addition I got a hint after compiling the third kernel to use
Code:
rootfstype=ext4
. So my Bootentry in /boot/grub.cfg looks like
Code:
### BEGIN /etc/grub.d/10_linux ###
Linux-Abbild gefunden: /boot/kernel-3.12.21
menuentry 'Gentoo GNU/Linux' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-deaad932-9b4e-4365-ac21-8a3d36cad531' {
        load_video
        insmod gzio
        insmod part_gpt
        insmod ext2
        set root='hd0,gpt4'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  deaad932-9b4e-4365-ac21-8a3d36cad531
        else
          search --no-floppy --fs-uuid --set=root deaad932-9b4e-4365-ac21-8a3d36cad531
        fi
        echo    'Linux 3.12.21 wird geladen …'
      linux   /boot/kernel-genkernel-x86_64-3.12.21-gentoo rootfstype=ext4 root=/dev/sda4 nomodeset xforcevesa ro
      initrd /boot/initramfs-genkernel-x86_64-3.12.21-gentoo
}



Possibly this could help you, too
Back to top
View user's profile Send private message
needlern
n00b
n00b


Joined: 12 Aug 2012
Posts: 46
Location: Marietta, Ga

PostPosted: Tue Jun 10, 2014 8:56 pm    Post subject: Reply with quote

Your paste (lsusb) can be seen here: http://bpaste.net/show/361297/

I did a "find" for both the initrd and the initramfs and nothing came back. Not using raid, lvm, luks or anything like that.

As for the kernel version (3.6.8 ...) I think that was the one that came with the genkernel. I was going to go that route originally, since I hadn't built a kernel for about two years, but then I thought Oh, just screw it. Bite the bullet and build it. So, here I is.

I'm at the point of just trying to get up and running, then I'll update everything that needs it.

Bill

Edit - BTW, when I chroot back in do you think I just need to address the grub stuff?
_________________
amd64, 1 gig memory. I'm a hobbyist scuba diver. I've dived down to 132 feet in the Caribbean's Great Blue Hole. I'm also a God loving Christian.


Last edited by needlern on Tue Jun 10, 2014 9:14 pm; edited 1 time in total
Back to top
View user's profile Send private message
needlern
n00b
n00b


Joined: 12 Aug 2012
Posts: 46
Location: Marietta, Ga

PostPosted: Tue Jun 10, 2014 9:09 pm    Post subject: Reply with quote

Thank you Brummbaer. Once I chroot back in I'll look at my grub.cfg file.

Bill
_________________
amd64, 1 gig memory. I'm a hobbyist scuba diver. I've dived down to 132 feet in the Caribbean's Great Blue Hole. I'm also a God loving Christian.
Back to top
View user's profile Send private message
brummbaer
n00b
n00b


Joined: 08 Jun 2014
Posts: 14

PostPosted: Tue Jun 10, 2014 10:02 pm    Post subject: Reply with quote

You may alter the line temporarily when you see the grub menu by typing "e". If you added the bootoption you may press F10 to start with this option.

When you found out which option works you may edit your grub.cfg.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Wed Jun 11, 2014 1:43 am    Post subject: Reply with quote

Quote:
Booting 'Gentoo GNU/Linux'
Loading Linux 3.12.21-gentoo-r1
suggests that grub2 worked as designed. I see the problem as a misconfigured kernel.
The kernel config you pasted identifies itself as
Quote:
# Linux/x86 3.6.8-gentoo-r1 Kernel Configuration
Obviously this is not Linux 3.12.21-gentoo-r1. Perhaps you pasted the kernel on the install cd; perhaps the linux symlink in the installed system is pointed at the wrong source files. In any event the pasted config can not work without an initrd . I have prepared a config file for your system. It started from a Pappy's kernel seed, archaic but the last one, updated for your equipment. If you wish to try it, proceed as follows: Boot the installcd/usb, mount the gentoo partitions, enter the chroot: (nominally)
Code:
mount /dev/sda3 /mnt/gentoo
mount /dev/sda1 /mnt/gentoo/boot
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
Code:
source /etc/profile
export PS1="(chroot) $PS1"
Then:
Code:
eselect kernel set linux-3.12.21-gentoo-r1
cd /usr/src/linux
make clean
make mrproper
wget -O /usr/src/linux/.config http://bpaste.net/raw/361836/
make menuconfig
Look around, change something, select it, change it back. This allows any automatic changes to occur . Exit enough times to be prompted to save the configuration. Save the configuration. Then:
Code:
make && make modules_install && make install
nano /etc/portage/make.conf
edit to include VIDEO_CARDS="nouveau" and INPUT_DEVICES="evdev" Then:
Code:
emerge  xf86-input-evdev xf86-video-nouveau xorg-server usbutils pciutils wgetpaste
grub2-mkconfig -o /boot/grub/grub.cfg
wgetpaste /boot/grub/grub.cfg
Then make a graceful exit:
Code:
exit
cd
umount -l /mnt/gentoo/dev{/shm,/pts,}
umount -l /mnt/gentoo{/boot,/proc,}
reboot

_________________
Defund the FCC.
Back to top
View user's profile Send private message
needlern
n00b
n00b


Joined: 12 Aug 2012
Posts: 46
Location: Marietta, Ga

PostPosted: Wed Jun 11, 2014 3:41 pm    Post subject: Reply with quote

Thanks DONAHUE. At least now I know what you were doing - the pappy kernel. I obviously screwed up!, but with your last post I should be able to dig my way out 8O . It's going to take me a little time to carefully do this, but it will get done. As Arnold Swartzeneger (sp?) once said I'll be back.

Bill
_________________
amd64, 1 gig memory. I'm a hobbyist scuba diver. I've dived down to 132 feet in the Caribbean's Great Blue Hole. I'm also a God loving Christian.
Back to top
View user's profile Send private message
needlern
n00b
n00b


Joined: 12 Aug 2012
Posts: 46
Location: Marietta, Ga

PostPosted: Wed Jun 11, 2014 6:48 pm    Post subject: @donahue Reply with quote

Right now my partition table looks like this:

/dev/sda1 1 3 ext2 grub bios-grub
/sda2 3 131 ext2 /boot
/sda3 131 643 none /swap
/sda4 643 end ext4 /root

I can reformat if need be or keep the above and sub into your instructions where needed.

Bill
_________________
amd64, 1 gig memory. I'm a hobbyist scuba diver. I've dived down to 132 feet in the Caribbean's Great Blue Hole. I'm also a God loving Christian.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Wed Jun 11, 2014 7:11 pm    Post subject: Reply with quote

when i used the word nominal I meant for you to adjust to suit your partition scheme.
I had not noticed that you were using a gpt partition scheme and uefi.
The config I provided did not include efi support.

Are you using efi stub kernel?
Which wiki(s) did you follow?
boot the install cd/usb, then:
Code:
parted -l | wgetpaste
gdisk -l /dev/sda | wgetpaste

_________________
Defund the FCC.
Back to top
View user's profile Send private message
needlern
n00b
n00b


Joined: 12 Aug 2012
Posts: 46
Location: Marietta, Ga

PostPosted: Wed Jun 11, 2014 9:35 pm    Post subject: Reply with quote

As far as I know I'm not using u/efi, though I did partition using gparted.

Quote:
parted -l | wgetpaste

returns with
Quote:
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
has been opened read-only.
Error: Invalid partition table - recursive partition on /dev/sr0.


The konsole I'd been using to do my mounting, chrooting, etc is now completly locked up. I'm going to close it and open another and see where I is.

Bill
_________________
amd64, 1 gig memory. I'm a hobbyist scuba diver. I've dived down to 132 feet in the Caribbean's Great Blue Hole. I'm also a God loving Christian.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Wed Jun 11, 2014 11:18 pm    Post subject: Reply with quote

if no efi involved the config should do fine.

the
Quote:
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
has been opened read-only.
Error: Invalid partition table - recursive partition on /dev/sr0.
is a typical comment for a cd by parted.

It should be following a summary of the hard drive(s) partitions, however, and should not cause lockup's.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
needlern
n00b
n00b


Joined: 12 Aug 2012
Posts: 46
Location: Marietta, Ga

PostPosted: Fri Jun 13, 2014 9:03 pm    Post subject: @donahue Reply with quote

I've just setup sda4 as /mnt/gentoo/root and sda2 as /mnt/gentoo/boot. Should I setup the bios-grub (sda1) as /gentoo/bios-grub also?

Bill

Edit - stupid question! It's now retracted! I'm putting it under /gentoo/bios-grub also.
_________________
amd64, 1 gig memory. I'm a hobbyist scuba diver. I've dived down to 132 feet in the Caribbean's Great Blue Hole. I'm also a God loving Christian.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Fri Jun 13, 2014 9:46 pm    Post subject: Reply with quote

Quote:
I've just setup sda4 as /mnt/gentoo/root and sda2 as /mnt/gentoo/boot.
hopefully means you have booted the install cd/usb, then mounted the gentoo partitions, by running
Code:
mount /dev/sda4 /mnt/gentoo
mount /dev/sda2 /mnt/gentoo/boot
Quote:
Should I setup the bios-grub (sda1) as /gentoo/bios-grub also?
No, the bios-grub partition was/is setup by grub-install /dev/sda after you created it with parted,
Quote:
(parted)
set 1 bios_grub on
a while ago and will be handled by grub. The swap partition, /dev/sda3, was similarly created a while ago, setup by running mkswapon, and willbe handled by the kernel and fstab.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
needlern
n00b
n00b


Joined: 12 Aug 2012
Posts: 46
Location: Marietta, Ga

PostPosted: Mon Jun 23, 2014 8:43 pm    Post subject: @Donahue Reply with quote

If I'm not careful, I'm going to die of old age B4 I get all this straightened out. 8O
I'm inclined to put the gentoo Live DVD(one from 2012)I've been using or a system rescue CD 3.8.0 or a knoppix 7.2.0 DVD, reformat to recommendations and move forward with this project.
My wife thinks I've almost lost my mind dicking around with this box :lol:

Thoughts?

Bill
_________________
amd64, 1 gig memory. I'm a hobbyist scuba diver. I've dived down to 132 feet in the Caribbean's Great Blue Hole. I'm also a God loving Christian.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54096
Location: 56N 3W

PostPosted: Mon Jun 23, 2014 8:55 pm    Post subject: Reply with quote

needlern,

Fix it, don't reinstall. Its only your kernel that is broken. Reinstalling is a bad habit you picked up from some other binary operating system.

Reinstalling won't help your kernel and you may mess up something else.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
needlern
n00b
n00b


Joined: 12 Aug 2012
Posts: 46
Location: Marietta, Ga

PostPosted: Mon Jun 23, 2014 11:01 pm    Post subject: Reply with quote

Thanks NeddySeagoon. I guess that's sage advice.
Where, on the net, do I find the info I sent you?

Bill
_________________
amd64, 1 gig memory. I'm a hobbyist scuba diver. I've dived down to 132 feet in the Caribbean's Great Blue Hole. I'm also a God loving Christian.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Mon Jun 23, 2014 11:58 pm    Post subject: Reply with quote

Did you ever try?
Boot the installcd/usb, mount the gentoo partitions, enter the chroot: (nominally)
Code:
mount /dev/sda4 /mnt/gentoo
mount /dev/sda2 /mnt/gentoo/boot
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
Code:
source /etc/profile
export PS1="(chroot) $PS1"
Then:
Code:
eselect kernel set linux-3.12.21-gentoo-r1
cd /usr/src/linux
make clean
make mrproper
wget -O /usr/src/linux/.config http://bpaste.net/raw/361836/
make menuconfig
Look around, change something, select it, change it back. This allows any automatic changes to occur . Exit enough times to be prompted to save the configuration. Save the configuration. Then:
Code:
make && make modules_install && make install
nano /etc/portage/make.conf
edit to include VIDEO_CARDS="nouveau" and INPUT_DEVICES="evdev" Then:
Code:
emerge  xf86-input-evdev xf86-video-nouveau xorg-server usbutils pciutils wgetpaste
grub2-mkconfig -o /boot/grub/grub.cfg
wgetpaste /boot/grub/grub.cfg
Then make a graceful exit:
Code:
exit
cd
umount -l /mnt/gentoo/dev{/shm,/pts,}
umount -l /mnt/gentoo{/boot,/proc,}
reboot


Your previous pastebin postings are available by clicking on the links in this thread.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54096
Location: 56N 3W

PostPosted: Tue Jun 24, 2014 6:29 pm    Post subject: Reply with quote

needlern,

You mean these pastebins?
Click on the links.

Your paste can be seen here: http://bpaste.net/show/358884/

wgetpaste /mnt/gentoo/usr/src/linux/.config
Your paste can be seen here: http://bpaste.net/show/361011/


lspci -k | wgetpaste /proc/cpuinfo
Your paste can be seen here: http://bpaste.net/show/358886/
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
needlern
n00b
n00b


Joined: 12 Aug 2012
Posts: 46
Location: Marietta, Ga

PostPosted: Tue Jun 24, 2014 9:56 pm    Post subject: Reply with quote

Thank you, NeddySeagoon. I made an incorrect post. I appreciate your input.

Bill
_________________
amd64, 1 gig memory. I'm a hobbyist scuba diver. I've dived down to 132 feet in the Caribbean's Great Blue Hole. I'm also a God loving Christian.
Back to top
View user's profile Send private message
needlern
n00b
n00b


Joined: 12 Aug 2012
Posts: 46
Location: Marietta, Ga

PostPosted: Thu Jun 26, 2014 10:19 pm    Post subject: @Donahue (and all other contributors) Reply with quote

I'm sorry for the delay in getting back to this post and your posts. Daily life and my house is claiming an inordinate amount of my time.
I have reached the point where I've chrooted back in and have stalled at/with this point:
[code]chroot /mnt/gentoo /bin/bash
Gentoo-20121221 / # source /etc/profile
Gentoo-20121221 / # export PS1="(chroot) $PS1"
(chroot) Gentoo-20121221 / # eselect kernel set linux-3.12.21-gentoo-r1
!!! Error: Target "linux-3.12.21-gentoo-r1" doesn't appear to be valid!
exiting
(chroot) Gentoo-20121221 / #

What's next?

Bill
_________________
amd64, 1 gig memory. I'm a hobbyist scuba diver. I've dived down to 132 feet in the Caribbean's Great Blue Hole. I'm also a God loving Christian.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
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