First install, GRUB error 13

Hey, so I downloaded the core image and booted from it. I am at a grub menu that gives me the options to boot from live cd (or no sata) and a bunch of other grub stuff.
when I try to boot from live CD, I get a
GRUB error 13: invalid or unsupported executable format.
I tried booting the ISOLINUX image, and that got me to the installer, but I am set up on wifi with no way to connect to the internet via a cable, so I can't do an FTP install with the ISOLINUX image. Any ideas here? I can't get anywhere right now...

Connect to the internet over wifi to install, then - where is the problem?
You might want to get a testing build, the official images are a bit old (in the "announcements.." subforum). Also have a look at the unofficial archboot images, they use syslinux and provide core.

Similar Messages

  • Install Grub error

    When i get to the last step of the installation process-- install the bootloader
    after i modify the grub cfg file and try to install grub
    i keep having the installation error and
    the machine told me to look up tty7 for output and installation for grub fails
    but when i found tty7, it is not a readable file!
    anyone know how to fix this problem?
    thanks

    oceanliu wrote:i have a separate boot partition
    my machine have a win7 install already,
    so i put all the arch linux partition in the extended disk.
    Umm ok. but you still haven't answered my question.
    I'll tell you what, follow the Beginner's Guide to the letter and it should explain everything that you need to know.

  • First Install: ALSA error

    So, this is my first time with Arch. I am doing a test run in VMWare to make sure I like it.
    I followed the Beginners Install guide, and I made it to the configuring ALSA. I installed it with:
    pacman -S alsa-utils
    su phil
    alsamixer
    after running that last command I get this error:
    alsamixer: Symbol 'acs_map' has different size in shared object, consider re-linking
    Please make all reply's noob friendly.

    Connect to the internet over wifi to install, then - where is the problem?
    You might want to get a testing build, the official images are a bit old (in the "announcements.." subforum). Also have a look at the unofficial archboot images, they use syslinux and provide core.

  • Grub error after install Arch x86_64

    i install arch on my second laptop and everything works fine so im install on my main laptop but grub can boot
    my main laptop have 2 HDD, first i have windows seven and other partions on second i have arch64
    at install no errors are show but when i reboot grub menu show the arch options i choose and
    Booting command-list
    root (hd1,0)
    Filesystem type unknown, partition type 0x7
    kernel /boot/vmlinuz26 root=/dev/sdb1 ro
    Error 17: Cannot mount selected partition
    Press any key to continue...
    the hd1,0 thing is correct is the second HDD, first partition
    i only can boot by arch live cd choose boot  existing OS edit to hd1,0 and show me the grub menu and all boot option work
    so what the problem with that
    is not the problem with windows because i dont put windows on grub if i wont boot windows i choose boot first HDD on bios
    the previous distro in this machine was sidux and only works on install i just choose install grub on sdb on MBR
    on arch i choose install grub on /dev/sdb i think this is the MBR correct?

    this i find on archwiki, i have this on grub too, but the problem is the grub/bios wrong names but is 100% now.
    on 1 HD is a peace of cake install arch on 2 HDD im install a few times because this error but is easy too, when i read on web arch is hard to install i think that will be a pain in the as* but not really is easy and fast even faster than sidux but on start up have more 100mb of ram than sidux but is not a problem because is faster lol
    thanks

  • Error installing GRUB

    I'm installing Arch for the first time, and following the (excellent) Beginners' Guide. I am attempting to install GRUB for my UEFI motherboard (https://wiki.archlinux.org/index.php/Be … ide#GRUB_2). When I get to the point when I should run
    # cp /usr/share/locale/en\@quot/LC_MESSAGES/grub.mo /boot/grub/locale/en.mo
    I get the error:
    cp: cannot create regular file /boot/grub/locale/en.mo: No such file or directory
    I have followed the guide to the letter until this point. What's wrong?
    Thanks everyone.
    Last edited by AlecB (2013-02-03 05:28:38)

    I ran the command
    # mkdir -p /boot/grub/locale
    and then
    # cp /usr/share/locale/en\@quot/LC_MESSAGES/grub.mo /boot/grub/locale/en.mo
    I assume it worked now (I don't get an error.) Someone should edit the Beginners' Guide from
    # pacman -S grub-bios
    # grub-install --target=i386-pc --recheck /dev/sda
    # cp /usr/share/locale/en\@quot/LC_MESSAGES/grub.mo /boot/grub/locale/en.mo
    To
    # pacman -S grub-bios
    # grub-install --target=i386-pc --recheck /dev/sda
    # mkdir -p /boot/grub/locale
    # cp /usr/share/locale/en\@quot/LC_MESSAGES/grub.mo /boot/grub/locale/en.mo

  • [Solved] Grub Error 15 at boot on new install.

    So I was trying to avoid asking for help, but I honestly can't see what's wrong with my new install of arch.  I followed the beginner's guide all the way up to the part where you reboot and remove the liveCD.  It all went swimmingly until I rebooted and got:
    GRUB Loading stage1.5.
    GRUB Loading, please wait...
    Error 15
    I don't know what's going on.  Error 15 is supposedly "file not found," but I don't know what file it's looking for since I have a grub.cfg that I created from the steps posted on the guide.  Any help is greatly appreciated.
    --Wes
    EDIT:
    Just to be clear I followed the BIOS motherboard steps for GRUB.
    Last edited by Wesman26 (2012-11-09 01:25:38)

    Xacky wrote:Which instructions did you follow? This would normaly do it when chrooted (during install).
    Wat your disk en partition lay-out?
    -One or more harddisks?
    -Partitions? Everything on / or separate /home /boot (/var)?
    I'm following the beginner's guide instructions for a BIOS install.  After chroot I used the following:
    # pacman -S grub-bios
    # grub-install --target=i386-pc --recheck --force --debug /dev/sdb
    # cp /usr/share/locale/en\@quot/LC_MESSAGES/grub.mo /boot/grub/locale/en.mo
    # grub-mkconfig -o /boot/grub/grub.cfg
    Aside from the warnings (that I think most people ignored) of a few files not existing during the installation of grub-bios, it all went fine.  The harddrive is definitely sdb (fdisk -l shows sda as my windows drive, not to mention I just formatted and partitioned sdb).  My partitions are laid out exactly as the guide tells me to (/ on /dev/sdb1 and /home on /dev/sdb2).  They are the only partitions on sdb.
    DSpider wrote:Lol... a full reinstall wasn't needed. This mentality is typical to a Windows user.
    I don't appreciate your condescension.  These forums have (up to this point) always been really helpful and friendly to me; just because I'm posting in the newbie corner doesn't mean I'm not familiar with linux, and even if I were unfamiliar with linux I would hope that you could show more respect and compassion for someone who needs help than to ostracize them and laugh about their problem.  I posted here because I figured I didn't need to waste the time of the mods and users who offer help in the installation subforum with something that I assumed would be a trivial fix.  I expected courteous, thoughtful responses.  I was apparently wrong to assume.
    I reinstalled because I didn't know what else to do, and figured that there might have been a chance that I made a mistake.  Since your previous advice was literally getting me nowhere I figured the 10 minutes of my time reinstalling took up would be worth the potential of fixing my problem. 
    To answer your questions that are actually helpful:
    I don't have grub installed on another drive and my drive and partition layout is detailed above.  As for boot priority, it hasn't changed since I first installed linux in 2006 and it's worked ever since; I'm performing this operation to clear what was once a drive cluttered with a few other distros that I've abandoned since 2007 when I found Arch (yes I am actually that lazy).
    Is it possible that my old installation of grub might have stayed on the drive even after I rid it of the old partitions (since it's stored in MBR)?  If so does the installation of grub2 I'm performing not get rid of it?
    Hope this helps,
    --Wes
    Last edited by Wesman26 (2012-11-08 20:53:27)

  • After install and first boot, Grub shows only flashing cursor

    Hi so I recently successfully installed the archlinux image on my netbook. after finishing the config files and rebooting, he started grub normally, I could choose from all the menu entries I set. I had 3 other partitions before I installed arch, these were windows 7 starter, system (dont know what that is, he showed me that under windows but it is unrecognized under linux) and a windows 7 recovery partition (from samsung).
    so I first checked if he would boot the windows partition but I forgot also to configure the windows partition entry in the grub config so he loaded the recovery partition. after a reboot he showed me just a black screen with a flashing cursor at the bottom of the display that moves from the left side to the right constantly. there is no error or anything, he even shows the text "loading grub" at the beginning but then I get that screen.
    I still can boot my arch live image, here's the output of fdisk -l
    /dev/sda1    *          1        1959    15728640    27   Unknown
    /dev/sda2         1959        1972        102400      7    HPFS/NTFS
    /dev/sda3         1972      20841  151565496      7    HPFS/NTFS
    /dev/sda4       20841      30401    76798472+  83    Linux
    also I tried to manually mount the partitions from the live image but I'm still kind of a noob with linux, should this be the right command?
    mount /dev/sda4
    because that doesnt work, he says he "cant find /dev/sda4 in /etc/fstab or /etc/mtab".
    I hope you can help me, thx

    well...no I just let pacman do the update (where some things with renaming kernel files were mentioned). but considering the fact that I didnt update the system the first time the problem occured and the fact that booting from the windows recovery partition triggers the problem I dont think that the problem lies within linux or updating.
    besides that I dont even come to the grub menu, he only displays "grub loading stage1.5" and then the screen with the cursor comes. He doesnt react on anything I try except the reboot shortcut.
    and can you help me with my previous question? "And how can I manually install grub from the live image? I dont want to go through the whole installation again, only overwrite the existing grub and with it the mbr."

  • I'm getting an error message updating PS6 perpetual license. The suggested fix recommends uninstalling and re-installing. I first installed as a download and have no product DVD. Where do I find a download?

    I'm getting an error message updating PS6 perpetual license. The suggested fix recommends uninstalling and re-installing. I first installed as a download and have no product DVD. Where do I find a download?

    Download it here:
    Download CS6 products
    Gene
    (If this does successfully solve your issue, mark this as answered to close the case. If not post followup questions.)

  • [SOLVED] - Grub Error 15 on Fresh Install

    I've created a Boot CD from the archlinux-2011.08.19-core-i686.iso and booted from the CD.
    I've used both Autoconfig and Manual to set up my 4 Gig USB Flash Drive - /dev/sdb
    BOOT - /dev/sdb1: UUID="467fc66a-6c36-48ab-a7f3-69f449407927" TYPE="ext2"   Size=1003.53 Meg
    SWAP - /dev/sdb2: UUID="f83191f6-cdf3-4647-80e2-86ac73063725" TYPE="swap"  Size=259.75 Meg
    /dev/sdb3: UUID="fc7e8565-6668-4370-bb32-33d2d89ee28e" TYPE="ext2" Size=2.02 Gig
    /dev/sdb4: UUID="00055f18-3e0a-48b8-a9c5-5593aacc2bee" TYPE="ext2"  Size=676.91 Meg
    unallocated 1.68 Meg
    Disk /dev/sdb: 4206 MB, 4206886912 bytes
    130 heads, 62 sectors/track, 1019 cylinders
    Units = cylinders of 8060 * 512 = 4126720 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00002773
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1   *           1         255     1027619   83  Linux
    /dev/sdb2             256         321      265980   82  Linux swap / Solaris
    /dev/sdb3             322         847     2119780   83  Linux
    /dev/sdb4             848        1019      693160   83  Linux
    No matter how I prepare the USB Flash Drive I get the Grub Error message as follows:
    Booting Arch Linux
    Root (HD1,0)
    Filesystem type is ext2fs, Partition Type 0x83
    Kernel /vmlinux-linux root-/dev/disk/by-uuid/xxx-xxxx-xxx-xxx ro
    ERROR 15: File not Found
    In Grub I've tried:
    root (HD
    and HD0, HD1 are the Options.  HD1 is my USB Flash Drive (sdb)
    find /boot/grub/stage1    finds nothing.............
    I'd think that stage1 would be found if Grub was installed properly.
    I've tried EXT2, EXT3, and the following sizes....Boot as 100 Meg, Root as 1800 Meg, Swap as 256 Meg, and Home = Remainder (~1800).
    I've searched this Forum and haven't found any answer that makes my USB Flash Drive Boot.  At this point I'm stuck.
    Is there something I'm overlooking? 
    Thanks.
    Larry
    Last edited by lkraemer (2012-02-21 15:17:21)

    Thanks, DSpyder I already had it as hd0,0.  I found the clue here to get my USB Booting.
    https://wiki.archlinux.org/index.php/In … _a_USB_key
    I used /dev/sdbx versus the UUID, and edited the /etc/mkinitcpio.conf, add the usb hook to the hooks array right after udev.
    Larry

  • I have an old macbook, i just installed the newest version of iTunes and it opens but before i can accept on the first screen, an error pops up (-45054), help me please!?

    i have an old macbook, i just installed the newest version of iTunes and it opens but before i can accept on the first screen, an error pops up (-45054), help me please!?

    Did you try to uninstall and reinstall the iTunes back in?

  • [solved] Cannot complete install, grub fails to boot the new install

    I'm using the 2009.08 USB image.
    I've tried this 2 weeks ago, tried it again today, same result. (I'm on Win7 meanwhile).
    I'm installing arch, everything goes fine.
    I've tried 2 setups:
    a)
    100GB ext4 /
    12GB swap
    (no separate /boot, should work)
    b)
    100MB ext3 /boot
    100GB ext4 /
    12GB swap
    Neither a) or b) will boot.
    When the newly installed grub boots, I get a error saying:
    filesystem type unknown, partition type 0x7
    I get this for the ext3, ext4, and windows partitions.
    I get it for both a) and b) setups.
    I have doublechecked the menu.lst file. I've even created another entry setting root=/dev/sdb1 (as opposed to the default /dev/disks/by-uuid/..).
    I should mention, I have two disks, the first (sda) is currently with a Win7 installation, the 2nd (sdb) is the one I'm trying to install Arch again (and failing).
    After the reboot, I've tried booting into the livecd again and manually trying to mount /dev/sdb1 /mnt, it works.
    Why isn't my grub boothing from ext{3,4}?
    Last edited by Frantic (2009-11-05 18:35:15)

    Rede wrote:
    I was getting that error but after re-installing grub and making some changes to the menu.lst file it was fixed.
    I was able to at one stage boot into arch but it gave problems with the root. Now it just seems to freeze while trying to load grub.
    I am currently trying yet another install of grub. I have been noticing though that my menu.lst file has been rolling back or not updating when I chroot back into my install after changing it earlier.
    Try mounting your /boot partition under /mnt/boot.

  • Windows 8 Recovery USB causes UEFI error: "Grub error: Can't find gpt 7" [FIXED]

    Hello everyone,
    Here is my situation.  I had a dual boot setup on my toshiba S855D (Win 8/Ubuntu 12.10).  After a few months my win 8 install was giving me strange errors.  I decided to do a full reinstall using the recovery USB I made. (I had reinstalled once before)  When I plugged in my USB after restarting the computer (in USB as first boot), I got the error: 'Grub error. Can't find gpt 7' If I tuned off UEFI, the computer could at least detect the USB but not do a reinstall.  Thinking it was a Grub error I formatted the HD (using an ubuntu liveUSB).  The problem persisted. I installed boot-repair on ubuntu and tried that, but no effect.  I have tried to install an updated bios from the CD image in the bios zip, but it wouldn't execute the commands in the ini file.  I even tried to install an old xp disk I had to see if I could install the bios update that way, but the windows install  repeatedly froze.
    Quick version: dual boot (win8/ubuntu)->try to reinstall win8, "error: Grub Error: Can't find gpt 7", when usb is attempted to be booted from. ->Wiped hdd, but problem persisted. -> tried many ways to fix, but nothing works.
    I have been reading many forums for the past few days, and nothing looks to work.  Any and all help would be really helpful.
    Solved!
    Go to Solution.

    I finally got it!
    After much poking around the internet, I was finally able to identify my problem.  My bootx64.efi in the EFI/Boot folder wasn't working.  I found this out by putting UEFI shell on another usb and using that to test my *.uefi files.  Thankfully, I had a backup of my EFI folder from my initial Ubuntu install.  This had a backup made my ubuntu. (bkpbootx64.uefi) I ran the backup and the USB worked!  
    On another forum someone (Agent268) said this, which may help.  I'm guessing you need to have a windows pe DVD/USB to make this work though. 
    "You should be able to use DISM to manually reimage this bad boy using the WIM or SWMs on that USB recovery flash drive."
    Hope my research helps someone out there.  Cheers to everyone who looked.

  • Problem booting Arch after first install on MacBook Pro

    Hi all,
    I've spent the past month intermittently trying to install Arch on an old MacBook Pro with a broken screen running in clamshell mode (I've reformatted, clean installed OSX, and run pacstrap around 20 times now). I was originally trying to install Debian, but the Arch Wiki was so good that I switched. The issue has been the same anyway.
    Every time I try to install, I get stuck at the bootloader stage, where I need to make the installation bootable. It doesn't matter what bootloader method I use, since I've tried:
    Boot from /boot partition with GRUB
    Boot from separate HFS+ GRUB partition
    Boot from Apple EFI System Partition (ESP) with GRUB
    Boot with rEFInd
    Boot with rEFInd installed to the ESP
    Arch itself works fine, but when I go to boot from rEFInd's autodetected vmlinuz-linux from 128MiB ext2 partition, I get the same error message I've gotten with every other configuration:
    :: running early hook [udev]
    :: running hook [udev]
    :: Triggering uevents...
    [ 0.558033] uhci_hcd 0000:00:1a.0: Found HC with no IRQ. Check BIOS/PCI 0000:00:1a.0 setup!
    [ 0.558097] uhci_hcd 0000:00:1a.0: init 0000:00:1a.0 fail, -19
    [ 0.558135] uhci_hcd 0000:00:1a.0: Found HC with no IRQ. Check BIOS/PCI 0000:00:1d.0 setup!
    [ 0.558189] uhci_hcd 0000:00:1a.0: init 0000:00:1b.0 fail, -19
    Waiting 10 seconds for device /dev/disk/by-uuid/2b121a89-aeb9-430a-8e6c-a05b79f08427 ...
    ERROR : device 'UUID=2b121a89-aeb9-430a-8e6c-a05b79f08427' not found. Skipping fsck.
    ERROR: Unable to find root device 'UUID=2b121a89-aeb9-430a-8e6c-a05b79f08427'.
    You are being dropped to a recovery shell
    [etc.]
    When the Arch .iso live CD boots, it gets the first uhci_hcd errors, and then just moves on with:
    :: hook [memdisk]
    :: hook [archiso]
    [etc.]
    Here are the contents of my refind.conf file (/boot/efi/ESP/refind/refind.conf) (I omit all the standard comments):
    timeout 0
    scan_all_linux_kernels
    [The example menu entries - all disabled]
    menuentry "Arch Linux" {
    icon /EFI/refind/icons/os_arch.icns
    "Arch Boot"
    loader /vmlinuz-linux
    initrd /initramfs-linux.img
    options "root=/dev/sda7 rw rootfstype=ext4"
    And my refind_linux.conf (/boot/refind-linux.conf):
    "Boot with standard options" "ro root=2b121a89-aeb9-430a-8e6c-a05b79f08427"
    "Boot to single-user mode" "ro root=2b121a89-aeb9-430a-8e6c-a05b79f08427 single"
    "Boot with minimal options" "ro root=2b121a89-aeb9-430a-8e6c-a05b79f08427"
    My custom menu entry for Arch doesn't work either (I'm still researching exactly why). I've been quite confused by different posts all over by different people on how to configure the manual refind.conf stanzas. I also tried a direct to root menu entry, where I tried the files as /boot/vmlinuz-linux, etc.
    The error I always get here is the same:
    Starting vmlinuz-linux
    Using load options "[same as above]"
    Invalid loader file!
    Error: Not Found while loading vmlinuz-linux
    I've installed GRUB as well, just to be sure. Although I haven't moved it to any other partitions or 'blessed' it in OS X. (I have blessed the HFS+/EFI partitions when I used GRUB.)
    Just FYI, I've used the following pages as guides:
    My primary guide: Cody Littlewood's installation procedure for a MacBook Pro
    The Arch Wiki MacBook Page, which was useful but a bit confusing and self-referential on the Bootloader section
    The rEFInd website, by Rod Smith. I've read it fairly extensively (including an interesting comparison of SodaStream flavours)
    A Gentoo Wiki page with a rEFInd example
    The LFS GRUB chapter, and surrounding material
    And I've largely read the Arch Wiki Beginners' Guide, Bootloaders page, GRUB page, GRUB EFI examples page, UEFI page and EFI Stub Loader page.
    There have been others, but it's been a while since I read them. I've been trying to make this work for a while.
    I've also looked at some other posts on similar subjects:
    A post on the Arch Linux subreddit matching my (previous; with GRUB) situation, but not fixing my problem
    An Arch forum post, of which there have been others, but google seems to have changed my search results.
    EFI-Booting Ubuntu on a Mac, by Rod Smith
    The Debian MacBook Pro page
    A post about booting Debian without rEFIt
    Again, there are more, but I can't find them all just now.
    I've looked EVERYWHERE for a solution.
    My question is, does anyone have any ideas on how I might make my computer bootable?
    Almost forgot; I've run
    mkinitcpio -p linux
    successfully (I get the two driver warnings that seem to be standard).
    Computer specifications are as follows:
    Model Identifier:    MacBookPro6,2 (mid 2010)
    Processor Name:    Intel i7
    Architecture:    amd64
    RAM:    4GB DDR3
    Graphics:    NVIDIA GeForce GT 330M 512MB
    Software:    OS X 10.9.2
    My disk partition table is as follows:
    $gdisk -l /dev/sda
    GPT fdisk (gdisk) version 0.8.9
    Partition table scan:
    MBR: protective
    BSD: not present
    APM: not present
    GPT: present
    Fround valid GPT with protective MBR; using GPT.
    Disk /dev/sda: 976773168 sectors, 465.8 GiB
    Logical sector size: 512 bytes
    Disk identifier (GUID): C0ADB511-F73D-404A-B128-DD01509AE6EA
    Partition table holds up to 128 entries
    First usable sector is 34, last usable sector is 976773134
    Partitions will be aligned on 8-sector boundaries
    Total free space is 262150 sectors (128.0MiB)
    Number Start (sector) End (sector) Size Code Name [Additional Info]
    1 * * 200.0MiB EF00 EFI System Partition rEFInd currently installed here, mounts to /boot/efi
    2 * * 185.8GiB AF00 OSX
    3 * * 619.9MiB AB00 Recovery HD
    4 * * 93.1GiB AF00 DMZ unjouranaled HFS+ shared partition
    5 * * 4.0GiB 8200 Arch Swap
    6 * * 128.0MiB 8300 Arch Boot ext2
    7 * * 50.0GiB 8300 Arch Root ext4
    8 * * 131.8GiB 8300 Arch Home ext4
    And my fstab, made with genfstab after I mounted everything (except for the swap stanza, which I had to write):
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    # UUID=2b121a89-aeb9-430a-8e6c-a05b79f08427
    /dev/sda7 / ext4 rw,relatime,data=ordered 0 1
    # UUID=efb41f69-6f99-4c8b-8431-01f3cd22c9cc
    /dev/sda6 /boot ext2 rw,relatime 0 2
    # UUID=67E3-17ED LABEL=EFI
    /dev/sda1 /boot/efi vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed, errors=remount-ro 0 2
    # UUID=[another long UUID]
    /dev/sda8 /home ext4 rw,relatime,data=ordered 0 2
    # UUID=[another long UUID] LABEL=DMZ
    /dev/sda4 /dmz hfsplus rw,relatime,unmask=22,uid=0,gid=0,nls=utf8 0 0
    # UUID=[another long UUID]
    /dev/sda5 swap swap defaults 0 0
    Last edited by rjmh (2014-04-04 08:35:20)

    henriqueleng wrote:
    I don't know about Mac computers but i use a uefi motehrboard,
    To install it i created a partition with 512MB and i mounted /boot on there. all the rest of system are normal.
    I use gummiboot, i don't know if its stuff on Mac. I think that ou should try another bootloader!
    And why do you mounted two point on /boot?
    /boot and /boot/efi?
    Are you sure you're using uefi, my fstab looks just like his with the boot and efi partition. I'm pretty sure that's how the wiki says to set it up. That's the fstab for a laptop with uefi if it helps you out. I had problems with grub btw, so I had to set up gummiboot
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    # /dev/sdb3
    UUID=0c1c97a3-0472-4141-a756-a03c00a4a3cf / ext4 rw,relatime,data=ordered,discard 0 1
    # /dev/sda3
    UUID=8a4412fa-5d4b-4de4-91ff-a4d05b3705e1 /home ext4 rw,relatime,data=ordered 0 2
    # /dev/sdb2
    UUID=971ed3e8-394d-46b3-b0d4-e8bb86b267cf /boot ext4 rw,relatime,data=ordered,discard 0 2
    # /dev/sdb1
    UUID=095C-CB43 /boot/efi vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2
    # /dev/sda1
    UUID=12a4a2b1-6338-495a-8a41-474653eb227b /var ext4 rw,relatime,data=ordered 0 2
    # /dev/sda2
    UUID=846803f1-3f5b-48ae-9945-37e9725011b2 none swap defaults 0 0

  • Problems with partitioning and install Grub. Fresh install

    All,
    First post here. I appreciate any help you can offer.
    I am having some problems when installing Arch Linux.
    I am installing Arch on a brand new (3 days old) Toshiba SatelliteC655D-S5300 Laptop.
    Hot sheet can be found at http://cdgenp01.csd.toshiba.com/content … -S5300.pdf.
    I was initially installing from 2011.08.19 x86_64 Core CD but someone suggested using the latest version.
    Now I am installing from 2011.11.13 x86_64 CD burned at 4x (the slowest my burner can go).
    I am able to complete all steps up to installing GRUB, but it fails to install.
    During partitioning I receive a few errors and I believe this is contributing to the issue.
    At first I tried automatic partitioning with 100mb boot, 1024mb swap, 10,000mb / and the rest of 320g for /home. Each partition is ext3 except /boot which is ext2.
    During the automatic partitioning an error briefly occured: /usr/lib/aif/core/libs/lib-blockdevices-filesystems.sh: line 355: !((partition_flag)): command not found.
    After speaking with a friend they suggested manually partitioning and using UUIDs instead.
    1) So far I have removed all partitions, rebooted.
    2) Partitioned using cFdisk. Bootable 100mb parition, 1024mb swap, 15,000mb primary (/), 3000mb logical (/var), and the rest 300949mb logical (/home).
    3) Once I write the changes and quit I reboot.
    4)I go back into the installer and complete steps 1-3.
    5) Go to step 4 and and then manually configure block devices, file systems, or mount points.
    6) I choose the option for uuid and hit ok.
    At this point 3 error messages appear at the bottom:
    /usr/lib/aif/core/libs/lib-ui-interactive.sh: line 602: local: 'part,' : not a valid identifier
    /usr/lib/aif/core/libs/lib-ui-interactive.sh: line 602: local: 'type,' : not a valid identifier
    /usr/lib/aif/core/libs/lib-ui-interactive.sh: line 602: local: 'label,' : not a valid identifier
    (Screenshot: http://i.imgur.com/OHRKo.jpg)
    7) Next it prompts me to add the mount points for each partition set.
    8) Select the partition, the mount point, it asks me for label and any additional opts for mkfs.ext3.
    9) I leave the label and opts field blank. After selecting ok to the opts field I get the same 3 errors as above:
    /usr/lib/aif/core/libs/lib-ui-interactive.sh: line 602: local: 'part,' : not a valid identifier
    /usr/lib/aif/core/libs/lib-ui-interactive.sh: line 602: local: 'type,' : not a valid identifier
    /usr/lib/aif/core/libs/lib-ui-interactive.sh: line 602: local: 'label,' : not a valid identifier
    (Screenshot: http://i.imgur.com/QqkSP.jpg)
    I am able to successfully set a mount point and format each partition. But I receive the same set of 3 errors occur for each partition.
    10) Once I complete the formatting I proceed to step 8, install bootloader.
    It says Generating Grub device map.. This could take a while. Please be patient.
    I receivieve the following error on this screen: /usr/lib/aif/core/libs/lib-blockdevices-filesystems.sh: line 355: !((partition_flag)): command not found.
    (Screenshot: http://i.imgur.com/B5j4K.jpg)
    11) After the error displays it goes to the next screen, before installing grub you must review config file. etc.
    12) I hit ok and then :q the config file. Is there a critical change in the config file that I'm missing?
    13) After closing the file I select which the boot device where the GRUB bootloader will be installed. My only option is /dev/sda. I hit ok
    Then I get the following 2 errors:
    /usr/lib/aif/core/libs/lib-blockdevices-filesystems.sh: line 355: !((partition_flag)): command not found
    /usr/lib/aif/core/libs/lib-blockdevices-filesystems.sh: line 355: !((partition_flag)): command not found
    (Screenshot: http://i.imgur.com/ol840.jpg)
    13) Error installing GRUB. See /dev/tty7 for output. Ok
    14) GRUB was NOT successfully installed. Ok
    I checked out TTY7.
    It shows the installer issuing the following commands in GRUB.
    1) device (hd0,) /dev/sda
         Error 12: Invalid device requested
    2) root (hd0,0)
         Filesystem type is extf2, partition type 0x83
    3) setup (hd0,)
    Checking if "/boot/grub/stage1" exists... no
    Checking if "/grub/stage1" exists... yes
    Checking if "/grub/stage2" exists... yes
    Checking if "/grub/e2fs_stage1_5" exists... yes
    Running "embed /grub/e2fs_stage1_5 (hd0,0)"... failed (this is not fatal)
    Running "embed /grub/e2fs_stage1_5 (hd0,0)"... failed (this is not fatal)
    Running "install /grub/stage1 (hd0,0) /grub/stage2 p /grub/menu.lst "... succeeded
    Done.
    4) quit
    I have tried rebooting from here and using the Arch CD to boot into the existing OS but it does not work.
    I tried grub-install /dev/sda
    I get Probing devices to check BIOS drives. This may take a long time.
    /dev/mapper../dm-0 does not have any corresponding BIOS drive.
    I have tried going into grub and issuing the same commands the install script did.
    Same errors.
    I'm afraid I don't have network access at the moment so I can't get a successful /arc/report-issues to run.
    I hope I've included enough information to start the troubleshooting.
    Let me know if I've missed anything!
    Thanks in advance,
    -Jason
    Last edited by username17 (2011-11-17 22:37:56)

    username17 wrote:I get Probing devices to check BIOS drives. This may take a long time.
    /dev/mapper../dm-0 does not have any corresponding BIOS drive.
    Your drive does not have an MBR to install grub to as it is a GPT disk - which is also not supported under the old GRUB.
    You need to create a small partition at the very beginning of the drive (8MB is plenty) and set the "bios_grub" flag. ie the "BIOS drive" your error refers to.
    You will then need to install the grub2-bios package following the chroot instructions on the grub2 wiki page here: https://wiki.archlinux.org/index.php/GRUB2#Installation
    ** Please note that I found the chroot mounts to be outdated - replace "/tmp/install" with "/mnt" **
    Your alternative solution is to boot a gparted liveCD and prepare your disk as MBR - this will (most likely) destroy all existing data on the disk.

  • [Solved] Grub errors 18 and 22 when booting from SSD

    Hello community,
    recently I purchased an SSD drive and am now having trouble doing an Arch install on it. Before that a 2TB HDD was in use. After building in the SSD I partitioned it (msdos partition table) creating partitions for swap, / and /home. Then I copied the files from the old /home partition on the freshly created one and installed Arch on the new / partition. Here's the partition setup:
    $ LANG=C sudo fdisk -l
    Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
    255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 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: 0x0003a234
    Device Boot Start End Blocks Id System
    /dev/sda1 2048 3907028991 1953513472 5 Extended
    /dev/sda5 16065 4192964 2088450 82 Linux swap / Solaris
    /dev/sda6 4196352 65720319 30761984 83 Linux # old /
    /dev/sda7 65722368 577720319 255998976 83 Linux # old /home
    /dev/sda8 577722368 3907028991 1664653312 83 Linux
    Disk /dev/sdb: 128.0 GB, 128035676160 bytes
    255 heads, 63 sectors/track, 15566 cylinders, total 250069680 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: 0x000a9841
    Device Boot Start End Blocks Id System
    /dev/sdb1 51863552 241582079 94859264 83 Linux # new /home
    /dev/sdb2 241582080 250068991 4243456 82 Linux swap / Solaris
    /dev/sdb3 2048 51863551 25930752 83 Linux # new /
    Partition table entries are not in disk order
    The problem is: booting from the SSD fails as follows: On the first try to select some Grub entry I get an error 22 "No such partition.". On any further try I get error 18 "Selected cylinder exceeds maximum supported by bios".
    What works is  to boot up the new system from the Grub residing on the HDD. So the problem is just the new Grub install in the SSD's MBR. Also it's not a thing of Grub's configuration, since copying the working menu.lst from the HDD install and reinstalling grub via grub-install /dev/sdb gives the correct Grub entries but selecting them results in the same errors.
    So currently I'm booting from the HDD and selecting the boot entry for the freshly installed SSD system there, which works fine. But of course I'd like the SSD to be able to boot without "help" on the part of the HDD.
    I tried to activate AHCI in the Bios but it didn't make any difference. The SSD is a Crucial M4 128GB.
    Thanks for any hints,
    PhotonX
    Last edited by PhotonX (2012-07-26 06:04:53)

    I created a /boot partition now:
    $ LANG=C sudo fdisk -l
    Disk /dev/sdb: 128.0 GB, 128035676160 bytes
    255 heads, 63 sectors/track, 15566 cylinders, total 250069680 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: 0x000a9841
    Device Boot Start End Blocks Id System
    /dev/sdb1 51863552 241582079 94859264 83 Linux # /home
    /dev/sdb2 241582080 249831423 4124672 82 Linux swap / Solaris
    /dev/sdb3 2048 51863551 25930752 83 Linux # /
    /dev/sdb4 * 249831424 250068991 118784 83 Linux # /boot
    Partition table entries are not in disk order
    Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
    255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 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: 0x0003a234
    Device Boot Start End Blocks Id System
    /dev/sda1 2048 3907028991 1953513472 5 Extended
    /dev/sda5 16065 4192964 2088450 82 Linux swap / Solaris
    /dev/sda6 4196352 65720319 30761984 83 Linux
    /dev/sda7 65722368 577720319 255998976 83 Linux
    /dev/sda8 577722368 3907028991 1664653312 83 Linux
    Then installed Grub on this partition: "grub-install /dev/sdb4". Then placed the SSD on the first position in the Bios, booted but got the same errors in Grub. So it doesn't matter where exactly Grub is installed, if it's somewhere on the SSD, it fails...
    edit: Concerning using UUIDs: I couldn't find any howto regarding Grub (legacy) configuration with UUID's. Could you point me to some example config?
    edit2: I now put the SSD on the first place in the boot list and started PartedMagic. But fdisk still recognizes the SSD as sdb and the HDD as sda. I think, the sdX identifier can be changed only by plugging the SSD in the first SATA port and the HDD in the second (while now it is the other way around).
    edit3: I tried to install Grub from the HDD installation on the SSD (executed "grub-install /dev/sdb4" from the HDD system) and found out that, though I created a /boot partition on the SSD, the Grub files installed directly on /dev/sdb are used. So I tried to install Grub from the HDD system onto /dev/sdb (executed "grub-install /dev/sdb" from the HDD system) and got error 22 even before Grub's boot list was shown. But maybe it's really a bad idea to install Grub on another drive than the system it belongs to is located.
    Last edited by PhotonX (2012-05-18 21:54:56)

Maybe you are looking for

  • Delete allowed in a multirow blk only if no records exist in another table

    How can I delete an existing row in a multirow block after checking that no records exist in another table ? How do I proceed please ? I know I need to check the primary keys of both tables to do that . Please help.

  • Recepient type not updating in entries posted through F-54

    We have a scenario as follows 1. First we have made advance payment to vendor through F-48 with TDS posting. 2. We received 4 bills against these advance payment and we booked these bills with TDS posting. 3. We have used F-54 T-Code to nullify the T

  • Should Kernel_Task be constantly using 100% of my CPU?

    Kernel_task is consistently running ~95-100% of my CPU.  I'm using a 2013 MBA with Mavericks.  Any thoughts about why this may be happening?  I've seen on other forums that this may be related to 3rd party audio apps or something, but I don't have an

  • Send a file to multiple hosts

    Hello I'm making a program which purpose is to do file system synchro from a reference host to multiple hosts (let's say 10 to 20 for instance). That means that I will have to send the same file data to all of these. All hosts are in the same private

  • BW transport problem

    Dear all, When transporting BW objects from DEV to QA, we frequently get 8 as a return code. It seems that this situation comes from the dependencies of the different BW objects. As an example, lets say that we have 2 transports: one containing the I