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.

Similar Messages

  • 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.

  • 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 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

  • [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.

  • 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]Unable to install grub "couldn't find /mnt/boot/grub/menu.lst"

    Ok so I was trying to install windows after I had arch installed, used an ubuntu cd to use gparted to create a partition, tried to go to the windows installation but it would endlessly send me back to restart the installation even after succesfully writting all files...
    So now I decided to not install it, went back into ubuntu/gparted, deleted the partition and rejoined the space with my main arch partition and then selected the "boot" flag to boot...
    Cannot boot, grub its still on /boot/ but the MBR its obviously tempered with by windows ( which coincidentally couldn't even find itself after writing mbr to its liking....*sigh* ).
    So I try to use my arch install cd to reinstall grub but i get this:
    "couldn't find /mnt/boot/grub/menu.lst is grub installed?"
    I tried to use the select packages thing to make sure the cd is mounted and mounts fine but it keeps getting me that error message. I managed to boot to my system just fine with arch root=/dev/sda1 but obviosly the kernell does not has my nvidia module which means I can't get into x which means i am using links and since my grub is not loaded i can't even get framebuffer so this is rather inconvenient.
    Im sure im missing a very simple and stupid thing but im so annoyed my brain must be saying "ok im done somebody else figure it out". I still have a backup copy of my grub menu.lst I made before. Do I just delete /bood/grub/ and try again? Am I missing something on the install procedure to be able to rewrite grub? Can I just do it from the command line or with pacman? Any help appreciate it thanks.
    Last edited by Misanthrope (2008-06-01 17:22:32)

    If you can get into your arch and cli then you should just be able to reinstall grub with
    install-grub /dev/sda
    or reinstall grub with
    pacman -S grub
    if the package is messed up or missing.

  • Dual boot windows 7+archlinux on separate disks; grub errors. [solved]

    Hello,
    I am very excited to try arch linux, but am having trouble with the
    installation.  My situation is as follows:  I have 3 hard drives: windows 7
    lives on sda and sdb.  I am installing arch on sdc, which is 500GB.
    I partitioned the hard drive as follows (which may look kind of ridiculous,
    but please understand I am new at this):
    sdc1    /boot    1GB    ext2
    sdc2    swap    8GB     swap
    sdc3    /       50GB    ext3
    sdc4    /home   400+GB  ext3
    After some initial issues, I managed to run the installation program
    smoothly, performed the basic configuration, and then went to install grub. I
    scrutinized the grub menu.lst file over and over, and could not find anything
    wrong.  It had the following entry for archlinux:
    title: Arch Linux
    root: (hd2,0)
    kernel: /vmlinuz26 root=/dev/sdc3 ro
    initrd: /kernel26.img
    There is no entry for windows, as I can just use the BIOS boot menu to switch
    between the two bootable hard disks, or at least that was my plan...
    When I boot to windows, everything works just fine.  When I go to the
    BIOS boot menu and choose to boot from the third disk, I get the grub
    bootloader with choices of arch and arch fallback, just as expected. 
    I select the former, and I get the following message from grub:
    Booting 'Arch Linux'
    root    hd(2,0)
    Filesystem type unknown, partition type 0x7
    kernel /vmlinuz26 root=/dev/sdc3 ro
    Error17: cannot mount selected partition
    The same thing happens for the fallback image.  I made very sure to install
    grub to the mbr, /dev/sdc.
    I have also tried to use the UUID entry for /root in the menu.lst file, and
    this gives the exact same results.  I have also run grub interactively from
    the bootable CD image, and it does not give such errors-  it knows that
    hd(2,0) has type 82, and not 7.  However, when I try the initrd command in
    interactive grub, I get a complaint about the image not fitting in memory.
    However, I have 16GB of ram...
    One other note that may be (but probably is not) relevant:  initially I could
    not get the Arch disk to recognize the hard drive (the format disk phase of
    installation would always fail), so from windows, I went to the disk manager
    and formatted it with ntfs.  This enabled me to format the disk from the arch
    install process and install the new FS.  I didn't think the temporary presence
    of ntfs would be any kind of an issue since I immediately reformatted it.
    Many thanks for your time reading this.  Much appreciated.
    Last edited by wes (2011-03-07 21:24:44)

    I guess here:
    https://wiki.archlinux.org/index.php/Be … Bootloader
    or here
    https://wiki.archlinux.org/index.php/Wi … ard_Drives
    would be sensible places, but as a complete rookie, I don't feel qualified to start editing the wiki...

  • Dual booting win 7 and arch: cannot install grub to partition

    I have read the arch wiki page on dual booting and several other sources on line, but I am still struggling to get this to work.
    I am trying to dual boot arch and windows 7 on my lenovo ideapad s205. the machine comes with windows 7 pre-installed.
    I shrank the win 7 partition and added an extended partition with 3 logical partions for /boot, swap, and /.
    I am able to install and run arch by installing grub to the mbr. when I do this, though, I cannot boot windows. (the windows section of grub menu.lst is uncommented and points toward hda0,0. I have tried hda 0,1 as well).
    I have also tried to use the windows boot loader to load arch, as described in the arch wiki page on dual booting. The problem here is that, taking this approach, I should install grub to my /boot partition, but when I try to do this, the installer only allows me to install grub to sda or sdb (the usb stick).
    I have read that grub should be able to boot linux from a logical partition. Is this so?
    Is there something wrong with the arch installer that it is not giving me the option of installing to a partition rather than the mbr, or is this  a problem with my partition scheme, or something else?
    I am tempted to remove lenovo's recovery system, but on the other hand, I have already needed to use it several times while monkeying around with installing arch.
    Thanks for any help.
    UPDATE:
    I now have the laptop dual-booting win 7 and arch. My solution ( adapted from here: http://helms-deep.cable.nu/~rwh/blog/?p=177) was to:
    1. installed arch on the partitions I had created for it, but skipped the "install bootloader" stage.
    2. in win 7, I downloaded and installed EasyBCD and made an entry for arch in it. I checked the option to "Use EasyBCD's copy of GRUB"
    3. When I restarted, I got a grub error because the entry in grub's menu.lst was pointing at the wrong partitions for the kernel and root.
    4. So I went back into the arch live disk, mounted the boot partition and edited menu.lst.
    Now when I start the laptop, the windows boot loader starts and I can choose between win  7 and arch. when I select arch, grub4dos starts and gives me the option to start arch. this is not particularly elegant (nor is it fast), so I think this solution is less than ideal, but it does work.
    I'd be interestd in any thoughts about what went wrong and what a better solution would be.
    thanks.
    Last edited by ratchet (2011-10-10 19:09:16)

    ratchet wrote:II am able to install and run arch by installing grub to the mbr. when I do this, though, I cannot boot windows. (the windows section of grub menu.lst is uncommented and points toward hda0,0. I have tried hda 0,1 as well).
    Is this a typo in your post or how it was in menu.lst? Surely it should be hd0,0 and not hda0,0? The entry I have in my menu.lst is as follows:
    # (2) Windows
    title Windows
    rootnoverify (hd0,0)
    makeactive
    chainloader +1
    What was yours?
    Last edited by JHeaton (2011-10-10 20:18:22)

  • [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)

  • Install GRUB to usb thumb drive

    Hi,
    I'm trying to install grub to a usb thumb drive for a portable arch install. I've read the wiki for grub and installing arch on a pendrive but i'm receiving the following error no matter what i do.
    sh-4.3# grub-install /dev/sdb
    Installing for i386-pc platform.
    grub-install: warning: Attempting to install GRUB to a disk with multiple partition labels. This is not supported yet..
    grub-install: warning: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..
    grub-install: error: will not proceed with blocklists.
    sh-4.3# grub-install /dev/sdb1
    Installing for i386-pc platform.
    grub-install: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
    sh-4.3#
    Anyone know what this means and how i can install grub?
    Thanks.

    Then verify that your installation is corresponding with the UUID rather than addressing by kernel name.
    What says
    $ ls -lF /dev/disk/by-partuuid

  • [SOLVED] Grub error 18 - cannot boot to Windows

    Earlier today I tried to install Arch 64bit (I had 32bit earlier) with kdemod to test new KDE4.2. However, after installation I could not boot neither Arch nor Windows. Grub appeared, but every single option gave me an error. I can't remember anymore which error it was, but It doesn't matter anymore. I thought I had made a really stupid and basic mistake while installing, I just didn't know what.
    I wanted to test KDE4.2 so much so I installed Kubuntu (yeah, this topic is not related to Arch Linux, I hope that somebody can help me though, move this topic to somewhere else if it doesn't belong here ). Installation was fine, booting to Kubuntu was fine (and upgrading to KDE4.2 was fine), but booting to Windows was not. It gave me a following error:
    Error 18: Selected cylinder exceeds maximum supported by BIOS
    I googled a bit and found this: http://wiki.linuxquestions.org/wiki/GRUB#Error_18 I reinstalled Kubuntu using /dev/sdb1 as /boot and /dev/sdb2 as / (/dev/sdb3 is windows and /dev/sdb4 is my game partition, ntfs). Before this I had /dev/sdb1 as / and /dev/sdb2 as swap (now I have no swap at all, my 4GB RAM should be enough). The only difference was that at first grub gave me error 15 (I fixed it with Kubuntu LiveCD). After that - no difference.
    I need Windows for playing. That's why it's very important that I can use it. [SOLVED] In addition, I should say that /dev/sda is a separated hard drive which is encrypted with Truecrypt. (I said this because I think that Kubuntu tried to install grub on (hd0)...) When I tried to mount this hard drive with Kubuntu, it couldn't do it. I wanted to test mounting on Windows to check if it is just Kubuntu's problem. If not, I'm fucked because this hard drive contains VERY VERY VERY IMPORTANT files. [/SOLVED]
    I really need help, please. If somebody can help me, (s)he is my hero.
    Last edited by Exitium (2009-01-29 14:42:32)

    Oops, I forgot:
    menu.lst:
    (Yup, a lot of comments, Ubuntu style)
    # menu.lst - See: grub(8), info grub, update-grub(8)
    # grub-install(8), grub-floppy(8),
    # grub-md5-crypt, /usr/share/doc/grub
    # and /usr/share/doc/grub-doc/.
    ## default num
    # Set the default entry to the entry number NUM. Numbering starts from 0, and
    # the entry number 0 is the default if the command is not used.
    # You can specify 'saved' instead of a number. In this case, the default entry
    # is the entry saved with the command 'savedefault'.
    # WARNING: If you are using dmraid do not use 'savedefault' or your
    # array will desync and will not let you boot your system.
    default 0
    ## timeout sec
    # Set a timeout, in SEC seconds, before automatically booting the default entry
    # (normally the first entry defined).
    timeout 10
    ## hiddenmenu
    # Hides the menu by default (press ESC to see the menu)
    #hiddenmenu
    # Pretty colours
    #color cyan/blue white/blue
    ## password ['--md5'] passwd
    # If used in the first section of a menu file, disable all interactive editing
    # control (menu entry editor and command-line) and entries protected by the
    # command 'lock'
    # e.g. password topsecret
    # password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
    # password topsecret
    # examples
    # title Windows 95/98/NT/2000
    # root (hd0,0)
    # makeactive
    # chainloader +1
    # title Linux
    # root (hd0,1)
    # kernel /vmlinuz root=/dev/hda2 ro
    # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
    ### BEGIN AUTOMAGIC KERNELS LIST
    ## lines between the AUTOMAGIC KERNELS LIST markers will be modified
    ## by the debian update-grub script except for the default options below
    ## DO NOT UNCOMMENT THEM, Just edit them to your needs
    ## ## Start Default Options ##
    ## default kernel options
    ## default kernel options for automagic boot options
    ## If you want special options for specific kernels use kopt_x_y_z
    ## where x.y.z is kernel version. Minor versions can be omitted.
    ## e.g. kopt=root=/dev/hda1 ro
    ## kopt_2_6_8=root=/dev/hdc1 ro
    ## kopt_2_6_8_2_686=root=/dev/hdc2 ro
    # kopt=root=UUID=e85e83e5-0f7c-419e-8cad-1fe5d9128e8f ro
    ## default grub root device
    ## e.g. groot=(hd0,0)
    # groot=504fab5b-7bb6-4b20-af58-83677386de37
    ## should update-grub create alternative automagic boot options
    ## e.g. alternative=true
    ## alternative=false
    # alternative=true
    ## should update-grub lock alternative automagic boot options
    ## e.g. lockalternative=true
    ## lockalternative=false
    # lockalternative=false
    ## additional options to use with the default boot option, but not with the
    ## alternatives
    ## e.g. defoptions=vga=791 resume=/dev/hda5
    # defoptions=quiet splash
    ## should update-grub lock old automagic boot options
    ## e.g. lockold=false
    ## lockold=true
    # lockold=false
    ## Xen hypervisor options to use with the default Xen boot option
    # xenhopt=
    ## Xen Linux kernel options to use with the default Xen boot option
    # xenkopt=console=tty0
    ## altoption boot targets option
    ## multiple altoptions lines are allowed
    ## e.g. altoptions=(extra menu suffix) extra boot options
    ## altoptions=(recovery) single
    # altoptions=(recovery mode) single
    ## controls how many kernels should be put into the menu.lst
    ## only counts the first occurence of a kernel, not the
    ## alternative kernel options
    ## e.g. howmany=all
    ## howmany=7
    # howmany=all
    ## should update-grub create memtest86 boot option
    ## e.g. memtest86=true
    ## memtest86=false
    # memtest86=true
    ## should update-grub adjust the value of the default booted system
    ## can be true or false
    # updatedefaultentry=false
    ## should update-grub add savedefault to the default options
    ## can be true or false
    # savedefault=false
    ## ## End Default Options ##
    title Ubuntu 8.10, kernel 2.6.27-11-generic
    uuid 504fab5b-7bb6-4b20-af58-83677386de37
    kernel /vmlinuz-2.6.27-11-generic root=UUID=e85e83e5-0f7c-419e-8cad-1fe5d9128e8f ro quiet splash
    initrd /initrd.img-2.6.27-11-generic
    quiet
    title Ubuntu 8.10, kernel 2.6.27-11-generic (recovery mode)
    uuid 504fab5b-7bb6-4b20-af58-83677386de37
    kernel /vmlinuz-2.6.27-11-generic root=UUID=e85e83e5-0f7c-419e-8cad-1fe5d9128e8f ro single
    initrd /initrd.img-2.6.27-11-generic
    title Ubuntu 8.10, memtest86+
    uuid 504fab5b-7bb6-4b20-af58-83677386de37
    kernel /memtest86+.bin
    quiet
    title Wintoosa
    root (hd1,2)
    savedefault
    makeactive
    map (hd0) (hd1)
    map (hd1) (hd0)
    chainloader +1
    fdisk -l
    (Note: These results are mainly in Finnish. It could be hard to you to read it... But whatever... I'll translate these only if necessary)
    Levy /dev/sda: 640.1 Gt, 640135028736 tavua
    255 päätä, 63 sektoria/ura, 77825 sylinteriä
    Yksiköt = 16065 * 512 = 8225280 -tavuiset sylinterit
    Levyn tunniste: 0xcc5d88e2
    Laite Käynn Alku Loppu Lohkot Id Järjestelmä
    /dev/sda1 * 244091 485122 1936074870+ b8 BSDI sivutus
    Osion 1 loppu ei ole sylinterin rajalla.
    /dev/sda2 176430 394864 1754572509+ 43 Tuntematon
    Osion 2 loppu ei ole sylinterin rajalla.
    /dev/sda3 177329 413105 1893868925 29 Tuntematon
    Osion 3 loppu ei ole sylinterin rajalla.
    /dev/sda4 57435 309703 2026342066 5c Priam Edisk
    Osion 4 loppu ei ole sylinterin rajalla.
    Osiotaulumerkinnät eivät ole levyjärjestyksessä
    Levy /dev/sdb: 500.1 Gt, 500107862016 tavua
    255 päätä, 63 sektoria/ura, 60801 sylinteriä
    Yksiköt = 16065 * 512 = 8225280 -tavuiset sylinterit
    Levyn tunniste: 0x0007a52a
    Laite Käynn Alku Loppu Lohkot Id Järjestelmä
    /dev/sdb1 1 128 1028128+ 83 Linux
    /dev/sdb2 129 13185 104880352+ 83 Linux
    /dev/sdb3 13186 26239 104856255 7 HPFS/NTFS
    /dev/sdb4 26240 60801 277619265 7 HPFS/NTFS
    Last edited by Exitium (2009-01-28 21:05:33)

  • GRUB error message 15 after installation[SOLVED]

    during my installation from a live cd (on disk..not net install) I installed GRUB onto the mbr. I am dual booting with Windows Vista and thankfully it boots up from the GRUB menu. When I try to boot arch linux I get an error 15.
    I've tried to install GRUB onto my arch root partition (/dev/sda3) using chroot but I can't seem to get those much needed files in order for arch to boot up properly. I am not sure whether or not GRUB was put onto the Windows partition or not.
    This is basically what I did to try to fix the problem unsuccessfully:
    grub root (hd0,2)
    grub setup (hd0,2)
    grub quit
    #reboot
    I looked at my /boot/grub/menu.lst and put root=UUID=<partition UUID for sda3> for both my fallback and regular arch.
    Any help on this confusing issue would be much appreciated.
    Last edited by rg_arc (2011-08-15 21:02:50)

    Inxsible wrote:
    DaemonOfChaos wrote:
    PSW wrote:Is there a way to change the Arch Installer to compensate for this?
    Definitely have to second this one.
    I just completed a fresh net install and encountered this error. I spent more time correcting this issue than the install took.
    It also does not provide for a good impression when a system cannot boot up after a fresh install.
    There are releng isos available at http://releng.archlinux.org
    These are very latest isos generated every couple of days, so you are guaranteed to be updated (almost). Use them, report bugs, so that they get fixed and then they will be released as official versions.
    Unfortunately, every one complains about the official iso not working, but no one is willing to test the releng isos to help out the devs. I do understand the due the rolling release nature of Arch, its tedious to have to test installation isos, once you have completed the installation -- but no gain without some pain.
    I will give those a try as I am happy to help test. Since I have a system I can play with a failure won't be an issue.
    I have been using Ubuntu / Linux Mint and thought I would give Arch a try. I do understand your point of view but on the flip-side (devil's advocate perhaps?) an "official ISO" should always work. Otherwise what is the point of it being official? 

Maybe you are looking for

  • Trying to figure out what carriers my iPhone 5 is compatible with

    Hi everyone. I recently bought a new iPhone 5 (not 5c, not 5s, just 5). No SIM card. It was activated, as in I could access the home screen. I can no longer do this, as I was advised to restore it in order to unlock it, which did not work. I went to

  • GetField() NoSuchFieldException

    Hello, I'm learning Java and I have problem with Reflection. My code: import java.lang.reflect.Field; public class TestReflection {      public String name = new String("John");      public TestReflection () {           Field param = this.getClass().

  • T500 2242 Thinkpad - hooking up to TV to watch & listen to a video on my laptop

    I do not have S-Video out port or audio jack ports.  Does anyone know how I can go about hooking up my laptop to my TV so I can watch and listen to a video off my laptop, but through my TV?

  • Moving controls about on a VI's front panel. How do you get a reference to a 'grouped' set of controls?

    Basic problem (annoying, if not disasterous - but common - at least for me): When you are trying to sktick two different VIs together and you copy the block diagram of one to the other, it sticks all the controls in the middle of nowhere.  THen you h

  • Same loop, different result

    The function below contains two virtually identical for..in loops. The first one produces the expected result, the second one only returns the last value of the object. Output: first loop 0 => [object LED] 1 => [object Math_Add] 2 => [object Math_Mul