You are not logged in.

#1 2016-06-04 05:09:10

dakota
Member
Registered: 2016-05-20
Posts: 417

[SOLVED] New Install - Pacstrap fails to install base

I'm trying a clean install on a drive that previously contained Windows XP.

1. I deleted the old partition table with G-Parted live and then created 3 new partitions: one for /, one for home, and one for swap.
2. I booted into an live Arch CD that I had from 2014.*
3. I set up my keyboard as Dvorak, and pinged Google.
4. I created an ext4 file system on partitions 1 and 3 and swap on partition 2.
5. I mounted the file systems.
6. I edited the mirrorlist.
7. I set my system clock and then checked that it read correctly.
8. I ran pacstrap.

# timedatectl "2016-06-04 04:51:58"

# timedatectl 
      Local time: Sat 2016-06-04 05:52:03 UTC
  Universal time: Sat 2016-06-04 05:52:03 UTC
        RTC time: Sat 2016-06-04 05:52:03 UTC
       Time zone: UTC (UTC, +0000)
     NTP enabled: no
NTP synchronized: no
 RTC in local TZ: no 
      DST active: n/a

# pacstrap /mnt base

::Import PGP key 4096R/, "Seblu <Seblu@seblu.net>", created: 2011-11-10 [Y/n]
error: key "Seblu@seblu.net>" could not be imported

... plus three other keys

error: required key missing from keyring
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.

* I am using an CD from 2014 because the laptop I'm trying to install Arch on does not have a DVD player and the current live distro will not fit on a CD. Also, the laptop BIOS does not support booting from USB.

I have also tried setting the local clock and time zone, but the install still fails.

Last edited by dakota (2016-06-04 08:56:11)


"Before Enlightenment chop wood, carry water. After Enlightenment chop wood, carry water." -- Zen proverb

Offline

#2 2016-06-04 05:12:59

JohnBobSmith
Member
From: Canada
Registered: 2014-11-29
Posts: 804

Re: [SOLVED] New Install - Pacstrap fails to install base

So, whats the problem??? I see your edit further up, I will check back here tonight if I can and see if you've updated your post.


I am diagnosed with bipolar disorder. As it turns out, what I thought was my greatest weakness is now my greatest strength.

Everyday, I make a conscious choice to overcome my challenges and my problems. It's not easy, but its better than the alternative...

Offline

#3 2016-06-04 05:36:33

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

Re: [SOLVED] New Install - Pacstrap fails to install base


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2016-06-04 05:40:04

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] New Install - Pacstrap fails to install base

A CD from 2014 isn't going to work well. Pacman didn't have hook support at that point, so things will not get installed correctly.

Offline

#5 2016-06-04 07:02:10

dockland
Member
From: Sweden
Registered: 2015-06-06
Posts: 861

Re: [SOLVED] New Install - Pacstrap fails to install base

dakota wrote:

I'm trying a clean install on a drive that previously contained Windows XP.

1. I deleted the old partition table with G-Parted live and then created 3 new partitions: one for /, one for home, and one for swap.
2. I booted into an live Arch CD that I had from 2014.*
3. I set up my keyboard as Dvorak, and pinged Google.
4. I created an ext4 file system on partitions 1 and 3 and swap on partition 2.
5. I mounted the file systems.
6. I edited the mirrorlist.
7. I set my system clock and then checked that it read correctly.
8. I ran pacstrap.

# timedatectl "2016-06-04 04:51:58"

# timedatectl 
      Local time: Sat 2016-06-04 05:52:03 UTC
  Universal time: Sat 2016-06-04 05:52:03 UTC
        RTC time: Sat 2016-06-04 05:52:03 UTC
       Time zone: UTC (UTC, +0000)
     NTP enabled: no
NTP synchronized: no
 RTC in local TZ: no 
      DST active: n/a

# pacstrap /mnt base

::Import PGP key 4096R/, "Seblu <Seblu@seblu.net>", created: 2011-11-10 [Y/n]
error: key "Seblu@seblu.net>" could not be imported

... plus three other keys

error: required key missing from keyring
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.

* I am using an CD from 2014 because the laptop I'm trying to install Arch on does not have a DVD player and the current live distro will not fit on a CD. Also, the laptop BIOS does not support booting from USB.

I have also tried setting the local clock and time zone, but the install still fails.

Install from USB-stick?


I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.

Offline

#6 2016-06-04 07:17:26

JohnBobSmith
Member
From: Canada
Registered: 2014-11-29
Posts: 804

Re: [SOLVED] New Install - Pacstrap fails to install base

dakota wrote:

....
* I am using an CD from 2014 because the laptop I'm trying to install Arch on does not have a DVD player and the current live distro will not fit on a CD. Also, the laptop BIOS does not support booting from USB.
...

EDIT: I really doubt the disc from 2014 will work though... Arch is a rolling release, thus the current "version of arch" if you will is significantly farther ahead than whatever is on that ISO file. I wish you luck though. My advice would be to re-check that boot-from-usb-support if you are *certain* a current release wont fit on a blank CD-R.

Last edited by JohnBobSmith (2016-06-04 07:20:35)


I am diagnosed with bipolar disorder. As it turns out, what I thought was my greatest weakness is now my greatest strength.

Everyday, I make a conscious choice to overcome my challenges and my problems. It's not easy, but its better than the alternative...

Offline

#7 2016-06-04 08:51:52

dakota
Member
Registered: 2016-05-20
Posts: 417

Re: [SOLVED] New Install - Pacstrap fails to install base

Thank you very much! That provided a short-term workaround.

Changing the SigLevel in /etc/pacman.conf from "Required DatabaseOptional" to "Never" allowed me to ignore package signing and download/install the base and base-devel packages.

My plan for tomorrow is to upgrade pacman, reset the SigLevel and then reinstall all the base packages. I think that will bring everything up-to-date.

================

@Scimmia and @JohnBobSmith: thanks for your concern. So far, everything seems to be working. I've got my fingers crossed.

JohnBobSmith wrote:

Arch is a rolling release, thus the current "version of arch" if you will is significantly farther ahead than whatever is on that ISO file. I wish you luck though. My advice would be to re-check that boot-from-usb-support if you are *certain* a current release wont fit on a blank CD-R.

I'm certain that the BIOS does not support booting from USB (motherboard dates from 2001). I'm not certain that the current release won't fit on a CD. When I tried to burn it, that's the error I got. But it could have been some other hardware or software problem. xfburn reports the size of the iso as 780 MB. I'd like to check that with some different software because PCManFM reports it as 744 MB.

And aren't there some long-playing vinyl CDs? wink


"Before Enlightenment chop wood, carry water. After Enlightenment chop wood, carry water." -- Zen proverb

Offline

#8 2016-06-04 11:40:55

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] New Install - Pacstrap fails to install base

It's possible to boot from USB even without BIOS support, take a look at plop.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#9 2016-06-04 16:39:12

dakota
Member
Registered: 2016-05-20
Posts: 417

Re: [SOLVED] New Install - Pacstrap fails to install base

slithery wrote:

It's possible to boot from USB even without BIOS support, take a look at plop.

Wow! That looks amazing. Just the thing to breathe life into some old laptops... smile

EDIT: This solution worked perfectly. I was able to burn a CD with plop. Booting from a CD with plop then allowed me to run the arch iso from a usb device! Amazingly simple. Thanks slithery!

Last edited by dakota (2016-06-05 06:30:18)


"Before Enlightenment chop wood, carry water. After Enlightenment chop wood, carry water." -- Zen proverb

Offline

Board footer

Powered by FluxBB