Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
The problem with first reboot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
beba
n00b
n00b


Joined: 23 Jul 2008
Posts: 18
Location: Belarus

PostPosted: Mon Nov 17, 2014 7:24 am    Post subject: The problem with first reboot Reply with quote

Hi, sorry for my English.

I try install Gentoo at server who situated in DataCenter. Trying to 3 weekends in a row.

After first reboot, he is not loaded (

What i do before first reboot:
Unpack latest stage-3, portage-latest. Change make.conf. Set up date. Emerge pci-utils, gentoo-sources. Configuration file for kernel use own, make oldconfig + select needble drivers ("lspci -k") of SATA Controller and Ethernet interface. Change fstab, create udev 70persistent-net.rules, emerge mdadm. Add mdraid to boot level, change mdadm.conf. Emerge vixie-cron, syslog, iproute2. Emerge grub2, setup and config. After that reboot.

Usually reboot norm. At now current situation reboot not norm. After loaded "rescue system" (LiveCD at Hetzner) logs not created, server not pinging.

What I try for resolve problem:
1) Change kernel from 3.17.0-gentoo to 3.17.1-gentoo and to 3.17.2-gentoo (now use this version).
2) Find our controller in kernel option description (http://cateee.net/lkddb/web-lkddb/SATA_AHCI.html) and check this option in current kernel config file.
3) Stop all raid arrays, and try install to /dev/sda.
4) Try change file system at boot partition from ext4 to ext3.
5) Try change grub2 to grub and change boot partition from ext3 to ext2.
6) Try use ncc module at grub2 for try see screen after reboot.

Some information about my system:
1) lcpci -k
http://pastebin.com/GgMBHWZn
2) make.conf
http://pastebin.com/rTyTh4kW
3) proc/cpuinfo
http://pastebin.com/UJSTmRTR
4) .config (некоторые выписки)
http://pastebin.com/18fch3g5
5) mount
/dev/sda3 on /mnt/gentoo type ext4 (rw,relatime,data=ordered)
/dev/sda1 on /mnt/gentoo/boot type ext2 (rw,relatime,stripe=4)
6) fdisk
/dev/sda1 * 2048 526335 262144 83 Linux
/dev/sda2 526336 34080767 16777216 82 Linux swap / Solaris
/dev/sda3 34080768 348653567 157286400 83 Linux

I would appreciate any help, thank you.
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1396
Location: Fayetteville, NC, USA

PostPosted: Mon Nov 17, 2014 1:22 pm    Post subject: Reply with quote

Where is it halting at? Do you get the GRUB2 menu? Does it freeze when saying "Loading initramfs"? I recently had an issue with Gentoo hanging after the GRUB2 menu and fixed it by regenerating my initramfs.
Back to top
View user's profile Send private message
N8Fear
Tux's lil' helper
Tux's lil' helper


Joined: 15 Apr 2013
Posts: 140
Location: Berlin (Germany)

PostPosted: Mon Nov 17, 2014 6:40 pm    Post subject: Reply with quote

From my personal experience with Hetzner: request a lara (remote console) to be plugged to your server. This way you can easily see the errors and reset the box if necessary. You'll save tons of time that you'd otherwise spend poking around in the dark trying to guess what fails.
Back to top
View user's profile Send private message
beba
n00b
n00b


Joined: 23 Jul 2008
Posts: 18
Location: Belarus

PostPosted: Tue Nov 18, 2014 2:33 pm    Post subject: Reply with quote

Sorry for my English.

I don't know about Lara remoute console :(((
If I enable this option, I see our problem.

First problem.
I do
grub2-install /dev/sda1
and
grub2-install /dev/md1
(http://wiki.gentoo.org/wiki/GRUB2_Quick_Start)

After execute this command I was received:
Quote:
Warrning:File system `ext2' doesn't support embedding
warning: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..
Installation finished. No error reported.


Its not work.

True, Need do
grub2-install /dev/sda
or for raid
grub2-install /dev/sda && grub2-install /dev/sdb

Second problem.

Option "Platform AHCI SATA support" in kernel.

Thanks all for your time and your answers. Good luck.
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1396
Location: Fayetteville, NC, USA

PostPosted: Tue Nov 18, 2014 3:08 pm    Post subject: Reply with quote

In my experience the error about embedding means that you have a GPT partition layout but you did not create the hidden partition for GRUB to use. When using GPT, that partition must be created and you must set the "bios_grub" flag on it.
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
Page 1 of 1

 
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