Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
{need help,about the dual boot ,urgent} solved!!!
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
bxjy
Tux's lil' helper
Tux's lil' helper


Joined: 20 Feb 2006
Posts: 123

PostPosted: Mon Apr 17, 2006 4:38 pm    Post subject: {need help,about the dual boot ,urgent} solved!!! Reply with quote

I have installed gentoo first with followed partition:
hda1* ntfs
hda2* ext2
hda3 swap
hda4 extend
hda5 ext3
hda6 ntfs
hda7 ntfs
hda8 ntfs

after successfull installation of gentoo, i tried to install windows,but i made a mistake, because i take it for granted to directly install windows in hda1, and the * of hda2 was gone, when in livecd to have a check why the grub did not appear as i was expecting.
And i changed hda2 to hda2*, but it did not help .
anyone can help me to recover to start gentoo?
thanks


Last edited by bxjy on Mon Apr 17, 2006 5:15 pm; edited 1 time in total
Back to top
View user's profile Send private message
wmgoree
Apprentice
Apprentice


Joined: 08 Aug 2003
Posts: 246
Location: Alexandria, VA

PostPosted: Mon Apr 17, 2006 4:51 pm    Post subject: Don't worry Reply with quote

I'm I'm understanding you, it's not as bad as it seems.

If you install Windows after Linux, Windows will overwrite the MBR, including grub (or whatever bootloader you installed). It will also set its own partition as bootable.

This is irritating, but it's very easy to fix. First off, grub doesn't really care if a partition is flagged as bootable on most hardware, so you probably don't even need to worry about it. But, to change that, boot to a live cd, fdisk your disk, and toggle the flag.

As far as the MBR goes, this is also very easy to fix. To get grub back to being your bootloader, once again boot to the livecd. Mount all of your gentoo partitions just like you did during the install. Then run
Code:

chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile


just like you did before. Finally run
Code:

grub
> root(hd0,1)
> setup(hd0)


And you should have grub back the next time you reboot.
_________________
vi? *snicker* it doesn't even include a mail reader...
Back to top
View user's profile Send private message
bxjy
Tux's lil' helper
Tux's lil' helper


Joined: 20 Feb 2006
Posts: 123

PostPosted: Mon Apr 17, 2006 4:58 pm    Post subject: Reply with quote

thanks for your reply, I try it now
Back to top
View user's profile Send private message
bxjy
Tux's lil' helper
Tux's lil' helper


Joined: 20 Feb 2006
Posts: 123

PostPosted: Mon Apr 17, 2006 5:14 pm    Post subject: Reply with quote

thanks,grub is back
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