Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I cannot boot my system
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
elc79
n00b
n00b


Joined: 13 Mar 2017
Posts: 16

PostPosted: Fri Sep 08, 2017 4:23 pm    Post subject: I cannot boot my system Reply with quote

Hi, i don't know what the hell is happening but my Gentoo system is failing to boot, first of all i lost grub after kernel recompilation and my bootloader now is lilo (the bootloader i had before grub), anyway, the boot begins and then i receive a message "/dev/sda4/ is not a valid root device" and whatever i put it's not accepted, i can't enter into the system. What i have to do?

I have a gpt disk, boot partition, root partition, swap partition, and the small one labeled bios_grub. Tell me if you need more information. Thanks.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 5842
Location: Saint Amant, Acadiana

PostPosted: Fri Sep 08, 2017 5:05 pm    Post subject: Reply with quote

Sounds like you reverted from EFI boot to legacy boot.
_________________
Please learn how to denote units correctly!

Political Correctness is all about replacing imaginary injustice with real injustice.
Back to top
View user's profile Send private message
elc79
n00b
n00b


Joined: 13 Mar 2017
Posts: 16

PostPosted: Fri Sep 08, 2017 5:14 pm    Post subject: Reply with quote

Excuse me, i'm a newbie in Gentoo, can you be more concrete? I failed to install grub during the initial installation of the system, the reason i put "efi" but indeed my VM is bios, so i installed lilo, but then i changed that parameter in make.conf and then i was able to install grub. I booted one time correctly the system, but then i had a problem with virtualbox guest additions and i had to recompile the kernel and after that the system is not working anymore. If you need more info tell what do you need, i fixed grub, now boots from grub but the error it's the same.
Back to top
View user's profile Send private message
elc79
n00b
n00b


Joined: 13 Mar 2017
Posts: 16

PostPosted: Fri Sep 08, 2017 9:32 pm    Post subject: Reply with quote

I put here some pastes in case you are interested to help me:

http://dpaste.com/34SP5G7
http://dpaste.com/0TWMJZR
http://dpaste.com/2AY375S
http://dpaste.com/1BY7Q08
http://dpaste.com/39JHW4P
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Fri Sep 08, 2017 9:45 pm    Post subject: Reply with quote

elc79,

Can you make one more paste, from inside VBox, run
Code:
lspci -nnk
and post the output.

This part of your kernel is suspect.
Code:
# SCSI Transports
#
CONFIG_SCSI_SPI_ATTRS=y
# CONFIG_SCSI_FC_ATTRS is not set
# CONFIG_SCSI_ISCSI_ATTRS is not set
# CONFIG_SCSI_SAS_ATTRS is not set
# CONFIG_SCSI_SAS_LIBSAS is not set
# CONFIG_SCSI_SRP_ATTRS is not set
# CONFIG_SCSI_LOWLEVEL is not set
# CONFIG_SCSI_LOWLEVEL_PCMCIA is not set
# CONFIG_SCSI_DH is not set
# CONFIG_SCSI_OSD_INITIATOR is not set
# CONFIG_ATA is not set


You almost certainly need CONFIG_ATA and some other things in that menu. Exactly what depends on how VBox provides a HDD to the guest.
The post I asked for will tell us that.
_________________
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
elc79
n00b
n00b


Joined: 13 Mar 2017
Posts: 16

PostPosted: Fri Sep 08, 2017 10:21 pm    Post subject: Reply with quote

wgetpaste from livecd:

http://dpaste.com/0QXSQ6G

and wgetpaste from chroot:

http://dpaste.com/0PZZ5PX
Back to top
View user's profile Send private message
elc79
n00b
n00b


Joined: 13 Mar 2017
Posts: 16

PostPosted: Sat Sep 09, 2017 9:56 am    Post subject: Reply with quote

Finally the trouble was solved, i had to enable sata_ahci, disable ext2 support, enable ext4 for ext2, disable all scsi lowlevel drivers, enable ata_piix, then recompile and all that stuff and it worked, my system is working now :)

Next step is to get guest additions working, i installed it but don't works

PD: guest additions are working now, this is looking good :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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