LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-02-2006, 07:56 PM   #1
daziplqa
Member
 
Registered: May 2006
Location: Egypt
Distribution: RedHat 9.0, Ubuntu 6.06 and Slackware 11
Posts: 54

Rep: Reputation: 15
booting problem , please help!


I have a big problem concerning the boot operation:

I have a win2000 and a Linux, and by default the win2000 is not like winXP it does not overwrite the MBR, but i was reducing the disk partitions using the Partition magic form the DOS, I used to do so and evry time I boot from the RedHat 9.0 disks and issue the following:

Code:
chroot /mnt/sysimage
vi /boot/grub/grub.conf # i change the partition numbers only as I reduce the partitions in my disk, ex: instead of being the swap @ hda7 i made it @ hda6, I used to do so as i said.
And then i remove the CD and rebooted, but this time an error occured in the gurb saying :
Code:
error 2
(this raised before showing me the choice menu)

I try the prev steps more than once but no wayout!

then i logged into the DOS andd issued (as i was needing my PC):

Code:
fdisk /mbr
after this command i was able to log into win2000 only. after completed my work on Microzeft windows I now wanna log into my lovely linux, so I ( after reading how to log into it) insert the RedHat 9.0 installation Cd and do :

Code:
chroot /mnt/sysimage
grub-install /dev/hda
but an message returned saying:
Code:
"the file /boot/grub/storage1 not read correctly"
, provided that, once ago i need to reinstall the gurb ( after installing an XP windows) and ever thing worked fine, so where is the error, please help me urgently.
 
Old 08-03-2006, 08:38 AM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: voidlinux with LXDE
Posts: 5,509

Rep: Reputation: Disabled
it sounds like you changed your sizes in the partition table so fix mbr for MS would merely point the bootloader to look at C root partition for your ntldr programs.

2) I prefer you have a live cd for the next bit but boot the RH cd and see if it has an option to open a console or open a terminal???

when in

grub.....and wait a bit for the grub to search your devices

root (hd0,Y)......as per tut where is your /boot partition in ....................grub speak



root (hd0)

if the final message is ......succeeded or success then grub is in your mbr


read my tut if you want to make a bootable floppy or a cdr or chainload from MS.......


ps....with a live cd such as knoppix you have to issue the su command to have root powers....I do not know if you need that for a RH cd sorry

Last edited by aus9; 08-03-2006 at 08:44 AM.
 
Old 08-04-2006, 07:11 PM   #3
daziplqa
Member
 
Registered: May 2006
Location: Egypt
Distribution: RedHat 9.0, Ubuntu 6.06 and Slackware 11
Posts: 54

Original Poster
Rep: Reputation: 15
Thanx alot, I retry what i do and I get it.
 
  


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 problem vijirin General 0 09-26-2005 08:29 AM
booting problem Saxu Mandriva 1 06-25-2005 09:09 AM
problem booting meelder Fedora 22 11-21-2004 09:44 PM
Booting Problem on RH 8.0 AZIMBD03 Red Hat 2 03-02-2004 12:51 PM
booting problem anikj Linux - General 9 02-26-2004 12:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:44 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