LinuxQuestions.org
Visit Jeremy's Blog.
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 11-30-2006, 09:56 AM   #1
shahalam
LQ Newbie
 
Registered: Nov 2006
Posts: 5

Rep: Reputation: 0
after installing windows xp prof my redhat linux 7.2 is not working


I was having windows 2000 prof and Redhat Linux 7.2, I formated the c: drive with fat32 and installed windows xp prof. After which my Redhat Linux 7.2 stopped working. When I tried Linux Rescue, it didn't find any linux partition to mount it to /sys/image. When I am typing fdisk -l on the shell, it shows me the linux partition but perviously root was on /dev/hda8 and after installing windows xp its changed to /dev/hda9 and similarily boot also from /dev/hda5 to /dev/hda7.
Pls. anybody there to help me out to start my linux?
 
Old 11-30-2006, 09:58 AM   #2
shahalam
LQ Newbie
 
Registered: Nov 2006
Posts: 5

Original Poster
Rep: Reputation: 0
was having windows 2000 prof and Redhat Linux 7.2, I formated the c: drive with fat32 and installed windows xp prof. After which my Redhat Linux 7.2 stopped working. When I tried Linux Rescue, it didn't find any linux partition to mount it to /sys/image. When I am typing fdisk -l on the shell, it shows me the linux partition but perviously root was on /dev/hda8 and after installing windows xp its changed to /dev/hda9 and similarily boot also from /dev/hda5 to /dev/hda7.
Pls. anybody there to help me out to start my linux?
 
Old 11-30-2006, 10:02 AM   #3
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Installing Windows can do nasty tricks, like you see. It's usually adviced to install Windows first, Linux second. I don't know too many people who have installed a newer Windows and not done anything for Linux (i.e. a clean reinstall), but I assume it produces problems as well as a regular first-time Windows install. Windows may have created some extra partitions (primary) and changed the order of the other partitions (sounds stupid, but hey, it could be).

Do you get only a Windows bootloader, your Linux bootloader or what? I assume you only get Windows bootloader, i.e. need to use bootdisk for Linux (or rather would). In this case you'll need to first see if your Linux installation is still intact (only boot information was lost) or is it broken somehow. I suggest you download and burn a live-cd Linux to do this, since with it mounting other partitions on your pc is easy, and you can make sure the data is there (hey, backups -- you do them, right?).

You can also use a live-cd distribution to install a new bootloader and configure it to load your Windows and Linux (or you could use Windows' bootloader to load Linux as well, but for that you'll need to create an "image file" of your Linux's boot partition, and place that in your Windows and then configure the boot menu). This is what you'll probably have to do anyway, so unless the install cd of your Linux distribution or your bootdisk let you reinstall the bootloader (usually lilo or grub), you need a Live-CD if you don't want to reinstall the whole Linux system again.

What did we learn then? Installing Windows is a devastating experience
 
Old 12-01-2006, 02:55 AM   #4
shahalam
LQ Newbie
 
Registered: Nov 2006
Posts: 5

Original Poster
Rep: Reputation: 0
I only get Window XP when I boot and check linux partition are intact but are changed from /dev/hda8 to /dev/hda9 for root(/) and /dev/hda7 to /dev/hda5 for /boot.
how to use LIVE_CD to install bootloader. I amd done the backup of data with help of explore2fs from windows xp
 
Old 12-04-2006, 02:13 AM   #5
shahalam
LQ Newbie
 
Registered: Nov 2006
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by b0uncer
Installing Windows can do nasty tricks, like you see. It's usually adviced to install Windows first, Linux second. I don't know too many people who have installed a newer Windows and not done anything for Linux (i.e. a clean reinstall), but I assume it produces problems as well as a regular first-time Windows install. Windows may have created some extra partitions (primary) and changed the order of the other partitions (sounds stupid, but hey, it could be).

Do you get only a Windows bootloader, your Linux bootloader or what? I assume you only get Windows bootloader, i.e. need to use bootdisk for Linux (or rather would). In this case you'll need to first see if your Linux installation is still intact (only boot information was lost) or is it broken somehow. I suggest you download and burn a live-cd Linux to do this, since with it mounting other partitions on your pc is easy, and you can make sure the data is there (hey, backups -- you do them, right?).

You can also use a live-cd distribution to install a new bootloader and configure it to load your Windows and Linux (or you could use Windows' bootloader to load Linux as well, but for that you'll need to create an "image file" of your Linux's boot partition, and place that in your Windows and then configure the boot menu). This is what you'll probably have to do anyway, so unless the install cd of your Linux distribution or your bootdisk let you reinstall the bootloader (usually lilo or grub), you need a Live-CD if you don't want to reinstall the whole Linux system again.

What did we learn then? Installing Windows is a devastating experience
#fdisk -l
/dev/hda1 fat32
/dev/hda2 extd
/dev/hda3 ntfs
/dev/hda5 linux ext3 /boot
/dev/hda6 linux swap
/dev/hda7 ntfs
/dev/hda8 ntfs
/dev/hda9 linux ext3 /

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,6)
# kernel /vmlinuz-version ro root=/dev/hda8
# initrd /initrd-version.img
#boot=/dev/hda
default=9
timeout=10
splashimage=(hd0,6)/grub/splash.xpm.gz
title Red Hat Linux (2.4.7-10debug)
root (hd0,6)
kernel /vmlinuz-2.4.7-10debug ro root=/dev/hda8
initrd /initrd-2.4.7-10debug.img
title Red Hat Linux (2.4.7-10BOOT)
root (hd0,6)
kernel /vmlinuz-2.4.7-10BOOT ro root=/dev/hda8
initrd /initrd-2.4.7-10BOOT.img
title Red Hat Linux (2.4.7-10)
root (hd0,6)
kernel /vmlinuz-2.4.7-10 ro root=/dev/hda8
initrd /initrd-2.4.7-10.img
title Red Hat Linux (2.4.7-10smp)
root (hd0,6)
kernel /vmlinuz-2.4.7-10smp ro root=/dev/hda8
initrd /initrd-2.4.7-10smp.img
title Red Hat Linux (2.4.7-10enterprise)
root (hd0,6)
kernel /vmlinuz-2.4.7-10enterprise ro root=/dev/hda8
initrd /initrd-2.4.7-10enterprise.img
title Red Hat Linux (2.4.7-10debug)
root (hd0,6)
kernel /vmlinuz-2.4.7-10debug ro root=/dev/hda8
initrd /initrd-2.4.7-10debug.img
title Red Hat Linux (2.4.7-10BOOT)
root (hd0,6)
kernel /vmlinuz-2.4.7-10BOOT ro root=/dev/hda8
initrd /initrd-2.4.7-10BOOT.img
title Red Hat Linux (2.4.7-10smp)
root (hd0,6)
kernel /vmlinuz-2.4.7-10smp ro root=/dev/hda8
initrd /initrd-2.4.7-10smp.img
title Red Hat Linux (2.4.7-10enterprise)
root (hd0,6)
kernel /vmlinuz-2.4.7-10enterprise ro root=/dev/hda8
initrd /initrd-2.4.7-10enterprise.img
title RH Linux 7.2 (2.4.7-10)
root (hd0,4)
kernel /vmlinuz-2.4.7-10 ro root=/dev/hda8
initrd /initrd-2.4.7-10.img
title Windows 2000
rootnoverify (hd0,0)
chainloader +1
 
  


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
Installing redhat Linux 9.0 and Windows 2003 (trail 180 days) redhatrosh General 1 06-05-2005 08:16 AM
Partitioning Windows XP Prof.. againstms Linux - Newbie 2 01-04-2005 12:24 PM
installing redhat linux 9.0 and windows xp on SATA harddisk radha_it Linux - General 1 01-02-2005 07:36 AM
Problem with SUSE 9.2 Prof/Windows XP Prof Dual Booting sm000ve Linux - Newbie 1 11-29-2004 07:21 PM
replacing RedHat V7.3 with SuSE Prof V9.1 Tanyakolee SUSE / openSUSE 0 11-11-2004 08:01 PM

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

All times are GMT -5. The time now is 02:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration