You are not logged in.

#1 2013-08-12 17:30:54

roelof
Member
Registered: 2009-08-07
Posts: 99

two install problems

Hello,

I tried to install Arch Linux on a GPT disk.

All went well except the making of cpio.
There I see this message : /lib/modules/3.10.3-arch/ is not a valid kernel module 

Second problem I have is when I  boot I only see a Grub prompt.

I know that /dev/sda1 is my boot partition and /dev/sda3 is my root partition.

Regards,

Roelof

Offline

#2 2013-08-12 18:08:28

Gregosky
Member
From: UK
Registered: 2013-07-26
Posts: 179

Re: two install problems

Posting your mkinitcpio.conf, grub.cfg and fstab will help us helping you..

Offline

#3 2013-08-12 18:11:41

roelof
Member
Registered: 2009-08-07
Posts: 99

Re: two install problems

oke,

Does Arch have something like wgetpaste ? I do not have a DE  installed now.

Roelof

Offline

#4 2013-08-12 18:13:26

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: two install problems


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2013-08-12 18:17:23

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: two install problems

roelof wrote:

Does Arch have something like wgetpaste ?

Arch Linux has wgetpaste...

Offline

#6 2013-08-12 18:49:40

roelof
Member
Registered: 2009-08-07
Posts: 99

Re: two install problems

Thanks

Here the logs.

mkinitcpio.conf :  http://bpaste.net/show/122293
grub.conf          :  http://bpaste.net/show/122294
fstab                 :  http://bpaste.net/show/122295

Offline

#7 2013-08-12 19:43:23

Jasa
Banned
Registered: 2011-08-05
Posts: 41

Re: two install problems

Difference to my GPT partitioning, your grub.cfg file has insmod part_msdos instead of insmod part_gpt in menuentry area. Unless it is really needed for dual booting you could perhaps remove part_msdos from /etc/default/grub and try running grub-mkconfig again.

Offline

#8 2013-08-12 19:54:34

pekka
Member
Registered: 2011-07-21
Posts: 104

Re: two install problems

fstab > old /dev/sdx
grub.cfg uses UUID

Offline

#9 2013-08-12 19:56:31

roelof
Member
Registered: 2009-08-07
Posts: 99

Re: two install problems

Pekka . Sorry what do you mean exactly ?  Schould I change fstab or grub.cfg ??

Roelof

Offline

#10 2013-08-12 20:02:26

pekka
Member
Registered: 2011-07-21
Posts: 104

Re: two install problems

Change fstab to UUID

and grub requires
unformattted, bios_grub flaged1007 KiB BIOS Boot Partition

Offline

#11 2013-08-12 20:23:50

roelof
Member
Registered: 2009-08-07
Posts: 99

Re: two install problems

Chips. Then I need to partition again.
I think I can better convert it back to MBR and do a reinstall.

Roelof

Offline

#12 2013-08-12 20:26:28

Gregosky
Member
From: UK
Registered: 2013-07-26
Posts: 179

Re: two install problems

pekka wrote:

Change fstab to UUID

I have built some setups recently and this is not really critical. It's a good pratice though.. But still - not critical.

pekka wrote:

and grub requires
unformattted, bios_grub flaged1007 KiB BIOS Boot Partition

To set it up with GPT, not required with MBR though..

So if you are going back to MBR - you don't need BIOS boot partition mentioned by pekka.

Can you post

lsblk

Offline

#13 2013-08-12 20:35:50

roelof
Member
Registered: 2009-08-07
Posts: 99

Re: two install problems

Of course, I will do it tommorrow morning( European time). Im going to sleep now.
Do you have a good gpt partition scheme then. I have now a 2G boot, 2G swap and the rest of the 80G disk is /

Roelof

Offline

#14 2013-08-12 20:55:21

Gregosky
Member
From: UK
Registered: 2013-07-26
Posts: 179

Re: two install problems

roelof wrote:

Do you have a good gpt partition scheme then. I have now a 2G boot, 2G swap and the rest of the 80G disk is /

Take a look on this ArchWiki article for clarification about partitioning scheme when GPT and grub are used (google is your friend...)
swap size would depend on how much memory do you have. I'm sitting on 16GB hence no swap really required (I don't use any suspend modes or anything like that).
Most manuals (including the one from ArchWiki) say it's more your preference rather than any specific requirement however most of my installs don't use more than 1GB swap (that's my personal preference).

I tend to install my systems on 5GB root with 5GB var kept on separate partition but that comes from my personal experience with couple of setups I built to run on the cloud and some more experienced people here would call it rather not proper. Rest of my space goes evenly to /home and /srv (depending on specific build).

Unless there is any specific need for grub I would encourage you to use syslinux. Again - that would be my personal choice and I use it on my home box (I find it easier to maintain than grub).

Last edited by Gregosky (2013-08-12 21:03:32)

Offline

#15 2013-08-12 22:24:05

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,143

Re: two install problems

Are you sure that you partitioned GPT and not MBR because I would expect grub to figure that out when it generates grub.cfg.

There is something very wrong with grub.cfg or fstab or something.

grub.cfg is trying to use a partition which not only doesn't correspond to / in fstab but isn't listed in fstab at all.

Also, fstab claims you have a separate /boot partition but grub doesn't seem to think so.

And none of any of this explains the error you got trying to generate the initramfs.

Can you post the output of gdisk -l?

Also, is your system up to date? (pacman -Syu) Can you arch-chroot in from the live media and try regenerating the initramfs? Make sure everything is mounted in the correct spot. If that doesn't work, double-check everything is mounted correctly (i.e. that your /boot partition is mounted at /boot in the chroot, reinstall linux and try regenerating the initramfs again. Also check that /boot/grub/grub.cfg exists and is as you expect.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#16 2013-08-13 07:03:02

roelof
Member
Registered: 2009-08-07
Posts: 99

Re: two install problems

Both thanks,
I will do a new install because I destroyed the old layout.
So I can also use the 1007 KiB free space.
After that I will post all the things you asked for.
A log of lsblk and a log of gdisk -l.
I will also provide new logs of mkinitcpio.conf, grub.cgf and fstab.

Roelof

Offline

#17 2013-08-13 08:18:33

roelof
Member
Registered: 2009-08-07
Posts: 99

Re: two install problems

Hello,

Here the requested logs.

1) lsblk :                  http://bpaste.net/show/122489
2) gdisk -l                gives a error that l cannot be opened.
3) mkinitcpio.conf :  http://bpaste.net/show/122491
4) grub.cgf :             http://bpaste.net/show/122492
5) fstab :                  http://bpaste.net/show/122493

I did a grub-install /dev/sda now. But as soon as I choose a option I see a message that a disk with a uuid number could not be found.

Roelof

Last edited by roelof (2013-08-13 08:34:57)

Offline

#18 2013-08-13 11:45:26

roelof
Member
Registered: 2009-08-07
Posts: 99

Re: two install problems

I made my fstab now works with UUID instead of devices and I see something wierd.
My both devices begin with 3c and 8a but Grub still looks for a device ad4.

Maybe a good thing to make a new grub.cgf with grub-mkconf ?

Roelof

Offline

#19 2013-08-13 13:09:06

roelof
Member
Registered: 2009-08-07
Posts: 99

Re: two install problems

Thanks, everything works now.
Now I hope I can take care that dhcpcd works on booting.

Roelof

Offline

Board footer

Powered by FluxBB