LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-25-2003, 08:44 PM   #1
sorcerer980
Member
 
Registered: Apr 2003
Location: NY, NY
Distribution: Redhat 9
Posts: 33

Rep: Reputation: 15
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.
 
Old 07-25-2003, 08:58 PM   #2
youngstorm
Member
 
Registered: May 2003
Location: USA
Distribution: Fedora 21, RHEL 5,6&7, Windoze 7
Posts: 235

Rep: Reputation: 31
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
 
Old 07-25-2003, 09:05 PM   #3
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

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

Re-installing GRUB
Code:
grub-install /dev/hda
 
Old 07-25-2003, 09:15 PM   #4
sorcerer980
Member
 
Registered: Apr 2003
Location: NY, NY
Distribution: Redhat 9
Posts: 33

Original Poster
Rep: Reputation: 15
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.
 
Old 07-25-2003, 09:46 PM   #5
youngstorm
Member
 
Registered: May 2003
Location: USA
Distribution: Fedora 21, RHEL 5,6&7, Windoze 7
Posts: 235

Rep: Reputation: 31
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

Last edited by youngstorm; 07-25-2003 at 09:47 PM.
 
Old 07-26-2003, 12:39 PM   #6
sorcerer980
Member
 
Registered: Apr 2003
Location: NY, NY
Distribution: Redhat 9
Posts: 33

Original Poster
Rep: Reputation: 15
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
 
Old 07-26-2003, 05:24 PM   #7
youngstorm
Member
 
Registered: May 2003
Location: USA
Distribution: Fedora 21, RHEL 5,6&7, Windoze 7
Posts: 235

Rep: Reputation: 31
can u get into Windows?
if not, boot from ur XP cd and use rescue mode to fix the MBR
 
Old 07-26-2003, 05:56 PM   #8
sorcerer980
Member
 
Registered: Apr 2003
Location: NY, NY
Distribution: Redhat 9
Posts: 33

Original Poster
Rep: Reputation: 15
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
 
Old 07-26-2003, 07:59 PM   #9
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
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

Last edited by Mathieu; 07-26-2003 at 08:02 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Booting of raw ISO from GRUB/LILO (though preferably GRUB) Orkie Linux - Software 28 12-15-2013 09:37 PM
Setting password on grub, wha to do after changing default values in /boot/grub/menu. sarajevo Linux - Security 1 08-17-2005 08:01 PM
Grub setup problem (/boot/grub/stage1 not found) davidas Debian 2 04-28-2004 08:13 PM
Why grub prompt after installing Grub inder Debian woody 3.0r2? velan Debian 1 04-20-2004 04:55 AM
1st HDD = RH9.0 (grub) ... How do I modify grub when adding 2nd hard disk ? Onyx^ Linux - Software 1 09-05-2003 09:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration