Migrating from Arch to Dual Boot (Arch 64 + Win8.1 64).

Hello my friends.
I used to have a dual boot system (MBR, if I'm not mistaken), with Arch Linux on hda (1TB) and Windows 7 on hdb (300GB). I did this installation more than 3 years ago.
The disk with windows died recently, and because I need it for work (virtual machine is not an option), I decided to make a "refresh" on my machine.
I bought two new disks, a 240GB SSD and a 3TB HDD.
What I would like to do is to install both Windows 8.1 and Arch Linux on the SSD disk (100GB for Windows, 140GB for Arch, my main system), and use the 3TB (for Arch) and the 1TB (for Windows) disks as storage.
While doing a research on how to do the installation, some questions arised.
I know that I must (or at least should, for make the processe easier) install Windows first. I will install in the EFI mode, as my machine alread has it.
1. Which boot loader I should use when installing Arch Linux?
From what I'd read, to keep things simple, I should opt for a bootloader like gummyboat, that will recognise the Windows without manual intervantion. Is this right?
2. Will I have problems with the Windows Update?
I read here https://bbs.archlinux.org/viewtopic.php?id=187194 that when Windows update, it mess with the EFI partition and will make the Arch stop booting (the boot will enter directly on Windows). Is this correct? Is this related only to "automatic" updates (and manual updates can be made without problem)? There is any way to avoid this?
3. After installing both systems, will Arch Linux recognize my 1TB disk?
My 1TB disk has my actual Arch linux installation, and data. I would like to copy this data to the 3TB disk and then, under Windows, format it to serve as my Windows storage disk.
I can do this BEFORE installing the system, or after. But the second option causes me some concerning regarding the rights and so on, so that I do not know if my "new" system" will be able to copy things from the old system.
Should I make the copy before installing Arch Linux?
I think this is it.
If you could helping me with these questions and pointing problems/flaws with my approach, I'll be immensely gratefull.
Chhers,
Eduardo.

Hello elken
While I could maintain the system under BIOS/MBR, and I don't had any problem with this in the last 2 years, I want to change my system to EFI/GPT.
I found that Windows under EFI must be under GPT (As pre-installed Windows 8.1), while under BIOS it must be under MBR. So, as my system is (will be) a DUAL one, and It is not a MAC system (that would allow to the EFI/GPT loader to chain a BIOS/MBR, I have to choose between EFI/GPT or BIOS/MBR.
Because my system can be setup under EFI/GPT, and because sooner or later BIOS/MBR will start to disappear, I want to change it now. This will mke it easier in the future to upgrade my system, I think.
Not to mention that GPT has some nice advantages over MBR. For example, GPT can handle my 3TB disk without problems, while MBR not. (At least, fdisk wasn't able to deal with it).
So, you could say that despite BIOS/MBR being fully funcional right now, it's a matter of personal taste (and learning) to me, this desire to completely change my system to EFI/GPT
For now, I decided to mantain the LINUX and WINDOWS separated (as they are now), i.e., on separate disks. This should solve the problem of windows messing with the boot loader when upgrading (point 2).
About the bootloader, I think I'll change to gummybot, to test it. I think I could still use grub 2 (I'm not entirely sure), but Gummybot seems simple and fair enough.
As an aside, I think I will try to migrate my system to the new HDF using rsync and making the necessary adjustments (like in fstab).
It seems not to difficult, and there are many documents out there on how to do this.
When I finish, I'll post here how I did and what worked and what not
Cheers,
Eduardo

Similar Messages

  • [SOLVED] Lenovo T530 UEFI Arch/Ubuntu Dual boot - Arch fails to boot.

    Hi All,
    I have installed Arch to my Lenovo T530 to dual boot with Ubuntu using UEFI and Grub.
    After installation, Arch is presented to me as an option when my laptop fires up. However, if I select it, the loader goes to a purple screen and then hangs.
    I have attached here the bootloader scripts for my Arch installation (not working), my Ubuntu installation (working) and the output from sudo lsblk -o name,mountpoint,label,size,uuid.
    Please let me know if there is more useful information I can provide. (I have output from Bootinfoscript available but it is quite extensive).
    I am hoping to find out if there is an easily fixable error in the booting scripts used by Grub. If not, I have seen the section on dual booting with Arch in the wiki. My worry is that if I resort to it, UEFI looks to be temperamental at best and I risk breaking my currently working Ubuntu installation.
    Thanks and regards,
    Simon
    Arch boot script (not working):
    setparams 'Arch (on /dev/sda4)'
    insmod part-gpt
    insmod ext2
    set root= 'hd0,gpt4'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 -\
    -hint-efi=hd0,gpt4 -hint-baremetal=ahci0,gpt4 729b5164-22c4-4c21-8212-\
    66038d60943e
    else
    search --no-floppy --fs-uuid --set=root 729b5164-22c4-4c21-821\
    2-66038d60943e
    fi
    linux /boot/vmlinuz root=UUID=ad4103fa-d940-47ca-8506-301d\
    8071d467 rw quiet
    initrd /boot/initramfs-linux.img
    Ubuntu boot script (working)
    setparams 'Ubuntu, with Linux 3.13.0-24-generic'
    recordfail
    load_video
    gfxmode $linux_gfx_mode
    insmod gzio
    insmod part-gpt
    insmod ext2
    set root= 'hd0,gpt2'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd\
    0,gpt2 --hint-efi=hd0,gpt2 -hint-baremetal=ahci0,gpt2 542bf27c-0fd5-42\
    4a-b4d8-107f7cf97b75
    else
    search --no-floppy --fs-uuid --set=root 542bf27c-0fd5-\
    424a-b4d8-107f7cf97b75
    fi
    echo 'Loading Linux 3.13.0-24-generic ...'
    linux /boot/vmlinuz-3.13.0-24-generic root=UUID=5\
    42bf27c-0fd5-424a-b4d8-107f7cf97b75 ro quiet spash $vt_handoff
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd.img-3.13.0-24-generic
    Output from sudo lsblk -o name,mountpoint,label,size,uuid
    NAME MOUNTPOINT LABEL SIZE UUID
    sda 119.2G
    ├─sda1 /boot/efi BOOTLOADER 524M 9360-2939
    ├─sda2 / Linux_Ubuntu 34.6G 542bf27c-0fd5-424a-b4d8-107f7cf97b75
    ├─sda3 [SWAP] Swap 9.8G 7768ae01-6e37-450b-bf0c-d873e3fd06a1
    ├─sda4 Linux_Arch 32.7G 729b5164-22c4-4c21-8212-66038d60943e
    ├─sda5 /media/Data Data 33.2G 5a971a77-685b-43d5-a8e6-c7b407a4c2ff
    └─sda6 Misc_Data 8.5G b165990d-bd25-458f-b2d6-63fae28d0870
    sdb 1T
    └─sdb1 1024G a1ee2f60-007a-4292-982b-7d5f8375fc7e
    sr0 1024M
    Last edited by simon_sjw (2015-03-22 10:43:03)

    linux /boot/vmlinuz root=UUID=ad4103fa-d940-47ca-8506-301d8071d467 rw quiet
    Change the UUID here. Where did that come from?
    EDIT: curiously, if you DuckDuckGo search this exact UUID, it comes up a bunch of times and has caused people headaches before. If you fix that you should be okay. If anyone knows why this same exact UUID would incorrectly be created on multiple systems, I'd love to know. Seems like some kind of issue with dual/triple booting and OS-prober.
    2nd EDIT: this UUID is in the default in grub.cfg. For some reason, it sometimes won't be replaced by grub-mkconfig... Maybe the user didn't run grub-mkconfig, but edited the file him or herself? simon_sjw?
    Last edited by nullified (2015-03-22 03:12:36)

  • Dual booting Arch and Ubuntu

    Hi, I would like to dual boot Arch and Ubuntu using GRUB2.
    I already have Arch, set up as it's described in the Beginner's Guide, with GRUB2 installed. How would I go about dual booting Ubuntu, preferably without overwriting the existing bootloader?
    I haven't tried anything yet, but the problem that I can see is resizing my /home; is this possible on the Ubuntu liveDVD? If not, would I be able to resize /home with my gParted liveCD?
    Unfortunately, I have no backup media to use, so I wouldn't be able to transfer anything away as a backup.
    Here is my partition table:
    %lsblk
    NAME   MAJ:MIN RM   SIZE       RO TYPE      MOUNTPOINT
    sda      8:0       0        931.5G   0    disk
    ├─sda1   8:1    0        30G        0    part       /
    ├─sda2   8:2    0        12G        0    part       [SWAP]
    ├─sda3   8:3    0        5M          0    part
    └─sda4   8:4    0        889.5G   0    part       /home
    sda1 is my root partition, sda2 is swap, sda3 is GRUB's boot partition, which I was told that I needed in the guide, and sda4 (/home) occupies the "rest of the disk".
    I am using a GPT-partitioned drive, as I read this has many advantages and I do not plan to triple-boot Windows.
    So, can someone tell me what I do if I want to dual boot Ubuntu? I'm very sorry if this should have been posted on the Ubuntu forums, but I'm just more familiar with Arch, and I already have it installed. Please ask if you need any other files like my fstab. I have my Ubuntu liveDVD, GParted live CD (and Arch CD) at hand.
    Thanks in advance, rberyl.
    (Also, does anyone else think it's a bit of a backwards thing to put the output of "date -u +%W$(uname)|sha256sum|sed 's/\W//g'" as a sign-up question? )
    Last edited by rberyl (2012-12-29 11:45:23)

    Hi rberyl,
    You can change your partitions using an inbuilt tool like cfdisk, or if you'd prefer a GUI gparted can be installed from the Arch repos. This will allow you to shrink sda4, and set up the new partitions for your Ubuntu OS. Although this shouldn't cause any data loss, its best practice to back up just in case.
    When installing Ubuntu, be sure to opt-out of bootloader creation. I think you have to use the alternate installation media to get this option. You can add your Ubuntu partition to the existing bootloader by running osprober (available from the repos) and then running grub-mkconfig -o /boot/grub/grub.cfg . Alternatively, you can manually edit your GRUB config. See https://wiki.archlinux.org/index.php/GR … NU.2FLinux for instructions.
    Good luck!
    Last edited by smazza (2012-12-29 16:04:08)

  • Dual booting arch (usb) and ubuntu (grub2)

    Greetings,
    I'm trying to dual boot Arch linux (installed without a bootloader on a USB SSD) and Ubuntu 10.04 (installed on a hdd with GRUB2) but can't get Arch to boot. (Oh and I already have windows dualbooted)
    The entry grub autogenerated:
    menuentry "Arch Linux [/boot/vmlinuz26] (on /dev/sdb3)" {
    insmod ext2
    set root='(hd1,1)'
    search --no-floppy --fs-uuid --set 95d9208a-44e4-48ba-abd2-a365d1ac25ff
    linux /vmlinuz26 root=/dev/sda3 ro
    initrd /kernel26.img
    Why did it input root=/dev/sda3 as it says (on /dev/sdb3)?
    The entry I figured would work:
    menuentry "Arch Linux" {
    set root=(hd1,0)
    linux /boot/vmlinuz26 root=/dev/sdb3 ro
    initrd /boot/kernel26.img
    Output from fdisk -l:
    Disk /dev/sda: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0xbc4264d9
    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 13 102400 7 HPFS/NTFS
    Partition 1 does not end on cylinder boundary.
    /dev/sda2 13 5286 42353664 7 HPFS/NTFS
    Partition 2 does not end on cylinder boundary.
    /dev/sda3 5286 19458 113831937 5 Extended
    Partition 3 does not end on cylinder boundary.
    /dev/sda5 18971 19458 3905536 82 Linux swap / Solaris
    /dev/sda6 5286 6502 9764864 83 Linux
    /dev/sda7 6502 18971 100155392 83 Linux
    Partition table entries are not in disk order
    WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
    Disk /dev/sdb: 8019 MB, 8019509248 bytes
    255 heads, 63 sectors/track, 974 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000
    Device Boot Start End Blocks Id System
    /dev/sdb1 * 1 13 104391 83 Linux
    /dev/sdb2 14 111 787185 82 Linux swap / Solaris
    /dev/sdb3 112 685 4610655 83 Linux
    /dev/sdb4 686 974 2321392+ 83 Linux
    /dev/sdb3 is the root partition
    The content of /dev/sdb1
    grub
    kernel26-fallback.img
    kernel26.img
    lost+found
    System.map26
    vmlinuz26
    - If I try to edit the root=/dev/sda3 to /dev/sdb3 it begins booting but doesnt find /dev/sdb3.
    Thanks in advance for any help,
    Oskar

    Greetings,
    I'm trying to dual boot Arch linux (installed without a bootloader on a USB SSD) and Ubuntu 10.04 (installed on a hdd with GRUB2) but can't get Arch to boot. (Oh and I already have windows dualbooted)
    The entry grub autogenerated:
    menuentry "Arch Linux [/boot/vmlinuz26] (on /dev/sdb3)" {
    insmod ext2
    set root='(hd1,1)'
    search --no-floppy --fs-uuid --set 95d9208a-44e4-48ba-abd2-a365d1ac25ff
    linux /vmlinuz26 root=/dev/sda3 ro
    initrd /kernel26.img
    Why did it input root=/dev/sda3 as it says (on /dev/sdb3)?
    The entry I figured would work:
    menuentry "Arch Linux" {
    set root=(hd1,0)
    linux /boot/vmlinuz26 root=/dev/sdb3 ro
    initrd /boot/kernel26.img
    Output from fdisk -l:
    Disk /dev/sda: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0xbc4264d9
    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 13 102400 7 HPFS/NTFS
    Partition 1 does not end on cylinder boundary.
    /dev/sda2 13 5286 42353664 7 HPFS/NTFS
    Partition 2 does not end on cylinder boundary.
    /dev/sda3 5286 19458 113831937 5 Extended
    Partition 3 does not end on cylinder boundary.
    /dev/sda5 18971 19458 3905536 82 Linux swap / Solaris
    /dev/sda6 5286 6502 9764864 83 Linux
    /dev/sda7 6502 18971 100155392 83 Linux
    Partition table entries are not in disk order
    WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
    Disk /dev/sdb: 8019 MB, 8019509248 bytes
    255 heads, 63 sectors/track, 974 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000
    Device Boot Start End Blocks Id System
    /dev/sdb1 * 1 13 104391 83 Linux
    /dev/sdb2 14 111 787185 82 Linux swap / Solaris
    /dev/sdb3 112 685 4610655 83 Linux
    /dev/sdb4 686 974 2321392+ 83 Linux
    /dev/sdb3 is the root partition
    The content of /dev/sdb1
    grub
    kernel26-fallback.img
    kernel26.img
    lost+found
    System.map26
    vmlinuz26
    - If I try to edit the root=/dev/sda3 to /dev/sdb3 it begins booting but doesnt find /dev/sdb3.
    Thanks in advance for any help,
    Oskar

  • Dual Boot Arch & Mac OS X(Boot device didn't show up after 30 seconds)

    I was trying to Dual Boot Arch & Mac OS X on my new Mac book pro, I followed the steps (https://wiki.archlinux.org/index.php/MacBookPro)
    Dual Boot (Arch & Mac OS X)
    Two possibilities:
    - Install Bootcamp, resize the Mac OS X partition
    When Mac OS X installation is finished. Go on http://refit.sourceforge.net and download rEFIT (Mac disk image)
    To install rEFIT, mount the rEFIT.dmg file (it is normally automatic).
    There is an other way (refer to rEFIT documentation) but you can open a terminal then you copy /Volumes/rEFIT/efi/ to /
    # cp -r /Volumes/rEFIT/efi /
    To install rEFIT :
    # cd /efi/refit/
    # ./enable.sh
    Now we can synchronized MBR with GPT partition table thanks to rEFIT so you restart your computer. You can see rEFIT, you press down key to access to the Partitioning Tool. You press y to accept.
    Put your Arch Linux CD in the CD-ROM drive first then restart the computer. You can press C to boot from the CD or you can choose it in the rEFIT menu.
    Now it is the typical Arch Linux installation.
    So I burn the archlinux-2010.05-core-i686.iso to an blank disc on mac then restart the computer , press C to boot from the CD.
    After choose to boot Arch linux and then I got this
    Waiting for 30 seconds for device /dev/disk/by-label/ARCH-201005...
    ERROR:boot device didn't show up after 30 seconds...
                Falling back to interactive prompt
                You can try to fix the problem manually, log out when you finished /bin/sh: can't access tty;
                job control turned off
    [ramfs /]#
    [ramfs /]#
    Any ideas?
    Thanks!

    heleos wrote:
    This line:
    Waiting for 30 seconds for device /dev/disk/by-label/ARCH-201005...
    You need to make sure that's the exact name of your iso disc. If it's not, it isn't a big deal. I've run into problems on this with my arch USB drive.
    Once you get to the [ramfs /]# prompt, type in:
    mv /dev/disk/by-label/(insert name of the current cd here) /dev/disk/by-label/ARCH-201005
    exit
    It should then be able to boot from the cd
    did:
    mv /dev/disk/by-label/(insert name of the current cd here) /dev/disk/by-label/ARCH-201005
    exit
    shows:
    ERROR: mounting was successful, but /bootmnt/isomounts file doex not exist.
    Then I checked:
    cd /bootmnt
    ls
    archlinux-2010.05-core-i686.iso
    exit
    shows another problem /boot/init does not exist
    exit
    kernel panic!

  • How to install Arch for dual-boot with Win 7 (on 2 hard drives)?

    Hello,
    the TLDR first: how exactly should I proceed when setting up GRUB for 2 hard drives to dual-boot Arch (64 bit)and Win 7 (64 bit)?
    Long version: So, I have the following hard drive & partition layout:
    On my first hard drive (250 GB big) I have: Win 7 64 bit, all the programs for Windows and of course the EFI partition
    My second hard drive is 1 TB big and formatted in NTFS and it only contains data. It has 2 partitions, one is about 750 GB big and used for simple storage.
    Sidenote 1: sometimes my disk management (Windows' own gparted) shows either the little disk or the big one as disk 0. Don't know what exactly this means, but I have never ever experienced any problems whatsoever during use.
    Sidenote 2: the UEFI motherboard (ASRock H67M) cannot boot into Legacy mode.
    I want to install Arch on a ~200 GB partition on the second hard drive (the one with 1 TB). (click here if you want to see a screenshot) I am posting this because I am confused with how exactly I should deal with the whole "2 hdds & UEFI" thing.
    So how exactly should I proceed when setting up GRUB for this setup?
    For partitioning I suppose I would have to use fdisk or cgdisk. I used cgdisk before and found it to be straightforward. Then, because I have experienced my fair share of problems with rEFInd, I'd like to use GRUB.
    Last edited by jones (2013-06-29 14:36:56)

    First thing you should do is become familiar with your motherboard.
    http://www.asrock.com/mb/manual.asp?Model=H67M
    This will probably help you out in understanding the sidenote 1 thingie (hdd's on sata3 and/or sata2 connectors)
    As on sidenote 2, according to the manual it seems to be possible to boot legacy mode,  see Storage Configuration.

  • [Success] Dual Booting Arch and Windows 7 [Advice / Confirmation]

    So I have been trying to get Starcraft II to work with wine and no luck.
    I have decided to install windows back on my computer, besides it might come in handy since I'm heading back to school soon.
    Anyways I have tried dual booting arch and windows in the past, and my results have never been stable.
    Today I will try using the program gparted.
    Let me give you my thoughts on how I plan to go through this and please give me some advice so I don't loose everything I have worked for on my linux box
    1.Currently I have two hard drives, one for all my main programs and one for my media files (mounting usb, dvd, etc, and it actually has no files in it xD).
       I plan to use gparted to re-size my second harddrive (media drive), create an extended partition, and a logical ntfs partition within it.
    2.I pop in my windows cd that I recieved with my laptop and install it on the space I have partitioned for windows.
    3. If my grub gets wiped out my windows (which I hope it doesn't not sure how the MBR stuff works) I insert a Ubuntu live cd and do
    sudo grub
    > root (hd0,0)
    > setup (hd0)
    > exit
    4.Configure grub to boot windows 7.
    5.Be happy with no headache.
    SO....
    If someone with past experience with dual booting windows and arch could please give me some advice, as I do not want to lose all my data, start over, and have another headache.
    I know I must learn to backup arch, which I will before september.
    But if anyone has any protips, or sees a flaw in my plan please point it out!!!
    Thank you very much for taking the time to read this and even more if advice has been given to boost my confidence!
    For now I will wait
    Thank you fellow archies.
    Last edited by Jabrick (2011-07-03 01:29:36)

    satanselbow wrote:
    1) Windows must be installed to a primary partition - attempting to install it to an logical partition will result in an epic fail
    2) Physically disconnect the harddrive you do not want windows on as windows typically installs the bootloader on the 1st hardisk (ie /sda) regardless of installation drive (ie /sdb)
    3 / 4) Complete the windows installation then reattached your Arch drive and edit /boot/grub/menu.lst (as root) pointing the W7 entry to (hd1,0) - no need to reinstall grub
    5) Hey it's windows - anything could happen
    If you create an NTFS partition right at the beginning of the the drive before you start the W7 install you can prevent it greedily using up 2 of you 4 primary partitions - I would also completely update you new W7 installation past SP1 before reattaching the other drive to further prevent W7 going mental
    satanselbow thank you so much!
    Everything works great I had no stumbles, and I hope no problems in the future!!
    I will post exactly what I did in case someone has the same issue.
    1. Partition you're secondary harddrive as primary ntfs with gparted
    2. Reboot, and if you get a file system check error, check you're udev rules. (For my case in particular I had to change the udev rules I got for auto mounting usb, ext harddrive, etc.
    3.Power off your computer and physically remove the harddrive that contains all your linux goodies
    4. Plug in your windows cd and install in the partition you created
    5. Update your windows OS
    6. Plug in Ubuntu live CD and reboot
    7. Use commands to get grub to overwrite the windows boot loader (In my case I put grub everyone hd0,0 hd0,1 just to be sure, but you might want to do things cleaner)
    8. Reboot and see if grub loads up
    9. Use Ubuntu live CD again and launch Gparted, select the boot to your extra linux space (if you had one, not sure if this is needed)
    10. Plug in your linux harddrive and reconfigure /boot/grub/menu.lst and your good to go
    Once again shout outs to satanselbow!!! For without him I might've failed brutally!
    Cheers!

  • Dual Boot Arch and Windows 8 from Windows Boot

    I tried doing some research before posting but haven't had too much luck. I just upgraded to Windows 8, but after having a nice experience with Arch previously on VirtualBox, I thought I would dual boot this time... and this is my first post.
    I followed the Beginners Installation Guide and the Win Arch Dual Boot and then did some reading on setting up the BCD manager in Windows following from the link in the Arch Wiki.
    My setup is as follows
    /dev/sda1 = Windows (>150 GB)
    /dev/sda2 = /boot (100 MB)
    /dev/sda3 = / (15 GB)
    /dev/sda5 = /var (8 GB)
    /dev/sda6 = /home (~65 GB)
    The linux portions are all ext4, but after reading the above article on the BCD Manager, I realized I left out the FAT32 partition so Windows can see it (note... if I get this to work, I will try and update the wiki to mention that).
    So the problem is I used up all my hard drive space and need to make room for the FAT32 section. I was wondering
    a) how to resize the /home partition to make room for the FAT32 partition
    or
    b)if I were to delete the /home entirely and just add an sda4 (FAT32) and sda6 (/home) (since I forgot to use sda4), do I need to go through the pacstrap process again, or generate an fstab again, or just edit the fstab manually?
    or
    c) there is a possibility that I missed something where I shouldn't need to have an FAT32 section.
    Thanks for the help!

    Thanks for the help!
    I was able to use GParted to add that extra partition and was able to generate the proper file for Windows to see, and then copy over to the C: drive (which is what's missing from the Wiki).
    I unfortunately had some issues that kept me starting in emergency mode, so after some time spent in the fstab section and setting the right filesystems, I was able to get it to work!

  • Windows 7 / Arch Linux Dual-Boot - win7 keeps changing the boot flag!

    Greetings!
    Its been a long while since I had to dual-boot with windows on the same machine.
    I 've installed windows 7 and then arch linux and installed GRUB on my sda1 where the /boot partitions is located at.
    I've managed to boot into arch successfully and later into windows also successfully.... but when i tried to boot into arch again I wasn't greeted with the typical GRUB boot screen... grub was ignored completely and win7 booting began as if it was the only OS in my hard drive.
    I've used the gparted live cd and realized that the boot flag has changed from my /boot partition (sda1) to my windows partition (sda2). I've changed it back and I was able to boot into arch again. but when I rebooted to win7 and then to arch the same thing has happened. The boot flag keeps changing whenever im rebooting into windows making impossible for me to boot with GRUB unles I manually change the flag again.
    I haven't installed GRUB into the MBR because I hear  it is a bad practice when you have a windows OS also installed (something with service packs not being able to install, among other things). I also don't want to use the easyBCD method to boot arch using the win7 loader.
    here is the partition scheme on my 500gb sata drive :
    /dev/sda1      /boot                 250mb    (primary)
    /dev/sda2      windows 7 ntfs   100gb     (primary)
    /dev/sda3      swap                  4gb        (primary)
    /dev/sda5     /                       16gb        (logical)
    /dev/sda6     /var                   8gb         (logical)
    /dev/sda7     /home               the rest of the hd space   (logical)
    What am I doing wrong and how do i prevent the boot flag from changing?
    Thanks in advance for any help you can give me!
    Last edited by kamigr (2010-01-12 14:35:07)

    naequs wrote:
    bumping this because i have the EXACT same problem !
    however i installed grub to sda1 because i didnt want my installs to mess with each other  (not that ive had any problems with grub in mbr though...) .
    this just looked cleaner to me.
    if anyone has figured out how to prevent windows from automagically changing the bootgflag, id like to know !
    but maybe this is a question more suitable for a windoze forum
    tia
    /edit: seriously, ive been searching the net for some time now, including irc chans and there seems to be no solution to this ! all threads similar to this just end dead !
    i hate how windows claims to own my computer!
    1. don't necrobump
    2. as mentioned in the thread, just install grub to mbr and chainload windows. It works just fine and is the easiest way to get it working reliable.

  • Windows 7 and Arch linux dual boot problem

    hey guys I had an issue with windows 7 dual booted with arch and i was just wondering my windows 7 crashed. I had Reinstalled windows OS and all my partitions are set up but now when I try to boot up arch I cant at all cause windows Boot took over and i have no way of getting into arch is there anyway i can fix this or maybe reinstall arch without loseing my home folder with all my data, or is there just and easyer way to fix this issue im stuck.  thank you all for your support as i am a noob

    You need to re-install grub. When you reinstalled Windows it will overwrite grub preventing you booting Arch. You'll need to boot from a liveCD and chroot into your Arch installation. details for recovering grub are in the wiki - https://wiki.archlinux.org/index.php/GR … stallation

  • [solved] Can't set up dual boot Arch + Win 7 on separated disks

    Hello everybody,
    I'm new to this amazing project as I installed Arch just two days ago (and everything works like a charm in linux).
    Anyway I have a problem and I'm very sorry to bother you with another question such this, but I tried everything and I accurately read the wiki.
    The problem is that I can't manage to create a dual boot in grub with Arch on the first sata disk and Windows 7 on the second disk.
    Before trying Arch I used ubuntu 10.10 dual boot with the same Windows 7 on the same secondary disk (the pc is a dell XPS L702X 17' laptop with, of course, dual disk bay) using GRUB2 which was automatically installed during ubuntu installation.
    I tried to chainload windows disk in grub using map command to let windows think it's on the primary disk and not on second one.
    At start I just had "BOOTMGR missing" error, then I put windows disk as primary removing arch disk and I repaired its bootloader: windows could boot then.
    When I substituted disks and tried to boot, Windows 7 loading screen appeared and immediately I had a blue screen of death (or something similar) which anyway disappeared in less than a second (I was not able to read anything from that screen)
    Now, when I try to boot windows either with grub or trying to enable boot straight from second hard drive in BIOS, I receive an error stating that it is necessary to use the windows repair disk to fix problems.
    My question is: how can I finally fix this situation?
    It would be quite important, for me, to not format neither of the disks, and I could even accept to renounce booting windows from grub as it would be ok even changing BIOS priority every time I need to use windows 7.
    I really apologize for my annoying question but I really tried everything I could find without success; sorry for my poor english, too.
    Anyway, this distribution seems just amazing to me! Thanks for your time.
    Luca
    Last edited by enigmatichus (2011-12-27 02:05:14)

    It worked!!! Actually I don't know what changed, I proceeded removing the first disk (arch) WITHOUT, this time, changing the position of the windows disk. I used windows 7 DVD to repair the second disk. It tooks several attempts since it failed without specifying the problem. Eventually, I was able to boot windows 7, everything worked. Then, I plugged the primary linux hard drive and booted into arch, where I used "grub-install /dev/sda" as root. It executed without errors, but when I checked menu.lst file, surprisingly I discovered that it was not changed at all by grub-install.
    Anyway it must have detected windows on /dev/sdb, since I am now able to boot both arch and windows without problems.
    It was a weird situation, but anyway it worked well!! Thank you for the support, I really appreciate!
    Luca

  • Can you dual-boot arch linux with Windows 7 ?

    Here is my current dilemna; I have Windows still on my netbook for the only reason that I use it for gaming .
    Other than that I have Linux Mint dual-booted with it .
    Now my question is, can I just instruct arch to install into the already existing linux partition, formatting it and making it it's home, or do I have to delete it, thus rendering my computer inoperable until I successfully dualboot arch with it ? o_O
    Or should I take a different approach altogether, and triple boot my netbook with arch, mint, and windows, and then from there delete the mint partition and allocate the free space accordingly using easeus partition master (another reason I still have windows) ?
    Please help . D:
    PS. I HATE Windows but only kept it because apparently not everyone shares the Linux view of technology . >.>
    Last edited by AstarothMastemaRavenclaw (2011-02-06 16:42:35)

    if youre happy with your partition layout u can just install arch ofc.
    while installing you will be prompted to select mount points and create filesystems ( you can skip the partition step )
    select your current / partition for, well, /
    and /home for.. /home.
    the installer will then create new filesystems there (formatting those partitions) and set mountpoints

  • Dual-Booting Arch Linux and Windows 7

    Hello,
    I am attempting to set up a dual-boot configuration with Windows 7 (installed first), and Arch Linux. When I went to install, I read in the documentation that the AIF doesn't support installing GRUB to a separate partition other than the MBR on the drive. I want to install GRUB separate from the Windows MBR so I can use Easy BCD to chainload the two bootloaders (i.e. installing GRUB on /dev/sda5 instead of /dev/sda). I went through the installation process and tried to install GRUB manually via the instructions given in the documentation. But when I went to boot Arch, I was greeted with the GRUB shell instead of the boot menu. What did I do wrong? And is there any easier way to install Arch this way given that I do not want to overwrite the Windows bootloader? I went ahead and wiped the Linux partitions on my drive, so I am going to do the install again once I have some suggestions.
    Thanks!

    joshuawagner147 wrote:
    hyperreal_logic wrote:
    To the original poster: 
    If you want to chainload both Windows and Arch Linux using your preferred boot manager, you'd have to create a separate 'boot' partition when installing Arch Linux.  When you are in the Arch installation, create a separate partition of about 500 MB, then create the root partition of whatever size you need, and then create swap partition if necessary.  So your HD would resemble something like this:  /dev/sda5=boot partition of 500 MB; /dev/sda6=root partition of ## MB/GB; and /dev/sda7=swap partition of (RAM * 2) GB.  Then continue with the Arch installation procedure until you get to the end where you are prompted to install a boot loader.  Choose GRUB, and install it to the 'boot' partition on /dev/sda5.  This will allow you to chainload Arch via Easy BCD.  What happens is Easy BCD will pass the message to GRUB on /dev/sda5, and GRUB will then load your Arch root system on /dev/sda6. 
    I hope this helps.  I support your choice in using Easy BCD to chainload Windows and Linux.  Software is, after all, about choice.  Furthermore, you've presented a good reason to use Easy BCD as the main boot loader, which is to save you from unnecessary tinkering with the GRUB shell or Live CDs and whatnot.  However, if you don't want to create the separate 'boot' partition, then you'll have no other choice but to use GRUB or syslinux on the MBR.
    Thanks. Yes...I followed the procedure just like you described. I figured that my problem was that I didn't create a separate /boot partition, so I reformatted the partitions I created and redid the install. However, I was not able to install GRUB in the AIF; I had to reboot into the Live CD and install GRUB to my boot partition manually. All is good now as I have a working dual-boot now. Arch Linux has been a sort of learning curve for me, but I have gained valuable knowledge and experience by using this distro.
    Yes. I didn't want to mess with GRUB or NTLDR. I know that reinstalling NTLDR is not that difficult, but I didn't want to mess with it at all. It just seemed easier to chainload GRUB to NTLDR using EasyBCD. I'm a sort of "distro-hopper" anyhow, and using this method allows me to cleanly remove any distro I install without having to mess with GRUB or reinstalling NTLDR.
    Thanks!
    Glad to hear!  Yes, Arch Linux is a wonderful distribution, and one of my favorites.  It's great for not-so-newbie beginners to learn from.  pacman is one of my favorite package managers, as there is always the latest stable software available in the Arch repos.  Glad everything worked out.  Have fun with Arch!

  • Dual boot Arch and Windows XP (arch installed first) [solved]

    I recently moved over to arch from Ubuntu, and would like to install Windows XP so that I can dual-boot between the two. However, my arch install created four partitions on my disk, and I can not create another one.
    I would rather not have to reinstall arch, as setting it back up would take days on my current network connection. Is this possible? While I have installed XP over Ubuntu in the past (and am more than able to reform the MBR after the XP install) I have absolutely no experience with disk-partitioning, so concise instructions would be very much appreciated.
    errata: my laptop has 4 gigs of RAM, so I don't think I need the SWAP partition. I am hesitant to delete it outright however.
    this is a Gparted screenshot, running off of a Ubuntu live CD. The 60 gigs of unallocated space is where I was hoping to install windows.
    Last edited by spotdart (2009-02-05 17:13:55)

    What's on /dev/sda4?  If you can blow away the last partition, turn the whole thing into an extended partition and then you can set up as many logical partitions as you want inside the extended partition.  I suppose Arch is probably on sda4 and if that is the case you could move arch to sda3 first--there are lots of posts in the forum about how to move an installation of arch from one place to another.
    Edit: Beat to the punch again.  Yeah like he said you might want to delete the swap partition and then incorporate it into the 1st or third partitions so you can free up that last one.
    Last edited by bgc1954 (2009-02-05 15:27:21)

  • [SOLVED] Dual-boot Arch/Windows - 2 hard drives

    Hi Everyone
    I've just installed Arch and I'm having a bit of a problem dual-booting between Arch and Windows XP, which are each on a seperate Hard drive.
    I've done this successfully before with Mepis Linux and Windows XP, but for some reason it's not working this time.   
    The difference is that I've recently purchased a new computer and both Windows and Arch are on SATA drives whereas last time they were both on IDE drives.  Also I'm not sure whether or not to enable SATA AHCI mode in the BIOS (apparently it doesn't work with XP anyways), or SATA port 0-3 Native mode.  Although I've tried all possible combinations and it doesn't seem to work at all.
    Here is my menu.lst file:
    # (0) Arch Linux
    title  Arch Linux
    root   (hd0,0)
    kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/0df05d3b-537c-4576-ad36-1f90a6b01ec0 ro vga=773
    initrd /boot/kernel26.img
    # (1) Windows
    title Windows
    rootnoverify (hd1,0)
    makeactive
    chainloader +1
    When I boot into Arch from Grub it works fine,  but when I try to boot into Windows from Grub, I get this:
    rootnoverify (hd1,0)
    makeactive
    chainloader +1
    and then nothing....No error message or anything. It just hangs.  Does anyone have any ideas as to what's happening? Thanks in advance.
    edit:  It seems I solved the problem by adding these lines to the menu.lst file:
    map (hd0) (hd1)
    map (hd1) (hd0)
    root (hd1,0)
    I can now boot into either Arch or Windows from the Grub menu
    Last edited by axle (2008-09-30 02:35:54)

    This is a question that can very easily be answered by doing a simple google serach.  Google is your friend.  I suggest you start there and come back if you run into issues.

Maybe you are looking for