Results 1 to 10 of 11
hello , i have problem really i want help
i have new labtob dell :
1- i installed win7
2- installed red hat 5
3- installed red hat 6
until ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-05-2011 #1Just Joined!
- Join Date
- Jun 2011
- Posts
- 3
problem in grub file in red hat linux 6
hello , i have problem really i want help
i have new labtob dell :
1- i installed win7
2- installed red hat 5
3- installed red hat 6
until now no problems
after that i install win xp , after installing xp i found that win 7 ,linux 5 ,linux 6 disappear
4 - delete the partion of win xp using CD of red hat 6 and redhat 6 return back and work
the problem that i want to return back win 7 and redhat 5
please help me
- 06-05-2011 #2
You need to edit your boot menu to add Windows 7 and Redhat 5.
Glenn
Powered by Fedora 18
- 06-05-2011 #3Just Joined!
- Join Date
- Jun 2011
- Posts
- 3
i was edit the grub file but aslo not woked
- 06-05-2011 #4Trusted Penguin
- Join Date
- May 2011
- Posts
- 3,657
provide more details.
show the contents of your grub config file:
show the disk automount config file:Code:cat /etc/grub.conf
show what hard drives are attached:Code:cat /etc/fstab
for each disk found (above), list the partition table:Code:ls -d /sys/block/sd*
Code:fdisk -l /dev/sda fdisk -l /dev/sdb etc.
- 06-05-2011 #5Linux Guru
- Join Date
- Oct 2007
- Location
- Tucson AZ
- Posts
- 2,507
Windows bootloaders are backward compatible. Your installation was backward and you should always install the most recent release of windows (windows 7 in your case) after an earlier version. If you had installed windows 7 after xp, you probably would have had entries for both in your boot menu.
It may be possible to manually configure xp to boot windows 7, don't know. I would suggest searching for "boot windows 7 from xp" or something similar or go to the support.microsoft site and search.
You could check this link, the section which says Method Two.
Dual Boot Installation with Windows 7 and XP - Windows 7 Forums
Probably the easiest thing to do would be to use your windows 7 disk to repair the mbr as I expect your xp install overwrote the windows 7 files. There's an explanation of that on the page above.
- 06-06-2011 #6Just Joined!
- Join Date
- Jun 2008
- Posts
- 1
Hard lesson: all Windows OS's assume you only want their system, and overwrite the master boot record. This destroys all access to the other OS's. Always install Windows first, THEN install other OS's.
- 06-06-2011 #7Just Joined!
- Join Date
- Jun 2011
- Posts
- 3
Thank you for all the replies
u mean that install insert win 7 cd and try to return it back ???
second use any cd of win 7 because am not rember where was the CD that i used first
- 06-06-2011 #8
Download & install Easy BCD 2.0 on your XP, this has the means to restore your Win 7 bootloader & also allows you to manually edit it (for example change 'Earlier version of Windows ' to 'Windows XP Professional'). After that, download 'SuperGrub' and run on CD or floppy to boot back into your main Linux OS. From there, in a terminal, run 'sudo update-grub' and this will restore your GrUB bootloader.
This, however, assumes you are using GrUB2.LINUX: Where do you want to go.......Tomorrow!
Registered Linux user 396633
- 06-06-2011 #9Just Joined!
- Join Date
- Feb 2007
- Location
- Cobleskill, NY
- Posts
- 51
True that the Windows installs will rewrite the MBR of the disk that is why I follow this procedure when installing multiple OSes:
1 - Install XP or other Windows OS
2 - Install Linux - I usually Add Windows to GRUB menu.
3 - make a backup of the GRUB mbr Stage 1a?
dd if=/dev/sda count=1 of=/media/MyUSB or wherever is convenient.
4 - I'll add that copy of the GRUB mbr to the boot manager of Windows.
For XP just copy the file to C:\ then add a line to boot.ini like so:
[boot loader]
timeout=0
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOW S
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Micro soft Windows XP Professional" /noexecute=optin /fastdetect /usepmtimer
C:\GRUB-mbr="GRUB Boot Menu
Here I named the file GRUB-mbr.
This way if Windows clobbers GRUB and has you booting into Windows instead you can select the second option which will put you right back into GRUB. After that you can restore grub buy simply mount the XP partion like so:
/dev/mnt/WinXP
then use dd
dd if=/dev/WinXP/GRUB-mbr of=/dev/sda
I'm assuming the sda is the drive your using.
- 06-10-2011 #10Linux User
- Join Date
- Jan 2005
- Location
- Saint Paul, MN
- Posts
- 394
The problem is that "Windows XP" took over the Master Boot Record (MBR). XP and before assumed that it was the only bootable entry on a machine and takes over the MBR which loses the others. You will need to boot a "Live Linux" system, and resinstall grub (on the MBR) and then create the needed grub entries for all the installed systems. Good Luck.


Reply With Quote

