LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-10-2003, 08:38 AM   #1
zhaohui90
LQ Newbie
 
Registered: Sep 2003
Posts: 1

Rep: Reputation: 0
problems of dual Win & Redhat 9.0


Hi,
First has installed the WinXp and then has installed the Redhat 9.0. After rebooting, it is into XP directory. Therefore, I tried into Linux rescue Module. After type df command, I got the partition table as below
Filesystem 1k-blocks Used Available Use% Mounted on
rootsfs 2209 577 1520 28% /
/dev/root.old 2209 577 1520 28% /
/tmp/cdrom 653152 653152 0 100% /mnt/source
/tmp/hda8 8633682 1620568 6574492 20% /mnt/sysimage
/tmp/hda7 46636 26462 17766 60% /mnt/sysimage/boot

What wrong with the partition? What is the TMP meaning?
How to solve the problem?
Actually, I used the command:

grub-install/dev/hda (hda7)

Or

grub-install/tmp/hda (hda7)

But the answer is same: no file found or no directory.

I am looking forward to hearing you.
By the way, how to edit the grub.conf file?

Thank you !!!!!!!!!!!
 
Old 09-15-2003, 11:55 AM   #2
MacKtheHacK
Member
 
Registered: Jul 2003
Location: Boston, MA, USA
Distribution: RedHat, SuSE, Gentoo, Slackware, Mandrake ...
Posts: 111

Rep: Reputation: 15
First, some terminology. The table you posted is your "mount table", which shows the Linux filesystems that are mounted. It is not your partition table. The "partition table" shows how a disk is physically divided into multiple areas, and is displayed or altered by the fdisk program. You probably do not want (or need) to change your partition table.

The mount table looks like you booted Linux from your recovery diskette. I'm not familier with how the RedHat recovery process works, but it looks like it has created device nodes in the /tmp directory for the various drives that it found. That's what the /tmp means: that the device nodes are under the /tmp directory. I would guess that the recovery process does this because /dev is on the floppy, and /tmp is on a ramdisk, so it creates thing on the ramdisk.

The interesting lines are the last two, which indicate that you've got your root filesystem in the eigth partition of your first disk, and the
boot filesystem in the seventh partition. The /boot partition is where grub and the kernel live, so this is the interesting place to look.

I'm assuming that you would like to set your system up to boot either Linux or WinXP. You should read these HOWTO documents: http://www.tldp.org/HOWTO/Multiboot-with-GRUB.html, http://www.tldp.org/HOWTO/Linux+Win9...TO/index.html. The key thing to know is that you have to refer to refer to your root filesystem in grub.conf as (hd0,7) and your boot filesystem as (hd0,6). You can edit the /mnt/sysimage/boot/grub/grub.conf file using any text editor, such as emacs or vi.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual Boot Win xp & Suse 9.2 Pro lankan Linux - Newbie 9 11-26-2004 03:40 PM
Dual Booting 10 Official & Win 2k Pro offdahook84 Mandriva 12 08-23-2004 05:42 AM
Dual boot Win 2k / Redhat 9 n e r d Linux - Newbie 9 05-15-2004 11:54 AM
Dual booting Win XP & RedHat 7.2 problem jpat100 Linux - Software 7 03-17-2003 09:53 PM
win xp/redhat 7.3 dual boot milesstandish Linux - Software 4 02-11-2003 04:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:43 AM.

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