[SOLVED] Syslinux. Installing bootloader.
Hello, I have an Acer Aspire M3-581TG, which comes with 20Gb mSSD and 500Gb HDD. For some reason mSSD can't be bootable, so if I try to install any operating system with automatic installation on this drive, it creates MBR boot sector on my HDD. I wonder, how do I install bootloader manually and which partiotion should I mark as boot if my partitioning looks like this
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x0007a51a
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 976771071 488384512 83 Linux
for the HDD with /home directory and
Disk /dev/sdb: 20.0 GB, 20014718976 bytes
255 heads, 63 sectors/track, 2433 cylinders, total 39091248 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000a6c4c
Device Boot Start End Blocks Id System
/dev/sdb1 2048 2000895 999424 82 Linux swap / Solaris
/dev/sdb2 2000896 39090175 18544640 83 Linux
for mSSD with swap and /
If I create separate /boot partiotion on my HDD
syslinux-install_update -i -a -m
works fine, but I want the system to be fully on mSSD.
P.S. Why did Ubuntu mark my /home partition as bootable?
Last edited by IamPr377y (2013-09-12 09:16:00)
mostlyharmles wrote:MBR convention holds that the first partition of the first hard drive should have the MBR on it, and to make life easier it's a good idea to have the bootloader there too. This is just how BIOS works and there is no way around that as far as I know. https://wiki.archlinux.org/index.php/Master_Boot_Record
From what I understand from your post you are trying to install everything on the mSSD. As indicated by /dev/sda your HDD is your first hard drive. You will have to put the bootloader on it and point it to the operating system on the mSSD.
No, the MBR is not part of a partition, it's on the first sector of the drive.
And there's no reason you can't have the bootloader on the second (etc.) partition, or on sdb (etc.). As far as the drive goes, what matters is that your BIOS can be configured to boot from it.
Last edited by alphaniner (2013-09-11 20:02:47)
Similar Messages
-
AIF - install bootloader not updating syslinux.cfg or menu.lst
I'm making a custom install iso with archiso+aif, aif is working fine, except the install bootloader is not updating the
/mnt/boot/syslinux/syslinux.cfg
or
/mnt/boot/grub/menu.lst
as per installation, the mentioned files are missing kernel initrd etc., entries.
And unlike official archlinux iso/cd installer, aif+git (interactive) installer is not showing/asking to review the syslinux.cfg or grub's menu.lst file before installing the selected bootloader.
So, Please show me how to get grub and syslinux's configuration files to get properly updated by aif's install bootloader method in interactive procedure (aif -p interactive) thanks.I'm making a custom install iso with archiso+aif, aif is working fine, except the install bootloader is not updating the
/mnt/boot/syslinux/syslinux.cfg
or
/mnt/boot/grub/menu.lst
as per installation, the mentioned files are missing kernel initrd etc., entries.
And unlike official archlinux iso/cd installer, aif+git (interactive) installer is not showing/asking to review the syslinux.cfg or grub's menu.lst file before installing the selected bootloader.
So, Please show me how to get grub and syslinux's configuration files to get properly updated by aif's install bootloader method in interactive procedure (aif -p interactive) thanks. -
[SOLVED] syslinux-install_update -a failed, err3
Hi folks
I've tried to install Archlinux. This works fine until where syslinux has to be installed. The installer cannot install syslinux cause it fails with: "Failde to set boot flag(s). syslinux-install_update -a failed with Error Code - 3"
Appropriate configuration and log files can be found here: http://sprunge.us/IZIh
Any idea why? Did I configure something wrong?
Before installing Arch I had Fedora with Grub2 installed.
Last edited by lasombra (2011-09-08 17:32:43)I followed the arch installer and did a manual preparation of the disks. I had to do this with parted, as a GPT was detected. I did as follows:
sda1, boot, Primary, ext4 , 106.93 MB
sda2, , Primary, crypto_LUKS, 640000.82 MB
And I let some free space in the end of the disk as I've read, that this is used by the GPT. Then I followed the installer step by step and all went fine except the installation of the bootloader. I've exited the installer and as suggested, I've run
/mnt/usr/sbin/syslinux-install_update -i -c /mnt
by hand. this returns "Syslinux install successful".
Then running
syslinux-install_update -a
fails with "FAILED to Set boot flag on /dev/mapper/arch_root-image. Mhh ok, so I assume I have to do chroot on /mnt. Running the command again complains
Could not find /proc/self/mountinfo
Areu you running a kernel greater than 2.6.24?
Ok, back again with exit, and checking the options for syslinux-install_update
syslinux-install_update -m -c /mnt
returns
Installed MBR (/mnt/usr/lib/syslinux/gptmbr.bin) to /dev/sda
That seems better. So I reboot the machine but i get Missing OS
According http://www.syslinux.org/wiki/index.php/Common_Problems this problem can be overcome executing
sgdisk /dev/sda --attributes=1:set:2
but this returns
Invalid partition data!
I am getting frustrated!
Last edited by lasombra (2011-09-04 10:18:36) -
Problem installing bootloader in GPT disks
during installation, i installed arch first and then fedora second....but arch was unable to install bootloader either on MBR(sda) or on seperate /boot(sda1)!!
so i didn't installed bootloader of arch, instead installed fedora's botloader on MBR(sda) during fedora's installation......i hope these two cases doesn't cause any trouble in future:
1) Not having seperate /boot, either for arch or fedora................or should i keep one for fedora?
2) Not installing bootloader for arch, as from its fedora's GRUB take cares to boot arch too
thnx in advncFirst of all, l33t speak isn't going to get you very far.
https://wiki.archlinux.org/index.php/Fo … ow_to_Post
A sincere effort to use modest and proper language and grammar is a sign of respect toward the community that will certainly be appreciated and is quite likely to elicit positive responses.
Second, if you're talking about GRUB Legacy (0.97), it doesn't support GPT: https://wiki.archlinux.org/index.php/GRUB
Note: The grub package does not support GPT disks, BTRFS filesystem and UEFI firmwares.
Looks like Fedora uses GRUB 2 by default (I spotted "grub2-mkconfig" here) but refers to it as "GRUB". So I understand how that can be a little confusing. But yeah, sure. You can have just one bootloader for both distributions. And it doesn't really matter that much which distribution manages it. A second entry for Arch with "initramfs-linux-fallback.img" is also recommended, even thought I don't think I've ever used it... In case shit ever hits the fan I know how to edit the entry right from the menu ("e" key for GRUB/GRUB 2 and Tab for Syslinux) and just rename it with "-fallback.img" myself. -
[solved] syslinux woes: the return of grub
I spoke too soon.
After a reboot I get
grub>
prompt.
grub is already removed and so is /boot/grub. What's going on?
When I tried to boot the kernel (vmlinuz-linux), with the grub prompt, I got
Kernel panic - not syncing: VFS: Unable to mount root to an unknown-block (0,0)
I've reinstalled syslinux, edited syslinux.cfg and run
# /usr/sbin/syslinux-install_update -iam
Syslinux install successful
Boot Flag Set - /dev/sda1
Installed MBR (/usr/lib/syslinux/mbr.bin) to /dev/sda
again.
Any idea what might have gone wrong? How am I supposed to get rid of grub? Google wasn't of much help.
Last edited by karol (2012-10-29 16:02:50)jasonwryan wrote:It's academic I know, but we never did get to see your syslinux.cfg, did we? Or did I miss it in one or the other of these threads?
It's not academic, it's the right way :-)
# Config file for Syslinux -
# /boot/syslinux/syslinux.cfg
# Comboot modules:
# * menu.c32 - provides a text menu
# * vesamenu.c32 - provides a graphical menu
# * chain.c32 - chainload MBRs, partition boot sectors, Windows bootloaders
# * hdt.c32 - hardware detection tool
# * reboot.c32 - reboots the system
# * poweroff.com - shutdown the system
# To Use: Copy the respective files from /usr/lib/syslinux to /boot/syslinux.
# If /usr and /boot are on the same file system, symlink the files instead
# of copying them.
# If you do not use a menu, a 'boot:' prompt will be shown and the system
# will boot automatically after 5 seconds.
# Please review the wiki: https://wiki.archlinux.org/index.php/Syslinux
# The wiki provides further configuration examples
DEFAULT arch
PROMPT 0 # Set to 1 if you always want to display the boot: prompt
TIMEOUT 50
# You can create syslinux keymaps with the keytab-lilo tool
#KBDMAP de.ktl
# Menu Configuration
# Either menu.c32 or vesamenu32.c32 must be copied to /boot/syslinux
UI menu.c32
#UI vesamenu.c32
# Refer to http://syslinux.zytor.com/wiki/index.php/Doc/menu
MENU TITLE Arch Linux
MENU COLOR border 30;44 #40ffffff #a0000000 std
MENU COLOR title 1;36;44 #9033ccff #a0000000 std
MENU COLOR sel 7;37;40 #e0ffffff #20ffffff all
MENU COLOR unsel 37;44 #50ffffff #a0000000 std
MENU COLOR help 37;40 #c0ffffff #a0000000 std
MENU COLOR timeout_msg 37;40 #80ffffff #00000000 std
MENU COLOR timeout 1;37;40 #c0ffffff #00000000 std
MENU COLOR msg07 37;40 #90ffffff #a0000000 std
MENU COLOR tabmsg 31;40 #30ffffff #00000000 std
# boot sections follow
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
LABEL arch
MENU LABEL Arch Linux
LINUX /vmlinuz-linux
APPEND root=/dev/sda3 ro
#APPEND root=UUID=bf1d191b-0f0d-4961-bd67-4d023a2e5873 ro
INITRD /initramfs-linux.img
LABEL archfallback
MENU LABEL Arch Linux Fallback
LINUX /vmlinuz-linux
APPEND root=/dev/sda3 ro
#APPEND root=UUID=bf1d191b-0f0d-4961-bd67-4d023a2e5873 ro
INITRD /initramfs-linux-fallback.img
LABEL hdt
MENU LABEL HDT (Hardware Detection Tool)
COM32 hdt.c32
LABEL memtest
MENU LABEL Memtest86+
LINUX /memtest86+/memtest.bin
LABEL reboot
MENU LABEL Reboot
COM32 reboot.c32
LABEL off
MENU LABEL Power Off
COMBOOT poweroff.com -
Slow internet problem on my iMac solved by installing Google Chrome browser
Slow internet problem on my iMac solved by installing Google Chrome. My daughter came with her macbook pro loaded with OSX 10.6.8 but running Chrome and she could open all my problem websites instantly. So fault was in Safari. Thanks for all your help. My original post has disappeared
Original post is at:
All of my pre 2012 macs extremely slow to load web pages but my son's 2014 mac and my iphone and ipad 2 load same sites instantly -
Hello, Arch Linux Community!
I just get to the chase and say that right now, I have a dual-booted Windows 7 and Arch Linux on separate drives.
Windows 7 is on a internal Seagate drive.
Arch Linux is on a internal Toshiba drive.
The problem is that I can only boot on my Windows drive and the Arch drive is sitting idly.
At the moment, I have a fondness for SysLinux because of it's simplicity, so because of that, the Arch drive has SysLinux as the bootloader.
Unfortunately, I cannot seem to get SysLinux recognized by Windows, so it has become deadweight.
I have consulted the forums already and found someone else with the same predicament at this link. However, the post creator is booting with GRUB, whereas I will proceed with SysLinux.
My original plan was to:
Format /dev/sda1 (Windows Boot partition) to ext4.
Install SysLinux with Arch's automated command.
Modify syslinux.cfg to add /dev/sda (Windows) and /dev/sdb (Arch).
Should I carry out this plan? Or is GRUB the easier option when executing this task?
Last edited by matierpixel (2014-08-11 08:36:50)anatolik wrote:
matierpixel wrote:The only error I got when I installed was that the Legacy BIOS could not be installed. Sorry if that part was important.
Yes, it is important. Most likely syslinux was not properly installed into MBR. Post exact error message. And post partition tables for your harddrives.
Here is the error I get when I installed SysLinux.
Syslinux BIOS install successful
FAILED to set attribute Legacy BIOS Bootable on /dev/sdb1
Here is the Toshiba's partition table.
Disk /dev/sdb: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x54992bb3
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 63 4000184 4000122 1.9G 83 Linux
/dev/sdb2 4000185 484391879 480391695 229.1G 83 Linux
/dev/sdb3 484391880 488397167 4005288 1.9G 83 Linux -
[SOLVED] syslinux bootloader and /boot...
tomorrow[31] i'm going to install and i need to clear 2 things:
which is the minimun size for a /boot partition and if is necesary?
wanna try syslinux bootloader...do u people reccomend?
thx in advance!
Last edited by 1archgamenon2 (2011-09-01 02:16:15):sad emo: seems no 64 bits 4 me!
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (2994.40-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf34 Family = f Model = 3 Stepping = 4
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Features2=0x441d<SSE3,DTES64,MON,DS_CPL,CNXT-ID,xTPR>
sysctl -a | grep -i hw
vfs.flushwithdeps: 0
net.wlan.hwmp.inact: 5000
net.wlan.hwmp.rannint: 1000
net.wlan.hwmp.rootint: 2000
net.wlan.hwmp.roottimeout: 5000
net.wlan.hwmp.pathlifetime: 5000
net.wlan.hwmp.replyforward: 1
net.wlan.hwmp.targetonly: 0
debug.hwpstate_verbose: 0
hw.machine: i386
hw.model: Intel(R) Pentium(R) 4 CPU 3.00GHz
hw.ncpu: 2
hw.byteorder: 1234
hw.physmem: 511033344
hw.usermem: 348024832
hw.pagesize: 4096
hw.floatingpoint: 1
hw.machine_arch: i386
hw.realmem: 528367616
hw.amr.force_sg32: 0
hw.an.an_cache_iponly: 1
hw.an.an_cache_mcastonly: 0
hw.an.an_cache_mode: dbm
hw.an.an_dump: off
hw.ata.setmax: 0
hw.ata.wc: 1
hw.ata.atapi_dma: 0
hw.ata.ata_dma_check_80pin: 1
hw.ata.ata_dma: 1
hw.ath.bstuck: 4
hw.ath.txbuf: 200
hw.ath.rxbuf: 40
hw.ath.resetcal: 1200
hw.ath.shortcal: 100
hw.ath.longcal: 30
hw.ath.hal.swba_backoff: 0
hw.ath.hal.sw_brt: 10
hw.ath.hal.dma_brt: 2
hw.bce.msi_enable: 1
hw.bce.tso_enable: 1
hw.bge.allow_asf: 0
hw.cardbus.cis_debug: 0
hw.cardbus.debug: 0
hw.cs.recv_delay: 570
hw.cs.ignore_checksum_failure: 0
hw.firewire.hold_count: 0
hw.firewire.try_bmr: 1
hw.firewire.fwmem.speed: 2
hw.firewire.fwmem.eui64_lo: 0
hw.firewire.fwmem.eui64_hi: 0
hw.firewire.phydma_enable: 1
hw.firewire.nocyclemaster: 0
hw.firewire.fwe.rx_queue_len: 128
hw.firewire.fwe.tx_speed: 2
hw.firewire.fwe.stream_ch: 1
hw.firewire.fwip.rx_queue_len: 128
hw.firewire.sbp.tags: 0
hw.firewire.sbp.use_doorbell: 0
hw.firewire.sbp.scan_delay: 500
hw.firewire.sbp.login_delay: 1000
hw.firewire.sbp.exclusive_login: 1
hw.firewire.sbp.max_speed: -1
hw.firewire.sbp.auto_login: 1
hw.mfi.max_cmds: 128
hw.mfi.event_class: 0
hw.mfi.event_locale: 65535
hw.pccard.cis_debug: 0
hw.pccard.debug: 0
hw.cbb.debug: 0
hw.cbb.start_32_io: 4096
hw.cbb.start_16_io: 256
hw.cbb.start_memory: 2281701376
hw.pcic.pd6722_vsense: 1
hw.pcic.intr_mask: 57016
hw.pci.usb_early_takeover: 1
hw.pci.honor_msi_blacklist: 1
hw.pci.enable_msix: 1
hw.pci.enable_msi: 1
hw.pci.do_power_resume: 1
hw.pci.do_power_nodriver: 0
hw.pci.enable_io_modes: 1
hw.pci.default_vgapci_unit: -1
hw.pci.host_mem_start: 2147483648
hw.pci.mcfg: 1
hw.pci.irq_override_mask: 57080
hw.syscons.kbd_debug: 1
hw.syscons.kbd_reboot: 1
hw.syscons.bell: 0
hw.syscons.saver.keybonly: 1
hw.syscons.sc_no_suspend_vtswitch: 0
hw.usb.ehci.lostintrbug: 0
hw.usb.ehci.iaadbug: 0
hw.usb.ehci.no_hs: 0
hw.usb.ehci.debug: 0
hw.usb.ohci.debug: 0
hw.usb.uhci.loop: 0
hw.usb.uhci.debug: 0
hw.usb.no_boot_wait: 0
hw.usb.ctrl.debug: 0
hw.usb.umass.debug: 0
hw.usb.urio.debug: 0
hw.usb.debug: 0
hw.usb.dev.debug: 0
hw.usb.usb_lang_mask: 255
hw.usb.usb_lang_id: 9
hw.usb.template: 0
hw.usb.ugen.debug: 0
hw.usb.power_timeout: 30
hw.usb.uhub.debug: 0
hw.usb.proc.debug: 0
hw.usb.pr_recovery_delay: 250
hw.usb.pr_poll_delay: 50
hw.usb.aue.debug: 0
hw.usb.axe.debug: 0
hw.usb.cdce.interval: 0
hw.usb.cdce.debug: 0
hw.usb.cue.debug: 0
hw.usb.kue.debug: 0
hw.usb.rue.debug: 0
hw.usb.udav.debug: 0
hw.usb.rum.debug: 0
hw.usb.uath.regdomain: 0
hw.usb.uath.countrycode: 0
hw.usb.ural.debug: 0
hw.usb.zyd.debug: 0
hw.usb.u3g.debug: 0
hw.usb.ubsa.debug: 0
hw.usb.uftdi.debug: 0
hw.usb.ulpt.debug: 0
hw.usb.uplcom.debug: 0
hw.usb.uslcom.debug: 0
hw.usb.uvisor.debug: 0
hw.usb.uvscom.debug: 0
hw.usb.ucom.cons_baud: 9600
hw.usb.ucom.cons_unit: -1
hw.usb.ucom.debug: 0
hw.usb.uhid.debug: 0
hw.usb.ukbd.no_leds: 0
hw.usb.ukbd.debug: 0
hw.usb.ums.debug: 0
hw.usb.uaudio.default_channels: 0
hw.usb.uaudio.default_bits: 32
hw.usb.uaudio.default_rate: 0
hw.usb.uaudio.debug: 0
hw.wi.debug: 0
hw.wi.txerate: 0
hw.xe.debug: 0
hw.intr_storm_threshold: 1000
hw.pagesizes: 4096 0
hw.availpages: 124764
hw.bus.devctl_queue: 1000
hw.bus.devctl_disable: 0
hw.psm.tap_timeout: 125000
hw.psm.tap_threshold: 25
hw.kbd.keymap_restrict_change: 0
hw.busdma.total_bpages: 64
hw.busdma.zone0.total_bpages: 64
hw.busdma.zone0.free_bpages: 64
hw.busdma.zone0.reserved_bpages: 0
hw.busdma.zone0.active_bpages: 0
hw.busdma.zone0.total_bounced: 0
hw.busdma.zone0.total_deferred: 0
hw.busdma.zone0.lowaddr: 0xffffffff
hw.busdma.zone0.alignment: 4096
hw.clockrate: 2994
hw.via_feature_xcrypt: 0
hw.via_feature_rng: 0
hw.instruction_sse: 1
hw.apic.enable_extint: 0
hw.mca.erratum383: 0
hw.mca.amd10h_L1TP: 1
hw.mca.enabled: 1
hw.mca.count: 0
hw.mca.interval: 3600
hw.mca.force_scan: 0
hw.bwn.wme: 1
hw.bwn.usedma: 1
hw.bwn.hwpctl: 0
hw.bwn.bluetooth: 1
hw.bwn.bfp: 0
hw.snd.feeder_rate_quality: 1
hw.snd.feeder_rate_round: 25
hw.snd.feeder_rate_max: 2016000
hw.snd.feeder_rate_min: 1
hw.snd.feeder_rate_polyphase_max: 183040
hw.snd.feeder_rate_presets: 100:8:0.85 100:36:0.92 100:164:0.97
hw.snd.feeder_eq_exact_rate: 0
hw.snd.feeder_eq_presets: PEQ:16000,0.2500,62,0.2500:-9,9,1.0:44100,48000,88200,96000,176400,192000
hw.snd.vpc_reset: 0
hw.snd.vpc_0db: 45
hw.snd.vpc_autoreset: 1
hw.snd.latency_profile: 1
hw.snd.latency: 5
hw.snd.report_soft_matrix: 1
hw.snd.report_soft_formats: 1
hw.snd.compat_linux_mmap: 0
hw.snd.vpc_mixer_bypass: 1
hw.snd.verbose: 0
hw.snd.maxautovchans: 16
hw.snd.default_unit: 0
hw.snd.version: 2009061500/i386
hw.snd.default_auto: 0
hw.midi.instroff: 0
hw.midi.dumpraw: 0
hw.midi.debug: 0
hw.midi.stat.verbose: 0
hw.midi.seq.debug: 0
hw.mmc.debug: 0
hw.sdhci.debug: 0
hw.acpi.supported_sleep_state: S1 S3 S4 S5
hw.acpi.power_button_state: S5
hw.acpi.sleep_button_state: S1
hw.acpi.lid_switch_state: NONE
hw.acpi.standby_state: S1
hw.acpi.suspend_state: S3
hw.acpi.sleep_delay: 1
hw.acpi.s4bios: 0
hw.acpi.verbose: 0
hw.acpi.disable_on_reboot: 0
hw.acpi.handle_reboot: 0
hw.acpi.reset_video: 0
hw.acpi.cpu.cx_lowest: C1
hw.drm.msi: 1
hw.dri.0.name: i915 0x6d pci:0000:00:02.0
hw.dri.0.vm:
hw.dri.0.clients:
hw.dri.0.vblank:
hw.dri.0.debug: 0
# uname -a
FreeBSD diablo 8.2-RELEASE FreeBSD 8.2-RELEASE #7: Wed Feb 16 12:19:08 PST 2011 [email protected]:/usr/obj/usr/local_storage/pcbsd-build82/fbsd-source/8.2/sys/PCBSD i386
Last edited by 1archgamenon2 (2011-08-31 15:10:34) -
[SOLVED] Syslinux, how to change colors?
I have successfully installed syslinux, however I would like to change its colors, especially the background color and I like it black.
I have already visited the syslinux wiki and off course the arch's wiki and I have a proper syslinux.cfg, but the "MENU COLOR screen 30;40 #ffffffff #ffffffff none" option does not change the background to black.
Am I doing anything wrong?
EDIT: I marked this solved because my problem was this white block and now I fixed by just appending a vga=current in the kernel line.
Last edited by twilight0 (2011-10-31 23:45:43)Sorry for the delay, I was pretty occupied earlier this week.
I tested your setting by changing UI to menu.c32 and replace my MENU section with the one you gave me.
Haven't tried the resolution you have so changed MENU VSHIFT to 10 and removed MENU HSHIFT still a bit
"off the screen" with the menu but I get a black background behind the blue menu.
I'm running syslinux-git from aur: http://aur.archlinux.org/packages.php?ID=44890 -
[SOLVED]SYSLINUX - dual bot arch and gento - fail
Hi
I am experimenting with gentoo (well not just yet and i can not boot the gentoo kernel. Gentoo is on partition /dev/sda6 and doesn't have a boot flag. Partitinon /dev/sda1 has a boot flag. I don't have a separate boot partition. Gentoo kernel was compiled with genkernel. When i choose gentoo from syslinux menu nothing happens. Menu just refreshes. If i press ESC and write down gentoo then it complains about not finding image ...
I didn't install syslinux on gentoo.
Here is my syslinux.cfg:
LABEL arch
MENU LABEL Arch Linux
LINUX ../vmlinuz-linux
APPEND root=UUID=9f8eadcf-69e5-4786-869c-94cafcfff567 ro
INITRD ../initramfs-linux.img
LABEL gentoo
MENU LABEL gentoo
LINUX /boot/kernel-genkernel-x86-3.8.13-gentoo
APPEND root=UUID=9ea3ac89-3b72-458a-95fc-61095ea52cc4 ro
INITRD /boot/initramfs-genkernel-x86-3.8.13-gentoo
I have also followed arch wiki about chainloading and this is my syslinux.cfg from gentoo partition:
timeout 10
ui menu.c32
label gentoo
linux /boot/kernel-genkernel-x86-3.8.13-gentoo
initrd /boot/initramfs-genkernel-x86-3.8.13-gentoo
append root=UUID=9ea3ac89-3b72-458a-95fc-61095ea52cc4 ro quiet
label MAIN
com32 chain.c32
append hd0 0
EDIT:
SOLVED by this config changes:
syslinux.cfg on /dev/sda1 (arch)
LABEL gentoo
MENU LABEL gentoo
COM32 chain.c32
APPEND hd0 6
syslinux.cfg on /dev/sda6 (gentoo):
TIMEOUT 10
UI menu.c32
LABEL gentoo
MENU LABEL gentoo
LINUX /boot/kernel-genkernel-x86-3.8.13-gentoo
INITRD /boot/initramfs-genkernel-x86-3.8.13-gentoo
APPEND root=UUID=9ea3ac89-3b72-458a-95fc-61095ea52cc4 ro quiet
LABEL MAIN
COM32 chain.c32
APPEND hd0 0
Any ideas?
Last edited by Shark (2013-06-16 19:37:45)Sorry, I actually just fixed it on my own, it turns out my BIOS settings were a bit... weird. For some reason I didn't have my windows drive listed and it tried to boot a USB drive I had plugged into my computer. I just had to fix the drive order and it worked fine. Sorry about starting a fairly useless discussion.
-
[Solved] UEFI + Partitioning + Bootloader = Hell
I've installed arch twice before this one, those were like a lovely stroll in the park compared to this Clockwork Orangesque torture i've been putting myself through. This time it's different because I have a system with UEFI firmware and I cannot for the life of me sort out this beginners guide to get this thing up and running.
As stated in the guide I verified through
efivar -l
that I am infact booted up through UEFI Mode.
It later goes on to recommend that I used GPT for my setup for UEFI booting.
It is recommended to always use GPT for UEFI boot, as some UEFI firmwares do not allow UEFI-MBR boot.
So I follow the instructions for creating GPT Partitions: https://wiki.archlinux.org/index.php/beginners'_guide#Using_cgdisk_to_create_GPT_partitions
Which tells me to create just two partitions: Root and Home
Later on in that same page however: https://wiki.archlinux.org/index.php/beginners'_guide#Create_filesystems
It tells me that I need to:
For UEFI, you should format the EFI System Partition (for example /dev/sdXY) with:
# mkfs.fat -F32 /dev/sdXY
With very little to elaborate on this earlier in the page. Although it does mention that:
If you have a UEFI motherboard, you will need to create an extra EFI System Partition.
But it gives no indication how large this partition needs to be.
I then find this:
https://wiki.archlinux.org/index.php/Un … _Partition
The EFI System Partition (also called ESP or EFISYS) is a FAT32 formatted physical partition (in the main partition table of the disk, not LVM or software raid etc.) from where the UEFI firmware launches the UEFI bootloader and application. It is a OS independent partition that acts as the storage place for the EFI bootloaders and applications which the firmware launches them. It is mandatory for UEFI boot. It should be marked as EF00 or ef00 type code in gdisk, or boot flag in case of GNU Parted (only for GPT disk). It is recommended to keep ESP size at 512 MiB although smaller/larger sizes are fine (smaller sizes provided it is higher than the minimum FAT32 FS partition size limit (as mandated by FAT32 specification from Microsoft).
(BTW, who uses mebibytes instead of megabytes?)
So... yeah... this was mostly a rant of sadness, after I get this thing up and running (After like 3 hours of beating my head against a wall and like 4 hours trying to get this to work) I really need to fix that friggan wiki... so that the next poor bastard that comes through, doesn't have to endure this PTSD enducing psychological torture...
My major issue was that I was not creating an EFI Partition for the GPT. Without which the bootloader (Gummiboot) is unable to communicate with the UEFI Firmware.
=============================================================================================
Solution - My two major mistakes were failing to create an EFI partition and using syslinux instead of gummiboot
=============================================================================================
1. Verify that your system is booting in UEFI Mode
https://wiki.archlinux.org/index.php/Be … _UEFI_mode
efivar -l
If you are in UEFI Mode, your system will output a list of UEFI Variables properly, if you are not, you will receive an error.
Continue on with the beginners guide as usual until you reach the "Using cgdisk to create GPT" portion
https://wiki.archlinux.org/index.php/Be … partitions
2. Create partions with cgboot (This was a crux for me, I didn't include the EFI Partition)
cgdisk /dev/sda
Choose New (or press N) – Enter for the first sector (2048) – type in 15G – Enter for the default hex code (8300) – Enter for a blank partition name.
Press the down arrow a couple of times to move to the larger free space area.
Choose New (or press N) – Enter for the first sector (2048) – type in 512M – Enter for the hex code for and EFI partition (ef00) – Enter for a blank partition name.
Choose New (or press N) – Enter for the first sector – Enter to use the rest of the drive (or you could type in the desired size; for example 30G) – Enter for the default hex code (8300) – Enter for a blank partition name.
here's how it will look
Part. # Size Partition Type Partition Name
1007.0 KiB free space
1 15.0 GiB Linux filesystem
2 512 MiB EFI Filesystem
3 123.45 GiB Linux filesystem
Now continue on with the Beginners guide until you reach the boot loader partition, I used Gummiboot successfully by following the simple instructions:
https://wiki.archlinux.org/index.php/Be … #Gummiboot
Last edited by cynicalpsycho (2014-11-02 04:55:35)mrunion wrote:1) Since 1998
2) First install was in January 2007.
3) In total? 5-6 times. As a UEFI install? 2 times (including last Wednesday like I mentioned in my post).
1. Exactly, You're an arrogant, condescending snob that's been doing this for quite some time. Congrats, you can put together a linux box... well I would certainly hope so, you've been doing it for over 15 years now. But don't forget there was a point that even you had to overcome the learning curve and just because it's simple and clear to you, doesn't mean there aren't people out here that don't have 16 years of linux centric "common sense" behind them. Your current level of expertise is a cumulative evolution of 16 years of study and exposure and that is something you should take pride in, but being an arrogant twit about it just makes you look like a douche and it epitomizes exactly what gives the linux community a bad rap.
2. This Arch Wiki is (compared to most) massive, it's not streamlined, it has several passages that may or may not be used depending on the person, their equipment, preferences etc etc... So forgive me if I didn't read the parts telling me to configure my keymap to a language I don't need to configure it too. It also links to other pages without giving full elaboration on why. It eventually leads you through several rabbit holes and isn't clear by any means to someone who doesn't do this on the regular.
3. I get that Arch isn't a COTS windows solution... it does have a level of difficulty that must be overcome, and it does require research, (which I am totally all about doing, and if you'd read my post, you would see that I never asked directly for an answer, instead I was trying to offer solutions to make the wiki itself better, because there was something omitted within an example) but there is also a great community behind it, that does (or so I thought) work hard to help its user base through forums and documentation. But your previous post, was completely nonconstructive, and served no purpose other than to stroke your own overblown ego.
Last edited by cynicalpsycho (2014-11-04 16:34:35) -
[Solved?] Installing multiple versions of Firefox at the same time
I would like to install the normal Firefox in the repositories and also firefox-pgo-minefield-smp from the AUR so that I may use either one as desired.
Looking at the current PKGBUILD from http://aur.archlinux.org/packages.php?ID=33506 (pkgbuild @ http://aur.archlinux.org/packages/firef … p/PKGBUILD ) I am thinking that perhaps I would modify this line:
export LDFLAGS="-Wl,-rpath,/usr/lib/firefox-$_prever -Wl,-O1,--sort-common,--hash-style=gnu,--as-needed"
to reflect the path where I would like to install it like so:
export LDFLAGS="-Wl,-rpath,/opt/firefox-$_prever -Wl,-O1,--sort-common,--hash-style=gnu,--as-needed"
And then presumably fix my symlink at /usr/bin/firefox to point back to /usr/lib/firefox-2.6 again. (and also fix the menu links and I realize I would have to use an ugly 'pacman -U tarball --force' to install it -- there's got to be a better way as that is very ugly and wrong surely???? Perhaps modify the pkgname as well as conflicts and provides so I could install it more normally?)
Correct? Would I also need to modify a prefix or such besides this and if so where in the pkgbuild (ideally) or source would you recommend (must I change the actual makefile or does my modification in the PKGBUILD take care of this? Would you in your experience recommend another approach for this?
I thought it wise to ask here before hacking away with this stuff and possibly hosing my system in unforeseen ways. Please forgive my greenness. I have spent a few hours researching this but still am not quite sure thus I ask. While I think I could do it with a straight compile with a modified configure I'm unsure of how to do it best using the arch tools...
Thanks for your time.
Last edited by davidm (2010-02-08 14:51:21)Basically solved but not yet mastered.
So I've figured out how to do this, it works, but not yet optimally and I am unsure about some things. Namely:
[david@arch-desktop opt]$ ls -l /opt/bin
total 0
lrwxrwxrwx 1 root root 33 Feb 8 07:27 firefox -> /opt/lib/firefox-3.7a1pre/firefox
[david@arch-desktop opt]$ ls -l /opt/lib
total 8
drwxr-xr-x 12 root root 4096 Feb 8 07:27 firefox-3.7a1pre
drwxr-xr-x 3 root root 4096 Feb 8 07:27 firefox-devel-3.7a1pre
[david@arch-desktop opt]$ ls -l /opt/lib/firefox-devel-3.7a1pre
total 8
lrwxrwxrwx 1 root root 25 Feb 8 07:27 bin -> /opt/lib/firefox-3.7a1pre
lrwxrwxrwx 1 root root 31 Feb 8 07:27 idl -> /opt/share/idl/firefox-3.7a1pre
lrwxrwxrwx 1 root root 29 Feb 8 07:27 include -> /opt/include/firefox-3.7a1pre
lrwxrwxrwx 1 root root 39 Feb 8 07:27 lib -> /opt/lib/firefox-devel-3.7a1pre/sdk/lib
drwxr-xr-x 3 root root 4096 Feb 8 07:27 sdk
-rw-r--r-- 1 root root 2082 Feb 8 05:06 xpcom-config.h
[david@arch-desktop lib]$ ls -l /opt/lib/firefox-3.7a1pre
total 17428
-rw-r--r-- 1 root root 2102 Feb 8 07:27 application.ini
-rw-r--r-- 1 root root 2531 Feb 8 07:27 blocklist.xml
-rw-r--r-- 1 root root 232 Feb 8 07:27 browserconfig.properties
drwxr-xr-x 3 root root 4096 Feb 8 07:27 chrome
drwxr-xr-x 2 root root 4096 Feb 8 07:27 components
drwxr-xr-x 5 root root 4096 Feb 8 07:27 defaults
-rw-r--r-- 1 root root 139 Feb 8 07:27 dependentlibs.list
drwxr-xr-x 2 root root 4096 Feb 8 07:27 dictionaries
drwxr-xr-x 3 root root 4096 Feb 8 07:27 extensions
-rwxr-xr-x 1 root root 3913 Feb 8 07:27 firefox
-rwxr-xr-x 1 root root 56788 Feb 8 07:27 firefox-bin
-rw-r--r-- 1 root root 76888 Feb 8 07:27 greprefs.js
drwxr-xr-x 2 root root 4096 Feb 8 07:27 icons
-rwxr-xr-x 1 root root 1846520 Feb 8 07:27 libmozjs.so
-rwxr-xr-x 1 root root 900176 Feb 8 07:27 libmozsqlite3.so
-rwxr-xr-x 1 root root 11540 Feb 8 07:27 libxpcom.so
-rwxr-xr-x 1 root root 14796800 Feb 8 07:27 libxul.so
-rw-r--r-- 1 root root 30826 Feb 8 07:27 LICENSE
drwxr-xr-x 2 root root 4096 Feb 8 07:27 modules
-rwxr-xr-x 1 root root 3108 Feb 8 07:27 mozilla-runtime
-rwxr-xr-x 1 root root 10720 Feb 8 07:27 mozilla-xremote-client
-rw-r--r-- 1 root root 154 Feb 8 07:27 platform.ini
drwxr-xr-x 2 root root 4096 Feb 8 07:27 plugins
-rw-r--r-- 1 root root 177 Feb 8 07:27 README.txt
-rw-r--r-- 1 root root 16712 Feb 8 07:27 removed-files
drwxr-xr-x 6 root root 4096 Feb 8 07:27 res
-rwxr-xr-x 1 root root 10370 Feb 8 07:27 run-mozilla.sh
drwxr-xr-x 2 root root 4096 Feb 8 07:27 searchplugins
[david@arch-desktop include]$ ls -l /opt/include
total 80
drwxr-xr-x 11 root root 77824 Feb 8 07:27 firefox-3.7a1pre
It seems as though it is a bit messy, as if I have more than I need installed. Especially the two entries in /opt/lib/. Do I really need all this?
PKGBUILD:
# Maintainer: Devin Cofer <ranguvar{AT]archlinux[DOT}us>
# Contributor: blasse <koralik(at)gmail(dot)com>
# PKGBUILD MODIFIED The above info does not apply. Modified by davidm for personal use, not intended for distribution.
# This package is not a normal -hg package. I manually bump $_workingrev every now and again when
# a revision of Firefox passes all of the Linux tests on http://bit.ly/1O4siz
pkgname=firefox-electrolysis-nightly-opt
pkgver=999901
pkgrel=1
_prever=3.7a1pre
_workingrev='d2bed0c20e89'
_mozver=central
pkgdesc="Mozilla Firefox customizable web browser Electrolysis Nightly installed in opt (XULRunner independent, PGO optimized, 64-bit TraceMonkey, Dev tree, Multithreaded)"
url="http://www.mozilla.org/projects/firefox"
arch=('i686' 'x86_64')
license=('MPL' 'GPL' 'LGPL')
_soundsystem='alsa-lib' # 'alsa-lib' for ALSA, 'oss' for OSS
makedepends=('mercurial' 'autoconf-compat' 'gcc>=4.4' 'zip' 'pkgconfig'
'diffutils' 'libgnomeui>=2.24.1' 'python' 'wireless_tools')
depends=('gtk2>=2.18.0' 'gcc-libs>=4.4' 'libidl2>=0.8.13' 'mozilla-common'
'nss>=3.12.4' 'libxt' 'hunspell>=1.2.8' 'startup-notification>=0.10'
'libnotify>=0.4' 'mime-types' 'dbus-glib>=0.82' 'desktop-file-utils'
'cairo' ${_soundsystem})
#provides=("firefox-electrolysis-nightly-opt=$_pkgver")
#conflicts=('firefox-electrolysis-nightly-opt')
install=$pkgname.install
source=('mozconfig'
'firefox-minefield-smp.desktop'
'firefox-safe-minefield-smp.desktop'
'fix-mozilla-launcher.patch'
'mozilla-firefox-1.0-lang.patch'
'ldflags-namespec.patch'
'jemalloc-enable-pgo.patch'
'potential-pgo-fix.patch')
#Original hashes
# sha256sums=('8d08ee111b88473a53e8c0852d463971af7a827f796a94d3fe74ca2eed76ca0b'
# '21722965bb0bab05e3fbd2f584dbcaeb9f0726ed755f59bbf6fb26a7f964e6ec'
# '00641e2d7ba45a607522a621aa86c21e13b2951ebca920b1e0b538b0e1188445'
# 'd4948cc5878b2100b4d19b0fbc09119c34377593c5847678d5788db2b4e0fe43'
# '0ca095ff2af57297f615877a7e79ddc84d1a3f62509a8af6ca50aad7a8671f6a'
# '0e9631fdad5efa3fd7a95b59171f5d15420d10aa61748b920cc994ee9227915c'
# 'e6b8345215eb0c595cadfd6b1abb3a12a1cad8b8b1f3528e6affc58900695215'
# 'bf53a9712aada73dbecb45516bf932b52e7b8debf25cf19294adbfcc54d80028')
#My MODIFIED HAshes
md5sums=('ee857ec52fe3c7a047a282cfc5587d07'
'68cf02788491c6e846729b2f2913bf79'
'5e68cabfcf3c021806b326f664ac505e'
'63eee2d1da3b43c9d604f2253f242f40'
'bd5db57c23c72a02a489592644f18995'
'9e461e5fc73b241d68d08be908405a5e'
'df6fde73c9fdb38245f50b9b5bb09024'
'9587e0e6da42c883e34a46ee35cc3b7d')
# Don't use normal _hgroot/_hgrepo, we don't want Pacman automagically changing the pkgver.
_ff_hgroot="http://hg.mozilla.org/projects/electrolysis"
build() {
msg "* Note: If the build fails, try again, try without jemalloc PGO, and try *"
msg "* without PGO at all. Also, try with 'potential-pgo-fix.patch'. PGO can be *"
msg "* temperamental -- it can sometimes take two or three builds before you'll *"
msg "* get a good one. *"
sleep 15
cd "$srcdir"
# It can take a long time to re-fetch the Mozilla source...
# The commented lines are for use by experienced users who build often.
hg clone "$_ff_hgroot/mozilla-$_mozver" "mozilla-$_mozver" || return 1
# tar xf "$startdir/mozilla-$_mozver.tar.gz" || return 1
cd "mozilla-$_mozver"
# hg pull || return 1
# hg update || return 1
# cd ..
# tar czf "$startdir/mozilla-$_mozver.tar.gz" "mozilla-$_mozver" || return 1
# cd "mozilla-$_mozver"
# hg up "$_workingrev" || return 1 # Comment out this line to use the untested latest source.
cp "$srcdir/mozconfig" .mozconfig || return 1
# Don't strip if the user doesn't want to... ;p
if [ "$(check_option strip)" = "n" ]; then
sed -i 's/--enable-strip/--disable-strip/' \
.mozconfig || return 1
sed -i 's/--enable-install-strip/--disable-install-strip/' \
.mozconfig || return 1
fi
if [ "$_soundsystem" = "oss" ]; then
msg "Using OSS instead of ALSA."
sed -i 's/sydney_audio_alsa/sydney_audio_oss/' \
media/libsydneyaudio/src/Makefile.in || return 1
# Get rid of ALSA config system stuff (requires autoconf rerun)
sed -i '/alsa\//d' config/system-headers || return 1
sed -i '/alsa\//d' js/src/config/system-headers || return 1
sed -i '/LIB(asound/d' configure.in || return 1
fi
msg "Patching source."
msg "Patches from main Arch xulrunner/firefox packages..."
# Fix stub launcher - Arch
patch -Np0 -i "$srcdir"/fix-mozilla-launcher.patch || return 1
# Use LANG environment variable to choose locale
patch -Np1 -i "$srcdir"/mozilla-firefox-1.0-lang.patch || return 1
msg "Patches from this package..."
# PGO compilation LDFLAGS fix
patch -Np1 -i "$srcdir"/ldflags-namespec.patch || return 1
# Enable experimental PGO for jemalloc (speed).
# See Mozilla bugs #418866 and #419470.
patch -Np0 -i "$srcdir"/jemalloc-enable-pgo.patch || return 1
# Sometimes necessary for PGO build to work, especially when PGO compile
# aborts with an error about control sum mismatch (thx to methuselah!)
# patch -Np1 -i "$srcdir/potential-pgo-fix.patch" || return 1
msg "Setting up build."
# Changing the user's optimization flags is justified, because this is
# a package specifically for an optimized software build, and because of
# the official branding, binaries can't be redistributed anyways.
# These flags just set guidelines for the build, they are overridden in
# most compile job pieces by Firefox's better judgement.
#export CFLAGS="-march=native -O2 -pipe"
#export CXXFLAGS="-march=native -O2 -pipe"
export CFLAGS="-march=i686 -mtune=pentium4 -O2 -pipe -fomit-frame-pointer"
export CXXFLAGS="-march=i686 -mtune=pentium4 -O2 -pipe -fomit-frame-pointer"
# The hash-style and as-needed flags are in Arch defaults anyways,
# and the other optimization falgs are almost definitely safe.
export LDFLAGS="-Wl,-rpath,/opt/lib/firefox-$_prever -Wl,-O1,--sort-common,--hash-style=gnu,--as-needed"
autoconf-2.13 || return 1
msg "Actual build."
# Yes, all this is SMP. MOZ_MAKE_FLAGS takes care of it.
# Compile a non-PGO build first to reduce chance of error in PGO build.
make -j1 -f client.mk build MOZ_MAKE_FLAGS="$MAKEFLAGS" || return 1
# Comment out remaining lines for a non-PGO build.
msg "Profiled build now."
# Don't let PGO disrupt the user, use a virtual framebuffer.
LD_PRELOAD="" /usr/bin/Xvfb -nolisten tcp -extension GLX :99 &
XPID=$!
DISPLAY=:99 LD_PRELOAD="" make -j1 -f client.mk profiledbuild \
MOZ_MAKE_FLAGS="$MAKEFLAGS" || return 1
kill -9 $XPID
package() {
cd "$srcdir/mozilla-$_mozver"
make -j1 DESTDIR="$pkgdir" -C ff-pgo install || return 1
# install -Dm644 "$srcdir/mozilla-$_mozver/other-licenses/branding/firefox/mozicon128.png" \
# "$pkgdir/usr/share/pixmaps/firefox.png" || return 1
# install -Dm644 "$srcdir/firefox--minefield-smp.desktop" \
# "$pkgdir/usr/share/applications/firefox-minefield-smp.desktop" || return 1
# install -Dm644 "$srcdir/firefox-safe-minefield-smp.desktop" \
# "$pkgdir/usr/share/applications/firefox-safe-minefield-smp.desktop" \
# || return 1
# Remove devel stuff.
rm -rf "$pkgdir/usr/include/"
rm -rf "$pkgdir/usr/lib/firefox-devel-$_prever/"
rm -rf "$pkgdir/usr/share/idl/"
mozconfig:
ac_add_options --enable-application=browser
mk_add_options MOZ_CO_PROJECT=browser
ac_add_options --prefix=/opt --libdir=/opt/lib
## System libs are preferred
ac_add_options --with-system-nss --with-system-jpeg --with-pthread
ac_add_options --with-system-zlib --with-system-libpng --with-system-bz2
ac_add_options --enable-system-cairo --with-system-hunspell --with-system-sqlite
ac_add_options --with-system-nspr
## GNU/Linux stuff
ac_add_options --disable-installer --disable-updater
ac_add_options --enable-official-branding
ac_add_options --enable-startup-notification
## Optimize
ac_add_options --disable-pedantic --enable-jemalloc --enable-xterm-updates
### Reverse these lines (enable vs disable) for a debug build
ac_add_options --enable-optimize --disable-debug --disable-tests
ac_add_options --enable-profile-guided-optimization
ac_add_options --enable-strip --enable-install-strip
## Edit these as you see fit
ac_add_options --disable-crashreporter --disable-parental-controls
ac_add_options --enable-printing --enable-xinerama
# Sane settings include cairo-gtk2-df, cairo-gtk2, and cairo-qt.
ac_add_options --enable-default-toolkit=cairo-gtk2
ac_add_options --enable-places --enable-svg --enable-pango --enable-canvas
ac_add_options --enable-smil --disable-java-xpcom --enable-canvas3d
# This is disabled in order to speed Firefox up, it prevents checking Google
# for every single URL Firefox processes. If you're using this package, it's likely you already
# know enough to be safe online, or are paranoid (perhaps with reason) about
# Google getting your URLs. Also, this is GNU/Linux, we have somewhat less to fear ;-)
ac_add_options --disable-safe-browsing
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/ff-pgo
mk_add_options PROFILE_GEN_SCRIPT='$(PYTHON) $(MOZ_OBJDIR)/_profile/pgo/profileserver.py'
export BUILD_OFFICIAL=1
export MOZILLA_OFFICIAL=1
mk_add_options BUILD_OFFICIAL=1
mk_add_options MOZILLA_OFFICIAL=1
# Want to change the compiler?
#export CC='gcc-4.5'
#export CXX='g++-4.5'
^ A dirty hack to download the latest nightly of the electrolysis tree, pgo optimized for an intel i686 P4 (not native to get around the seg fault bug). I just commented out the .desktop files as well as the icon for now. Also the conflicts and provides section have merely been commented out. The goal is to have this work independently from the standard firefox allowing me to run both on the system at the same time.
Anyone see anything that I have missed and could fix as far as doing the separate install in /opt using makepkg and the pkgbuild? I've been using arch less than a month and this is the first I've really hacked with a PKGBUILD and mozconfig so I feel I could really use the help. Any insight appreciated greatly.
Last edited by davidm (2010-02-08 15:25:49) -
[SOLVED] New Install of Gnome 3.2 doesn't feel like loading
Greetings,
Before making this post, I have spent the majority of the day trying to solve this issue. I have switched from nvidia drivers to nouvela (sp?) drivers, incase that was the issue. I have scoured google, arch-wiki, and the forums until my eyes have bled. I have dug through the xsession-errors log to search out any missing components that might be causing this... but to no avail. If anything, trying to run and try Gnome 3.2 has made me feel like a complete idiot, who has obviously learnt nothing after years of using linux. So, I come here hoping that some one can point me to the solution my brain cannot itself come up with.
Here the situation:
I have been running KDE4 for quite some time happily. I have ran Gnome 3 back in its beginning days succesfully as well, but that was an older, now dead, pc. Having seen some neat little things about the new Gnome 3.2, I got an itch to give it a try. So, I go and follow the Gnome article on the excellent arch wiki- installing both gnome and gnome extras, letting it grab everything, change from kdm to gdm, and reboot.
Well, it gives me the old gdm I remember from the early gnome 3 days (wasn't this changed) despite it showing that it is GDM 3.2 via pacman. It shows my user name, lets me put my password, and shows the stripped background. One thing to note is that the cursor remains a clock face, never changing to a pointer.
I log in, choosing GNOME, all that remains is the wallpaper, with the clockface cursor, no pointer. I go take the kids to the bus stop, come back apx. 20 min. later, no change.
Ok, bug crushing time right? So I go through the steps. I make sure that gnome shell is indeed installed. I remove any config files (there weren't any), remove gnome shell, reinstall. No go. I rinse and repeat, but removing & reinstalling different things, such as GDM, and even gnome completely. No go.
Hopping into pekwm, I search. I make copies of the xsession-errors each time, and load them in pekwm after a reboot, looking through with pacman by myside to make sure I have any possible missing files. And finally after failure after failure I give up, and come here.
So, here's my xsession-errors log. Please, if anyone can help, or even offer any kind of suggestion that might spark something in my brain to get me going in the right direction, I'd greatly appreciate it. If this thread needs moved, merged, etc, please do so... I've searched the forums, but now my brain is numb, so yeah...
/etc/gdm/Xsession: Beginning session setup...
/etc/gdm/Xsession: Setup done, will execute: /usr/bin/ssh-agent -- gnome-session
gnome-session[1112]: EggSMClient-WARNING: Desktop file '/home/mythus/.config/autostart/dropbox.desktop' has malformed Icon key 'dropbox.png'(should not include extension)
** (gnome-settings-daemon:1138): WARNING **: libltdl.so.7: cannot open shared object file: No such file or directory
** (gnome-settings-daemon:1138): WARNING **: Cannot load plugin 'Color' since file '/usr/lib/gnome-settings-daemon-3.0/libcolor.so' cannot be read.
** (gnome-settings-daemon:1138): WARNING **: Error activating plugin 'Color'
** (gnome-settings-daemon:1138): WARNING **: libltdl.so.7: cannot open shared object file: No such file or directory
** (gnome-settings-daemon:1138): WARNING **: Cannot load plugin 'Power' since file '/usr/lib/gnome-settings-daemon-3.0/libpower.so' cannot be read.
** (gnome-settings-daemon:1138): WARNING **: Error activating plugin 'Power'
GNOME_KEYRING_CONTROL=/tmp/keyring-HPDXfX
GNOME_KEYRING_CONTROL=/tmp/keyring-HPDXfX
GPG_AGENT_INFO=/tmp/keyring-HPDXfX/gpg:0:1
GNOME_KEYRING_CONTROL=/tmp/keyring-HPDXfX
GPG_AGENT_INFO=/tmp/keyring-HPDXfX/gpg:0:1
GNOME_KEYRING_CONTROL=/tmp/keyring-HPDXfX
GPG_AGENT_INFO=/tmp/keyring-HPDXfX/gpg:0:1
SSH_AUTH_SOCK=/tmp/keyring-HPDXfX/ssh
** (gnome-settings-daemon:1138): WARNING **: libltdl.so.7: cannot open shared object file: No such file or directory
** (gnome-settings-daemon:1138): WARNING **: Cannot load plugin 'Media keys' since file '/usr/lib/gnome-settings-daemon-3.0/libmedia-keys.so' cannot be read.
** (gnome-settings-daemon:1138): WARNING **: Error activating plugin 'Media keys'
Gtk-Message: Failed to load module "canberra-gtk-module"
common-plugin-Message: checking whether we have a device for 4: yes
common-plugin-Message: checking whether we have a device for 5: yes
common-plugin-Message: checking whether we have a device for 6: yes
common-plugin-Message: checking whether we have a device for 7: yes
common-plugin-Message: checking whether we have a device for 8: yes
common-plugin-Message: checking whether we have a device for 9: yes
common-plugin-Message: checking whether we have a device for 10: yes
/usr/bin/gnome-shell: error while loading shared libraries: libltdl.so.7: cannot open shared object file: No such file or directory
gnome-session[1112]: WARNING: Failed to start app: Unable to start application: Failed to execute child process "if" (No such file or directory)
Initializing tracker-store...
Tracker-Message: Setting up monitor for changes to config file:'/home/mythus/.config/tracker/tracker-store.cfg'
Initializing tracker-miner-fs...
/usr/lib/evolution/3.2/evolution-alarm-notify: error while loading shared libraries: libltdl.so.7: cannot open shared object file: No such file or directory
Tracker-Message: Setting up monitor for changes to config file:'/home/mythus/.config/tracker/tracker-miner-fs.cfg'
/usr/bin/canberra-gtk-play: error while loading shared libraries: libltdl.so.7: cannot open shared object file: No such file or directory
Gtk-Message: Failed to load module "canberra-gtk-module"
Starting log:
File:'/home/mythus/.local/share/tracker/tracker-miner-fs.log'
Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"
/usr/bin/pulseaudio: error while loading shared libraries: libltdl.so.7: cannot open shared object file: No such file or directory
Tracker-Message: Setting up monitor for changes to config file:'/home/mythus/.config/tracker/tracker-store.cfg'
Starting log:
File:'/home/mythus/.local/share/tracker/tracker-store.log'
** Message: applet now removed from the notification area
(nm-applet:1180): libnotify-WARNING **: Failed to connect to proxy
** (nm-applet:1180): WARNING **: get_all_cb: couldn't retrieve system settings properties: (25) Launch helper exited with unknown return code 1.
** (nm-applet:1180): WARNING **: fetch_connections_done: error fetching connections: (25) Launch helper exited with unknown return code 1.
** (nm-applet:1180): WARNING **: Failed to register as an agent: (25) Launch helper exited with unknown return code 1
Gtk-Message: Failed to load module "canberra-gtk-module"
/usr/lib/libgvfscommon.so.0: undefined symbol: g_free
Failed to load module: /usr/lib/gio/modules/libgvfsdbus.so
Last edited by mythus (2011-10-07 15:36:43)Ok, I guess all it took was for me to post this to wake up and be able to solve the issue.
It is simple really. I just needed to re-install libltdl.
So, for those searching, if you get this similar problem,
pacman -S libltdl
is what solved it for me. -
[SOLVED] pyrit installed but not working
Hi have installed pyrit:
aur/pyrit 0.4.0-1 [installed] (79)
WPA/WPA2-PSK attacking with gpu and cluster
but when I try to execute it I get command not found
EDIT - SOLVED:
Performing a whereis seems like it is not correctly installed despite "yaourt -Ss pyrit" shows it is so I have reinstalled again and now it works and can be located at /usr/bin/pyrit
Last edited by toni (2015-01-27 16:47:31)For someone with 300+ posts, you ask pretty hopeless questions. Please read How To Ask Questions The Smart Way
and include some relevant details.
Where is the binary? What does the documentation say? How are you trying to "execute it"? What have you tried? etc...
Moving to NC. -
[SOLVED] KDE install problem
Hi folks,
I am trying to install KDE on my Arch Linux flash drive and I'm having 1 problem. I typed pacman -S kde, and about 20% through the whole download, it gets to the file called "libwbclient-4.0.7-2-x86_64.pkg.tar.xz". It then starts going through a LOT of mirrors trying to find one that works, but every single one says "The requested URL returned error: 404 not found". I checked with my phone and another computer that my internet is working, and I paused the download and pinged Google to make sure the laptop I'm using still had a connection (it did). Any ideas?
Last edited by linux_kitteh (2013-07-05 22:15:16)Ah, shucks
We do ask that those who start threads to mark them as solved when appropriate. We ask that you do it as only you know when it ir really solved. Just edit the first post in the thread and add [SOLVED] to the beginning of the thread title.
Thanks, and, again, welcome to Arch.
Maybe you are looking for
-
How do I make a digital sticker book?
I have a client that wants to make a "digital sticker book" for a tradeshow. I need to be able to show an image in full screen mode and have "stickers-images" that can be moved around. This will be on a touch screen all in one. I am not sure what pro
-
Hi All, When I am trying to Open Supplier form in Payables Manager, I am getting error as "Function not available to this responsibility. Change responsibility or contact your system Administrator". Please let me know, if any solution is to solve thi
-
Hi All, I am using ORACLE 10g. i am using AQ/Deque in my application. I want to know the list of procedures that are listening to a queue. sample script for registering such one procedure is: BEGIN dbms_aq.register ( sys.aq$_reg_info_list( sys.aq$_re
-
The scenario: Oracle database version 11g I have 3 queues located on 3 databases, Queue A,Queue B, Queue C. Queue A is configured to Propagate messages to queue B. Queue B is merely a routing queue with Propagation created to direct incoming messages
-
AsyncOS 5.5.2 General Release - Date?
Just wondering if you know an indicative release date for the general release of AsyncOS 5.5 for Web? We will soon be rolling out our s650, and would prefer to do it on 5.5 if possible (i.e. if it's due to be released shortly, we might delay our roll