Configuring A Dual Boot Arch And Fedora Installation

I have setup a dual boot system with Fedora 21 and Arch Linux. The problem is that Fedora doesn't see my encrypted Arch installation. The installations are on separate partitions and do not share anything apart from hard disk space. I have run the following commands as root in Fedora:

Code:
grub2-install /dev/sda

Code:
os-prober

Code:
grub2-mkconfig -o /boot/grub2/grub.cfg

When I rebooted, Fedora was the only OS entry showing in the GRUB menu.

There was a suggestion from one of the members of the Arch forums that I should write the entry myself into /etc/grub.d/40_custom and then re-build the grub configuration or take the Arch entry from Arch's /boot/grub/grub.cfg and just paste it into the 40_custom in Fedora and rebuild.

How do I boot from a live Arch USB stick into the installed Arch and do as stated above? How would it work? Thanks in advance for your replies.


Similar Content



Dual Boot Windows7 With With Centos7

hiiii all

I had installed Windows 7 on /dev/sda1 and /dev/sda2 and then I installed Centos 7.
Since then I cant find Windows entry in the Grub.
And i had tried to use all kind of solution found on the net I still cant see any entry.
I had edited 40_custom script adding:

cat <<EOF
menuentry "windows 7" {
insmod part_msdos
insmod ntfs
set root='hd0,msdos1'
search --no-floppy --fs-uuid --set=root FCDAE998DAE95006
chainloader +1
}
EOF

then this command grub2-mkconfig -o /boot/grub2/grub2.cfg

[root@localhost]# grub2-mkconfig -o /boot/grub2/grub2.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.10.0-123.el7.x86_64
Found initrd image: /boot/initramfs-3.10.0-123.el7.x86_64.img
Found linux image: /boot/vmlinuz-0-rescue-93890f189dec4b309c004fdce969ca5a
Found initrd image: /boot/initramfs-0-rescue-93890f189dec4b309c004fdce969ca5a.img

then this
[root@localhost]# tail -10 /boot/grub2/grub.cfg
# 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 ###
[root@localhost]#


Still cant find windows in grub
please help me with this guys
thanks

How To Fix Grub Rescue > Unknown Filesystem ??

Please Help,

I have a Windows 7 and Fedora 20 dual boot pc .
Today i deleted the fedora partition from windows disk management and then restarted my pc.
Now i am stuck in the 'grub rescue > ' screen ...... It is showing 'no such partition ' , after searching through the internet i tried these commands......

grub rescue > set boot=(hd0,msdos6)

