You are not logged in.

#1 2016-02-05 10:04:30

pefc58008
Member
Registered: 2016-02-05
Posts: 7

[SOLVED] Copleted installation w/ no errors; cant boot

Hey guys and gals, I just performed an archlinux installation as instructed in this german guide >>https://wiki.archlinux.de/title/Anleitung_f%C3%BCr_Einsteiger<<
Some infos:

GPT
sda1 = ext4 | boot   | bios boot 100M
sda2 = ext4 | root    | linux root (64bit) 10G
sda3 = ext4 | home | linux home  450G
sda4 = swap | linux swap 1G

(I know this is not the perfect way of organizing my hdd but I only want to learn about arch.. so that should not be a matter to discuss)

Everything worked absolutely fine, except for the temp net config (but I got that right in the end) and I got to the point of installing GRUB.. Which worked absolutely fine as well. So here I am, restarting my pc, hoping for a better tomorow, getting all excited and my pc just does not want to boot. My PC sends me back into the BIOS without even trying anything (so it seems).


Please help me a little bit to get my archlinux going. Maybe you did a guide and it works 10/10 times? Link pls

Thanks!

Last edited by pefc58008 (2016-02-16 08:35:39)

Offline

#2 2016-02-05 10:22:24

bstaletic
Member
Registered: 2014-02-02
Posts: 658

Re: [SOLVED] Copleted installation w/ no errors; cant boot

After grub installation have you done grub-install and grub-mkconfig?

Offline

#3 2016-02-05 10:25:43

pefc58008
Member
Registered: 2016-02-05
Posts: 7

Re: [SOLVED] Copleted installation w/ no errors; cant boot

Yes.
I did the following:

pacman -S grub
grub-mkconfig -o /boot/grub/grub.cfg
grub-install /dev/sda      (maybe I had to put sda1 instead?)

edit: I wasnt shown any errors or warning.

Last edited by pefc58008 (2016-02-05 10:26:30)

Offline

#4 2016-02-05 10:49:39

bstaletic
Member
Registered: 2014-02-02
Posts: 658

Re: [SOLVED] Copleted installation w/ no errors; cant boot

Try running grub-mkconfig again. Usually you first install grub than configure it. Failing that try

grub-install --target=i386-pc --recheck /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg

Offline

#5 2016-02-05 10:52:38

ymihc
Member
Registered: 2016-02-03
Posts: 21

Re: [SOLVED] Copleted installation w/ no errors; cant boot

pefc58008 wrote:

pacman -S grub
grub-mkconfig -o /boot/grub/grub.cfg
grub-install /dev/sda      (maybe I had to put sda1 instead?)

Wrong order? First grub-install, after that grub-mkconfig; see Beginners guide: Install a boot loader for reference.

Edit: A tad too late with my answer.

Last edited by ymihc (2016-02-05 10:55:47)

Offline

#6 2016-02-05 11:36:42

pefc58008
Member
Registered: 2016-02-05
Posts: 7

Re: [SOLVED] Copleted installation w/ no errors; cant boot

Thanks mates! I assume this will be an error in the german beginners guide. I will try the installation now again, from the beginning, and will report back if this is infact the mistake I made.

Offline

#7 2016-02-05 11:37:47

ymihc
Member
Registered: 2016-02-03
Posts: 21

Re: [SOLVED] Copleted installation w/ no errors; cant boot

You don't need to start all over again, just run grub-mkconfig again, as bstaletic suggested!

Offline

#8 2016-02-05 21:31:39

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: [SOLVED] Copleted installation w/ no errors; cant boot

From the ArchWiki:

While GPT support on BIOS systems is theoretically possible it sometimes isn't practical and other times there are complete incompatibilities.

https://wiki.archlinux.org/index.php/GPT#BIOS_systems

Offline

#9 2016-02-09 09:29:14

pefc58008
Member
Registered: 2016-02-05
Posts: 7

Re: [SOLVED] Copleted installation w/ no errors; cant boot

Sorry for my late response!

I did the installation guide again, but this time I changed the order of my grub configuration, it does not solve my problem.
I discovered that my kernel installation displays two warnings about possibly missing modules. The modules are called 'aic94xx' and 'wd719x', I tried installing them this way:

German Guide says in >>/etc/modules-load.d/meinemodule.conf<< kernel modules are named which will be installed additionally, so I just wrote them in that file.

The guide says nothing about how they end up being installed, I assumed it will be done while installing the kernel itself. It seems that this is not the case. Do I have to do one extra step to get these modules?
(FYI)EDIT-EDIT:
the wd719x module is a WesternDigital SCSI driver, not needed for my SATA System
the aic94xx module is a Adaptec SAS/SATA driver, I do not actually know about needing this one or not!


Maybe all this questions are pointless 'cause the german guide sucks. I will read some other guides and the content introduced by you people.

@Head_on_a_Stick thanks for the link m8, I've got to read that!

Last edited by pefc58008 (2016-02-09 09:40:37)

Offline

#10 2016-02-09 10:18:29

bstaletic
Member
Registered: 2014-02-02
Posts: 658

Re: [SOLVED] Copleted installation w/ no errors; cant boot

As far as I know the live media doesn't have those modules and that boots correctly. Is the drive you're using to boot the live media using the same controller and drivers as your hdd? If you want those modules you'll have to install them manually either from official repos or aur. I can't check which as I'm not on my Arch box.

Offline

#11 2016-02-09 10:20:14

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: [SOLVED] Copleted installation w/ no errors; cant boot

pefc58008 wrote:

I discovered that my kernel installation displays two warnings about possibly missing modules. The modules are called 'aic94xx' and 'wd719x'

Yeah, they all do that mister big_smile

(That message is normal and inconsequential and can be safely ignored)

Offline

#12 2016-02-09 12:58:04

ping8
Member
Registered: 2016-02-09
Posts: 3

Re: [SOLVED] Copleted installation w/ no errors; cant boot

Did you leave at least 1 or 2 MiB unformatted space at the beginning of the drive for grub to use? Whenever I've had a problem with grub it's always been that. Also make sure the boot flag is set on your boot partition (and if you have an lba flag on any of your partitions, it should be set on the boot partition as well).

Offline

#13 2016-02-09 14:02:43

bstaletic
Member
Registered: 2014-02-02
Posts: 658

Re: [SOLVED] Copleted installation w/ no errors; cant boot

I forgot about that 2MiB partition. At the start of the drive for grub with BIOS/GPT a partition the size of 2MiB and ef02 type is needed.

Offline

#14 2016-02-09 14:10:12

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: [SOLVED] Copleted installation w/ no errors; cant boot

^ +1

pefc58008 wrote:

sda1 = ext4 | boot   | bios boot 100M

This illustrates why command output should be posted rather than a subjective description.

I had presumed that the above "graphic" indicated that an EF02 partition (called "bios_boot" by gparted) already existed, this was silly of me.

@OP: the true picture can be seen in the output of:

# gdisk -l /dev/sda

On my machine, we see:

   4              34            2047   1007.0 KiB  EF02  BIOS boot partition

If you don't have a line like that then you need to create one, as instructed above.

Then install the GRUB bootloader to the disk, as per the ArchWiki:

# grub-install --recheck --target=i386-pc /dev/sda

Offline

#15 2016-02-16 08:34:47

pefc58008
Member
Registered: 2016-02-05
Posts: 7

Re: [SOLVED] Copleted installation w/ no errors; cant boot

Sorry for the late reply.

@Head_on_a_Stick you are right! Thanks to all of you for trying to help me! Got my system going now ~hell yeah~

Offline

Board footer

Powered by FluxBB