You are not logged in.
when you install windows after installing linux it will overwrite the MBR of your HDD. This means that you would have to "repair" the MBR which is something that you should avoid.
He no longer has an MBR...
https://wiki.archlinux.org/index.php/GPT
Jin, Jîyan, Azadî
Offline
Head_on_a_Stick
you're right. With Step 1. "Partition and format your hdd accordingly" I meant to convert your HDD partitioning scheme back from GPT to MBR.
MasterM1nd: after doing this, you should not use other start mediums than linux (e.g. ubuntu, mint and of course arch). Other tools might just change stuff in the background without informing you or change stuff as part of their normal routine thus forcing you to accept them to change stuff in order to work properly. In any those cases all work would be lost and you would need to start over again which you sureley don't want.
Offline
Well,
I booted into Arch Linux (through Live USB) and then deleted the linux partitions. After that, I converted my disk from GPT to MBR through
gdisk
and now I can boot into Windows XP through PLoP boot manager but I'll try to fix MBR of windows.
Without the PLoP boot manager it just shows the GRUB and a blinking error.. In the mean time, I'll be studying some more about Arch... Because I am not sure how my disk was converted into GPT. I didn't use any command outside Wiki (Beginners guide)...
Thank You Everyone
Offline
Don't know why but I tried once again. I was also able to find that how my HD was converted into gpt.
It converted because I used cgdisk (Beginners guide recommends to use that). But this time I used
cfdisk
and everything goes smooth...
On rebooting I got the following error:
GRUB loading.
Welcome to GRUB!
error: file '/boot/grub/i386-pc/normal.mod" not found.
Entering rescue mode...
grub rescue>
Well I searched for it and I saw many users especially those who use Ubuntu have faced it.
I found a topic similar to this case on Arch forum too. Here's the link: https://bbs.archlinux.org/viewtopic.php?id=146540
Should I follow that solution?
Note: I can enter smoothly in windows with PLoP boot manager this time
My partitions are:
/dev/sda1 = Windows
/dev/sda2 = Linux
/dev/sda3 = Swap
Output of ls on
grub rescue>
is
(hd0) (hd0,msdos3) (hd0,msdos2) (hd0,msdos1) (fd0)
I hope this problem is not very big...
I've not used any thing like grub-bios etc.
I use the following to download and install grub
pacman -S grub
grub-install --target=i386-pc --recheck /dev/sda
Last edited by MasterM1nd (2014-12-30 21:21:28)
Offline
sidenote : cgdisk is cfdisk counterpart for gpt disks, but it shouldn't convert the drive without asking first.
use cfdisk to verify which partitions have a boot flag set, ONLY /dev/sda2 should have it.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Checked it, but there was no boot flag in front of any partition.
Well I setted boot flag in front of /dev/sda2 (LINUX) but still the same error.
Offline
I use the following to download and install grub
pacman -S grub
grub-install --target=i386-pc --recheck /dev/sda
Did you run:
# grub-mkconfig -o /boot/grub/grub.cfg
https://wiki.archlinux.org/index.php/Be … therboards
cgdisk converted the partition table because you told it to do that and then completely ignored the warning it gives before blindly pressing "y"...
I say again: Arch is not suited to you -- use a different distribution.
Jin, Jîyan, Azadî
Offline
Yes I run that command too after downloading and running OS-PROBER (as mentioned in Beginners Wiki)
The below are the last 7 commands which I run
# pacman -S grub
# grub-install --target=i386-pc --recheck /dev/sda
# pacman -S os-prober
# os-prober
# grub-mkconfig -o /boot/grub/grub.cfg
# exit
# reboot
I agree that It gives the warning but the first time when I used cgdisk I was not aware of GPT and MBR/DOS... But this time I've used cfdisk
Offline