grub rescue> set prefix=(hd0,msdos6)/*boot/grub

grub rescue> insmod normal (after this line ,i am getting the error , grub rescue > unknown filesystem)

grub rescue> normal

Don't know what to do ,but i want to get back to the windows os first ,also i don't have the windows or fedora live cd . My Windows recovery is stored in my pc hard drive....... plzz help so that i can resolve this issue

How Do I Dual Boot Fedora 17 And Fedora 21 Using Grub?

I am going to attempt to dual boot both fedora 17 and fedora 21, as my printer can print from FC17 but not from FC21 - posted about this issue in the hardware forum.

I am rather surprised at the level of competence of people posting here, even though it says newbie forum - so I think that this is possibly where I belong too.

I have set up grub to see my fedora 17 kernel - the only problem is, that the root filesystem needs to belong to the fedora 17 kernel as opposed to the fedora 21 kernel. I can't see myself changing fc 21's fstab to have the old lv root device mounted - as /etc belongs to the root partition of fc 21.

I did change the device to reflect the old kernel's root lv partition in the /etc/fstab (fc17), but this doesn't seem to do it.

Does someone know what I am missing?

Can't Get Into Desktop (KDE)

Hello all,

I was screwin' around with Arch Linux. I'm interested in it but not more interested than my Kubuntu running KDStudio.

I didn't realize how much prep. their is and the fact that Arch does no prep. Anyway, I stopped trying to get it to run when I realized I had to pre-partition and set up a swap.

Now however grub does not boot into the KDE desktop. It boots into Kubuntu but with no desktop.

Does anyone know how to fix this, I would not like to have to re-install the whole system. I think there must be a fix, I'm not sure exactly what Arch did, gparted doesn't show anything.

Grub Directory Has Disappeared - Can't Reinstall Grub

I have tried installing a Ubuntu OS onto a partition (sda3).
When I had difficulties with the install, I decided to delete everything from the partition.

But now when I boot the computer, I get taken to the 'grub rescue' prompt.
I have tried to find grub in my other partitions (sda1 and sda2).
However, the command 'ls (hd0,msdos1)/' for example, does not show a grub directory.
It must've transferred grub to sda3 somehow and now I've deleted it.

I have debian live USB and am trying to install grub with:
Code:
apt-get install-grub /dev/sda

But I get the error message:
Code:
bash: grub-install: command not found

So now I don't know what's going on. Can anyone please help?

Update Grub Command Not Working

I have made a change to GRUB2 bootloader in etc/default/grub.
Now I need to run 'update grub' for the change to take effect.
However, the 'update grub' command on the terminal is giving this error message:
Code:
root@debian:/# update grub
bash: update: command not found

Can someone please explain why this command is no longer working?

I've had to make a change to grub because I tried to install a new distro which meant I had to alter grub.
The install wasn't successful so I deleted the grub file and then re-installed it.
The re-installed grub needs a change so I can get sound on my pc.
However, I can't add these changes because the 'update grub' command doesn't work.

I've checked the grub file with another debian distro and they are both the same.
So now I don't know if I need to check if a different grub file is the problem or anything else.
Can someone help?

Dual Boot Debian +W7:recovering Access To Encrypted Partitions

Hi

My machine was a dual boot debain + W7. The debian had LUKS encryption and LVM.

I had to re-install W7 and now there is no access to the grub menu and of course to the debian installation.

I tried "boot repair disk"
http://sourceforge.net/projects/boot-repair-cd/
, but it couldnt access the encrypted volume. It did generate the following output:
paste.ubuntu.com/10591353

Would appreciate help how to get the boot repair disk to access the encrypted partition and recover the grub menu

Thanks

HOW TO: Make Antergos (Arch) Boot OS X DVD To Restore Mac For Dual-Booting

I clean installed Antergos 64bit (GNOME 3) on my iMac, and now need to boot the OS X DVD that came with the computer to format and restore. The ultimate goal is to keep this machine for dual-booting (which I can take care of) since there are simply things I need from both operating systems. If only Antergos or GRUB would boot from the DVD to kick-off the process.


What have you done so far?

It made sense to install rEFInd on this machine, since that was the program that helped OS X boot the Antergos image from my USB drive in the first place.

I followed the steps laid out in the Arch Wiki. First, by using the refind-install command Then used the refind-install --usedefault /dev/sda1 command to "also install rEFInd to the default/fallback boot path".
I shutdown, and booted the Mac up in hopes to catch rEFInd's splash screen, but to no avail. Only the Antergos/GRUB screen, and then into Antergos as usual.
(This began a hopeless cycle of re-installing, and rebooting which lasted quite some time.)

Afterwards, I tried manually installing rEFInd using the following commands from the Arch Wiki:
Quote:
cp /usr/share/refind/refind_x64.efi $esp/EFI/refind/
efibootmgr -c -d /dev/sda -p 1 -l /EFI/refind/refind_x64.efi -L "rEFInd Boot Manager"
Also, I installed the mactel-boot utility from the AUR.

And according to the efibootmgr utility, rEFInd was now first in the boot order:

Quote:
BootCurrent: 0002
BootOrder: 0004,0003,0002,0080,0001,0000
Boot0000* ubuntu
Boot0001* rEFInd Boot Manager
Boot0002* antergos_grub
Boot0003* rEFInd Boot Manager
Boot0004* rEFInd Boot Manager
Boot0080* Mac OS X
Boot0081* Recovery OS
BootFFFF*
After shutdown/power-on, the machine displayed alot of white-colored "clearing node" text, before tragically booting once again into Antergos/GRUB.

I've also read How-to Geek's guide on re-installing OS X on Mac, yet the tutorial never mentions how to restore it from Linux.


Conclusion:

What piece of this puzzle am I missing? Would creating a LiveUSB of OS X be an easier route than this DVD? Is there a GRUB command I'm not aware of that can change the boot order?

I'm almost certain rEFInd is not the only way Linux would be able to boot this OS X DVD, it's just the only way I've known how so far.

I can clearly see the Mac OS X boot option in efibootmgr as Boot0080*, so at least it's being recognized. When Antergos boots to the desktop, the OS X DVD is displayed as "WindowsSupport" if that helps.
I'm out of my element and am at an impasse, your help will be appreciated.

PLEASE & THANK YOU

Installing Arch Linux ?

Hello, I have a laptop with no operating system and I want to put the Arch OS on it. How do I go about doing that? Do I just burn the ISO on a CD and stick it in while I boot up?

Thank you...

Centos 6 Grub Issue

Machine is booted into Grub Menu
I am using rescue linux

by doing fdisk -l

it shows
Disk /dev/sda : bla bla bla
Device Boot
/dev/sda1 *

so i install grub using this command in shell

grub-install /dev/sda1

it shows

installation finished. No error reported
This content of the device map /boot/grub/device.map


After re-boot it again shows grub menu