[SOLVED]How exactly do you install Arch using UEFI?

I want to switch my laptop to UEFI. I have a few questions I'd like to ask.
* Does UEFI require a bios boot partition?
* If not but I add a bios boot partition and efi partition is it true I can boot into my system both with UEFI enabled and not enabled?
Will the following set my laptop to use UEFI?
Create a partition scheme as follows;
1. bios boot -- about 2mb -- ef02
2. efi boot partition -- about 200mb (is this size about right?) -- fat32
3. root -- 8300
4. swap
5. home -- 8300
Then when I mount everything I make sure to mount the efi partition like
    mount /dev/sda2 /mnt/boot/efi
It goes to /boot/efi right?
Then when installing GRUB, I install it like;
    grub-install --efi-directory=/boot/efi --bootloader-id=grub_uefi --recheck
And finally I'd run the
    grub-mkconfig -o /boot/grub/grub.cfg
Is that the gist for the most part?
Last edited by stevenmw (2014-12-18 17:51:37)

Here is what I did,
I booted Arch install media (not from UEFI).
I made my partition scheme is gdisk:
  1. 2M -- ef02 -- BIOS boot
  2. 500M -- ef00  -- efi
  3. 30G -- 8300 -- root
  4. 12G -- 8200 -- swap
  5. 195G -- 8300 -- home
I then did my mkfs:
  mkfs.ext2 /dev/sda2
  mkfs.fat -s2 -F32 /dev/sda2
  mkfs.ext4 /dev/sda3
  mkswap /dev/sda4
  mkfs.ext4 /dev/sda5
