You are not logged in.

#26 2012-01-31 06:52:30

lam
Member
Registered: 2012-01-30
Posts: 14

Re: 2012.01-1 archboot "2k12-R1" ISO hybrid image released

Will make a quick test when i am home  from work befor i install. Archboot via usbstick

Offline

#27 2012-01-31 13:59:00

lam
Member
Registered: 2012-01-30
Posts: 14

Re: 2012.01-1 archboot "2k12-R1" ISO hybrid image released

the new files change nothing only efi shell boots

Will now install Archlinux via Usbstick

Offline

#28 2012-01-31 15:50:12

clu
Member
Registered: 2008-07-05
Posts: 40

Re: 2012.01-1 archboot "2k12-R1" ISO hybrid image released

@lam -- That's interesting. My machine is also an Asus (UX21). I even upgraded the EFI and still have the same problems.

Are you able to boot the i686 kernel without issues? (I am).


Kick out the jams! -- AUR

Offline

#29 2012-01-31 17:27:17

lam
Member
Registered: 2012-01-30
Posts: 14

Re: 2012.01-1 archboot "2k12-R1" ISO hybrid image released

I can only Boot the efi Shell , i think the asus  efi is the Problem

Offline

#30 2012-01-31 18:19:33

clu
Member
Registered: 2008-07-05
Posts: 40

Re: 2012.01-1 archboot "2k12-R1" ISO hybrid image released

I think so too -- In one of the older archboot threads there is another Asus user (a UX31) who has the same problem.

In the EFI shell I checked the EFI version and such and it showed this:

EFI Spec rev: 2.0
EFI Vendor: American Megatrends
EFI Revision: 4.635

https://bbs.archlinux.org/viewtopic.php?id=117160 (yet another person with the exact same problem)

I guess I'll submit an upstream archboot bug and then start checking with grub/asus about the bug.


Kick out the jams! -- AUR

Offline

#31 2012-01-31 18:42:17

the.ridikulus.rat
Member
From: Indiana, USA
Registered: 2011-10-04
Posts: 765

Re: 2012.01-1 archboot "2k12-R1" ISO hybrid image released

@clu: This thread is the way "upstream" discusses issues. The "upstream" is really tpowa and I am the one who implemented most of the grub2-uefi stuff in Archboot and the repo packages. There is no problem with archboot code or packaging issues to file a ticket in the bug tracker. This issue is due to grub2-uefi upstream. I think a similar issue was raised in grub-devel but forgotten by upstream.

Offline

#32 2012-01-31 18:43:53

the.ridikulus.rat
Member
From: Indiana, USA
Registered: 2011-10-04
Posts: 765

Re: 2012.01-1 archboot "2k12-R1" ISO hybrid image released

For the official AIF/Archiso though the bugtracker is the proper place to discuss issues.

EDIT: Archboot is essentially a 2 man show, so more contributors are definitely welcome. The long term goal is to integrate with AIF (setup script) but this is not going to happen anytime soon.

Last edited by the.ridikulus.rat (2012-01-31 18:46:36)

Offline

#33 2012-01-31 20:24:06

lam
Member
Registered: 2012-01-30
Posts: 14

Re: 2012.01-1 archboot "2k12-R1" ISO hybrid image released

I wanna say thanks to the.ridikulus.rat and tpowa for making Archboot

my PC is now up and running Archboot with uefi and i have learned a lot

thanks a lot see you

Offline

#34 2012-01-31 20:37:48

clu
Member
Registered: 2008-07-05
Posts: 40

Re: 2012.01-1 archboot "2k12-R1" ISO hybrid image released

@lam: any details on how you got that working ... ?

Edit: @rat: I meant upstream as in grub/Asus EFI (where I thought the bug was).

I'm happy to help out some with archboot as UEFI is certainly something that arch should support (bleeding edge and all).

Last edited by clu (2012-01-31 20:39:11)


Kick out the jams! -- AUR

Offline

#35 2012-01-31 21:12:28

lam
Member
Registered: 2012-01-30
Posts: 14

Re: 2012.01-1 archboot "2k12-R1" ISO hybrid image released

