You are not logged in.
Pages: 1
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
Posting your mkinitcpio.conf, grub.cfg and fstab will help us helping you..
Offline
oke,
Does Arch have something like wgetpaste ? I do not have a DE installed now.
Roelof
Offline
Offline
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
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
fstab > old /dev/sdx
grub.cfg uses UUID
Offline
Pekka . Sorry what do you mean exactly ? Schould I change fstab or grub.cfg ??
Roelof
Offline
Change fstab to UUID
and grub requires
unformattted, bios_grub flaged1007 KiB BIOS Boot Partition
Offline
Chips. Then I need to partition again.
I think I can better convert it back to MBR and do a reinstall.
Roelof
Offline
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.
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
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
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
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
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
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
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
Thanks, everything works now.
Now I hope I can take care that dhcpcd works on booting.
Roelof
Offline
Pages: 1