[SOLVED] Booting windows 7 kills Arch

Hi,
I'm dual booting Arch with windows 7 and recently when I boot windows 7, I can't boot Arch afterwards.
After I shutdown windows, I start up my laptop again, I get the grub menu and select Arch. During boot I get a lot of output during the file system check ( I think, it's hard to see because it goes to fast; ) and then Arch freezes. The only thing that I can do is a force shut down with the power button. I boot again and launch the Arch Fallback kernel. That one is then able to boot but freezes when kdm is launched: I get the login screen for tty 1 but when the graphical login managers fires up I only get a black screen and everything freezes ( can't switch to a terminal or use ctrl+alt+backspace ). I have to force shutdown with the power button again. I boot up again, select the Fallback kernel again and everything works fine. After that I can boot with the normal Arch kernel without a problem.
Is there a way to log the output on the screen during boot up ? I've searched the logs in /var/log/ but can't find that output.
This only happens since yesterday. I was looking for CPU scaling modules and loaded the powernow-k8 module according to the wiki. The power manager of KDE needed additional modules, KDE loaded the modules itself and I put all the modules in /etc/rc.conf. Strange thing is that I also lost my wifi yesterday and it still doesn't work, not on Arch nor Windows ( Wired internet does work on both ).
While checking the the daemon.log I found this, don't know if it's really helpfull:
Jul 10 10:40:38 archlinux init: Entering runlevel: 3
Jul 10 10:40:56 archlinux kdm_greet[1959]: Cannot load /usr/share/apps/kdm/faces/.default.face: No such file or directory
Jul 10 10:41:23 archlinux polkitd[2291]: started daemon version 0.96 using authority implementation `local' version `0.96'
Jul 10 10:45:34 archlinux init: Switching to runlevel: 6
Jul 10 10:45:36 archlinux console-kit-daemon[2036]: WARNING: no sender
Jul 10 10:49:44 archlinux init: Entering runlevel: 3
Jul 10 10:50:02 archlinux kdm[1752]: X server startup timeout, terminating
Jul 10 10:50:18 archlinux kdm[1752]: X server termination timeout, killing
Jul 10 10:50:28 archlinux kdm[1752]: X server is stuck in D state; leaving it alone
Jul 10 10:50:28 archlinux kdm[1752]: X server for display :0 cannot be started, session disabled
Jul 10 10:52:00 archlinux init: Entering runlevel: 3
Jul 10 10:52:17 archlinux kdm[1778]: X server startup timeout, terminating
Jul 10 10:52:32 archlinux kdm[1778]: X server termination timeout, killing
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@$
Jul 10 10:55:13 archlinux kdm_greet[1927]: Cannot load /usr/share/apps/kdm/faces/.default.face: No such file or directory
Jul 10 10:55:41 archlinux polkitd[2260]: started daemon version 0.96 using authority implementation `local' version `0.96'
Jul 10 11:01:03 archlinux init: Switching to runlevel: 6
Jul 10 11:01:05 archlinux console-kit-daemon[2001]: WARNING: no sender
Jul 10 11:01:53 archlinux init: Entering runlevel: 3
Jul 10 11:02:08 archlinux kdm_greet[1972]: Cannot load /usr/share/apps/kdm/faces/.default.face: No such file or directory
Jul 10 11:02:36 archlinux polkitd[2296]: started daemon version 0.96 using authority implementation `local' version `0.96'
Jul 10 12:14:55 archlinux init: Switching to runlevel: 6
Jul 10 12:14:56 archlinux console-kit-daemon[2046]: WARNING: no sender
Jul 10 12:15:44 archlinux init: Entering runlevel: 3
Jul 10 12:16:02 archlinux kdm_greet[3950]: Cannot load /usr/share/apps/kdm/faces/.default.face: No such file or directory
Jul 10 12:16:28 archlinux polkitd[4252]: started daemon version 0.96 using authority implementation `local' version `0.96'
Jul 10 12:17:32 archlinux init: Switching to runlevel: 6
Jul 10 12:17:33 archlinux console-kit-daemon[4006]: WARNING: no sender
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@$
Jul 10 12:36:06 archlinux kdm_greet[1940]: Cannot load /usr/share/apps/kdm/faces/.default.face: No such file or directory
Jul 10 12:36:33 archlinux polkitd[2243]: started daemon version 0.96 using authority implementation `local' version `0.96'
Jul 10 13:08:40 archlinux dhcpcd[3147]: dhcpcd not running
Jul 10 13:08:41 archlinux dhcpcd[3153]: dhcpcd not running
Jul 10 13:08:41 archlinux dhcpcd[3160]: dhcpcd not running
Jul 10 13:08:43 archlinux dhcpcd[3164]: version 5.2.5 starting
Jul 10 13:08:43 archlinux dhcpcd[3164]: eth0: broadcasting for a lease
Jul 10 13:08:43 archlinux dhcpcd[3164]: eth0: offered from
Jul 10 13:08:44 archlinux dhcpcd[3164]: eth0: acknowledged from
Jul 10 13:08:44 archlinux dhcpcd[3164]: eth0: checking for
Jul 10 13:08:49 archlinux dhcpcd[3164]: eth0: leased for 259200 seconds
Jul 10 13:08:49 archlinux dhcpcd: eth0: MTU set to 1492
Jul 10 13:08:49 archlinux dhcpcd[3164]: forked to background, child pid 3189
Jul 10 13:34:19 archlinux init: Switching to runlevel: 6
Jul 10 13:34:21 archlinux console-kit-daemon[2006]: WARNING: no sender
Jul 10 13:35:14 archlinux init: Entering runlevel: 3
Jul 10 13:35:30 archlinux kdm_greet[1940]: Cannot load /usr/share/apps/kdm/faces/.default.face: No such file or directory
Jul 10 13:35:31 archlinux dhcpcd[1977]: dhcpcd not running
Jul 10 13:35:31 archlinux dhcpcd[1983]: dhcpcd not running
Jul 10 13:35:31 archlinux dhcpcd[1990]: dhcpcd not running
Jul 10 13:35:33 archlinux dhcpcd[2004]: version 5.2.5 starting
Jul 10 13:35:33 archlinux dhcpcd[2004]: eth0: rebinding lease of
Jul 10 13:35:33 archlinux dhcpcd[2004]: eth0: acknowledged from
Jul 10 13:35:33 archlinux dhcpcd[2004]: eth0: checking for
Jul 10 13:35:39 archlinux dhcpcd[2004]: eth0: leased for 259200 seconds
Jul 10 13:35:39 archlinux dhcpcd: eth0: MTU set to 1492
Jul 10 13:35:39 archlinux dhcpcd[2004]: forked to background, child pid 2182
Jul 10 13:35:58 archlinux polkitd[2280]: started daemon version 0.96 using authority implementation `local' version `0.96'
Jul 10 13:43:28 archlinux init: Switching to runlevel: 0
Jul 10 13:43:29 archlinux console-kit-daemon[2022]: WARNING: no sender
I had windows vista and windows 7 in dual boot with Mandriva linux for a year without any problem and right now I have absolutely no idea what's going on.
EDIT:
Tried it again to see if I could get some more information.
Apparently the first time I boot Arch after a windows boot, it doesn't really freeze. I tried to write down some of the output and after a while it continued for a second and stopped again and this went going on and on. It seems like it keeps looping the same output. I waited some more but I had to force shut down because my laptop was going nuts and overheating, it started to smell like burned electronics...
I was able to capture some of the output:
--[end trace 27ebd855... ]---
Call trace
[<ffffffff8117c420>] ? proc_lookup_de+0x20/0x100
[<ffffffff81009ec2>] ? system_call_fastpath
Code ff .. .. .. and a lot more of pairs of letters and numbers
The output at the beginning was to fast to see but the Call trace and Code kept on repeating.
After this I could boot up the Fallback kernel without a problem, kdm worked fine to, then rebooted using the normal kernel image like nothing happened before.
Any help would be appreciated,
Varg
Last edited by Varg (2010-07-11 10:46:57)