made a Archboot uefi usbstick pressed F8 select UEFI usbstick
create a EFI partition format to fat32
parted HDD
crated a mount-point for the efi partition under /boot/efi don't format it
install packages via net-install
configure system
install boot loader
Archboot recognize UEFI and installed grub_uefi edit grub.cfg
then cancel  (no need for second Grub install) Grub2 install
reboot

[bertone@archi ~]$ sudo efibootmgr -v
BootCurrent: 0002
Timeout: 3 seconds
BootOrder: 0003,0002,0000,0001
Boot0000* CD/DVD Drive  BIOS(3,0,00)
Boot0001* Hard Drive    BIOS(2,0,00)
Boot0002* arch  HD(1,800,64000,b0490336-938b-4453-8bba-b11bd64da954)File(\EFI\arch\grubx64.efi)
Boot0003* Arch Linux (GRUB2)    HD(1,800,64000,b0490336-938b-4453-8bba-b11bd64da954)File(\EFI\arch\grubx64.efi.efi)

Offline

#36 2012-02-01 02:14:06

Jristz
Member
From: America/Santiago
Registered: 2011-06-11
Posts: 930

Re: 2012.01-1 archboot "2k12-R1" ISO hybrid image released

install / in a Btrfs using this CD and the option (given in partitioning) comppres=zlib, Optimize for sshd's
finish install, not work partition is Read only
fstab: /dev/*** / btrfs defaults,compress=(compresion, in my case zlib),sshd 0 1

solution: change the default fstab to:
/dev/*** / btrfs rw,compress=(your compression),options diferent to default) 0 1


Well, I suppose that this is somekind of signature, no?

Offline

#37 2012-02-02 06:08:59

the.ridikulus.rat
Member
From: Indiana, USA
Registered: 2011-10-04
Posts: 765

Re: 2012.01-1 archboot "2k12-R1" ISO hybrid image released

All the guys: Please clearly state what errors you get

1. With Archboot CD and with USB - UEFI boot
2. With debug=all and without
3. Your system info

For most of you guys USB boot is working right? If USB boot is working then we can rule out the 8 GB (or relocator) issue. I think it is more to do with how the firmware handles CD drives. Can you guys try loading native ahci module of grub2 when trying CD boot -

grub> insmod ahci
grub> set pager=0
grub> set debug=all
grub> configfile (${archboot})/efi/grub2/x86_64-efi/grub.cfg

Last edited by the.ridikulus.rat (2012-02-02 06:10:55)

Offline

#38 2012-02-02 17:58:35

clu
Member
Registered: 2008-07-05
Posts: 40

Re: 2012.01-1 archboot "2k12-R1" ISO hybrid image released

@rat:

1. I'm using archboot on a usb stick (cruzer 4G) with uefi boot enabled (my machine has no optical drive)
2. With pager=0 and debug=all I get this. Without any settings changed I get a blank screen and the machine never boots. This is for the 64-bit kernel (or 64 bit LTS kernel)
** I am able to boot the i686 kernel, but that does me no good as I cannot access the efi variables.
3. Asus UX21E (intel i7 64 bit) (UEFI boot enabled) (EFI/BIOS version 209 -- most recent)


Kick out the jams! -- AUR

Offline

#39 2012-02-02 19:43:38

cphase
Member
From: Newnan. GA
Registered: 2006-11-06
Posts: 116
Website

Re: 2012.01-1 archboot "2k12-R1" ISO hybrid image released

I am posting my issue here per this request:https://bbs.archlinux.org/viewtopic.php … p1051476=2
My issue is that I am unable to boot my laptop  using UEFI/grub2 from my hard drive. This is what I get w/o debug=all:

 Booting ‘Arch Linux, with Linux linux’
Loading Linux linux…
Loading initial ramdisk… 

Here is the output of grub.cfg (With 4 Gib or 8 Gib of memory) with set debug=all:

Lib/relocator.c:1223: min_addr = 0x0, max_addr = 0xffffffffffffffff, target = 0x88800
Lib/relocator.c:433: trying to allocate in 0x0-0xffffffffffffffff aligned 0x1 size 0x7800
Lib/relocator.c:529: Blocking at 0x897e8000-0xb7a04000

Prior to this there is a lot of code going by,prior to the above this is a lot of it:

mmap/efi/mmap.c:65 EFI memory region xxxxxxxxx-xxxxxxxxxxx: xx (memory addresses)

System info:
1. Asus X73E-BH51 laptop
2. Intel i5-2430 2.4Ghz
3. Not sure at this time, will post later
4. N/A its a laptop
5. AMI Aptio c2010
6. NO, havent been able to get into a pure UEFI env to load efivars
7. YES, BIOS => Save & Exit => Launch EFI Shell from filesystem device (beta does not work for me gives an error, had to use the old version)
8. EFI Specification Revision: 2.0
    EFI Revision: 4.635
9. I was able to load the EFI shell (see above). BCFG is not recognized as an internal or external command, operable program, or batch file
10. FAT32 (Archboot formatted it as FAT16 but I changed it)

Any other info that I can provide please feel free to ask!

Thanks,
Jeff


Power to the Penguin

http://counter.li.org/ #386007

Offline

#40 2012-02-02 23:53:11

clu
Member
Registered: 2008-07-05
Posts: 40

Re: 2012.01-1 archboot "2k12-R1" ISO hybrid image released

I've been trying to create a new archboot image in order to update grub2-efi-x86_64 using these directions (or the directions that come as text with the archboot package: /usr/share/archboot/docs/Create-Archboot-Allinone-Howto.txt). I'm hoping that some of the recent changes in grub may solve my boot issue.

I'm having trouble with the following step after successfully mounting the latest (2012) image:

/usr/share/archboot/installer/quickinst media <x86_64_chroot> <imagepath>/core-x86_64/pkg

When I run this (with proper directories subbed for <x86_64_chroot> and <imagepath> I get the following output:

warning: database file for 'core' does not exist
:: Synchronizing package databases...
error: failed retrieving file 'core.db' from disk : Couldn't open file /core-x86_64/pkg/core.db
error: failed to update core (download library error)
error: failed to synchronize any databases
error: failed to init transaction (download library error)
Pacman preparation FAILED!
/usr/share/archboot/installer/quickinst: line 184: return: can only `return' from a function or sourced script
cp: cannot stat `archboot-image/core-x86_64/pkg/packages.txt': No such file or directory
error: Could not find package list: /tmp/.pkglist

This makes sense because when I look in the <imagepath> directory I do not see the directory "core-x86_64"

Are these instructions out of date? Is the newest image different?


Kick out the jams! -- AUR

Offline

#41 2012-02-03 18:48:32

the.ridikulus.rat
Member
From: Indiana, USA
Registered: 2011-10-04
Posts: 765

Re: 2012.01-1 archboot "2k12-R1" ISO hybrid image released

clu wrote:

I've been trying to create a new archboot image in order to update grub2-efi-x86_64 using these directions (or the directions that come as text with the archboot package: /usr/share/archboot/docs/Create-Archboot-Allinone-Howto.txt). I'm hoping that some of the recent changes in grub may solve my boot issue.

The 2012-R1 iso already has the latest grub2 packages. And there is faster way to update the grub2 code in the iso without generating a new one using archboot-update-iso.sh (superseeds archboot-update-setup.sh) script (I have never generated a archboot iso myself till now).

Install grub2-efi-x86_64, syslinux, libisoburn packages and run https://bitbucket.org/the_ridikulus_rat … ate-iso.sh . But you need updated grub2 packages to actually test it. Try http://db.tt/gZT4rifS for now (bzr r3807). I will try providing a updated package with latest bzr snaphot in the morning.

EDIT: set

_REMOVE_i686="0"

in the archboot-update-iso.sh script.

I'm having trouble with the following step after successfully mounting the latest (2012) image:

/usr/share/archboot/installer/quickinst media <x86_64_chroot> <imagepath>/core-x86_64/pkg

When I run this (with proper directories subbed for <x86_64_chroot> and <imagepath> I get the following output:

warning: database file for 'core' does not exist
:: Synchronizing package databases...
error: failed retrieving file 'core.db' from disk : Couldn't open file /core-x86_64/pkg/core.db
error: failed to update core (download library error)
error: failed to synchronize any databases
error: failed to init transaction (download library error)
Pacman preparation FAILED!
/usr/share/archboot/installer/quickinst: line 184: return: can only `return' from a function or sourced script
cp: cannot stat `archboot-image/core-x86_64/pkg/packages.txt': No such file or directory
error: Could not find package list: /tmp/.pkglist

This makes sense because when I look in the <imagepath> directory I do not see the directory "core-x86_64"

Are these instructions out of date? Is the newest image different?

Yes they are, for about 2 releases now. Archboot no longer includes the packages files in the iso filesystem itself, but rather includes them in squashfs images (due to problems of filenames in fat fs in USB and stuff like that). So "<imagepath>/core-x86_64/pkg" will not work.

Last edited by the.ridikulus.rat (2012-02-03 19:06:27)

Offline

#42 2012-02-03 18:54:19

the.ridikulus.rat
Member
From: Indiana, USA
Registered: 2011-10-04
Posts: 765

Re: 2012.01-1 archboot "2k12-R1" ISO hybrid image released

@tpowa: Why do you include gcc and other base-devel packages in Archboot? Those are not needed for installation.

Offline

#43 2012-02-04 02:21:24

clu
Member
Registered: 2008-07-05
Posts: 40

Re: 2012.01-1 archboot "2k12-R1" ISO hybrid image released

the.ridikulus.rat wrote:

Install grub2-efi-x86_64, syslinux, libisoburn packages and run https://bitbucket.org/the_ridikulus_rat … ate-iso.sh . But you need updated grub2 packages to actually test it. Try http://db.tt/gZT4rifS for now (bzr r3807). I will try providing a updated package with latest bzr snaphot in the morning.

EDIT: set

_REMOVE_i686="0"

in the archboot-update-iso.sh script.

I tried simply copying the files from the dropbox link into the archboot usb stick that I have. When I try to boot using the archboot usb with the new files it seems to fail and the computer boots whatever is on the hard drive instead.

I also tried the archboot-update-iso script you linked and used your AUR grub2-efi-bzr package in order to update the most recent archboot image. I was able to create a new image successfully. However, I get almost the same failure I had before (screenshot).

For anyone with similar issues: I'll be trying to get this worked on in grub-devel or grub-bug -- I'll post an update when I have one.


Kick out the jams! -- AUR

Offline

#44 2012-02-04 14:43:56

the.ridikulus.rat
Member
From: Indiana, USA
Registered: 2011-10-04
Posts: 765

Re: 2012.01-1 archboot "2k12-R1" ISO hybrid image released

clu wrote:

I tried simply copying the files from the dropbox link into the archboot usb stick that I have. When I try to boot using the archboot usb with the new files it seems to fail and the computer boots whatever is on the hard drive instead.

I updated the files at the link to bzr r3844 . Can you try that.

I also tried the archboot-update-iso script you linked and used your AUR grub2-efi-bzr package in order to update the most recent archboot image. I was able to create a new image successfully. However, I get almost the same failure I had before (screenshot).

grub2-efi-bzr will not work since that package uses different paths so that it does not conflict with extra/grub2-* pkgs. The update-iso script expects paths as in grub2-common and grub2-efi-x86_64 pkgs.

For anyone with similar issues: I'll be trying to get this worked on in grub-devel or grub-bug -- I'll post an update when I have one.

I think this is something to do with the system firmware rather than grub2. Can you try one of the alternative UEFI bootloaders listed in the UEFI Archwiki page. BTW did the shellx64.efi from the dropbox link work in your system (To other Asus users also - those with UEFI 2.0 firmware)

Offline

#45 2012-02-04 21:04:33

beta990
Member
Registered: 2011-07-10
Posts: 178

Re: 2012.01-1 archboot "2k12-R1" ISO hybrid image released

dump

Last edited by beta990 (2012-02-04 21:59:17)

Offline

#46 2012-02-05 17:52:55

the.ridikulus.rat
Member
From: Indiana, USA
Registered: 2011-10-04
Posts: 765

Re: 2012.01-1 archboot "2k12-R1" ISO hybrid image released

Can you guys try the files at https://www.dropbox.com/s/rt2s32r3zj5mzn5 now (grub2 r3844 with a patch from Matthew Garrett posted to grub-devel ML). Try CD boot also if possible. I have not updated grub2 code to a newer snapshot due to other issues. The way grub2 is generally installed is slightly changing (/boot/grub/{i386-pc,x86_64-efi,...} ability to install code for multiple platforms to same prefix dir and grub-install oevrhaul).

Offline

#47 2012-02-06 01:04:11

clu
Member
Registered: 2008-07-05
Posts: 40

Re: 2012.01-1 archboot "2k12-R1" ISO hybrid image released

the.ridikulus.rat wrote:

I updated the files at the link to bzr r3844 . Can you try that.

I did -- same error. I think it is an efi bug. I'll see if Asus will help at all.

the.ridikulous.rat wrote:

grub2-efi-bzr will not work since that package uses different paths so that it does not conflict with extra/grub2-* pkgs. The update-iso script expects paths as in grub2-common and grub2-efi-x86_64 pkgs.

Yes -- I just changed the paths. I built the new image successfully. It was the update of grub2 that still did not boot.

the.ridikulous.rat wrote:

I think this is something to do with the system firmware rather than grub2. Can you try one of the alternative UEFI bootloaders listed in the UEFI Archwiki page. BTW did the shellx64.efi from the dropbox link work in your system (To other Asus users also - those with UEFI 2.0 firmware)

I need to figure out how to create a usb boot stick with one of the other boot loaders and I will try that. Only the shellx64_old.efi seems to work on my system.

It would really help to have updated archboot iso creation instructions on the wiki -- especially if you guys are looking for more people to get involved.


Kick out the jams! -- AUR

Offline

#48 2012-02-06 08:46:48

the.ridikulus.rat
Member
From: Indiana, USA
Registered: 2011-10-04
Posts: 765

Re: 2012.01-1 archboot "2k12-R1" ISO hybrid image released

@clu: Install grub2-{common,efi-x86_64} from http://db.tt/dCpmYL5k (updated to r3856, the files have changed even if the filenames are not), copy archboot-update-iso.sh from http://db.tt/gZT4rifS and run the script. Tell me if it works.

Offline

#49 2012-02-06 08:48:24

the.ridikulus.rat
Member
From: Indiana, USA
Registered: 2011-10-04
Posts: 765

Re: 2012.01-1 archboot "2k12-R1" ISO hybrid image released

clu wrote:

It would really help to have updated archboot iso creation instructions on the wiki -- especially if you guys are looking for more people to get involved.

That script is mainly used by me to check changes I make to archboot code. We didn't expect it would be needed by other users.

Offline

#50 2012-02-06 11:25:18

beta990
Member
Registered: 2011-07-10
Posts: 178

Re: 2012.01-1 archboot "2k12-R1" ISO hybrid image released

Hi,

I have modified the script from altercation to work correctly with UEFI. (correct path, correct fstab, etc.)
Check out https://bbs.archlinux.org/viewtopic.php?id=129885&p=3 #58 - v0.2.

It works with this Archboot (2012.01-1). I have added some packages, but don't know if they install all correctly, so please let me know if there are problems. (Alsa, virtualbox, cpufreq, acpi..)
Or just comment the line, so it not install.
It is working fine here, got also dual-boot to work with Windows 7. smile

Note: there is a small problem with this Archboot version.

When installing the grub2 uefi bootloader, you will get 'grub' and 'GRUB'.
The one with 'GRUB' is the right one. (You can double check by the boot-order that will be shown with the command efibootmgr)

You can remove the other after the installation is completed, with:

modprobe efivars
efibootmgr -b # -B (# is number)

Thanks,

Last edited by beta990 (2012-02-06 11:30:29)

Offline

Board footer

Powered by FluxBB