Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Deleted linux Partition with grub need to get to windows
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Alacrite
n00b
n00b


Joined: 10 Mar 2003
Posts: 12

PostPosted: Sat Feb 28, 2004 10:34 pm    Post subject: Deleted linux Partition with grub need to get to windows Reply with quote

Title says it all. I was messing around not thinking and I wanted to do a new linux install. I deleted the partition along with grub on it. Now I just want to get back into windows XP. Is booting from the CD the best way to do that? any other suggestions. Thanks
Jake
Back to top
View user's profile Send private message
Dillinger
Apprentice
Apprentice


Joined: 27 Jul 2003
Posts: 226
Location: Huntington Beach, Ca

PostPosted: Sat Feb 28, 2004 10:54 pm    Post subject: Reply with quote

You can boot from the Windows install cd, go into repair mode and use fixMBR (not sure if that's the correct command, there will be a list) to reinstall the Windows bootloader.
_________________
registered Linux user #338885
www.easylinuxguide.com
www.linuxforums.org
Back to top
View user's profile Send private message
oniony
n00b
n00b


Joined: 14 Feb 2003
Posts: 31
Location: United Kingdom

PostPosted: Sat Feb 28, 2004 11:41 pm    Post subject: Reply with quote

You can reinstall the Windows bootloader from the Recover Console which you can access from your Windows CD. You'll need to use the menu (I think you have to press an F-key) and select the Recovery Console option. After that use 'fixmbr' to reinstall the bootloader.

Hehe, Windows support on the Gentoo Linux forums :)

http://www.microsoft.com/windowsxp/home/using/productdoc/en/default.asp?url=/WINDOWSXP/home/using/productdoc/en/bootcons_fixmbr.asp

Paul
Back to top
View user's profile Send private message
mahir
l33t
l33t


Joined: 05 Dec 2003
Posts: 725
Location: London

PostPosted: Sun Feb 29, 2004 1:28 am    Post subject: mm Reply with quote

orrrrrrrr

u try to remember or find
what ur xp/dos/windows parition in linux terms. ie

/dev/hdaX

then when u enter
grub u do this

root (hdX,X) <<<this has to be ur XP/DOS/WINDOWS PARTITION

then do

chainloader +1

then type boot

it should boot into windows.
which will give you enough time
to go back into smindows and download the GRP gentoo LiveCD.
:)

yes
we all love Gentoo :)
_________________
"wa ma tawfiqi illah billah"
Mahir Sayar
Back to top
View user's profile Send private message
oniony
n00b
n00b


Joined: 14 Feb 2003
Posts: 31
Location: United Kingdom

PostPosted: Sun Feb 29, 2004 3:21 am    Post subject: Re: mm Reply with quote

mahir wrote:
orrrrrrrr
then when u enter
grub u do this


I think he deleted his partition with grub on it. I guess he could create a small partition just for grub though from a LiveCD or Knoppix?
Back to top
View user's profile Send private message
mahir
l33t
l33t


Joined: 05 Dec 2003
Posts: 725
Location: London

PostPosted: Sun Feb 29, 2004 8:19 am    Post subject: mm Reply with quote

if this is all u deleted...

if u deleted the partition with grub
put back in the live cd
make make it reiserfs

then go back to ur installation guide
install grub on that partition

then
go into ur /usr/src/linux dir
and do make dep make modules make modules_install make install

if you do it this way round, it should write the entry in grub.conf itself
_________________
"wa ma tawfiqi illah billah"
Mahir Sayar
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum