LinuxQuestions.org
Visit Jeremy's Blog.
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 11-24-2002, 04:37 PM   #16
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,592

Rep: Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880
fdisk


Quote:
Originally posted by Nefarious
OK....... This is what i get
fdisk -l
Disk /dev/hda: 240 heads, 63 sectors, 7990 cylinders
Units = cylinder of 15120 * 512 Bytes

Device Boot Start End Blocks Id System
/dev/hda1 1 5908 44664448+ 1c Hidden Win95 FAT32 (LBA)
/dev/hda2 * 5909 5922 105840 83 Linux
/dev/hda3 5923 7906 140999040 83 Linux
/dev/hda4 7907 7907 257040 f Win95 ext'd (LBA)
/dev/hda5 7907 7907 257008+ 82 Linux Swap
Your XP partition is hidden. I don't remember if fdisk can change the hidden flag. Once this is accomplished all you would need to do is add XP to the bootloader.

hda4 is an extended partition not a logical drive. The logical drive is a linux swap partition. So windows only has a c: drive.
 
Old 11-24-2002, 04:40 PM   #17
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Oh sweet, thanks for that info on the swap deal.

fdisk CAN change the hidden flag, I just have to remember how.

Nefarious, do you remember this:
http://www.redhat.com/docs/manuals/l...ootloader.html

That should have been done during the install. You *could* go back now and re-do that portion of the install. Anyway, I am trying to see if there will be an ultra easy way for you to do this...

Cool
 
Old 11-24-2002, 04:46 PM   #18
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Actually the above link is for kickstart, which you *more than likely* didn't use. Here's the screen you might have seen:
http://www.redhat.com/docs/manuals/l...ootloader.html

So more than likely you've got GRUB as your bootloader.. as we suspected.

You might wanna go back to this point of the install and change that to lilo, this will help to get that lilo.conf setup for your system a little better, and then to setup the winbloze part will be a bit easier.

Cool
 
Old 11-24-2002, 06:12 PM   #19
Nefarious
Member
 
Registered: Nov 2002
Location: NY, USA
Distribution: Slackware / College Linux / WinXP
Posts: 198

Original Poster
Rep: Reputation: 30
aite

Last edited by Nefarious; 11-24-2002 at 06:15 PM.
 
Old 11-24-2002, 06:12 PM   #20
Nefarious
Member
 
Registered: Nov 2002
Location: NY, USA
Distribution: Slackware / College Linux / WinXP
Posts: 198

Original Poster
Rep: Reputation: 30
kk trying it

Last edited by Nefarious; 11-24-2002 at 06:15 PM.
 
Old 11-24-2002, 06:30 PM   #21
Nefarious
Member
 
Registered: Nov 2002
Location: NY, USA
Distribution: Slackware / College Linux / WinXP
Posts: 198

Original Poster
Rep: Reputation: 30
Ok problem when i do what you say... It tells me to insert Dsik 1 Install Packages when disk 1 is in the drive...
 
Old 11-24-2002, 06:38 PM   #22
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Is it in the correct drive?

Damn... Here is the RPM:
ftp://ftp.rpmfind.net/linux/redhat/8....4-20.i386.rpm

Cool
 
Old 11-24-2002, 06:40 PM   #23
Nefarious
Member
 
Registered: Nov 2002
Location: NY, USA
Distribution: Slackware / College Linux / WinXP
Posts: 198

Original Poster
Rep: Reputation: 30
ok its cd/mnt/cdrom1 cdrom is my cd-rw drive now its mounted and im in the terminal ... do u have aim? this would be a lot easier?

My aim name = DaXtreme690 this coudl go a lot faster if you could im me what to do... thanks

Last edited by Nefarious; 11-24-2002 at 06:43 PM.
 
Old 11-24-2002, 06:43 PM   #24
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
here is a generic grub.conf for linux and windows

# make sure you have lines like these two, if there is no default it will boot in the list order, but you need timeout

default=0
timeout=10

# the following may differ on yours, don't change it

splashimage=(hd1,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.18-3)
root (hd1,0)
kernel /vmlinuz-2.4.18-3 ro root=/dev/hda2
initrd /initrd-2.4.18-3.img


#this is what you need to add to your /etc/grub.conf

title WinXP
rootnoverify (hd0,0)
makeactive
chainloader +1
unhide (hd0,0)



that should fix it

Last edited by DavidPhillips; 11-24-2002 at 06:48 PM.
 
Old 11-24-2002, 06:44 PM   #25
Nefarious
Member
 
Registered: Nov 2002
Location: NY, USA
Distribution: Slackware / College Linux / WinXP
Posts: 198

Original Poster
Rep: Reputation: 30
thanks dave... but im not that advanced lol. MasterC ... I d/l the rmp no what?
 
Old 11-24-2002, 06:45 PM   #26
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Sweet, I was hoping one of you gurus would show up and answer the grub question

You the man David. Thanks for the grub answer.

Cool
 
Old 11-24-2002, 06:46 PM   #27
Nefarious
Member
 
Registered: Nov 2002
Location: NY, USA
Distribution: Slackware / College Linux / WinXP
Posts: 198

Original Poster
Rep: Reputation: 30
....... what i do now ?
 
Old 11-24-2002, 06:49 PM   #28
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
ok, first reread the post above, I added some lines to explain a bit what to do
 
Old 11-24-2002, 06:51 PM   #29
Nefarious
Member
 
Registered: Nov 2002
Location: NY, USA
Distribution: Slackware / College Linux / WinXP
Posts: 198

Original Poster
Rep: Reputation: 30
dave do u have aim that you can walk me through on this ? If you do im me at DaXtreme690 im on right now... it would be alot easier and quicker... Thanks.

..... Dave? Master?.......








Last edited by Nefarious; 11-24-2002 at 06:56 PM.
 
Old 11-24-2002, 06:58 PM   #30
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Now since you are logged in as root, I will give you some simple command lines to do it the easiest way I can think of


carefully type the following lines and enter them one at a time.

we will make a backup first..

cp /etc/grub.conf /etc/grub.conf.backup

now lets see what's in the file..

cat /etc/grub.conf


now we will append to the file using echo..


echo "title WinXP" >> /etc/grub.conf

echo "rootnoverify (hd0,0)" >> /etc/grub.conf

echo "unhide (hd0,0)" >> /etc/grub.conf

echo "makeactive" >> /etc/grub.conf

echo "chainloader +1" >> /etc/grub.conf


now look at the contents of /etc/grub.conf again and make sure you have it all right.

cat /etc/grub.conf
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Go crazy with Red Hat Linux 9 in 24hrs (aka major install problem) hyper guy Red Hat 5 08-22-2004 04:19 PM
Major Red Hat 9 Problems Doctor_j Linux - Newbie 11 05-05-2004 05:29 PM
Red Hat 8.0 Major Problem!!!!! Nefarious Linux - Newbie 7 11-24-2002 05:07 PM
Red Hat 8.0 Major Problem!!!!!! Please Help Nefarious Linux - Software 0 11-24-2002 01:53 PM
Red Hat 6.0 major install prob Durandal Linux - Newbie 1 04-23-2002 07:33 AM

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

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