Well since it worked fine first it could only be the powernow-k8 module or the CPU scaling modules required by KDE. I'll check it out and report back.
EDIT:
Narrowed it down to the cpufreq_powersave and cpufreq_userspace modules. Powernow-k8, cpufreq_stats and cpufreq_ondemand work fine.
I disabled all the modules and then turned them back on one by one in rc.conf ( booting w7 everytime ). cpufreq_powersave turned on gave the strange output during boot but only a short version but completely ran down X or kdm after boot. With cpufreq_userspace I could boot but KDE froze right after login. Combination of the two modules resulted in being unable to boot.
Loading the modules after boot while running KDE gives no problem and since I'm a laptop user I could use the powersave module. I'll see if I can make KDE load that module automatically after login.
Thanks a lot for the tip !
Last edited by Varg (2010-07-11 10:42:02)

Similar Messages

  • [SOLVED] Dual Boot Window 7 & Arch on a Uefi system.

    From the Wiki
    Windows 7 x86_64 versions support booting in x86_64 UEFI mode from GPT disk only, OR in BIOS mode from MBR/msdos disk only. They do not support IA32 (x86 32-bit) UEFI boot from GPT/MBR disk, x86_64 UEFI boot from MBR/msdos disk, or BIOS boot from GPT disk.
    I don't understand this. As stated in the title I have a ueif system so that means I have to create a GPT disk ? I already have a gpt disk which I confirmed by running Arch Live USB. Under type it said GPT. I don't understand this at all
    However if Arch is installed in BIOS-GPT in one disk and Windows is installed in BIOS-MBR mode in another disk,  then the BIOS bootloader used by Arch CAN boot the Windows in the other disk, if the bootloader itself has the ability to chainload from another disk.
    Note: If Arch and Windows are dual-booting from same disk, then Arch SHOULD follow the same firmware boot mode and partitioning combination used by the installed Windows in the disk.
    In the Note above it says both Arch and Windows follow the same boot mode if they are dual booting from same disk. I DO NOT want to do this. I have already decided to partition  my drive with 200 Gb going to Windows and 500 Gb going to Arch. Does this mean that I should install both in different modes i.e. Arch in Bios-GPT and Windows in Bios-MBR.
    The recommended way to setup a Linux/Windows dual booting system is to first install Windows, only using part of the disk for its partitions. When you have finished the Windows setup, boot into the Linux install environment where you can create additional partitions for Linux while leaving the existing Windows partitions untouched.
    UEFI systems
    Both Gummiboot and rEFInd autodetect Windows Boot Manager \EFI\Microsoft\Boot\bootmgfw.efi and show it in their boot menu, so there is no manual config required.
    For GRUB(2) follow GRUB#Windows_Installed_in_UEFI-GPT_Mode_menu_entry.
    Syslinux (as of version 6.02 and 6.03-pre9) and ELILO do not support chainloading other EFI applications, so they cannot be used to chainload \EFI\Microsoft\Boot\bootmgfw.efi .
    Computers that come with newer versions of Windows often have secure boot enabled. You will need to take extra steps to either disable secure boot or to make your installation media compatible with secure boot.
    Being a beginner should I go with Gummiboot then. GRUB made a mess last time.
    Also my secure boot is NOT enabled so is that good.
    I have read the FAQs, Beginner's guide, Installation Guide, Dual Boot wiki entry but I just don't understand the above concepts. But it looks this this is the main thing in dual booting. Almost everything else is doable but this I have to get right on account of what happened the last time I installed Arch without getting the above right.
    Last edited by Some Arch Lovin (2014-06-14 08:53:14)

    A few issues with the dual boot setup
    Hello again, I lost my dual factor authentication grid from lastpass. Opensuse was acutally overwriting new pdf files over my old pdf files so now that grid pdf is actually an Arch cheat cheet with the name last_pass_grid.pdf. And the gmail account I used to register to Arch forums is also in last pass.
    This is why I created another account. I am some arch lovin.
    The installation went smoothly but I could not dual boot Windows7 with Arch because my Win7 image is not UEFI bootable so had to dual boot win8(not a fan at all) and arch.
    Almost everything is working correctly. I have a few issues that aren't affecting how the system is working but they still need sorting out.
    I'll do them one at a time but I want to know from the admins if I should start a new thread? Because in a way this thread accomplished it job i.e. win7 and arch dual booting in uefi system.
    If the answer is yes I should create a new thread depending upon the issue then I will do that but in case its a no since I have only 2-3 problems I am going to ask help for the first one.
    My gummiboot is not working on startup. I have to press f12 and use bios booting menu to boot. The problem with that is if I put Windows at the top of the boot priority the bios does not show F12 and F2 at the time of booting up so I can't access the boot menu. I have to boot into Windows and crash it by holding the power button and then the F12 options shows up and I am able to boot into Arch. If I put Arch at the top then Windows keeps restoring back to an earlier version due to start up options.
    NOTE : I can't be sure but one it did work(only once). I checked the images online to compare with what I saw and its very similar. An all black screen with three bootloading options
    Windows
    Arch
    Opensuse(don't know why I created a completely new GPT partition table)
    This is what I did while installing Gummiboot
    # mount -t efivarfs efivarfs /sys/firmware/efi/efivars
    # pacman -S gummiboot
    # gummiboot install
    I tried going through the gummiboot to see if I can do something but it very difficult to comprehend as a beginner. All I get is the characters gummiboot understands but thats all.
    Last edited by Archer61 (2014-06-11 13:48:56)

  • [SOLVED] Boot Windows 7 without the BOOTMGR parition

    Hi guys.
    I installed Arch nearby Windows 7, and I deleted the Windows 7 BOOTMGR parition. Do you know a way to make Grub to start Windows 7 without its own boot partition? I can't believe it's not possible ;(
    Last edited by Aegidius (2015-04-07 08:54:00)

    The "System Reserved" partition contains the files required to boot windows + winre.wim which contains the startup "repair" options. If you deleted the files without moving them to your main windows partition and correcting the windows BCD store (AFAIK) you will have to reinstall with a pre-created partition for windows so it does not additionally create the "Boot" partition. Windows will subsequently be picked up by grub via os_prober.
    It may be possible to fix Windows from a Install DVD but I have never needed to recover from this situation and I'm sure you can Google it yourself. Blindly deleting system partitions, in any OS, frequently ends badly...
    Last edited by satanselbow (2015-04-07 08:10:25)

  • Dual Booting Windows and Arch (SOLVED!)

    Hello all, I'm having trouble getting a windows partition activated again. (Windows was on here for many years, then I installed arch on a separate partition.)
    Here is the layout of fdisk -l:
    Disk /dev/sda: 100.0 GB, 100030242816 bytes
    255 heads, 63 sectors/track, 12161 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x00000000
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1        7833    62918541    7  HPFS/NTFS
    /dev/sda2            7834       12039    33784695   83  Linux
    /dev/sda3           12040       12161      979965   82  Linux swap / Solaris
    sda1 is the windows partition, and sda2 is the arch partition. The linux partition SHOULD be primary bootable (have the * next to it),but all my attempts to do this have failed. (I've used "testdisk" to change the flags, but for some reason it keeps reverting back to setting sda 1 as primary bootable after a reboot or 2).
    This is the pertinent section of /boot/grub/menu.lst:
    title  Arch Linux
    root   (hd0,1)
    kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/f3be3baa-3b62-460c-8801-64b0b1cca$
    initrd /boot/kernel26.img
    # (1) Arch Linux
    title  Arch Linux Fallback
    root   (hd0,1)
    kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/f3be3baa-3b62-460c-8801-64b0b1cca$
    initrd /boot/kernel26-fallback.img
    # (1) Windows
    title Windows XP
    rootnoverify (hd0,0)
    makeactive
    chainloader +1
    I have a . . . modified . . . copy of XP Professional, which comes with a recovery console to reinstall the MBR if it's necessary.
    From what I've researched, I somehow need to reinstall grub to the second partition, make the second partition primary bootable, then rewrite the MBR on the first partition, and correct any command errors in menu.lst, but I haven't really figure out a way to do it.
    Thanks in advance for your help!
    Last edited by mongoose088 (2008-12-20 21:48:18)

    I read up on some documentation of installing GRUB to the MBR.
    So far, I went into ArchLive (from the cd) and did the following
    grub> root (hd0,1)
    grub> setup (hd0)
    The installation reports success with no errors, but the problem persists. Arch linux will boot fine, but when I select XP it flashes my configuration, like so:
    title Windows XP
    rootnoverify (hd0,0)
    makeactive
    chainloader +1
    then kicks me back to the OS select GRUB screen. Did I install it to the wrong place?
    EDIT:
    I decided to issue this command:
    grub> setup(hd0,1)
    It reported some errors, then arch couldn't mount the ntfs partition because of possible MFT cluster errors.
    Using testdisk, I repaired the boot sector and MFT clusters, then using ArchLive reinstalled grub with grub>(hd0)
    Arch and Arch Fallback will boot correctly, but now the windows side shows an error:
    rootnoverify (hd0,0)
    makeactive
    chainloader +1
    Loading stage2Read Error (or something to this extent)
    I wonder if this error brings me closer or farther to a solution?
    Thanks for the replies so far!
    Last edited by mongoose088 (2008-12-20 05:41:43)

  • Dual booting Windows 7 & Arch...

    I have 2 SATA hard drives on my system...
    320gb & 500gb
    I have 6 gigs ram, triple core 2.1ghz w/256mb HD 2400 ATI pciE
    Im reading the wiki page https://wiki.archlinux.org/index.php/Wi … _Dual_Boot
    and I have some questions and am seeking some advice..
    I was thinking about putting (in the bios) the 320 as primary w/ windows 7
    and using the 500 for linux.. 300 ( /boot=100mb, /=20gigs /swap=2gigs /home= approx 275gigs) and 200gb FAT32 to share music,pics,documents, et al with both OS's
    maybe using a gparted cd to make the 320 ntfs, /boot ext2, /root & /home ext4 /swap as swap and 200gigs as fat32
    then installing windows on the 320, then using the arch ftp install to install arch on sdb (second sata drive) using the partitions I've explained about.
    now for Grub.. where I get lost is.. i read on one of the many forum posts i read, if you install 7 first, then arch, everythign will work fine and when you reboot you'll have a choice.. now this answer/comment goes against the wiki that says you have to set up grub to do the dual boot.. or am i wrong, will it just "work" (it does with other distros, but I know arch doesnt hold hands like the others, and I really dont want to leave arch jsut to dualboot for the few windows needs i have , photoshop, a good printer, office 2010, and afew other windows programs i still enjoy using for work and play)
    does anyone have any "easier" to follow directions then the wiki to dualboot win 7 and arch? I'm reading and re-reading and re-reading the wiki again, and it seems like greek to me..
    anyone have any other suggestions.. i have win7 in a virtualbox machine, but the usb hub isnt working.. (started happening since 4.x.x.x came out) thought 4.0.0.2 would "fix" this issue, so i made a new vm of win7 and same usb hub isssues in device manager.. so it MUST be a virtual box issue.. and from what I've read, its not being "fixed" anytime soon.. and I cant use my printer on arch no matter what I've done..
    so any advice would be appreciated.. don't want to start something I cant finish.. ( i can install arch with my eyes closed i've been through enougth trial and screwups)
    thanks in advance

    Heres how I do it:
    1. Split my drive into one primary partition and an extended partition with logical partitions for Linux.
    2. Install Windows 7 (first) to the primary partition and Arch Linux inside the extended partition.
    3. Install grub to the drive and just uncomment the lines for Windows. Remember to leave "makeactive" commented out.
    4. Thats it.
    https://wiki.archlinux.org/index.php/Gr … th_Windows
    Last edited by anonymous_user (2011-01-19 18:00:53)

  • [SOLVED] Booting Windows from a desktop shortcut

    I'm looking for a script or method that changes the default menu entry for the bootloader and reboots the system, but when I reboot (or shutdown) from Windows, Arch Linux becomes the default entry.
    Maybe what I'm looking for is a way to save the previous selection as the default. Is this possible?
    Last edited by DSpider (2012-04-23 09:50:23)

    Ah, now I remember. GRUB Legacy. It's been so long since I last used it... About 3 years I think. It was great. It did what it was meant to do, and did it well. I use Syslinux now.
    Here's something interesting:
    http://www.syslinux.org/wiki/index.php/Doc/extlinux
    5. EXTLINUX now has "boot-once" support. The boot-once information is stored in an on-disk datastructure, part of extlinux.sys, called the "Auxillary Data Vector". The Auxilliary Data Vector is also available to COMBOOT/COM32 modules that want to store small amounts of information.
    To set the boot-once information, do:
    extlinux --once 'command' /boot/extlinux
    where 'command' is any command you could enter at the SYSLINUX command line. It will be executed on the next boot and then erased.
    I should probably reboot, press Tab at the "Windows XP" entry and jot it down on a piece of paper or something (on my phone, most likely).
    Last edited by DSpider (2012-04-23 09:52:22)

  • [Solved]Syslinux "booting... boot error" when booting Windows 7

    Hello, I've set up my computer to dual boot windows and arch. Windows is on a separate hard drive and I was able to configure syslinux with a boot menu allowing me to select Windows at startup. For a long time this has worked without any problems whatsoever, but this morning I tried selecting windows and I got what is probably the most vague error message I have ever seen.
    "Booting...
    Boot Error"
    According to this post this problem comes in when the ldsyslinux.sys file cannot be found. Unfortunately I was not able to use his suggested fix
    syslinux -U /dev/sdb1
    I wasn't aware that there was a -U flag for syslinux and after checking it seems that there isn't one.
    Last edited by samstr (2014-11-26 04:48:55)

    Sorry, I actually just fixed it on my own, it turns out my BIOS settings were a bit... weird. For some reason I didn't have my windows drive listed and it tried to boot a USB drive I had plugged into my computer. I just had to fix the drive order and it worked fine. Sorry about starting a fairly useless discussion.

  • Dual boot Windows 7 partition help

    I want to dual boot Windows 7 & arch but I need help with figuring out what partitions to make and where to put them because it seems the automatic partition-er won't do the trick for me.
    I have two drives that I want to completely format for a fresh, clean install: a 60GB SSD & a 750GB hard drive. I want the end result to be that the SSD only has Windows 7 Pro x64 SP1 installed to it and I will point the 'My Documents', 'My Pictures', etc. to a NTFS partition on the hard disk drive ( I know how to do this folder pointing ). I don't want arch to touch the SSD if possible so I can reformat the SSD separately if I ever just want to reformat Windows. I only want arch to be on the hard disk for that reason. I don't think I care which one handles the OS switching at boot ( should I favor Windows MBR or syslinux? Please give advice. ) And I would assume I make the NTFS partition on the hard disk a primary partition so how do I split up arch for the 3 other primary partitions left since the auto partition from the arch boot CD uses 4?

    I'm no expert, but the way I would do it would be like this:
    1. Create partitions on the HDD for /, /boot, /home and swap, along with one (or more) for your Windows personal files
    2. Set the BIOS to boot from the SSD.
    3. Install Windows on the SSD.
    4. Right-click the "My Documents" folder, select "properties", then the "Location" tab and choose the new location for the folder.
    5. Install Arch on the HDD partitions, and allow the boot manager to install itself in the MBR of the SSD.
    Then the whole boot process will be on the SSD...  If you ever need to get rid of the Linux bootloader, you can overwrite it with a "clean" Windows one using bootrec.exe (see here: http://support.microsoft.com/kb/927392).
    Last edited by esuhl (2012-03-26 04:52:12)

  • Dual Boot Vista and Arch

    Hey, I am attempting to set up my laptop to dual boot Windows Vista and Arch Linux.
    The problem I'm having is after installing Arch my laptop still boots windows w/o going to the grub
    I started with having Windows Vista installed on the laptop, and then shrank down the partition with vista by 30 gigs for Arch.
    I was following the Arch setup guide in the wiki along with the Dual Boot Windows and Arch guide in the wiki [wiki]Windows_and_Arch_Dual_Boot[/wiki].
    My partitioning Scheme is:
    /dev/sda1    1.46 gb (some sort of toshiba recovery partition I believe)
    /dev/sda2    117.8 gb (Vista Partition)
    /dev/sda3    1 gb (Swap partition)
    /dev/sda4    29 gb /root partition
    According to the Dual Boot wiki article, I should install the grub to /boot, which in my case is in /root which I did.
    The thing that confuses me about this is if I install the grub to /boot how do I get the grub to boot before the windows MBR?
    Thanks in advanced

    Mclarenf1905 wrote:
    Hey, I am attempting to set up my laptop to dual boot Windows Vista and Arch Linux.
    The problem I'm having is after installing Arch my laptop still boots windows w/o going to the grub
    I started with having Windows Vista installed on the laptop, and then shrank down the partition with vista by 30 gigs for Arch.
    I was following the Arch setup guide in the wiki along with the Dual Boot Windows and Arch guide in the wiki [wiki]Windows_and_Arch_Dual_Boot[/wiki].
    My partitioning Scheme is:
    /dev/sda1    1.46 gb (some sort of toshiba recovery partition I believe)
    /dev/sda2    117.8 gb (Vista Partition)
    /dev/sda3    1 gb (Swap partition)
    /dev/sda4    29 gb /root partition
    According to the Dual Boot wiki article, I should install the grub to /boot, which in my case is in /root which I did.
    The thing that confuses me about this is if I install the grub to /boot how do I get the grub to boot before the windows MBR?
    Thanks in advanced
    It still works fine. It doesn't matter if its not in root directory. Others linux OSes  have their bootloaders in the same directory and it manages to boot just fine.

  • [SOLVED] Boot problems after rEFInd update

    Hello,
    I dual boot windows and arch using rEFInd. After an rEFInd update yesterday my system directly boots into windows. Any ideas how to bring the rEFInd menu back?
    Thanks!
    Last edited by Cygnus (2012-09-27 08:45:52)

    The refind-efi package install the file to /usr/{lib,share}/refind/*  . You need to manually copy the files to UEFISYS partition. The files in /boot/efi/EFI/arch/refind/* should have been removed when refind-efi-x86_64 pkg was removed. BTW try gummiboot-efi also.

  • [SOLVED] Dual boot windows 7 and arch Linux with seperate hard drives

    Ok so I'm stuck trying to get my computer to dual boot windows 7 and arch. They are installed on different hard drives and I have grub 2 as the boot loader. I can't find any tutorials on how to do it with seperate hard drives I know how to do it if they are on the same hard drive. Also I want windows on the "first" hard drive how do I check to see which one it considers the first?
    Last edited by bdawg (2012-09-21 23:15:37)

    DSpider wrote:
    drobole wrote:If you want to change it so that sda becomes sdb and sdb becomes sda, you should be able to do that in BIOS.
    Not from the BIOS. He would need to physically open up the computer and switch the cables between them (or add another drive).
    There's no actual performance increase in changing this order. Performance increase is when you have the partitions as close to the beginning of a HDD as possible, where the platters spin faster (basic mechanics, not to be confused with CD/DVD, which are being written from the inside-out to prevent errors after extended usage), and it especially doesn't apply to SSDs whatsoever.
    You may be right about that. I remember I had to do this a while back but I probably switched the cables. It also messed up the drive mapping in Windows 98 if I remember correctly.

  • [SOLVED] Unable to Boot Windows 7 from GRUB

    I recently reinstalled Arch onto my laptop (Lenovo Thinkpad t520) and have been having problems with Grub. For the last week I've been having trouble getting it to run grub at boot at all, only being able to run windows 7 by flagging it as the bootable drive. The other day I finally got it to boot into grub, and from grub I can boot into Arch. However, I can not boot into windows 7 through grub. When I attempt to, it throws an error:
    Invalid EFI file path
    I'm somewhat new to arch, and especially new to efi bootloading and such. Right now the only way I can get into windows is either booting from the arch install disk > boot other os and specifying partition 2 (where I have windows installed) or by pressing f12 at boot. When I do this (not sure what the term is, if anyone knows please tell me), it brings up a menu asking where I want to boot with "arch_efi" "cd drive" "Hard drive" etc. I choose hard drive and it will then boot to windows by default. Booting normally takes me to grub where I can boot into arch but not windows. If there's any more info you need please let me know and I'll try to provide it. Thanks in advance.
    Also, here is my current partition setup
    /dev/sda1 /boot/efi
    /dev/sda2 Windows7
    /dev/sda3 Extended partition containing sda 5,6, & 7
    /dev/sda4 swap
    /dev/sda5 /boot
    /dev/sda6 /
    /dev/sda7 /home
    UPDATE
    Terminator seems to be right (still on a roll!), so I wiped the partition I had grub on, removed grub, and installed syslinux. Now I have another problem that I'm hoping can be solved in the same thread to avoid another. It boots to syslinux no problem, and I can boot to windows from there all good, but when I select arch I get:
    Root device mounted successfully but /sbin/init does not exist
    I haven't been able to look for solutions too much on my own, but any help would be appreciated, thank you.
    Last edited by IamFuzzles (2012-08-22 04:20:56)

    Terminator wrote:If I understand it correctly, what you are trying is impossible: you are trying to boot windows using UEFI on a disk with MBR partitioning. Windows 7 only supports UEFI on discs with GPT partitioning but AFAIK, extended partitions only exist in MBR partitioning.
    i also saw this in the arch wiki, but i have a brand new lenovo ideapad y570 running windows 7 64-bit that i'm in the process of setting up for someone, and it has what i think is an efi system partition but the disk uses mbr partitioning.  does anyone know why this might be, or is there a way i can verify that the system is actually being booted via bios-mbr?
    Last edited by e_tank (2012-08-21 11:56:15)

  • Dual booting Windows 8 and Arch Linux with UEFI

    Hi all!
    I'm trying to install Arch Linux on my computer where I already have Windows 8, and I'm getting a little stuck when it comes to the partitioning.
    Following the beginner's guide and the method here: https://wiki.archlinux.org/index.php/Un … n_in_Linux for setting up the partitions properly, regarding UEFI. My problem is that when using cgdisk to set up a new EFI system partition (ef00), I get an error message when trying to write the partition table (just saying that something went wrong). I figure the problem is that I already have a partition like this (correct me if I'm wrong), but it really looks like it succeded (see info below). So my question is: How do I preceed to keep my Windows 8 installation happy, but installing Arch? Do I remove the old EFI system partition and create a new one, or is there some method that allows me to edit the already existing one, to allow me to dual boot Windows 8 and Arch?
    My partition table now looks like this:
    Part. # Size Partition Type Partition Name
    1007KB free space
    1 500MB Windows RE Basic data partition
    2 300MB EFI System EFI system partition (this one was already present on my system)
    3 128MB Microsoft reserved Microsoft reserved partition
    4 63.5GB Microsoft basic data Basic data partition
    8 512MB EFI System EFI System partition (this is the one I tried to create when I got the error message)
    5 29.5GB Linux filesystem Arch (this is where I was going to put my Arch installation)
    6 22GB Windows RE Basic data partition
    7 1024MB Windows RE Basic data partition
    615KB free space
    Just for the record; I only created partition #8 and #5.
    Any help is appreciated! And sorry for beeing a total noob, but I really suck at this.

    sudo make sandwich wrote:If it is possible to share ESP between OSes, how do I do this (would it be sufficent to follow this section: https://wiki.archlinux.org/index.php/Beginners'_Guide#For_UEFI_motherboards)?
    There's really very little to do to share an ESP between OSes. Most OS installers will auto-detect the ESP and use it. Problem solved. For Arch it may be a bit more effort just because Arch uses a more hands-on installation process, but I've only done a couple of Arch installations, and the last one was several months ago, so I don't recall the details clearly enough to comment.
    And how big will the partition need to be? The beginner's guide says 512MB or higher.
    I don't know what was in the mind of the author, but my guess is that's because that's roughly the cutoff point where mkdosfs starts creating FAT32 by default rather than FAT16. The ESP is officially supposed to be FAT32, not FAT16, although FAT16 usually works OK. It's also possible to create FAT32 on smaller partitions by using an explicit option to mkdosfs ("-F 32").
    The optimal size of the ESP depends on the files stored on it. If you don't store your Linux kernels, something as small as 100MiB is usually adequate; but a few Linux kernels and their initrd files can consume twice that amount. My own recommendation is for the ESP to be 200-500MiB.
    The only error message I got from cgdisk is "Problem saving data! Your partition table may be damaged!", however booting Windows again works fine. Parted did not complain about antything.
    Use the "verify" function in cgdisk. That will reveal any problems with the data structures. If a verify turns up OK, then that means that cgdisk ran into some sort of disk problem. Running gdisk rather than cgdisk and using the gdisk "w" option (without making any changes) may produce a more helpful error message.

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

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

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

  • [SOLVE] Dual Boot Windows and ArchLinux with Syslinux

    Ok, i installed ArchLinux on my laptop with Windows XP (syslinux) and I cannot find get Windows to boot or mount it. I have tried to do what i can to do this but cannot. I Installed XP first like a should and something i think might be needed to know is after i created the partitions scheme (10Gb (boot partition), 50GB (XP), 80GB(was unallocated)). The installation disk formated both 2 partitions in NTFS but i installed XP on the second and Windows reported them as C and D drives. Windows being D. Thought that was bit werid thinking Windows installed the mbr on that partition. When I installed ArchLinux, it did have the boot flag set on 10GB (or C drive).
    Since I installed ArchLinux, I have been unable to find a solution to mounting/booting to Windows. Installed NTFS-3G and that didn't work when i tried mount /dev/sda3 windows and i did created a folder named windows but got ...
    mount: wrong fs type, bad option, bad superblock on /dev/sda3,
    missing codepage or helper program, or other error
    In some cases useful info is found in syslog - try
    dmesg | tail or so.
    Tried dmesg | tail and got
    [ 76.524133] SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled
    [ 179.468499] ACPI: \_SB_.PCI0.LPC0.ACAD: ACPI_NOTIFY_DEVICE_CHECK event: unsupported
    [ 705.472330] 8139too 0000:02:03.0 enp2s3: link down
    [ 717.380879] 8139too 0000:02:03.0 enp2s3: link up, 100Mbps, full-duplex, lpa 0x41E1
    [ 726.447184] 8139too 0000:02:03.0 enp2s3: link down
    [ 727.596128] ACPI: \_SB_.PCI0.LPC0.ACAD: ACPI_NOTIFY_BUS_CHECK event: unsupported
    [ 732.616138] 8139too 0000:02:03.0 enp2s3: link up, 100Mbps, full-duplex, lpa 0x41E1
    [ 733.848832] 8139too 0000:02:03.0 enp2s3: link down
    [ 834.062062] 8139too 0000:02:03.0 enp2s3: link up, 100Mbps, full-duplex, lpa 0x41E1
    [ 2131.449211] perf samples too long (2534 > 2500), lowering kernel.perf_event_max_sample_rate to 50100
    This is when i run sudo lsblk
    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
    sda 8:0 0 149.1G 0 disk
    |-sda1 8:1 0 9.8G 0 part /boot
    |-sda2 8:2 0 1K 0 part
    |-sda3 8:3 0 53.6G 0 part
    `-sda5 8:5 0 85.7G 0 part /
    sr0 11:0 1 1024M 0 rom
    My syslinux is
    LABEL arch
    MENU LABEL Arch Linux
    LINUX ../vmlinuz-linux
    APPEND root=/dev/sda5 rw
    INITRD ../initramfs-linux.img
    LABEL windows
    MENU LABEL Windows
    COM32 chain.c32
    APPEND hd0 3
    NOTE: chain is in the same directory with syslinux
    I really think Windows got corrupted but not sure. Thought about repairing the mbr on windows and booting to it then reinstall syslinux but really don't want too.
    Thanks in advance
    Last edited by jag-ster (2014-11-27 02:12:12)

    Here is the partition table:
    /dev/sda1 one HUGE linux /boot primary partition (assuming ext4)
    /dev/sda2 "name" of the extended partition
    /dev/sda3 primary Windows partition (assuming NTFS)
    /dev/sda5 logical Linux root partition (assuming ext4)
    /dev/sda1 to /dev/sda4 are either all primary, or three primary and one extended. After /dev/sda4 all partitions are logical. If you're still wondering why is there no /dev/sda4, it's because you have 2 primary and one extended, so /dev/sda4 is reserved for another primary partition.
    Windows problem:
    The /dev/sda1 which Windows named C: is Windows equivalent of linux /boot. When you told linux to place its /boot on /dev/sda1 it formated boot files of Windows. Now you have Windows OS with no kernel. In other words there is no way to boot Windows if you don't reinstall it. Actually there is a way, but you would than screw up Arch.
    Mounting problem:
    You can never mount extended partition, only logical (an extended partition is made of logical partitions). You want to do:
    sudo mount /dev/sda3 -t NTFS-3g -o rw,uid=YourUserName /path/where/you/want/this/partition/mounted
    EDIT:
    Try it this way:
    - Backup all your data
    - Delete every partition
    - Start Windows installation
    - Make only one partition (c:/ for Windows)
    - Let Windows make another partition
    - Make one more so you could have a data partition, which does not need to be formated to reinstall Windows
    - Start Arch installation
    - Get to partitioning
        =Partitioning=
        - /dev/sda4 extended (take the rest of the drive)
        - /dev/sda5 logical /boot 512MiB
        - /dev/sda6 logical /          20GiB
        - /dev/sda7 logical /home (the rest)
    Making a separate /home partition will come in handy when reinstalling Arch (any linux distribution), or switching between distros, because it is the equivalent of D:/ in Windows. Also consider LVM.
    Last edited by bstaletic (2014-02-28 23:25:33)

Maybe you are looking for