When I first made my file extensions I made the mistake of not making the efi partition fat32. I knew it had to be fat32 and I wasn't sure if just making it ef00 was enough. So I searched Google. I didn't find much so I pushed forward.
I eventually got an error when trying to do grub-install, it said /dev/sda2 does not look like and efi partition.
So I thought about it, was it the size I chose, was it that I was just putting it in /boot, was it not fat32? I immediately decided it must not be fat32. And I was right. After a search I discovered I needed to do mkfs.fat. So I did this and success! Grub installed everything where it needed to be. (So it is true when they say Arch doesn't care if you have /boot/efi or /boot/EFI. Just using /boot is enough. That is fact.)
But now I had another error. I forgot to install efibootmgr package... By this time I thought I had it so I started all over. This was actually my laptop so I wasn't going to give it more than two tries. So I started from scratch. A second and final try...
I set up my partition scheme, did my mk stuff, and mounted all of my filesystems. Then Installed the base and base-devel packages. I went into arch-chroot on /mnt and then into a bash..
I went through a couple of basic setup things and then I installed grub and efibootmgr. I then ran
    grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=grub_uefi --recheck
Hooray! No errors reported! I checked /boot and everything was there and laid out perfectly!
So I did the grub-mkconfig..... And rebooted.
But it wouldn't boot!
I started to dig around the Arch wiki and read it is a good idea to start out in UEFI mode and go into the  install media and proceed. So I tried this in a VM. The Arch install media would not start in UEFI mode. So I just came to the conclusion that there is something I am missing. Either in GRUB or something I don't understand about my laptop.
I installed Fedora 21 in a VM out of UEFI mode and then again where I started out in UEFI mode. Starting out in UEFI mode did seem to make a difference. I just gave up on my laptop and installed it back with bios and no UEFI. I'm going to dig around and see if I can find what I'm doing wrong.
Could it boil down to not being able to start out in UEFI mode and then switch back into UEFI mode after install? I highly doubt it. There is just something I'm missing..
Marking this as solved. Thanks everyone.
Edit:
Starting out in UEFI mode made the difference! I just wasn't being patient with my VM. Starting out in UEFI mode and then performing the install makes the difference! After following that process I can boot into Arch using UEFI!
Also, I mentioned I couldn't get Arch install media to start in UEFI. That was my fault. When i created my usb i didn't make it a UEFI bootable device! So I would go into my boot options and I would see UEFI but my usb only showed in the legacy list.
Last edited by stevenmw (2014-12-18 20:47:57)

Similar Messages

  • How Exactly Are You 'Meant' To Log Onto BT Wifi?

    Can someone tell me what exactly are you meant to use to log in to a hotspot ?  Is it the BT ID/Password you access your online customer account with?  Is it the @btinternet.com with the same or different password?  Is it something else?
    We got BT Infinity this past Monday (that bit works fine).
    We can see/access the local hotspots (BT Wifi/FON), but they fail to recognise our logins details as valid.
    When I use our valid BT ID/Password on the "Check the status of your BT Wi-fi account" page, it reports "Enter valid Username". If I switch it for the @btinternet.com address we were given, it says "Authentication failed. Invalid username or password" .
    The "Register for BT Wi-fi", section says "Enter valid Username" or "Resubmission Error!" respectively.
    To make matters even more confusing, when our broadband was originally switched over to BT from Plusnet (but the engineer had not arrived yet) I phoned up to ask how to access a hotspot, and a lady in one of the Indian call centres gave me a string of numbers to use as a username/password (eg 10563482 cgnywtbe).  Suffice it to say this made no sense, nor did it work.
    So exactly what is the correct process?
    Solved!
    Go to Solution.

    Check here. https://www.bt.com/wifi/secure/status.do?s_cid=con_FURL_btfon/status
    If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • [SOLVED] Wiki page for GPT disks and booting arch using UEFI

    Hi guys, I am new to archlinux. I installed archlinux x86_64 just yesterday and I like its customisability. I also like arch wiki. Nowhere else have I seen such extensive documentation, especially about things like HAL, UDEV etc. with proper instructions. Thanks to all archers.
    I have installed Archlinux x86_64 in my Dell India Studio 1537 laptop along with Windows 7 Professional x64. Both the OSes boot in UEFI-GPT setup (my UEFI is tianocore.sourceforge.net EDK DUET UEFI64 firmware booting from USB). I boot Archlinux using my own compiled grub2-bzr compiled for both BIOS and UEFI-x64. I have a 1 MB BIOS Boot Partition as required by grub2 for BIOS-GPT booting. My Archlinux system can boot both from bios and from uefi, while Windows can boot only using UEFI.
    The official Archlinux installation guide talks about only MBR (or msdos disklabel) partitions and booting from BIOS based systems. With 2TB drives becoming common place and UEFI being implemented (search for Phoenix SecureCore Tiano's 1 second POST operation), I think a proper wiki page describing differences between MBR and GPT, why GPT is better, how to setup arch to boot from GPT. Another page describing steps to setup arch to boot from UEFI (either as a separate page or as an extension of GRUB2 wiki page) is also needed.
    Some details regarding Pure GPT (not a Hybrid GPT/MBR setup) and/or UEFI setups :-
    Partitioning tools -
    GNU Parted for filesystem related tasks
    GPT fdisk tool - http://rodsbooks.com/gdisk/ , http://sourceforge.net/projects/gptfdisk/ ,  pacman -S gdisk (in extra repo) - for non-filesystem related tasks
    util-linux-ng fdisk does not support GPT disks
    Bootloader - GRUB2 - vanilla grub-legacy does not support GPT and does not support UEFI (Fedora's patched grub-legacy does support both GPT and UEFI) and syslinux does not support GPT (I may be wrong here - seems a gptmbr of syslinux does help in booting from gpt but not sure).
    For GRUB2 - Need BIOS Boot Partition to embed GRUB2's core.img in GPT disks - size about 1 MB max - no filesystem
    In GPT fdisk partition type code - EF02
    In GNU Parted or GParted - bios_grub flag on
    For UEFI-GPT booting this special partition is not needed as no embedding takes place. This is needed only in case of BIOS-GPT booting.
    Incase of custom kernel configuration - enable CONFIG_EFI_PARTITION for GPT support
                                                                        CONFIG_EFI for UEFI support (for UEFI even above option required)
                                                                        CONFIG_EFI_VARS for UEFI Runtime Variables support (optional)
    Note: Although GPT is part of UEFI specification, a UEFI system is not needed to boot from/use GPT. BIOS based GPT booting is possible with GRUB2 or Fedora's patched grub-legacy (but not vanilla grub-legacy provided by archlinux). It is also possible to boot Linux in UEFI-MBR setup (again using grub2) but I have not tried it.
    Even without UEFI and less than 2TB harddrives, GPT based partitioning has many advantages - secondary GPT header and Partition table, CRC32 checksums. Unique Disk GUID and Filesystem-independent Unique Partition GUIDs, multiple primary partitions (default is 128 partitions, but it can be changed). The only problamatic OS is Windows which does not allow GPT booing unless one has UEFI based system. It allows only UEFI-GPT or BIOS-MBR setups. In linux it just depends on how the bootloader is configured - not a problem with grub2.
    I also propose that incase of Auto-prepare Hard Drive, the installer default to GPT for "archlinux only" installs ( ie no dual-boot or triple-boot etc.).
    I did not use the official archlinux iso but used archboot 2010.04 R3 as it gave an option of installing to GPT and also provided GRUB2 during bootloader install. I have never edited any wiki page before, thats why I request some one else to start a wiki page with the information given above.
    I don't know whether this is the right place, but any Windows (Vista or 7 x64 versions) and Linux dual-boot user who has UEFI-based system with GPT partitioning and wants to get rid of Hybrid MBR setup (to boot Windows) can follow this post http://www.insanelymac.com/forum/lofive … hp/t186440 (outside this forum) - this link describes the way to make Windows boot natively in UEFI-GPT setup. After doing this one can install arch using GRUB2 compiled for UEFI x86_64, and Windows will also see
    Last edited by skodabenz (2011-01-30 19:32:48)

    Welcome to arch, skodabenz! Offering documentation on third post - all thumbs up
    You could start the wiki page in your user-space with what you have, and then invite others to join working on it. Just register a wiki account, navigate to the page you want to start, for example:
    http://wiki.archlinux.org/index.php/User:skodabenz/GPT
    and click on "edit this page".
    As noted in the other thread, arch's legacy grub is patched for gpt support. I don't know about UEFI, but you can always open a bug report asking for the patches from fedora to be included.
    edit: the page from Rod Smith is a great resource. I was absolutely terrified at first by all this screwed up GPT/MBR stuff when I tried triple-booting Arch, Win and OS x, but he really does a great job explaining what it is all about.
    Last edited by hokasch (2010-05-21 15:44:08)

  • Impossible to install arch in UEFI mode on my Acer Aspire S3-391

    Hi there,
    I am trying to install arch-linux on my Acer Aspire S3-391, which came with a pre-shipped Windows 8. I am trying to make a dual boot, so I would like to keep the UEFI mode at startup. However, my computer won't boot on the Arch Linux USB Flash drive when in UEFI mode : when plugged in, the key prevents the computer from loading anything. The "Acer" page keeps on reloading itself, without even letting me access the BIOS menu (In other words, the computer is blocked at "POST" phase when the installation media of arch is plugged in).
    Here's what I did to try and solve the problem  :
    1) of course, I disabled Secure Boot and hibernation in Windows 8.
    2) tried to boot in legacy bios. It works, and i could install arch this way : but as told before, i would like to install it in UEFI mode.
    3) Checked, re-checked and re-rechecked the installation media.
    4) tried to install Ubuntu in UEFI mode. It worked : the bootable key of Ubuntu was loaded, when the bootable key of arch is blocked. Why ? No idea...
    5) Installed Ubuntu, and tried to install Arch in UEFI mode from Ubuntu, following the tutorial "Install_from_Existing_Linux". No luck here : i was blocked at step "Testing if you are booted into UEFI mode" on the beginner's guide : I was not, and I couldn't find any solution in the tutorial.
    Any suggestions on what I should try next ?

    If you've already installed in BIOS/CSM/legacy mode, my recommendation is to install your EFI-mode boot loader and try it out. You'll need to use something else that does boot (such as Ubuntu), install the boot loader using the Windows bcdedit command (assuming you're dual-booting), or install the boot loader as EFI/BOOT/bootx64.efi (if you're setting up for Linux alone) to get it to work, though.

  • [SOLVED]How to install Arch Linux UEFI to dual-boot?

    Hey,
    so I have a Lenovo G50-70 on which I want to have a Windows-Arch dualboot. I followed the Beginner's Guide, installed Arch but ended up with an inaccessible Windows. I could boot into Windows from the BIOS utility, but not from the gummiboot bootloader.
    The guide said if I wanted to dual-boot, I must leave windows EFI partition alone, which I did. I have my Windows partitions set up the Windows way, with the system reserved and EFI and recovery partitions, and I have my Windows partition of course and a data partition. After that I have some unallocated space, on which I made the Arch partitions, /dev/sda6 as an ESP partition for the EFI files, /dev/sda7 as root, /dev/sda8 as swap and /dev/sda9 as /home. The install process went without any error, then I made some configurations and installed dosfstools & efibootmgr. After that, I installed gummiboot and ran "gummiboot --path=/boot install". After that I created the configuration files exactly like in the guide, unmounted the partitions, rebooted and saw that there's no (easy) way getting into Windows. So my question is: how can I install Arch to have a working dual-boot system?
    Thanks for any help in advance!
    Regards, Matteussz
    Last edited by Matteussz (2015-02-11 20:41:37)

    Hey,
    Writing to you on my working dual-boot with ArchLinux (Windows 8.1 64-Bit, UEFI)
    So first step I've done is creating free space of an existing partition in the windows disk management (windows button and r and then type diskmgmt.msc). At this step, you have to record which partition your efi partition is (just take a look at your efi partition and remember the mb of this partition for later)
    Then go into the uefi settings (bios) and disable secure boot as well as fast boot, otherwise it could cause data crash.
    Boot your Arch Live CD and follow the beginners guide all the way along till you reach the disk management.
    If you want to have swap, you can create yours right now, should be a primary partition of about 4gigs.
    Next partition is gonna be your home, system partition (I've didn't created two partitions for home and for the system but you could do this as well as just go with one partition) this partition gonna be formatted in ext4
    Next step, you have to mount your windows-efi partition in /boot/efi but don't format it dont remeber if it asks you how to use the partition but if so, just use as fat32.
    After the disk management go ahead with your arch installation and follow the beginners guide. (Make sure you're using the grub bootloader)
    After finishing the installation, restart your system, hopefully you will recognize the opening grub menu. (but dont scare, windows wont show in the grub menu at this time so you have to boot your arch)
    Arrived in arch linux type the command
    grub-mkconfig -o /boot/grub/grub.cfg
    Reboot and your done with your Arch Linux, Windows 8 dual boot, hopefully

  • How do you install Tiger using target disk mode?

    Hi guys,
    I have an old Powerbook G4 that seems to have a dead DVD drive, so i am now trying to install Tiger using target disk mode from my Macbook Pro.
    I successfully mounted the G4 using target disk mode and the Tiger install DVD but when I double click the install icon, I get an error message saying: "Mac OS X 10.4 cannot be installed on this machine"
    Okay, fine but i want to install the OS on the G4. How do I go about selecting the G4 for installation?
    Thanks in advance for your help.

    Hi Nichola,
    Have you tried a search on the support site with the error messages you are receiving? (Maybe your computer doesn't meet the minimum requirements to run Tiger.)
    To re-initialize your disk, go into disk utilities, select 'Erase' and follow the instructions. This will erase and format your disk. Hopefully this helps, but I'm not sure if it will solve your kernel panic problem - maybe that's a different issue all together??
    Hopefully, you've already backed up your important data, but you should try to use target disk mode to do that if you are still unable to boot up the G4 using Tiger. Good luck - hope this is helpful.

  • TS3700 How do you solve this problem if you don't use an Apple headset?

    Pushing the headset flush is useful advice if you use Apple's headset, which cannot be used for running. What do you do if you don't use an Apple headset, if the headset is flush, and if the iPod stops playing after two minutes?

    Back from the gym.
    Same behavior with the Apple earbuds. Turn music on; and music turns off within seconds. Wait. Then maybe screen suddenly lights up. Quick, press play! Oh, too late, it went dark again. Fuss with the device. Suddenly screen lights up. Press play. Music! A few seconds, then off. Arghhh. And this happens whether I run or whether I am lifting weights.
    Then, for the last half hour, fine behavior. Double click goes to the next song. One click lights the screen on. One click lights the screen off. Running, walking, or stretching.
    Net net, same erratic behavior as with the other headset. I made sure the Apple jack was fully inserted per the photo on another thread in this support community. The part where the iPod was working fine also explains why the genius at the store thought I was gaga when I claimed there was a problem.
    Shuffle shake is off; double click on big button set to next song; all other options off.

  • Installation with wifi: how exactly do i install the drivers?

    hi: i intend to install arch on my laptop but i have an issue with internet: i can use the ethernet port (which is always detected fine by default drivers) but then i have to balance my laptop up next to the router. i would rather use wireless: but i need the broadcom-wl driver.
    when exactly do i install it?!
    i find this part of the wiki very vague: can someone be so generous as to provide explicit instructions as to how to install these drivers? inclusing what i need on the media etc.
    thank you in advance
    zom

    Try these instructions
    Then install this package from the AUR with yaourt
    edit: A hint that got me in a little trouble at first (im still a little new) - do *not* just read the code part of the instructions and copy it into your terminal. Read the instructions *very* thoroughly, multiple times if needed, until you understand not only what to do, but *why* you are doing it and what will happen when you're doing it.
    Last edited by jgreen1tc (2011-06-12 20:48:57)

  • [SOLVED]How exactly are USB drives mounted?

    When I plug in a USB drive, Cinnamon brings up the device in Nemo so I can see its files. The location it's mounted at is /run/media/<username>/<long string I assume to be a UUID>/. How is it that I can mount it again at another directory and use it from there? Also, when I unmount it from the second directory, is it already safe to remove it or do I need to unmount it from the first one as well?
    Last edited by Hurricane (2014-01-01 18:52:25)

    ewaller wrote:How, "Exactly"?
    http://www.usb.org/developers/docs/usb2 … 070113.zip
    http://www.usb.org/developers/docs/devc … 9-2010.pdf
    This is actually along the lines of what I was looking for, lmao.
    nd7rmn8 wrote:cant you place the relevant info by uuid in your /etc/fstab, and then when it automounts, it should mount to that location specified.  twas what i did back in my ubuntu days...
    That's the way I had it on my 8.04. I remember having to set that myself though.
    xtraroot wrote:If it's mounted on more than one place, you'd have to unmount it in those places if you've done file transfers and want to make sure it's safe to remove. You only mentioned one place that it's mounted though?
    I had it mounted at that default location and then I had mounted it onto ~/mnt (I recreated /mnt in my home directory)
    tomk wrote:You seem to lack some understanding about your own system. If your USB devices are automounted when you plug them in, that's because you configured your system to do that. The fact that you are asking how that works should worry you IMO.
    I never configured my system to do that. When I used Arch and XFCE, I don't remember USB drives being automatically mounted. I had to do it myself. Cinnamon apparently does it automatically. What I wanted to know was why, if it does it automatically, does mount not give me an error about trying to mount the same partition again in a different place.
    Thanks for your answers everybody.

  • [Solved] Boot process hangs for installed Arch and installation usb

    Hi. I've been using Arch Linux for around 6 months now and I'm in love with it. It is now my primary OS. However, I might have done something or performed some update, and I can no longer boot into Arch. The boot process hangs right before it should show the login screen (I'm using Gnome 3.6 with GDM). I see the following messages on the screen:
    Loading Linux core repo kernel ...
    Loading initial ramdisk ...
    /dev/sda3: recovering journal
    /dev/sda3: clean, 330610/1749664 files, 5585671/6996827 blocks
    And then it hangs right there. I have to hard-reboot after this.
    I then tried to boot using the Arch Linux Installation USB (archlinux-2012.12.01-dual.img), which also hangs at a particular point, before it should show me the prompt. I took a picture of the screen where it hangs: Screen Capture. This is an issue with just my laptop, because the USB boots just fine on another laptop I tried.
    I also have Windows 7 and Ubuntu 12.10 installed on my system, and I'm able to boot into both of them.
    I have 2 hard drives: /dev/sda is a 120GB SSD, and /dev/sdb is a 500GB hard disk. My partitions are as follows:
    sda1 - Windows 7 100MB System Reserved Partition (boot flag enabled)
    sda2 - Windows 7 OS
    sda3 - ArchLinux (boot flag enabled)
    sdb1 - Ubuntu 12.10 (boot flag enabled)
    sdb2 - Just data
    I ran bootinfoscript and below is the output:
    Boot Info Script 0.61 [1 April 2012]
    ============================= Boot Info Summary: ===============================
    => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of
    the same hard drive for core.img. core.img is at this location and looks
    in partition 99 for .
    => Grub2 (v1.99) is installed in the MBR of /dev/sdb and looks at sector 1 of
    the same hard drive for core.img. core.img is at this location and looks
    in partition 99 for .
    sda1: __________________________________________________________________________
    File system: ntfs
    Boot sector type: Windows Vista/7: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files: /bootmgr /Boot/BCD
    sda2: __________________________________________________________________________
    File system: ntfs
    Boot sector type: Windows Vista/7: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System: Windows 7
    Boot files: /Windows/System32/winload.exe
    sda3: __________________________________________________________________________
    File system: ext4
    Boot sector type: -
    Boot sector info:
    Mounting failed: mount: /dev/sda3 already mounted or sda3 busy
    sdb1: __________________________________________________________________________
    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System: Ubuntu 12.10
    Boot files: /boot/grub/grub.cfg /etc/fstab
    sdb2: __________________________________________________________________________
    File system: ntfs
    Boot sector type: Windows Vista/7: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files:
    ============================ Drive/Partition Info: =============================
    Drive: sda _____________________________________________________________________
    Disk /dev/sda: 120.0 GB, 120034123776 bytes
    255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    Partition Boot Start Sector End Sector # of Sectors Id System
    /dev/sda1 * 2,048 206,847 204,800 7 NTFS / exFAT / HPFS
    /dev/sda2 206,848 178,466,084 178,259,237 7 NTFS / exFAT / HPFS
    /dev/sda3 * 178,466,085 234,440,703 55,974,619 83 Linux
    Drive: sdb _____________________________________________________________________
    Disk /dev/sdb: 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 / 512 bytes
    Partition Boot Start Sector End Sector # of Sectors Id System
    /dev/sdb1 * 63 20,948,759 20,948,697 83 Linux
    /dev/sdb2 20,964,824 976,771,071 955,806,248 7 NTFS / exFAT / HPFS
    "blkid" output: ________________________________________________________________
    Device UUID TYPE LABEL
    /dev/mmcblk0p1 6665-3162 vfat
    /dev/sda1 CA6A20CC6A20B75B ntfs System Reserved
    /dev/sda2 1EE242D5E242B137 ntfs
    /dev/sda3 65db0c59-9f04-46f1-975d-8a4c28132137 ext4
    /dev/sdb1 bb9818db-ce7c-43a4-8ad5-8d3702001aed ext4
    /dev/sdb2 3C2E3A4E2E3A0206 ntfs
    ================================ Mount points: =================================
    Device Mount_Point Type Options
    /dev/mmcblk0p1 /media/dhaval/6665-3162 vfat (rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks2)
    /dev/sdb1 / ext4 (rw,errors=remount-ro)
    =========================== sdb1/boot/grub/grub.cfg: ===========================
    # DO NOT EDIT THIS FILE
    # It is automatically generated by grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    ### BEGIN /etc/grub.d/00_header ###
    if [ -s $prefix/grubenv ]; then
    set have_grubenv=true
    load_env
    fi
    set default="0"
    if [ x"${feature_menuentry_id}" = xy ]; then
    menuentry_id_option="--id"
    else
    menuentry_id_option=""
    fi
    export menuentry_id_option
    if [ "${prev_saved_entry}" ]; then
    set saved_entry="${prev_saved_entry}"
    save_env saved_entry
    set prev_saved_entry=
    save_env prev_saved_entry
    set boot_once=true
    fi
    function savedefault {
    if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
    fi
    function recordfail {
    set recordfail=1
    if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
    function load_video {
    if [ x$feature_all_video_module = xy ]; then
    insmod all_video
    else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
    fi
    if [ x$feature_default_font_path = xy ] ; then
    font=unicode
    else
    insmod part_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
    else
    search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
    fi
    font="/usr/share/grub/unicode.pf2"
    fi
    if loadfont $font ; then
    set gfxmode=auto
    load_video
    insmod gfxterm
    set locale_dir=$prefix/locale
    set lang=en_US
    insmod gettext
    fi
    terminal_output gfxterm
    if [ "${recordfail}" = 1 ]; then
    set timeout=-1
    else
    set timeout=10
    fi
    ### END /etc/grub.d/00_header ###
    ### BEGIN /etc/grub.d/05_debian_theme ###
    set menu_color_normal=white/black
    set menu_color_highlight=black/light-gray
    if background_color 13,37,73; then
    clear
    fi
    ### END /etc/grub.d/05_debian_theme ###
    ### BEGIN /etc/grub.d/10_linux ###
    function gfxmode {
    set gfxpayload="${1}"
    if [ "${1}" = "keep" ]; then
    set vt_handoff=vt.handoff=7
    else
    set vt_handoff=
    fi
    if [ "${recordfail}" != 1 ]; then
    if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
    if [ ${match} = 0 ]; then
    set linux_gfx_mode=keep
    else
    set linux_gfx_mode=text
    fi
    else
    set linux_gfx_mode=text
    fi
    else
    set linux_gfx_mode=keep
    fi
    else
    set linux_gfx_mode=text
    fi
    export linux_gfx_mode
    if [ "${linux_gfx_mode}" != "text" ]; then load_video; fi
    menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-bb9818db-ce7c-43a4-8ad5-8d3702001aed' {
    recordfail
    gfxmode $linux_gfx_mode
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
    else
    search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
    fi
    linux /boot/vmlinuz-3.5.0-21-generic root=UUID=bb9818db-ce7c-43a4-8ad5-8d3702001aed ro quiet splash acpi_osi=Linux acpi_backlight=vendor $vt_handoff
    initrd /boot/initrd.img-3.5.0-21-generic
    submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-bb9818db-ce7c-43a4-8ad5-8d3702001aed' {
    menuentry 'Ubuntu, with Linux 3.5.0-21-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-21-generic-advanced-bb9818db-ce7c-43a4-8ad5-8d3702001aed' {
    recordfail
    gfxmode $linux_gfx_mode
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
    else
    search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
    fi
    echo 'Loading Linux 3.5.0-21-generic ...'
    linux /boot/vmlinuz-3.5.0-21-generic root=UUID=bb9818db-ce7c-43a4-8ad5-8d3702001aed ro quiet splash acpi_osi=Linux acpi_backlight=vendor $vt_handoff
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd.img-3.5.0-21-generic
    menuentry 'Ubuntu, with Linux 3.5.0-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-21-generic-recovery-bb9818db-ce7c-43a4-8ad5-8d3702001aed' {
    recordfail
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
    else
    search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
    fi
    echo 'Loading Linux 3.5.0-21-generic ...'
    linux /boot/vmlinuz-3.5.0-21-generic root=UUID=bb9818db-ce7c-43a4-8ad5-8d3702001aed ro recovery nomodeset
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd.img-3.5.0-21-generic
    menuentry 'Ubuntu, with Linux 3.2.0-29-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.0-29-generic-advanced-bb9818db-ce7c-43a4-8ad5-8d3702001aed' {
    recordfail
    gfxmode $linux_gfx_mode
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
    else
    search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
    fi
    echo 'Loading Linux 3.2.0-29-generic ...'
    linux /boot/vmlinuz-3.2.0-29-generic root=UUID=bb9818db-ce7c-43a4-8ad5-8d3702001aed ro quiet splash acpi_osi=Linux acpi_backlight=vendor $vt_handoff
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd.img-3.2.0-29-generic
    menuentry 'Ubuntu, with Linux 3.2.0-29-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.0-29-generic-recovery-bb9818db-ce7c-43a4-8ad5-8d3702001aed' {
    recordfail
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
    else
    search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
    fi
    echo 'Loading Linux 3.2.0-29-generic ...'
    linux /boot/vmlinuz-3.2.0-29-generic root=UUID=bb9818db-ce7c-43a4-8ad5-8d3702001aed ro recovery nomodeset
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd.img-3.2.0-29-generic
    ### END /etc/grub.d/10_linux ###
    ### BEGIN /etc/grub.d/20_linux_xen ###
    ### END /etc/grub.d/20_linux_xen ###
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    menuentry "Memory test (memtest86+)" {
    insmod part_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
    else
    search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
    fi
    linux16 /boot/memtest86+.bin
    menuentry "Memory test (memtest86+, serial console 115200)" {
    insmod part_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
    else
    search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
    fi
    linux16 /boot/memtest86+.bin console=ttyS0,115200n8
    ### END /etc/grub.d/20_memtest86+ ###
    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry 'Windows 7 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-CA6A20CC6A20B75B' {
    insmod part_msdos
    insmod ntfs
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 CA6A20CC6A20B75B
    else
    search --no-floppy --fs-uuid --set=root CA6A20CC6A20B75B
    fi
    chainloader +1
    ### END /etc/grub.d/30_os-prober ###
    ### BEGIN /etc/grub.d/30_uefi-firmware ###
    ### END /etc/grub.d/30_uefi-firmware ###
    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries. Simply type the
    # menu entries you want to add after this comment. Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/grub.d/40_custom ###
    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f ${config_directory}/custom.cfg ]; then
    source ${config_directory}/custom.cfg
    elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
    source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    =============================== sdb1/etc/fstab: ================================
    # /etc/fstab: static file system information.
    # Use 'blkid' to print the universally unique identifier for a
    # device; this may be used with UUID= as a more robust way to name devices
    # that works even if disks are added and removed. See fstab(5).
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc nodev,noexec,nosuid 0 0
    # / was on /dev/sdb1 during installation
    UUID=bb9818db-ce7c-43a4-8ad5-8d3702001aed / ext4 errors=remount-ro 0 1
    =================== sdb1: Location of files loaded by Grub: ====================
    GiB - GB File Fragment(s)
    4.564525127 = 4.901121536 boot/grub/grub.cfg 1
    5.130507946 = 5.508840960 boot/initrd.img-3.2.0-29-generic 2
    5.851592541 = 6.283099648 boot/initrd.img-3.5.0-21-generic 2
    6.317649364 = 6.783524352 boot/vmlinuz-3.2.0-29-generic 1
    4.965751171 = 5.331934720 boot/vmlinuz-3.5.0-21-generic 2
    5.851592541 = 6.283099648 initrd.img 2
    5.851592541 = 6.283099648 initrd.img.old 2
    4.965751171 = 5.331934720 vmlinuz 2
    4.965751171 = 5.331934720 vmlinuz.old 2
    I tried adding nomodeset and acpi=off to the boot parameters, but the boot process still hangs. Please let me know if I should provide any other information.
    Last edited by dhavalparmar (2012-12-30 11:45:25)

    Ok.. So my Arch Linux randomly decided to work. I'm sure I didn't do anything between my last "not working" state and my current "working" state. Below are a few things I tried:
    I thought of trying an earlier build of ArchLinux, and downloaded archlinux-2012.11.01-dual.iso and made a bootable USB out of it. It still hung.
    I was getting error messages during Arch boot that the last access time for the disks was at a future date. I found out that Ubuntu was using localtime instead of UTC and screwing up my hardware clock. I fixed it, and thought maybe the time issues were causing the boot problem. But fixing time didn't solve my problem.
    I chrooted into Arch from my Ubuntu install, ran 'sudo pacman -Syyu' and updated my Arch install.
    I thought maybe GDM isn't starting up. I re-enabled the service using 'systemctl enable gdm.service'.
    I removed OpenNTPd and installed NTPd. Enabled the daemon using 'systemctl enable ntpd'
    None of the above solved the problem, and rebooting to Arch still hung the system. So I stopped fiddling with it yesterday. Today, as usual, I just tried logging into Arch.. And it just worked out of the blue. The solution to me is as mysterious as the problem.
    I told this to my friend who introduced me to Arch, and this is what he said:
    Damn it computers, you were supposed to be deterministic!

  • Installing Arch using larch-8 from LiveCD to HD

    Hi there,
    as you can see from the subject, my problem is so, so easy... but really, I can't understand how to do it. What I supposed to do? Using larchin-archin? I can't find 'larchin' on my LiveCD, neither from terminal.
    For the rest, my LiveCD distro works fine, really fine... I love it, I want it on my HD I can do whatever you want, I can format the whole disk, install arch and then copy all my folders from the CD, I really don't know: I read the documentation, I read topics on this forum... sorry for the newbieness of that question
    Thank you in advance

    Maybe you should read more carefully and slowly
    Installation to hard disk
    The larch hard-disk installer [b]larchin[/b] may be used to install Arch Linux to hard disk (or similar). ***+ Or, at least it will be possible to use it when I have updated (rewritten?) it for larch-8. -*** [b]larchin deals with partitioning and formatting of hard drives, placing Arch Linux (primarily a copy of the live system on which it is running) on the newly formatted partitions, and installation of a bootloader.[/b]
    As mentioned above the main approach to Arch installation covered by larchin is to copy the contents of the live system to a hard drive. Those (few) bits peculiar to the needs of a live system are removed and the result is a completely normal Arch Linux installation. I should perhaps mention the file 'delarch' in the 'larch/data' directory on the boot medium). This script (if it exists) is run at the end of the installation and allows custom installation actions to be performed (the main reason for its existence is to allow features of the live system to be removed, because they would be out of place in a normal installation).
    'Live' installation to hard disk
    This is sometimes called a 'frugal' install and means that the system as it is (compressed, running in an aufs file-system) on the USB-stick or CD is installed as a live system to a hard-drive partition. This might be useful if you want to run from a flash device, for example, as it minimizes write operations to the device (normal access is read only). This is actually no different from copying a larch system to a USB-stick, so the normal copying procedure can be used.
    You should see the config inside your profiles, also the overlay options before you can do an install to HDD.

  • Has anyone been able to contact Adobe to learn why their Flash Player does not work on Mac OS 10.6.8, no matter how many updates you install?  This seems like a big error by Adobe.

    I have thee Mac computers with Mac OS 10.6.8, one of which is a Mac Pro.  No matter how many updates I install from Adobe, their Flash Player does not work on any of these 3 computers.  I don't know how to contact Adobe Systems about this problem, but I think it is their responsibility to make sure that their so-called "universal" software works proplerly on a relatively recent operating system like OS 10.6.8 that is still in widespread use.  When you install the updates, nothing happens -- not even an error message.  What is the point of a universal player that is not universal?  It works fine on my MacBook Pro with OS 9 Mavericks, but it does not work at all -- indeed, has never worked -- on my 3 Macs with OS 10.6.8.  Has anyone contacted Adobe Systems to find out why the Flash Player does not work with OS 10.6.8 and what they plan to do about it?

    Where are you getting Flash from?
    Get the appropriate dmg installer here and then run it.
    http://www.adobe.com/products/flashplayer/distribution3.html
    If it still won't install, do these two things: First uninstall any Flash by going into the second level Hard Drive Library>Internet Plug-ins, and trash the Flash Player.plugin and flashplayer.xpt. Then boot into Safe Boot, Shift at the startup chime (give it much longer than a usual boot) and run the installer while booted in Safe Boot.

  • Install Arch using mobile broadband.

    Hey! Is it possible to install Arch Linux using a mobile broadband? If it is, how do I do it?
    I tried to modprobe usbserial but it wasn't found, can I get the module before the installation?
    Thanks for reading, Pics.

    Yes and no.
    Yes: ppp is on the installer CD, but nobody seems to know how to work with it. Try this and/or this.
    No: wvdial is not on the installer CD.
    Workaround: Put wvdial and wvstreams on a USB stick.
    There's been some discussion about inclusion of wvdial on the installer: http://mailman.archlinux.org/pipermail/ … 14388.html
    Last edited by schivmeister (2010-10-13 23:19:23)

  • [SOLVED] How can I re-install /etc/services ?

    It seems to be missing an entry for smtps.  This is causing postfix issues.
    How can I re-install the file?
    Thanks. 
    Last edited by TomB17 (2010-08-14 18:55:23)

    Thank you. 

  • How exactly do I install OS9 on an external?

    I'm pretty Mac- literate, but I've never had an external hard drive before.
    I just upgraded to Leopard, realized that I can't use Classic, and still have programs and games (hey, Oregon Trail II is a good time waster) that I want to play.
    I have a 40 GB iBook G4. I'm a bit iffy on how to partition the external, but I figure I can blunder through that. Planning on 165 for Time Machine, 10 to 50 for Classic, and then a 250-90 partition for music and movies.
    I have my original 10.3 install discs that came with the laptop, and I believe I have my install discs that came with my old grape iMac.
    What do I do?

    Hi, Jessica -
    The disks that came with your old iMac will not be usable for installing OS 9 (Classic) on the external drive, using your iBook G4 to do the work. Primary reason - the installers on all stand-alone OS 9 Install CDs will work only when the machine is booted to OS 9, and your iBook G4 is not OS 9 bootable.
    The original disk set that came with your iBook G4 have the ability to install Classic. One or more of these Apple KBase articles (depending on the exact version of OSX that came with it) may help you do that -
    Article #106294 - Mac OS X: How to reinstall Mac OS 9
    Article #107383 - Mac OS X 10.2, 10.3: How to perform Mac OS 9 clean installation with Restore CDs
    Article #42929 - Using Restore Discs with Mac OS X 10.2 through 10.3..3
    Article #151871 - Mac OS X 10.3: Installing Classic
    Article #301408 - Using Restore discs with computers that ship w/ OSX 10.3.7 or later
    Alternative means -
    • Connect the external to another Mac which is OS 9 bootable, then install OS 9 on it using that machine and update the install as needed using download updaters. Once finished, connect the external to your iBook - you should then be able to set that install up as Classic.
    • Copy a working OS 9.1, 9.2.1, or 9.2.2 System Folder from another machine. This can be done via a drag-and-drop copy process. Once the drive is reconnected to the iBook the copied OS 9 System Folder should be able to be set up as Classic.
    Note - since Classic must be OS 9.1 or later (OS's 9.2.1 and 9.2.2 are more compatible in the Classic role), and all OS 9 download updaters will work only when the machine is booted to OS 9, be sure to get the final version of OS 9 you want onto the drive before moving the drive to the iBook.

Maybe you are looking for

  • Is there a way of remote accessing 'Games and More' on a mobile?

    I am new to the forum, please excuse me if I am in the wrong space! Is there a way of remotely accessing/executing Java applications that are residing in the 'Games and More.' folder on a mobile device? e.g. Java application is downloaded into 'Games

  • After initial install of Firefox 4 and then Thunderbird 3, FF 3.6 or 4 no longer works on Win7-64

    Hi, I am having a very strange problem and would love to find a solution since I really enjoy browsing with Firefox. This is a brand new Win7 Pro 64bit install. I installed FF4 this morning and it worked great. I then installed Thunderbird 3 and sinc

  • Windows 8 upgrade

    I recently upgraded my HP Touchsmart 310-1020 Desktop PC from Windows 7 to Windows 8.  After the upgrade, I received a message that ATI needs to be upgraded.  When finding out how to do that, I found out I should have upgraded drivers prior to the Wi

  • IDisk not accessible

    I am running Lion 10.8.2 and when my external hard drive that I was running time machine on was not recognized by the computer I tried to run the "iDisk Utilities" in my application folder.  I was not able to open the application and it gave me this

  • Linking eCatt to Solution Manager

    Hi All I am new to this so please bear with me. I am currently learning ECatt.  I have created a small chained script within ECC6 which utilises an external file. If I test this from ECC6 - it performs as expected - and utilising the external file fo