View previous topic :: View next topic |
Author |
Message |
bxjy Tux's lil' helper
Joined: 20 Feb 2006 Posts: 123
|
Posted: Mon Apr 17, 2006 4:38 pm Post subject: {need help,about the dual boot ,urgent} solved!!! |
|
|
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 |
|
|
wmgoree Apprentice
Joined: 08 Aug 2003 Posts: 246 Location: Alexandria, VA
|
Posted: Mon Apr 17, 2006 4:51 pm Post subject: Don't worry |
|
|
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 |
|
|
bxjy Tux's lil' helper
Joined: 20 Feb 2006 Posts: 123
|
Posted: Mon Apr 17, 2006 4:58 pm Post subject: |
|
|
thanks for your reply, I try it now |
|
Back to top |
|
|
bxjy Tux's lil' helper
Joined: 20 Feb 2006 Posts: 123
|
Posted: Mon Apr 17, 2006 5:14 pm Post subject: |
|
|
thanks,grub is back |
|
Back to top |
|
|
|
|
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
|
|