[SOLVED] usb archlinux boot goes black hanging

Hi
I have a thinkpad Edge e330 3354. Currently i have grub2 with ubuntu and win8 dual booting. I want to replace ubuntu with arch. I found out i had UEFI so i followed the instructions to install UEFI version of usb installer. However whenever i boot my usb i can choose the 3 options:
Archlinux
shell1
shell2
and after picking arch it just hangs in black screen infinitely
Appreciate the help, thanks!
edit: I missed trying to add kernel parameters, i just did this with nomodeset, and also tried the SVIDEO one, no luck
Last edited by addrae (2013-03-21 20:30:47)

cliffordsr wrote:Quite possible a problem with SecureBoot (something Windows 8 does for security); try going into your BIOS and setting all categories in SecureBoot to "Allow Execute." Not sure where it will be for you; for me (on Clevo P150em aka Sager NP9130) it was under securtiy -> custom settings for secure boot (that's paraphrased) -> image execution policies (also paraphrased) -> "allow execute" for all (except for the top one--internal something or other--which should be left as is: on "always execute").
-Cliff
Is it for security, or to gain control of the market?!  DUN DUN DUNNnn...
#conspiracy

Similar Messages

  • [SOLVED] USB installation, booting: root fs cannot be detected

    I followed this guide: http://wiki.archlinux.org/index.php/Ins … _a_USB_key
    SYMPTOMS
    I installed arch linux on a USB stick.
    I can see Grub, I can boot. After the HOOKS get loaded (udev is loaded as well: Loading udev...done.) I get errors as follows:
    Attempting to create root device '/dev/disk/by-uuid/myHdUUID'
    unknown
    ERROR: root fs cannot be detected. Try using rootfstype= kernel parameter.
    If the device '/dev/disk/by-uuid/myHdUUID' gets created while you are here, try adding 'rootdelay=8' or higher to the kernel command-line...
    Then I get a prompt that doesn't even let me issue the command "ls" (error: /bin/bash: ls: not found
    SOLUTION: use the fallback image, or better, rebuild your mkinitcpio kernel image, see: Configuring mkinitcpio
    My problem was that "usb" was not included in the HOOKS, it was present, yes but after the "autodetect".
    So, in the /etc/mkinitcpio.conf place "usb" before "autodetect", e.g. as follows:
    HOOKS="base udev autodetect sata filesystems"
    then regenerate the image (refer to the previous link to understand why the autodetect was creating the problems and to see exactly how to regenerate the image)
    Last edited by firepol (2008-10-09 19:18:34)

    Same problem, seems the new kernel broke UUID.
    @tim: as I stated above it seems that you fixed the problem with the kernel image file but did not adjust the grub menu to compensate for the fact that UUID is broken and thats why you got the same result even after fixing the image, lucky for me I had some broken hooks and only my fallback image generated properly so I figured it out, although it took me a little while.
    Anyhow this is basically what needs to be done to correct the problem.
    1. Boot ArchLive
    2. mkdir /media/disk
    3. mount /dev/sdxX /media/disk
    4. chroot /media/disk
    5. mkinitcpio -k 2.6.28-ARCH -g /boot/kernel26.img
    6. nano /boot/grub/menu.lst
    7. Replace any references to UUID with /dev/sdxX (where xX represents your drive and partition) instead, save and exit nano.
    8. reboot
    Make sure and pay attention to the output of the mkinitcpio command in my step 5. If there are any errors relating to one or more of the hooks you'll need to edit /etc/mkinitcpio.conf and remove the hook it complains about !!IF POSSIBLE!!.  I for example had some problem with the autodetect hook which caused my regular kernel to fail to create an image.
    If mkinicpio doesn't complain and tells you it SUCCEEDED generating the images then you should be good to go.
    Last edited by blazercist (2009-01-29 18:47:25)

  • [solved]USB wont boot on some computers.

    Hi all.
    I have installed arch on a usb from a running arch system after doing pacman -S arch-install-scripts.
    It boots on my Acer Aspire One which picks it up as a USB-HDD however when I tried to boot it on a different computer it didn't work and faliled with the error "Boot Error".
    I have succesfully booted both ubuntu and fedora on the same pc.
    Any ideas?
    Not able to access my arch system right now but will the fact that arch is installed to a partition (sdb1) and not directly affect it(sdb)?
    Previously I used the universal usb installer from pendrivelinux.com with it set to format the drive. I believe it did not use partitions.
    I believe I just answered my own question. Anyone mind confirming if I'm correct ?
    Last edited by theblazehen (2013-02-08 15:38:47)

    Some older bioses boot from USB in "floppy mode" (it shows the disk as a floppy if it is not partionned, otherwise the first partition is shown as a floppy, possibly with a limitation of size). If you know your bootloader, you can manage to make it bootable (I think this is much easier with syslinux than with grub, because it can detect at boot time from where it is booted; without having you to explicitly tell it). You can also try the plop boot manager (http://www.plop.at/en/bootmanager/index.html). It is able to boot USB devices in hard disk mode even without Bios support.
    Last edited by olive (2013-02-05 09:32:10)

  • Connect 4S to USB cable, camera goes black?

    At work I have an iMac 24,  2.8 GHz Intel Core 2 Duo with an Apple iPad keyboard dock connected to the USB port.  I normally keep my iPad in this dock, but sometime I unplug the dock connector and  use it to charge my iPhone 4S.
    Yesterday afternoon, after having the phone connected I disconnected it and then the camera dimmed and went black.  It was black in every camera app I have, and the default camera stayed at the "shutter" screen.  I tried shut down/restart and hard reboot to no avail. Everything else about the phone worked fine.
    I was ready to bring it in to the Apple Store, but then last night while I had it connected to an iPhone AC adapter, I hard reset it again and the camera came back on. And worked fine all day... until I connected it to the USB cable and the iMac again this afternoon.  This again blacked the camera out in all apps.
    I disconnected it and hard reset it, and the camera works.
    What could be causing this?  Why only when connected to this computer (which I have done for months without incident)? Is the camera about to fail?

    Call AppleCare or make an appointment at an Apple store if there is one nearby. The iPhone includes a one year warranty.

  • Monitor HPw2207h only comes on with re-boot goes black and error says no imput, win7 64bit

    No changes just started a couple of months ago.  when it goes to sleep hitting a key or moving the mouse will not wake it up and it gives me an error "no imout vga,no imput hdmi" and then going to sleep?  Omly way to get it back is to reboot!

    >will not wake it up and it gives me an error "no imout vga,no imput hdmi"
    This is not a monitor failure but a pc problem ....
    Which pc model? Which os?
    How is it connected to the monitor? (Which ports/cable)
    Have you tried to disable power save of the pc?
    Do you have the most current driver for the gpu?
    *** Say 'Thanks' with Kudos ***

  • Phone vibrates 5 times and goes black, only fully boots while plugged into USB at splash screen

    I have an HTC Droid Incredible with stock firmware 2.2 and it will no longer boot properly. The phone is not rooted or altered in any way.
    When the power button is pressed, the phone shows the HTC Incredible splash screen, vibrates 5 times, and the screen goes black and the LED light flashes green over and over until the battery is pulled out.
    Strangely enough, if the phone is plugged into a PC via USB or a charger during that splash screen for a few seconds (at least 5), it DOES boot up to the OS and seemingly works fine, but the SD card and internal storage is listed as "unavailable".  I can also access the HBOOT menu by holding volume- while turning the phone on.
    The phone then functions until the next time it needs to be rebooted, or if you attempt to plug it in via USB again (only when attached to a PC) and remove it, then it vibrates 5 times and goes black once again.  If you repeat the battery pull and USB plug-in process it works again.
    I've been able to successfully return it to the factory setting, reflash the stock ROM via SD from the HBOOT menu and from a RUU from my PC, but it doesn't fix the issue. The SD card has been reformatted properly and error checked and can be accessed from a card reader... just not while it is in the phone.
    Pretty weird issue that's driving me crazy.

    This reply in that link is what I am suggesting should have been implemented in the Droid 4:
    “Just adding my 2 cents.  Found this to be odd with my new phone.  Previous WM6.1 phone I would sync and charge overnight with my PC and let both 'sleep' when done.  WM6 must be closing the port when the USB power drops so not to deplete the battery.
    Just one more quirk with the new device.”
    There is no reason for current leakage into a sleeping computer because of keeping data lines open.  It should be easy enough to shut down the usb port when a voltage drop is detected in on the power pins.  In any case, hopefully my posting will at least alleviate some anxiety for someone down the line.  The procedure gets the phone back up and running in an expedient manner.  Thanks for your research.

  • [SOLVED] Attempting to boot from USB key in UEFI mode

    I am attempting to boot from a USB Key in UEFI mode to dual boot windows 8 and arch linux.  I'm unsuccessful in getting the USB key to boot in UEFI mode. 
    I am following the guide on page: https://wiki.archlinux.org/index.php/Un … _Interface due to the fact that I am receiving error " No loader found. Configuration files in /loader/entries/*.conf are needed."
    I am attempting to use the archiso media and have created refind.conf according to https://bugs.archlinux.org/task/31894#comment102233 in (USB)/EFI/boot/refind.conf
    However, I'm stuck on the initial step from the wiki: Install refind-efi pkg. In the usb's filesystem, overwrite the file EFI/boot/bootx64.efi with /usr/lib/refind/refind_x64.efi.
    My question is: How do I install the refind-efi package onto the USB key using an arch linux host machine and the USB plugged into the machine.
    Last edited by tonysoprano (2013-02-13 04:09:56)

    swordfish wrote:1. Might be possible, that the uefi integration is pretty bad. Have you already looked for an update of the uefi bios?
    This is my thought, too. The "memory map has changed" message sounds like the firmware is messing with the way memory is laid out in the middle of the boot process. A firmware update, if available, is likely to be the best way to deal with this problem. If not, trying Fedora's patched GRUB Legacy and GRUB 2 are also worth doing; it's conceivable that one of them includes a workaround for the problem.
    2. In your first posting you mention Windows 8 on this machine. Is W8 starting in uefi mode?
    This is important, but if the disk uses GPT partitioning, then Windows is starting in EFI mode.
    3. If W8 is starting in uefi mode, are you sure that secure boot is disabled?
    It is; if it weren't, neither rEFInd nor ELILO could start -- or even if they were configured to start in Secure Boot mode, ELILO doesn't launch its kernels in a way that respects Secure Boot, so the ELILO failure can't be caused by Secure Boot. Also, when launched with Secure Boot active, rEFInd returns a clear error message about a security violation and then returns to its main menu; it doesn't hang the computer.
    One possible workaround occurs to me if all else fails: Have rEFInd launch a BIOS version of GRUB. The setup procedure, in outline, is as follows:
    Create a BIOS Boot Partition on the disk.
    Install the BIOS version of GRUB 2.
    Configure rEFInd to include a scan for BIOS-mode boot loaders by uncommenting the "scanfor" line in refind.conf and adding "hdbios" to it.
    Thereafter, you'll see a new "generic" icon, which should launch GRUB, which should launch Linux in BIOS mode, even though Windows launches in EFI mode. This will work on most modern UEFI-based computers with a single hard disk, but things get trickier with multiple disks and with some UEFI implementations that lack the necessary firmware features. If a future firmware update fixes the problem, or if a future kernel's EFI stub loader includes a workaround, the EFI-mode booting will become an option once again.

  • [SOLVED] Connecting extra Monitor, laptop screen goes black.

    Whenever i connect a additional monitor through HDMI (my only output), the laptop screen goes black. If i do FN + external_monitor switch, then the laptop screen turns on but the external monitor turns off.
    If you move the mouse you can feel that the desktop has been extended as i wanted, it is just that one of the screens keeps going black. The gnome display settings show both screens as active, the menu is so minimalistic that there is not much to do.
    system
    [cristobal@orion ~]$ uname -a
    Linux orion 3.11.4-1-razer #1 SMP PREEMPT Tue Oct 8 12:31:50 CLST 2013 x86_64 GNU/Linux
    As a side note, the custom kernel is almost identical to the original archlinux one, just that USB 3.0 module is disabled.
    some packages
    [cristobal@orion ~]$ pacman -Q nvidia-dkms bumblebee bbswitch-dkms nvidia-utils gnome-desktop
    nvidia-dkms 325.15-2
    bumblebee 3.2.1-3
    bbswitch-dkms 0.7-1
    nvidia-utils 325.15-1
    gnome-desktop 1:3.10.0-1
    Any ideas?
    Last edited by labotsirc (2013-10-15 18:33:18)

    The problem is now fixed,
    For some weird reason, this time the gnome settings did work. Must have been some sort of rare bug that now i cannot reproduce.
    Last edited by labotsirc (2013-10-15 18:32:53)

  • When i try to boot itunes, screen goes black and a message pops up and says not compatible with the visual elements. how do i fix this? itunes wont even open at this point. please help. thanks :)

    When i try to boot itunes, screen goes black and a message pops up and says not compatible with the visual elements. how do i fix this? itunes wont even open at this point. please help. thanks

    Let's first try the following document, only be sure that none of the boxes in the compatibility mode tab are checked (not just the compatibility mode box itself):
    iTunes for Windows: How to turn off Compatibility Mode

  • Windows 7 boot camp screen goes black after windows startup screen!!!!!!

    A few days ago when I tried to start my MacBook Pro in windows 7 (enterprise) I encountered a completly black screen after the startup screen.
    1) Choose start in Windows 7 from boot camp menu (holding option after starting up computer)
    2) Windows start up screen would appear and finish
    3) For a very brief second my cursor pointer would appear and login screen would flash onto the screen, then the screen would go black
    BUT
    I CAN boot windows 7 in safe mode
    The computer is still on when screen goes black (fan still running and i can use keyboard commands to shut down the computer)
    I've been searching the Internet for DAYS to no avail
    PLEASE someone help me....... ive already tried the sfc /scannow and dskchk commands in the command prompt window

    Win 7 Enterprise is not supported by Boot Camp, you may or may not get it to work reliably, (I would not bother to try)
    Read this document then pick a supported version of Windows for your Mac.

  • When I turn on my iPhone 4S the apple logo pops up for a split second then the screen goes black but the phone itselfs boots up just fine???

    I tried replacing the screen with no luck. The same thing happened with the new screen. I replaced the backlight coil and the backlight ic and still have the issue. I don't know what else could be the problem. If the battery is completely dead and I plug it in the "charging battery" symbol shows just fine during the entire time it is charging, but as soon as it starts to boot up the apple logo shows for a split second then the screen goes black. The rest of the phone still boots up just fine. I can use SIRI, press the lock button like I'm about to use my phone and slide my thumb across where the "slide to unlock" would normally be and it will make the unlock noise just no picture display. I am pretty tech savvy when it comes to repairs and all of the connections look fine, replaced backlight coil and ic, replaced LCD/digitizer, tried a restore, tried a DFU restore, multiple hard resets, but I am at a loss as to where to go from here. I had dropped the phone and put a minor crack in the screen but the phone worked just fine for a couple months after before this started to happen. The phone is still under apple warranty but apple won't cover it because Apple is stating that it is "caused by the crack in the screen." But being a repair technician I know that is not the case... Good one apple. So I took it upon myself to try to determine the REAL problem. Anyone with a little more knowledge have any ideas? Any suggestions are appreciated!!

    Yes, I understand that. But The screen issue is not a result of user damage. The phone was not dropped when the screen got cracked. My daughter was standing in a chair at the table and dropped one of her toys onto the bottom of the phone and cracked it right by the home button. (Nowhere near the LCD/digitizer flex cables, connections, or logic board components) then a few months later my phone had died, I plugged it in, it showed it was charging, then Apple logo disappeared and screen didn't work. AFTER contacting Apple about the issue and them telling me that it "is a result of the very minimal crack to the sheet of glass that has no relation to the LCD or Digitizer and that the warranty does not cover it I had taken it upon myself to change the LCD/digitizer to no avail, as well as backlight ic and backlight coil to no avail. But how do I go about letting Apple know that it is in fact NOT due to the cracked screen nor is it due to the flex cable connections? I can't. So the lady that works the call center phones  trying to "convince" me that she knows what she is talking about and "convince" me that it is from the cracked screen I have to take her word because I can't show Apple that its not because of that without paying them $199 to fix the screen in which case they will just send me a new phone rather than fix the faulty hardware under warranty.

  • Computer boots with Apple logo then goes black

    So my MacBook Pro boots up withe the Apple logo then goes black as if the it is set on the lowest dim setting, you can just barely make out the icons on the screen so it is booting into the log on screen. I tried brightness, I tried holding down shift, you get a flash of blue then goes black. I tried the startup disk it starts up and goes black, you can just make out the outline of the language selection on the startup disk.
    Any suggestions.

    1. Try doing a Parameter RAM reset - hold down apple/option/p/r keys at start up and wait for three chimes before releasing the keys.
    2. Boot holding down Apple/S and don't let go until you see scrolling text.
    When that stops and you see a root#: prompt enter
    fsck -fy
    Let it run through all the checks and repairs.
    If it fails first time, at any time, or finds and fixes a fault - run the command again and keep doing so (some fixes can take several passes) until it says "Appears to be OK" then enter
    reboot

  • Mac OS X 10.6.8 desktop goes black 10 secs after booting, can remain apparently asleep for 15 mins. I can't prompt it to wake, until recently it would wake when peripheral were added (earphones). What is wrong, and how can this be fixed?

    Mac OS X 10.6.8 statup problem: desktop goes black 10 secs after booting, can remain apparently asleep for 15 mins. I can't prompt it to wake, until recently it would wake when peripheral were added (earphones). What is wrong, and how can this be fixed?

    You need to fresh install 10.6, programs fresh form original sources and return only vetted files (no TM migrations) from a regular storage drive
    But this when erasing the drive use the Security Option: Zero All Data before installing 10.6
    What has happened your data got corrupted and it's corrupted on the TM drive too.
    So the Zero will map off bad sectors on your drive, the 10.6 install will be fresh, the programs will be fresh and only files will be returned, you'll find out in short order which ones they are.
    Reducing bad sectors effect on hard drives
    How to erase and install Snow Leopard 10.6
    Once you are back up, then consider making a option key bootable clone.
    Most commonly used backup methods explained

  • Boot camp win xp goes black when load video drivers + other probs

    Hello, I partitioned, loaded Win XP Pro, and XP runs fine, but when I load the Sno Leopard disc to update drivers, the screen goes black, and will not return. I can restart in OSX, but in windows, the screen is black. I cannot work on anything if I cannot see it.also, the bluetooth mouse does not work. I need to load the other imac to xp drivers, not load the video driver, and then get an updated radeon driver. (I think?) Any have the same problem and have solved it?. thanks
    Mike

    oboearia wrote:
    Well I got Input Remapper running because Speed Fan couldn't find my fans. Now after about 120 minutes on Perfect World I'm running between 135 and 140 F, but not shutting down.
    Thanks so much for the help Stefan!
    You're welcome anytime.
    I'll be sure to post again if at a later point I have more problems.
    Feel free to do so, I (and a whole lot of others) will be here
    Though as a side note; Should i be looking into getting hardware fixed? I'm covered under Apple Care for about 3 more weeks. But last time i took it into my repair shop they told me they couldn't find any problems. : /
    That is indeed the problem, if they can't find anything to fix, they won't fix.
    If you can reproduce the error when in the shop (maybe disableing InputRemapper for that purpose) or if you have other problems (preferably while in OSX) it could be good to have them have a look at your Mac.
    Make an appointment with the Shop Genius and go there with some free time at hand.
    Take care
    Stefan

  • [SOLVED] Install archlinux from a archlinux system -system not booting

    Hey there,
    I am trying to install a fresh archlinux system from within an existing archlinux installation. -- I really hope to get help here, I am clueless.
    Theoretically this could be posted in the newby section but I think my problem is more special and it's not my first archlinux installation at all.
    The facts:
    I am renting an ovh server (kimsufi.com) and I want to install archlinux without their special ovh features.
    The rescue system (debian) don't let me install archlinux (pacstrap error -> "mount: mount point /mnt/dev/pts does not exist"). Same as here -> https://bbs.archlinux.org/viewtopic.php?pid=1231074
    Because of that I install archlinux over the webinterface and then I want to install archlinux on another partition.
    The problem:
    The archlinux system from ovh is working, it is booting fine. My freshly installed system looks to don't boot at all.
    There are no logs in /var/log (no dmesg etc.) so I think that it doesn't past grub.
    I am clueless what I can do to get it to boot.
    What I have tried...
    "Pretty everything" I would say but this doesn't help anyone.
    pacman -Syu linux mkinitcpio grub <- to be sure everything is installed.
    -- Openssh is installed and configured, network is configured, fstab is correct, openssh and netctl is on autostart with systemctl.
    mkinitcpio -p linux <- everything ok
    grub-mkconfig -o /boot/grub/grub.cfg <- that's also fine
    grub-install --recheck /dev/sda <- no problems so far
    That's all, I hope I haven't forgotten anything.
    Partitions:
    Device Boot Start End Blocks Id System
    /dev/sda1 4096 526335 261120 83 Linux <--- /boot of the ovh system
    /dev/sda2 526336 19398655 9436160 83 Linux <--- / of the ovh system
    /dev/sda3 * 19398656 20445183 523264 83 Linux <--- /boot of the fresh system
    /dev/sda4 20445184 26736639 3145728 5 Extended
    /dev/sda5 20447232 26736639 3144704 83 Linux <--- / of the fresh system
    The bootflag is ignored because grub is installed into MBR.
    Please post any ideas, I don't know what I may have forgotten.
    Last edited by lookingaty (2014-02-14 21:24:39)

    Since it's a server by ovh/kimsufi, I am not able to see what's going on with grub. (I have no idea how to diagnose that problem.)
    The grub.cfg seems to be correct.
    I tried it again without an extended partition, every partition are primary ones. Still no logs.
    Device Boot Start End Blocks Id System
    /dev/sda1 2048 526335 262144 83 Linux <--- /boot of both systems (only grub.cfg changes)
    /dev/sda2 526336 19398655 9436160 83 Linux <--- / of the ovh system
    /dev/sda3 19398656 25690111 3145728 83 Linux <--- / of the fresh system
    At the moment the grub.cfg points to the OVH archlinux, not the freshly installed one.
    I have modified that file by hand to OVH archlinux (sda2; UUID changed of course). OVH archlinux boots.
    I can run grub-mkconfig -o /boot/grub/grub.cfg with the fresh system in arch-chroot again but it won't help.
    But I can still do this and post it here.
    My 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 ###
    insmod part_gpt
    insmod part_msdos
    if [ -s $prefix/grubenv ]; then
    load_env
    fi
    if [ "${next_entry}" ] ; then
    set default="${next_entry}"
    set next_entry=
    save_env next_entry
    set boot_once=true
    else
    set default="0"
    fi
    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 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='hd0,msdos2'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 bdf22a6f-cc53-41bc-a539-681a16bad2d2
    else
    search --no-floppy --fs-uuid --set=root bdf22a6f-cc53-41bc-a539-681a16bad2d2
    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_input console
    terminal_output gfxterm
    if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=5
    # Fallback normal timeout code in case the timeout_style feature is
    # unavailable.
    else
    set timeout=5
    fi
    ### END /etc/grub.d/00_header ###
    ### BEGIN /etc/grub.d/10_archlinux ###
    menuentry "Arch Linux pkg-linux kernel" --class arch-linux --class arch --class gnu-linux --class gnu --class os {
    if [ x$feature_all_video_module = xy ]; then
    insmod all_video
    fi
    set gfxpayload=keep
    insmod ext2
    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 057c8a71-6eab-4093-80e6-3191386697ff
    else
    search --no-floppy --fs-uuid --set=root 057c8a71-6eab-4093-80e6-3191386697ff
    fi
    echo 'Loading Arch Linux pkg-linux kernel ...'
    linux /vmlinuz-linux root=UUID=bdf22a6f-cc53-41bc-a539-681a16bad2d2 rw quiet
    echo 'Loading Arch Linux pkg-linux kernel initramfs ...'
    initrd /initramfs-linux.img
    menuentry "Arch Linux pkg-linux kernel (fallback initramfs)" --class arch-linux --class arch --class gnu-linux --class gnu --class os {
    if [ x$feature_all_video_module = xy ]; then
    insmod all_video
    fi
    set gfxpayload=keep
    insmod ext2
    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 057c8a71-6eab-4093-80e6-3191386697ff
    else
    search --no-floppy --fs-uuid --set=root 057c8a71-6eab-4093-80e6-3191386697ff
    fi
    echo 'Loading Arch Linux pkg-linux kernel ...'
    linux /vmlinuz-linux root=UUID=bdf22a6f-cc53-41bc-a539-681a16bad2d2 rw quiet
    echo 'Loading Arch Linux pkg-linux kernel fallback initramfs ...'
    initrd /initramfs-linux-fallback.img
    ### END /etc/grub.d/10_archlinux ###
    ### BEGIN /etc/grub.d/10_linux ###
    menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-bdf22a6f-cc53-41bc-a539-681a16bad2d2' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod ext2
    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 057c8a71-6eab-4093-80e6-3191386697ff
    else
    search --no-floppy --fs-uuid --set=root 057c8a71-6eab-4093-80e6-3191386697ff
    fi
    echo 'Loading Linux linux ...'
    linux /vmlinuz-linux root=UUID=bdf22a6f-cc53-41bc-a539-681a16bad2d2 rw quiet
    echo 'Loading initial ramdisk ...'
    initrd /initramfs-linux.img
    submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-bdf22a6f-cc53-41bc-a539-681a16bad2d2' {
    menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-bdf22a6f-cc53-41bc-a539-681a16bad2d2' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod ext2
    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 057c8a71-6eab-4093-80e6-3191386697ff
    else
    search --no-floppy --fs-uuid --set=root 057c8a71-6eab-4093-80e6-3191386697ff
    fi
    echo 'Loading Linux linux ...'
    linux /vmlinuz-linux root=UUID=bdf22a6f-cc53-41bc-a539-681a16bad2d2 rw quiet
    echo 'Loading initial ramdisk ...'
    initrd /initramfs-linux.img
    ### END /etc/grub.d/10_linux ###
    ### BEGIN /etc/grub.d/20_linux_xen ###
    ### END /etc/grub.d/20_linux_xen ###
    ### BEGIN /etc/grub.d/30_os-prober ###
    ### END /etc/grub.d/30_os-prober ###
    ### 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 ###
    ### BEGIN /etc/grub.d/60_memtest86+ ###
    ### END /etc/grub.d/60_memtest86+ ###

Maybe you are looking for