LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   help with grub (https://www.linuxquestions.org/questions/linux-newbie-8/help-with-grub-75984/)

sorcerer980 07-25-2003 08:44 PM

help with grub
 
I am dual booting my system with RH9 and win2k. I was using win2k and merged 2 partitions on my disk drive using partitionmagic 8. after i did that i restarted the computer and the grub command line came up. i cant boot into any OS. how do i boot into win2k and rh9? must i reinstall GRUB now? if so how do i do that? i need to fix this asap. please help thanks.

youngstorm 07-25-2003 08:58 PM

OK, tell me your exact partition layout and what was on each partition.
Tell me which partitions you merged.
I need all the gory details.

Michael

Mathieu 07-25-2003 09:05 PM

Booting into Rescue Mode
http://www.redhat.com/docs/manuals/l...mode-boot.html

Re-installing GRUB
Code:

grub-install /dev/hda

sorcerer980 07-25-2003 09:15 PM

partition layout
 
i have 1 hard drive

/dev/hda1 ntfs 3GB has win2k on it
/dev/hda2 (extended)
/dev/hda5 ntfs 5GB
/dev/hda6 ntfs 4 GB
/dev/hda7 ntfs 40GB
/dev/hda9 ext3 Linux /boot 100MB
/dev/hda10 ext3 Linux / 12GB
/dev/hda11 swap Linux 510 mb
/dev/hda8 vfat 5GB


i attempted in win2k to merge partitions hda5 to include hda6 in partitionmagic 8.

youngstorm 07-25-2003 09:46 PM

My guess is that merging part. 5 and 6 would cause all upper part. numbers
to change. For example /boot should now be on part. 8. Use your Linux
rescue disk to boot up and use fdisk to look at the partitions and see
if im right. If so, open grub.conf and make the appropreate changes.
If that does not work you may need to you as Mathieu said and reinstall
grub. If you need more help just ask. I may not be on my comp. again till
tomorrow around 1:00.

Michael

sorcerer980 07-26-2003 12:39 PM

So i decided to reinstall RH9 since i havent done too much work in it, however when i tried to boot into windows partitionmagic came up and said it was an error in partitioning. so i went back into rh9. now in rh9 how do i reinstall GRUB (graphically) in it? any links. thanks

youngstorm 07-26-2003 05:24 PM

can u get into Windows?
if not, boot from ur XP cd and use rescue mode to fix the MBR

sorcerer980 07-26-2003 05:56 PM

grub command line
 
i can boot into win 2k from the GRUB command line but how do i boot into RH9 from the command line? that is my problem now. please help. thanks

Mathieu 07-26-2003 07:59 PM

The following documentation will show you step by step how to boot Linux into Rescue Mode.
From there you will be able to repair GRUB.

Booting into Rescue Mode
http://www.redhat.com/docs/manuals/l...mode-boot.html


All times are GMT -5. The time now is 06:05 AM.