LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 05-18-2003, 12:31 AM   #1
linuxnoobgod
LQ Newbie
 
Registered: May 2003
Distribution: Redhat 9.0
Posts: 14

Rep: Reputation: 0
Angry Yet Another Linux WinXP Dual Boot Question...


OK! So I bought Redhat 9.0 today, didn't want to, but I formatted my entire 40gig drive. I got Linux on, and its running fine. I currently have three LINUX partitions in this drive now. So now, I REALLY need to dual-boot with XP! So I set BIOS to boot from CD, blahblabhblah, go through the WINXP setup insructons, when I get to the prompt asking me where I want to put XP, I see the three partitions of type "Unkown" which is fine, cuz it doesn't know what the LINUX part's are. So when I installed linux, I made sure to make 30gigs of type, "FREE SPACE" so this is unpartitioned stuff. So it shows up on the XP install menu. I hit enter, and it says," Can not create partition because maximum amount of partitions have been created on this disk." um, I dont like that. Is there a way around this? or what? I only need to make one NTFS Partition out of this space. Could sum1 help?









ALSO: Another question, how can I STOP pretty much ALL sound from playing through my system speaker in linux?

Last edited by linuxnoobgod; 05-18-2003 at 12:33 AM.
 
Old 05-18-2003, 12:47 AM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
you can only have 4 primary partitions on a disk

one of these should be an extended partition if you plan on having more than four so it can be split up into logical drives.

in other words make three primary partitions and one extended partition

The thing to do is to install XP first. Then install linux and partition the remaining free space for linux.

you could have done it the other way if you had left a primary partition for windows.
 
Old 05-18-2003, 12:50 AM   #3
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
One solution is to move one of your linux partition contents to /

this will free up a partition and you will not need to reload linux

the freed up partition can be deleted, then an extended partition could be created from it. then you could move some of your linux stuff to one of the logical drives, possibly mounting the folder you moved to / back on a logical partition instead of the primary it's on now

in order to reclaim the free space the partition you choose to delete must be either immediately before or after the free space on the drive


the goal would be to move things around as to free up a primary partition for windows and reclaim the free space

Last edited by DavidPhillips; 05-18-2003 at 12:55 AM.
 
Old 05-18-2003, 12:53 AM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
To stop the sound from the speaker turn off the volume for it in aumix
 
Old 05-18-2003, 02:37 AM   #5
linuxnoobgod
LQ Newbie
 
Registered: May 2003
Distribution: Redhat 9.0
Posts: 14

Original Poster
Rep: Reputation: 0
Im a noob, can I get a step-by-step for anything here?
 
Old 05-18-2003, 02:56 AM   #6
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
We could give a better idea of what needs to be done if you post some info on the partitions

the output of this...

fdisk -l /dev/hda

providing /dev/hda is you hard disk

and also the output of this ...

mount

and the output of this...

cat /etc/fstab

and the output of this...

df
 
Old 05-18-2003, 10:48 AM   #7
linuxnoobgod
LQ Newbie
 
Registered: May 2003
Distribution: Redhat 9.0
Posts: 14

Original Poster
Rep: Reputation: 0
OUTPUT OF THE CAT COMMAND:

LABEL= / / ext3 defaults 1 1
LABEL= /boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda3 swap swap defaults 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0

OUTPUT OF MOUNT:

/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/hda2 on / type ext3 (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hda1 on /boot type ext3 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /dev/shm type tmpfs (rw)

OUTPUT OF DF:

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda2 8056524 1894524 5752748 25% /
/dev/hda1 101089 9326 86544 10% /boot
none 256048 0 256048 0% /dev/shm

Thnx all, I REALLY need help!
 
Old 05-18-2003, 11:53 AM   #8
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Cool

we are going to need this

fdisk -l /dev/hda
 
Old 05-18-2003, 01:37 PM   #9
linuxnoobgod
LQ Newbie
 
Registered: May 2003
Distribution: Redhat 9.0
Posts: 14

Original Poster
Rep: Reputation: 0
bash: fdisk command not found. LOL, thats wierd, so do I issue the FDISK commands in the terminal? because thats what I did, as root and everything.
 
Old 05-18-2003, 01:48 PM   #10
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Yeah, for some reason it seems RH doesn't put the path fdisk resides in in the root's path by default, try:
whereis fdisk
And when it returns the path use that. It might be:
/sbin/fdisk
For example. So you'd execute with:
/sbin/fdisk -l /dev/hda

Cool
 
Old 05-18-2003, 02:00 PM   #11
linuxnoobgod
LQ Newbie
 
Registered: May 2003
Distribution: Redhat 9.0
Posts: 14

Original Poster
Rep: Reputation: 0
Cannot open /dev/hda uh oh
 
Old 05-18-2003, 02:06 PM   #12
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
What? What does a generic:
/sbin/fdisk -l
return then?

As for muting your volume, open up a mixer. If you go to a terminal type:
aumix
If nothing, then type:
gmix
If still nothing, try:
kmix
One of those should be installed and in your path. So then, once one of them come up, I think muting it should be self explanatory. If not, I'll be glad to walk you through it

Cool
 
Old 05-18-2003, 02:07 PM   #13
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
try it like this, it might work. Some do and some don't.


/sbin/fdisk -l
 
Old 05-18-2003, 02:37 PM   #14
linuxnoobgod
LQ Newbie
 
Registered: May 2003
Distribution: Redhat 9.0
Posts: 14

Original Poster
Rep: Reputation: 0
I AM SO FRUSTRATED ARGH! This is what I get:

[cody@dhcp-1422-5 cody]$ /sbin/fdisk -l
Cannot open /dev/hda
Cannot open /dev/hdb

My accounts name is cody, so thats why it says cody. Even when I cd into sbin, it wont work.

All I want to do is a simple dual boot, I know its been done before! arghhhhhhh!
 
Old 05-18-2003, 02:55 PM   #15
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
You must be root to do those things That's probably why you are getting those errors...

Cool
 
  


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
Dual Boot Linux And WinXP theutherwhitemeat Linux - Software 9 07-31-2005 02:38 AM
(newbie question) Dual boot Amigo and WINXP atomicpyro Amigo 8 02-24-2005 06:16 AM
WinXP Pro/Fedora Core 2 Dual-Boot Question NanoGamer Linux - Newbie 6 08-30-2004 03:01 AM
Dual boot WinXP/RedHat 9 question afireinside81 Linux - Newbie 1 07-05-2004 01:39 AM
Advice (and some) Needed: Dual-HDD, Dual-Boot - Linux, WinXP elnomadkvn Linux - General 1 03-28-2004 11:11 AM


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