You are not logged in.

#1 2011-04-02 20:26:14

kdotj
Member
Registered: 2010-09-12
Posts: 24

[SOLVED] I messed up with GRUB...

OK, I've made a mistake...

I've just installed Arch on my laptop, dual booting with Windows 7. However, for some reason (me being silly) I reformatted the Windows boot partition to Ext2 and thus wiping it clean. This partition now is the /boot partition for Arch. However, the obvious problem I have is that I can't boot into Windows.... is there any "easy" way to fix this? I have read posts about running the recovery tool from the Windows 7 disc, which I can do, but will it reformat the partition that GRUB now resides on and use it for its own boot manager?

Here is my set up as it is, 1 HDD

[sda]
sda1 = /boot
sda2 = Windows 7
sda3 = Data partition
sda4 = Extended
...sda5 = Linux Swap
...sda6 = /root for Arch


Any help is greatly appreciated!
Thanks in advance

Last edited by kdotj (2011-04-04 13:44:19)

Offline

#2 2011-04-02 22:06:13

joseperezc
Member
Registered: 2011-03-02
Posts: 80

Re: [SOLVED] I messed up with GRUB...

the easiest way is to avoid windows an use only arch and wine for some windows apps
because if you formated windows partition you have lost ALL info in windows partition which now isn't windows partition anymore neutral
Seriously,  the big total of apps for windows have a linux applicalion (or many) that do the same things. and if it is a game you can try using it in wine.


Hope to be helpfull

Offline

#3 2011-04-02 22:13:47

kdotj
Member
Registered: 2010-09-12
Posts: 24

Re: [SOLVED] I messed up with GRUB...

Thanks for the reply.
It's not the Windows partition I have formatted, just the small 100mb partition that Windows created for its booting (so I've read). I still have my Windows partition intact.

However, when I really think about it, all I really "need" Windows for is iTunes for my iPhone. I think I will setup Windows inside VirtualBox for this though....

Thanks!

Offline

#4 2011-04-02 22:24:10

joseperezc
Member
Registered: 2011-03-02
Posts: 80

Re: [SOLVED] I messed up with GRUB...


Hope to be helpfull

Offline

#5 2011-04-03 18:34:27

shulamy
Member
From: israel
Registered: 2010-09-11
Posts: 454

Re: [SOLVED] I messed up with GRUB...

you can allways use testdisk to try recover the partition.

http://www.cgsecurity.org

ezik

Offline

#6 2011-04-03 23:09:06

kdotj
Member
Registered: 2010-09-12
Posts: 24

Re: [SOLVED] I messed up with GRUB...

Thanks for all the help guys.
I think what I'm going to do is reformat the partition that Windows7 resides on, and use it for Arch as more space.

My question is, after I reformat the partition, how do I get it to automatically mount at boot?
Do I just edit my fstab file?

Say I want to mount it to /home/foo/bar ... Do I just add the line like so:

/dev/sda2 /home/foo/bar ext4 defaults 0 1


(assuming that the partition is sda2, and that I have it set to "by device")

Thanks!

Offline

#7 2011-04-04 13:44:00

kdotj
Member
Registered: 2010-09-12
Posts: 24

Re: [SOLVED] I messed up with GRUB...

Sorted it.
Thanks again for all the help guys

Offline

Board footer

Powered by FluxBB